Browse Source

防疫人员信息-列表修改

origin/sync_user
Jackwang 4 years ago
parent
commit
c0103b3d6c
  1. 31
      src/views/modules/epidemic/epidemicreportuserinfo.vue

31
src/views/modules/epidemic/epidemicreportuserinfo.vue

@ -620,23 +620,8 @@ export default {
// } // }
// }, // },
options: [], options: [],
standardOfCultureArr: [ standardOfCultureArr: [],
{ dictValue: 1, dictName: '博士研究生' }, maritalStatusArr: [],
{ 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: '离婚' }
],
relationArr: [ relationArr: [
{ dictValue: 1, dictName: '户主' }, { dictValue: 1, dictName: '户主' },
{ dictValue: 2, dictName: '配偶' }, { dictValue: 2, dictName: '配偶' },
@ -868,6 +853,18 @@ export default {
} }
this.specialCrowdList = res.data this.specialCrowdList = res.data
}).catch(() => { }) }).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) { btKeyUpUsername (e) {
e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, '') e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, '')

Loading…
Cancel
Save