diff --git a/packages/jianping/AppHelpedResident/hrList.vue b/packages/jianping/AppHelpedResident/hrList.vue index 7b6ba9d4..f419b623 100644 --- a/packages/jianping/AppHelpedResident/hrList.vue +++ b/packages/jianping/AppHelpedResident/hrList.vue @@ -4,7 +4,9 @@ @@ -83,26 +82,28 @@ export default { permissions: Function }, computed: { - ...mapState(['user']) - }, - data() { - return { - search: {name: '', objectType: '', riskType: '',isHousehold: 1}, - page: {current: 1, size: 10, total: 0}, - tableData: [], - colConfigs: [ + ...mapState(['user']), + colConfigs() { + return [ {type: 'selection'}, {label: "姓名", prop: "name", 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: "nation", align: "center", dict: "fpNation"}, {label: "文化程度", prop: "education", align: "center", dict: "fpEducation"}, - {label: "监测对象类型", prop: "objectType", align: "center", dict:"fpType"}, - {label: "风险因素", prop: "riskType", align: "center", dict:"fpRiskType"}, + {label: "监测对象类型", prop: "objectType", align: "center", dict: "fpType"}, + {label: "风险因素", prop: "riskType", align: "center", dict: "fpRiskType"}, {label: "档案状态", prop: "status", dict: "fpPrtpStatus", align: "center"}, {slot: "options"} - ], + ] + } + }, + data() { + return { + search: {name: '', objectType: '', riskType: '', isHousehold: 1}, + page: {current: 1, size: 10, total: 0}, + tableData: [], ids: [], dialog: false, form: {},