基础库
This commit is contained in:
@ -48,6 +48,7 @@
|
||||
:tableConfiger="pageData.tableConfiger"
|
||||
:controlsWidth="pageData.controlsWidth"
|
||||
@chooseData="chooseData"
|
||||
fixed="right"
|
||||
>
|
||||
<template #qtLb="{ row }">
|
||||
<DictTag :tag="false" :value="row.qtLb" :options="D_GS_ZDQT_LB" />
|
||||
@ -68,6 +69,7 @@
|
||||
</template>
|
||||
<!-- 操作 -->
|
||||
<template #controls="{ row }">
|
||||
<el-link size="small" type="success" @click="handleremove(row.id)">移除</el-link>
|
||||
<el-link size="small" type="primary" v-if=" row.qtZt == '01'" @click="handleSend(row.id)">办结</el-link>
|
||||
<el-link size="small" type="success" v-if=" row.qtZt == '01'" @click="addEdit('edit', row)">编辑</el-link>
|
||||
<el-link size="small" type="success" @click="addEdit('detail', row)">详情</el-link>
|
||||
@ -170,22 +172,22 @@ const pageData = reactive({
|
||||
pageSize: 20,
|
||||
pageCurrent: 1
|
||||
},
|
||||
controlsWidth: 150,
|
||||
controlsWidth: 280,
|
||||
tableColumn: [
|
||||
{ label: "群体名称", prop: "qtMc" },
|
||||
{ label: "群体类别", prop: "qtLb" , showSolt: true},
|
||||
{ label: "风险等级", prop: "qtFxdj" , showSolt: true},
|
||||
{ label: "背景资料", prop: "qtBjzl" },
|
||||
{ label: "背景信息", prop: "bgxx", showSolt: true },
|
||||
{ label: "管辖单位", prop: "gxSsdwmc" },
|
||||
{ label: "列控原因", prop: "zdrLkyy" },
|
||||
{ label: "开始时间", prop: "zdrRkkssj" },
|
||||
{ label: "截至时间", prop: "zdrRkjssj" },
|
||||
{ label: "稳控人数", prop: "zdryList", showSolt: true },
|
||||
{ label: "状态", prop: "qtZt", showSolt: true },
|
||||
{ label: "标签", prop: "bqList", showSolt: true ,showOverflowTooltip:true},
|
||||
{ label: "创建单位", prop: "xtCjbmmc" },
|
||||
{ label: "创建时间", prop: "xtCjsj" },
|
||||
{ label: "群体名称", prop: "qtMc",width:150 },
|
||||
{ label: "群体类别", prop: "qtLb" , showSolt: true,width:150 },
|
||||
{ label: "风险等级", prop: "qtFxdj" , showSolt: true,width:150 },
|
||||
{ label: "背景资料", prop: "qtBjzl" ,width:150 },
|
||||
{ label: "背景信息", prop: "bgxx", showSolt: true ,width:150 },
|
||||
{ label: "管辖单位", prop: "gxSsdwmc",width:150 },
|
||||
{ label: "列控原因", prop: "zdrLkyy",width:150 },
|
||||
{ label: "开始时间", prop: "zdrRkkssj",width:150 },
|
||||
{ label: "截至时间", prop: "zdrRkjssj" ,width:150 },
|
||||
{ label: "稳控人数", prop: "zdryList", showSolt: true,width:150 },
|
||||
{ label: "状态", prop: "qtZt", showSolt: true,width:150 },
|
||||
{ label: "标签", prop: "bqList", showSolt: true ,showOverflowTooltip:true,width:400 },
|
||||
{ label: "创建单位", prop: "xtCjbmmc" ,width:150 },
|
||||
{ label: "创建时间", prop: "xtCjsj",width:150 },
|
||||
]
|
||||
});
|
||||
|
||||
@ -203,7 +205,15 @@ const handleSend = (id) => {
|
||||
});
|
||||
})
|
||||
};
|
||||
|
||||
// 移除
|
||||
const handleremove = (id) => {
|
||||
proxy.$confirm("确定要移除此重点群体?", "警告", { type: "warning" }).then(() => {
|
||||
qcckPost({ id, qtlx: '02' }, "/mosty-gsxt/tbGsxtZdqt/update").then(() => {
|
||||
proxy.$message({ type: "success", message: "移除成功" });
|
||||
getList();
|
||||
});
|
||||
})
|
||||
}
|
||||
|
||||
// 搜索
|
||||
const onSearch = (val) => {
|
||||
@ -224,7 +234,8 @@ const changeSize = (val) => {
|
||||
// 获取列表
|
||||
const getList = () => {
|
||||
pageData.tableConfiger.loading = true;
|
||||
let data = { ...pageData.pageConfiger, ...queryFrom.value };
|
||||
// 群体类型D_ZDRY_RYLX(01 重点 02 普通)
|
||||
let data = { qtlx:'01',...pageData.pageConfiger, ...queryFrom.value };
|
||||
qcckGet(data, "/mosty-gsxt/tbGsxtZdqt/selectPage").then((res) => {
|
||||
pageData.tableData = res.records || [];
|
||||
pageData.total = res.total;
|
||||
|
||||
Reference in New Issue
Block a user