diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue index 997c862..4931ce0 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo.vue +++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue @@ -126,7 +126,7 @@ - + @@ -161,28 +161,28 @@ - + - + + + + - + - - - - + - + @@ -197,7 +197,7 @@ - + @@ -208,31 +208,22 @@ - - - - + - + - - - - + - - - - + @@ -264,10 +255,16 @@ - + + + + - + + + + @@ -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, '')