-
+
+
+ 无
+ 有
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ $t('cancel') }}
@@ -487,6 +502,18 @@ export default {
],
options: [],
liveOptions: [],
+ educationLevelList: [],
+ maritalStatusList: [],
+ relationList: [
+ { dictValue: '0', dictName: '子女' },
+ { dictValue: '1', dictName: '夫妻' },
+ { dictValue: '2', dictName: '父母' },
+ { dictValue: '3', dictName: '其他' }
+ ],
+ politicsStatusList: [],
+ employmentStatusList: [],
+ specialCrowdList: [],
+ peopleCategoriesList: [],
isAble: false,
showFlagIn: true,
showFlagOut: false,
@@ -496,8 +523,8 @@ export default {
{ dictValue: '3', dictName: '高风险' }
],
gender: [
- { dictValue: '男', dictName: '男' },
- { dictValue: '女', dictName: '女' }
+ { dictValue: '1', dictName: '男' },
+ { dictValue: '0', dictName: '女' }
],
vueLoading: true
}
@@ -527,6 +554,7 @@ export default {
this.dataForm.destinationAddressCodes = []
this.getOptions()
this.getLiveOptions()
+ console.log(this.dataForm.id)
this.$nextTick(() => {
this.$refs['dataForm'].resetFields()
if (this.dataForm.id) {
@@ -646,6 +674,42 @@ export default {
})
.catch(() => {
})
+ this.$http.get(`/sys/dict/listSimple/education_level`).then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.educationLevelList = 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.maritalStatusList = 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.politicsStatusList = 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.employmentStatusList = 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.peopleCategoriesList = res.data
+ }).catch(() => { })
+ this.$http.get(`/sys/dict/listSimple/special_crowd`).then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.specialCrowdList = res.data
+ }).catch(() => { })
},
getLiveOptions () {
this.$http
diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue
index 4e4f0ad..3288e3e 100644
--- a/src/views/modules/epidemic/epidemicreportuserinfo.vue
+++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue
@@ -35,7 +35,7 @@
@keyup.native="btKeyUpMobile"
style="width:200px">
-