|
|
@ -126,7 +126,7 @@ |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="性别" prop="gender" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.gender" placeholder="性别" clearable> |
|
|
|
<el-option v-for="item in genderArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
<el-option v-for="item in genderArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -161,28 +161,28 @@ |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="文化程度" prop="standardOfCulture" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.standardOfCulture" placeholder="文化程度" clearable> |
|
|
|
<el-option v-for="item in standardOfCultureArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
<el-option v-for="item in standardOfCultureArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="健康状况" prop="health" label-width="120px"> |
|
|
|
<el-input v-model="dataForm.health" placeholder="健康状况" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
<el-select v-model="dataForm.health" placeholder="健康状况" clearable> |
|
|
|
<el-option v-for="item in healthArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="婚姻状况" prop="maritalStatus" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.maritalStatus" placeholder="婚姻状况" clearable> |
|
|
|
<el-option v-for="item in maritalStatusArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
<el-option v-for="item in maritalStatusArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="与户主关系" prop="relation" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.relation" placeholder="与户主关系" clearable> |
|
|
|
<el-option v-for="item in relationArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="dataForm.relation" placeholder="与户主关系" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="政治面貌" prop="politicsStatus" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.politicsStatus" placeholder="政治面貌" clearable> |
|
|
|
<el-option v-for="item in politicsStatusArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
<el-option v-for="item in politicsStatusArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -197,7 +197,7 @@ |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="工作状态" prop="workStatus" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.workStatus" placeholder="工作状态" clearable> |
|
|
|
<el-option v-for="item in workStatusArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
<el-option v-for="item in workStatusArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
@ -208,31 +208,22 @@ |
|
|
|
<el-input v-model="dataForm.workUnits" placeholder="工作单位" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="兵役状况" prop="military" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.military" placeholder="兵役状况" clearable> |
|
|
|
<el-option v-for="item in militaryArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="dataForm.military" placeholder="兵役状况" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="人口类别" prop="peopleCategories" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.peopleCategories" placeholder="人口类别" clearable> |
|
|
|
<el-option v-for="item in peopleCategoriesArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
<el-option v-for="item in peopleCategoriesArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="有无车辆" prop="car" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.car" placeholder="有无车辆" clearable> |
|
|
|
<el-option v-for="item in carArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="dataForm.car" placeholder="有无车辆" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="车牌号" prop="carNo" label-width="120px"> |
|
|
|
<el-input v-model="dataForm.carNo" placeholder="车牌号" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="人户状况" prop="hushaiStatus" label-width="120px"> |
|
|
|
<el-select v-model="dataForm.hushaiStatus" placeholder="人户状况" clearable> |
|
|
|
<el-option v-for="item in hushaiStatusArr" :key="item.dictName" :label="item.dictName" :value="item.dictName" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
<el-input v-model="dataForm.hushaiStatus" placeholder="人户状况" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="血型" prop="bloodType" label-width="120px"> |
|
|
|
<el-input v-model="dataForm.bloodType" placeholder="血型" clearable maxlength="49" style="width:200px"></el-input> |
|
|
@ -264,10 +255,16 @@ |
|
|
|
<el-input v-model="dataForm.accountType" placeholder="户口类型" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="家庭类别" prop="familyCategory" label-width="120px"> |
|
|
|
<el-input v-model="dataForm.familyCategory" placeholder="家庭类别" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
<el-select v-model="dataForm.familyCategory" placeholder="家庭类别" clearable> |
|
|
|
<el-option v-for="item in familyCategoryArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="救助情况" prop="helpStatus" label-width="120px"> |
|
|
|
<el-input v-model="dataForm.helpStatus" placeholder="救助情况" clearable maxlength="49" style="width:200px"></el-input> |
|
|
|
<el-select v-model="dataForm.helpStatus" placeholder="救助情况" clearable> |
|
|
|
<el-option v-for="item in helpStatusArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue" > |
|
|
|
</el-option> |
|
|
|
</el-select> |
|
|
|
</el-form-item> |
|
|
|
</el-collapse-item> |
|
|
|
</el-collapse> |
|
|
@ -622,54 +619,11 @@ export default { |
|
|
|
options: [], |
|
|
|
standardOfCultureArr: [], |
|
|
|
maritalStatusArr: [], |
|
|
|
relationArr: [ |
|
|
|
{ dictValue: 1, dictName: '户主' }, |
|
|
|
{ dictValue: 2, dictName: '配偶' }, |
|
|
|
{ dictValue: 3, dictName: '子女' }, |
|
|
|
{ dictValue: 4, dictName: '父母' }, |
|
|
|
{ dictValue: 5, dictName: '岳父母或公婆' }, |
|
|
|
{ dictValue: 6, dictName: '祖父母' }, |
|
|
|
{ dictValue: 7, dictName: '媳婿' }, |
|
|
|
{ dictValue: 8, dictName: '孙子女' }, |
|
|
|
{ dictValue: 9, dictName: '兄弟姐妹' }, |
|
|
|
{ dictValue: 10, dictName: '其他' } |
|
|
|
], |
|
|
|
politicsStatusArr: [ |
|
|
|
{ dictValue: 1, dictName: '中共党员' }, |
|
|
|
{ dictValue: 2, dictName: '共青团员' }, |
|
|
|
{ dictValue: 3, dictName: '群众' }, |
|
|
|
{ dictValue: 4, dictName: '民主党派' } |
|
|
|
], |
|
|
|
workStatusArr: [ |
|
|
|
{ dictValue: 1, dictName: '在职' }, |
|
|
|
{ dictValue: 2, dictName: '学生' }, |
|
|
|
{ dictValue: 3, dictName: '学龄前儿童' }, |
|
|
|
{ dictValue: 4, dictName: '军人' }, |
|
|
|
{ dictValue: 5, dictName: '退休' }, |
|
|
|
{ dictValue: 6, dictName: '务农' }, |
|
|
|
{ dictValue: 7, dictName: '无业' } |
|
|
|
], |
|
|
|
militaryArr: [ |
|
|
|
{ dictValue: 1, dictName: '未服兵役' }, |
|
|
|
{ dictValue: 2, dictName: '退出现役' }, |
|
|
|
{ dictValue: 3, dictName: '预备役' }, |
|
|
|
{ dictValue: 4, dictName: '服现役' }, |
|
|
|
{ dictValue: 5, dictName: '其他' } |
|
|
|
], |
|
|
|
peopleCategoriesArr: [ |
|
|
|
{ dictValue: 1, dictName: '常住' }, |
|
|
|
{ dictValue: 2, dictName: '流动' }, |
|
|
|
{ dictValue: 3, dictName: '境外' } |
|
|
|
], |
|
|
|
carArr: [ |
|
|
|
{ dictValue: 1, dictName: '有' }, |
|
|
|
{ dictValue: 2, dictName: '无' } |
|
|
|
], |
|
|
|
hushaiStatusArr: [ |
|
|
|
{ dictValue: 1, dictName: '人户同在' }, |
|
|
|
{ dictValue: 2, dictName: '人在户不在' }, |
|
|
|
{ dictValue: 3, dictName: '户在人不在' } |
|
|
|
], |
|
|
|
healthArr:[], |
|
|
|
politicsStatusArr: [], |
|
|
|
workStatusArr: [], |
|
|
|
familyCategoryArr:[], |
|
|
|
peopleCategoriesArr: [], |
|
|
|
inoculateStateArr: [ |
|
|
|
{ dictValue: '0', dictName: '未接种' }, |
|
|
|
{ dictValue: '10', dictName: '接种中' }, |
|
|
@ -678,25 +632,8 @@ export default { |
|
|
|
{ dictValue: '1', dictName: '第一针' }, |
|
|
|
{ dictValue: '2', dictName: '第二针' } |
|
|
|
], |
|
|
|
genderArr: [ |
|
|
|
{ dictValue: 1, dictName: '男' }, |
|
|
|
{ dictValue: 2, dictName: '女' } |
|
|
|
], |
|
|
|
specialCrowdOptions: [ |
|
|
|
{ dictValue: '刑满释放', dictName: '刑满释放' }, |
|
|
|
{ dictValue: '社区矫正', dictName: '社区矫正' }, |
|
|
|
{ dictValue: '精神病人', dictName: '精神病人' }, |
|
|
|
{ dictValue: '吸毒人员', dictName: '吸毒人员' }, |
|
|
|
{ dictValue: '艾滋病人', dictName: '艾滋病人' }, |
|
|
|
{ dictValue: '上访老户', dictName: '上访老户' }, |
|
|
|
{ dictValue: '涉恐人员', dictName: '涉恐人员' }, |
|
|
|
{ dictValue: '涉稳人员', dictName: '涉稳人员' }, |
|
|
|
{ dictValue: '涉师人员', dictName: '涉师人员' }, |
|
|
|
{ dictValue: '邪教人员', dictName: '邪教人员' }, |
|
|
|
{ dictValue: '涉军人员', dictName: '涉军人员' }, |
|
|
|
{ dictValue: '重点青少年', dictName: '重点青少年' }, |
|
|
|
{ dictValue: '其他', dictName: '其他' } |
|
|
|
], |
|
|
|
genderArr: [], |
|
|
|
helpStatusArr:[], |
|
|
|
companyStateArr: [], |
|
|
|
exportTemplate: false, |
|
|
|
uploeadLoeading: false, |
|
|
@ -865,6 +802,48 @@ export default { |
|
|
|
} |
|
|
|
this.maritalStatusArr = res.data |
|
|
|
}).catch(() => { }) |
|
|
|
this.$http.get(`/sys/dict/listSimple/body_status`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.healthArr = res.data |
|
|
|
}).catch(() => { }) |
|
|
|
this.$http.get(`/sys/dict/listSimple/employment_status`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.workStatusArr = res.data |
|
|
|
}).catch(() => { }) |
|
|
|
this.$http.get(`/sys/dict/listSimple/family_category`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.familyCategoryArr = res.data |
|
|
|
}).catch(() => { }) |
|
|
|
this.$http.get(`/sys/dict/listSimple/gender`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.genderArr = res.data |
|
|
|
}).catch(() => { }) |
|
|
|
this.$http.get(`/sys/dict/listSimple/help_status`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.helpStatusArr = res.data |
|
|
|
}).catch(() => { }) |
|
|
|
this.$http.get(`/sys/dict/listSimple/politics_status`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.politicsStatusArr = res.data |
|
|
|
}).catch(() => { }) |
|
|
|
this.$http.get(`/sys/dict/listSimple/people_categories`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.peopleCategoriesArr = res.data |
|
|
|
}).catch(() => { }) |
|
|
|
}, |
|
|
|
btKeyUpUsername (e) { |
|
|
|
e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, '') |
|
|
|