diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue index 883a691..997c862 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo.vue +++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue @@ -620,23 +620,8 @@ export default { // } // }, options: [], - standardOfCultureArr: [ - { 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: '未上过学' } - ], - maritalStatusArr: [ - { dictValue: 1, dictName: '已婚' }, - { dictValue: 2, dictName: '未婚' }, - { dictValue: 3, dictName: '丧偶' }, - { dictValue: 4, dictName: '离婚' } - ], + standardOfCultureArr: [], + maritalStatusArr: [], relationArr: [ { dictValue: 1, dictName: '户主' }, { dictValue: 2, dictName: '配偶' }, @@ -868,6 +853,18 @@ export default { } this.specialCrowdList = res.data }).catch(() => { }) + this.$http.get(`/sys/dict/listSimple/education_level`).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.standardOfCultureArr = res.data + }).catch(() => { }) + this.$http.get(`/sys/dict/listSimple/marital_status`).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.maritalStatusArr = res.data + }).catch(() => { }) }, btKeyUpUsername (e) { e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, '')