|
@ -19,12 +19,15 @@ |
|
|
</el-select> |
|
|
</el-select> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="关注人群"> |
|
|
<el-form-item label="关注人群"> |
|
|
<el-select v-model.trim="form.attentionCrowds" collapse-tags multiple class="u-item-width-normal" clearable |
|
|
<el-cascader |
|
|
size="small"> |
|
|
size="small" |
|
|
<template v-for="item in resiClass"> |
|
|
class="u-item-width-normal" |
|
|
<el-option :label='item.label' :value='item.value'> </el-option> |
|
|
v-model.trim="form.attentionCrowds" |
|
|
</template> |
|
|
:options="resiClass" |
|
|
</el-select> |
|
|
:props="{ multiple: true,checkStrictly: true}" |
|
|
|
|
|
collapse-tags |
|
|
|
|
|
clearable |
|
|
|
|
|
></el-cascader> |
|
|
</el-form-item> |
|
|
</el-form-item> |
|
|
<el-form-item label="特殊人群"> |
|
|
<el-form-item label="特殊人群"> |
|
|
<el-select v-model.trim="form.specialCategoryCodes" class="u-item-width-normal" clearable size="small" collapse-tags |
|
|
<el-select v-model.trim="form.specialCategoryCodes" class="u-item-width-normal" clearable size="small" collapse-tags |
|
@ -268,7 +271,55 @@ export default { |
|
|
nation: [], |
|
|
nation: [], |
|
|
nationalityList: [], |
|
|
nationalityList: [], |
|
|
household: [], |
|
|
household: [], |
|
|
resiClass: [], |
|
|
resiClass: [ |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
"label": "老年人", |
|
|
|
|
|
"value": "OLD_PEOPLE_FLAG", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"label": "失能老人", |
|
|
|
|
|
"value": "DISABLED_FLAG", |
|
|
|
|
|
"children": null |
|
|
|
|
|
}, { |
|
|
|
|
|
"label": "空巢老人", |
|
|
|
|
|
"value": "EMPTY_NESTER_FLAG", |
|
|
|
|
|
"children": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"label": "失智老人", |
|
|
|
|
|
"value": "DEMENTED_FLAG", |
|
|
|
|
|
"children": null |
|
|
|
|
|
}, |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"label": "低保人员", |
|
|
|
|
|
"value": "SUBSISTENCE_ALLOWANCE_FLAG", |
|
|
|
|
|
"children": null |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
"label": "保障房人员", |
|
|
|
|
|
"value": "ENSURE_HOUSE_FLAG", |
|
|
|
|
|
"children": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"label": "退役军人", |
|
|
|
|
|
"value": "VETERAN_FLAG", |
|
|
|
|
|
"children": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"label": "育龄妇女", |
|
|
|
|
|
"value": "FERTILE_WOMAN_FLAG", |
|
|
|
|
|
"children": null |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"label": "特扶人员", |
|
|
|
|
|
"value": "SPECIAL_SUPPORT_FLAG", |
|
|
|
|
|
"children": null |
|
|
|
|
|
} |
|
|
|
|
|
], |
|
|
itemList, |
|
|
itemList, |
|
|
fixedList: [], |
|
|
fixedList: [], |
|
|
constForm, |
|
|
constForm, |
|
@ -602,12 +653,12 @@ export default { |
|
|
this.getValiheList() |
|
|
this.getValiheList() |
|
|
this.getDictList() |
|
|
this.getDictList() |
|
|
this.getHousehold() |
|
|
this.getHousehold() |
|
|
this.getResident() |
|
|
|
|
|
this.getNationality() |
|
|
this.getNationality() |
|
|
this.getCareerStatus() |
|
|
this.getCareerStatus() |
|
|
if (this.columnName) this.handleChangeForm(this.columnName) |
|
|
if (this.columnName) this.handleChangeForm(this.columnName) |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|
|
|
|
|
|
|
handleSmartSearch() { |
|
|
handleSmartSearch() { |
|
|
this.showSmartSearchForm = !this.showSmartSearchForm |
|
|
this.showSmartSearchForm = !this.showSmartSearchForm |
|
|
}, |
|
|
}, |
|
@ -997,14 +1048,7 @@ export default { |
|
|
console.log(error, '获取人户状况字典'); |
|
|
console.log(error, '获取人户状况字典'); |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
async getResident() { |
|
|
|
|
|
try { |
|
|
|
|
|
const { data } = await this.$http.post('sys/dict/data/dictlist', { 'dictType': 'attention_crowd' }) |
|
|
|
|
|
this.resiClass = data.data |
|
|
|
|
|
} catch (error) { |
|
|
|
|
|
console.log(error, '获取居民类别字典'); |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
computedBirth(age) { |
|
|
computedBirth(age) { |
|
|
let now = new Date(); |
|
|
let now = new Date(); |
|
|
let nowYear = now.getFullYear(); |
|
|
let nowYear = now.getFullYear(); |
|
|