BUG 29451
This commit is contained in:
@@ -4,7 +4,9 @@
|
|||||||
<ai-title slot="title" title="监测对象" isShowBottomBorder isShowArea v-model="search.areaId" :instance="instance"
|
<ai-title slot="title" title="监测对象" isShowBottomBorder isShowArea v-model="search.areaId" :instance="instance"
|
||||||
@change="page.current=1,getTableData()">
|
@change="page.current=1,getTableData()">
|
||||||
<template #rightBtn>
|
<template #rightBtn>
|
||||||
<el-button type="primary" icon="iconfont iconSetting" @click="dialog=true" v-if="$permissions('app_apppreventionreturntopovertyalarmconfig_edit')">预警规则</el-button>
|
<el-button type="primary" icon="iconfont iconSetting" @click="dialog=true" v-if="$permissions('app_apppreventionreturntopovertyalarmconfig_edit')">
|
||||||
|
预警规则
|
||||||
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</ai-title>
|
</ai-title>
|
||||||
<template #content>
|
<template #content>
|
||||||
@@ -13,18 +15,15 @@
|
|||||||
<ai-select placeholder="档案状态" v-model="search.status" :selectList="dict.getDict('fpPrtpStatus')" @change="page.current=1,getTableData()"/>
|
<ai-select placeholder="档案状态" v-model="search.status" :selectList="dict.getDict('fpPrtpStatus')" @change="page.current=1,getTableData()"/>
|
||||||
<ai-select placeholder="监测对象类型" v-model="search.objectType" :selectList="dict.getDict('fpType')" @change="page.current=1,getTableData()"/>
|
<ai-select placeholder="监测对象类型" v-model="search.objectType" :selectList="dict.getDict('fpType')" @change="page.current=1,getTableData()"/>
|
||||||
<ai-select placeholder="风险因素" v-model="search.riskType" :selectList="dict.getDict('fpRiskType')" @change="page.current=1,getTableData()"/>
|
<ai-select placeholder="风险因素" v-model="search.riskType" :selectList="dict.getDict('fpRiskType')" @change="page.current=1,getTableData()"/>
|
||||||
<el-date-picker value-format="yyyy-MM-dd HH:mm:ss" v-model="search.birthStart" type="date" size="small"
|
<el-date-picker value-format="yyyy-MM-dd HH:mm:ss" v-model="search.birthStart" type="date" size="small" unlink-panels placeholder="选择出生开始日期" @change="page.current=1,getTableData()"/>
|
||||||
unlink-panels placeholder="选择出生开始日期" @change="page.current=1,getTableData()" />
|
<el-date-picker value-format="yyyy-MM-dd HH:mm:ss" v-model="search.birthEnd" type="date" size="small" placeholder="选择出生结束日期" unlink-panels @change="page.current=1,getTableData()"/>
|
||||||
<el-date-picker value-format="yyyy-MM-dd HH:mm:ss" v-model="search.birthEnd" type="date" size="small" placeholder="选择出生结束日期"
|
|
||||||
unlink-panels @change="page.current=1,getTableData()" />
|
|
||||||
<ai-select placeholder="性别" v-model="search.sex" :selectList="dict.getDict('sex')" @change="page.current=1,getTableData()"/>
|
<ai-select placeholder="性别" v-model="search.sex" :selectList="dict.getDict('sex')" @change="page.current=1,getTableData()"/>
|
||||||
<!-- <ai-select placeholder="文化程度" v-model="search.education" :selectList="dict.getDict('fpEducation')" @change="page.current=1,getTableData()"/>
|
<!-- <ai-select placeholder="文化程度" v-model="search.education" :selectList="dict.getDict('fpEducation')" @change="page.current=1,getTableData()"/>
|
||||||
<ai-select placeholder="民族" v-model="search.nation" :selectList="dict.getDict('fpNation')" @change="page.current=1,getTableData()"/>
|
<ai-select placeholder="民族" v-model="search.nation" :selectList="dict.getDict('fpNation')" @change="page.current=1,getTableData()"/>
|
||||||
<ai-select placeholder="政治面貌" v-model="search.politicsStatus" :selectList="dict.getDict('fpPoliticalOutlook')" @change="page.current=1,getTableData()"/> -->
|
<ai-select placeholder="政治面貌" v-model="search.politicsStatus" :selectList="dict.getDict('fpPoliticalOutlook')" @change="page.current=1,getTableData()"/> -->
|
||||||
</template>
|
</template>
|
||||||
<template #right>
|
<template #right>
|
||||||
<el-input size="small" placeholder="姓名/证件/联系方式" v-model="search.con" clearable
|
<el-input size="small" placeholder="姓名/证件/联系方式" v-model="search.con" clearable @change="page.current=1,getTableData()"/>
|
||||||
@change="page.current=1,getTableData()"/>
|
|
||||||
</template>
|
</template>
|
||||||
</ai-search-bar>
|
</ai-search-bar>
|
||||||
<ai-search-bar>
|
<ai-search-bar>
|
||||||
@@ -83,26 +82,28 @@ export default {
|
|||||||
permissions: Function
|
permissions: Function
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['user'])
|
...mapState(['user']),
|
||||||
},
|
colConfigs() {
|
||||||
data() {
|
return [
|
||||||
return {
|
|
||||||
search: {name: '', objectType: '', riskType: '',isHousehold: 1},
|
|
||||||
page: {current: 1, size: 10, total: 0},
|
|
||||||
tableData: [],
|
|
||||||
colConfigs: [
|
|
||||||
{type: 'selection'},
|
{type: 'selection'},
|
||||||
{label: "姓名", prop: "name", align: "center"},
|
{label: "姓名", prop: "name", align: "center"},
|
||||||
{label: "性别", prop: "sex", dict: 'sex', align: "center"},
|
{label: "性别", prop: "sex", dict: 'sex', align: "center"},
|
||||||
{slot: "idNumber"},
|
{label: "身份证号", render: (h, {row}) => h('p', this.idCardNoUtil.hideId(row.idNumber))},
|
||||||
{label: "年龄", prop: "age", align: "center"},
|
{label: "年龄", prop: "age", align: "center"},
|
||||||
{label: "民族", prop: "nation", align: "center", dict: "fpNation"},
|
{label: "民族", prop: "nation", align: "center", dict: "fpNation"},
|
||||||
{label: "文化程度", prop: "education", align: "center", dict: "fpEducation"},
|
{label: "文化程度", prop: "education", align: "center", dict: "fpEducation"},
|
||||||
{label: "监测对象类型", prop: "objectType", align: "center", dict:"fpType"},
|
{label: "监测对象类型", prop: "objectType", align: "center", dict: "fpType"},
|
||||||
{label: "风险因素", prop: "riskType", align: "center", dict:"fpRiskType"},
|
{label: "风险因素", prop: "riskType", align: "center", dict: "fpRiskType"},
|
||||||
{label: "档案状态", prop: "status", dict: "fpPrtpStatus", align: "center"},
|
{label: "档案状态", prop: "status", dict: "fpPrtpStatus", align: "center"},
|
||||||
{slot: "options"}
|
{slot: "options"}
|
||||||
],
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
search: {name: '', objectType: '', riskType: '', isHousehold: 1},
|
||||||
|
page: {current: 1, size: 10, total: 0},
|
||||||
|
tableData: [],
|
||||||
ids: [],
|
ids: [],
|
||||||
dialog: false,
|
dialog: false,
|
||||||
form: {},
|
form: {},
|
||||||
|
|||||||
Reference in New Issue
Block a user