修改bug
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
<!-- 搜索 -->
|
||||
<div ref="searchBox" class="mt10">
|
||||
<Search :searchArr="searchConfiger" @submit="onSearch" >
|
||||
<el-button type="primary" size="small" @click="handleAdd('add', null)">发起布控</el-button>
|
||||
<el-button type="primary" size="small" @click="handleAdd('add', null)">发起布控</el-button>
|
||||
</Search>
|
||||
</div>
|
||||
|
||||
@ -177,6 +177,7 @@ const pageData = reactive({
|
||||
{ label: "开始时间", prop: "bkSjKs", showOverflowTooltip: true },
|
||||
{ label: "结束时间", prop: "bkSjJs", showOverflowTooltip: true },
|
||||
{ label: "申请人", prop: "bkfqrXm" },
|
||||
{ label: "身份证号", prop: "bkfqrSfzh" },
|
||||
{ label: "布控状态", prop: "bkZt", showSolt: true },
|
||||
]
|
||||
});
|
||||
@ -196,9 +197,28 @@ const createProcess = (row) => {
|
||||
onMounted(() => {
|
||||
getList();
|
||||
tabHeightFn();
|
||||
if(route.name == 'PrivateSurveillance'){
|
||||
// 临时布控
|
||||
searchConfiger.value = [
|
||||
...searchConfiger.value,
|
||||
{
|
||||
label: "姓名",
|
||||
prop: "bkfqrXm",
|
||||
placeholder: "请输入姓名",
|
||||
showType: "input"
|
||||
},
|
||||
{
|
||||
label: "身份证号",
|
||||
prop: "bkfqrSfzh",
|
||||
placeholder: "请输入身份证号",
|
||||
showType: "input"
|
||||
}
|
||||
]
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
// 搜索
|
||||
// 搜索
|
||||
const onSearch = (val) => {
|
||||
queryFrom.value = {
|
||||
...val,
|
||||
@ -229,7 +249,7 @@ const getList = () => {
|
||||
};
|
||||
qcckGet(data, "/mosty-gsxt/tbGsxtBk/selectPage").then((res) => {
|
||||
pageData.tableData = res.records || [];
|
||||
pageData.total = res.total;
|
||||
pageData.total = res.total || 0;
|
||||
pageData.tableConfiger.loading = false;
|
||||
}).catch(() => {
|
||||
pageData.tableConfiger.loading = false;
|
||||
|
||||
Reference in New Issue
Block a user