diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue
index 765786b..4e4f0ad 100644
--- a/src/views/modules/epidemic/epidemicreportuserinfo.vue
+++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue
@@ -46,7 +46,7 @@
prop="specialCrowd" label-width="90px">
-
@@ -103,25 +103,25 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ $t('export') }}
-
-
- 批量导入
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -397,6 +399,9 @@ export default {
],
deptIdList: [],
companyArr: [],
+ politicsStatusList: [],
+ specialCrowdList: [],
+ peopleCategoriesList: [],
publicPath: process.env.BASE_URL,
pickerBeginDateBefore: {
disabledDate: (time) => {
@@ -546,6 +551,24 @@ export default {
this.options = res.data.options
})
.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/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(() => { })
},
btKeyUpUsername (e) {
e.target.value = e.target.value.replace(/[`~!@#$%^&*()_+=<>?:"{}|·~!@#¥%……&*()——+={}|《》?:“”【】、;‘’,。、]/g, '')
@@ -614,6 +637,24 @@ export default {
return '是'
}
},
+ peopleCategoriesFormat: function (row, column) {
+ if (row.peopleCategories) {
+ let dict = this.peopleCategoriesList.filter(item => item.dictValue === row.peopleCategories)[0]
+ if (dict) {
+ return dict.dictName
+ }
+ }
+ return ''
+ },
+ specialCrowdFormat: function (row, column) {
+ if (row.specialCrowd) {
+ let dict = this.specialCrowdList.filter(item => item.dictValue === row.specialCrowd)[0]
+ if (dict) {
+ return dict.dictName
+ }
+ }
+ return ''
+ },
// 打开导出弹框
exports () {
this.dialogVisibleExcel = true