diff --git a/public/index.html b/public/index.html index 3ff5007..a678c03 100644 --- a/public/index.html +++ b/public/index.html @@ -35,23 +35,23 @@ <% if (process.env.VUE_APP_NODE_ENV === 'dev') { %> <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'prod:sit') { %> <% } %> <% if (process.env.VUE_APP_NODE_ENV === 'prod:uat') { %> <% } %> diff --git a/src/views/modules/epidemic/epidemicreportuserinfo.vue b/src/views/modules/epidemic/epidemicreportuserinfo.vue index 6619d71..bb22490 100644 --- a/src/views/modules/epidemic/epidemicreportuserinfo.vue +++ b/src/views/modules/epidemic/epidemicreportuserinfo.vue @@ -339,16 +339,8 @@ export default { idCard: '', username: '', mobile: '', - outCode: '', - outStreet: '', - returnState: '', - startTime: '', - endTime: '', - isInoculate: '', - age: '', - company: '' + isInoculate: '' }, - ageArr: [], companyArr: [], publicPath: process.env.BASE_URL, pickerBeginDateBefore: { @@ -367,13 +359,7 @@ export default { } } }, - ids: [], options: [], - outStreetArr: [], - returnStateArr: [ - { dictValue: 1, dictName: '在本地' }, - { dictValue: 2, dictName: '在外地' } - ], inoculateStateArr: [ { dictValue: '0', dictName: '未接种' }, { dictValue: '10', dictName: '接种中' }, @@ -382,17 +368,6 @@ export default { { dictValue: '1', dictName: '第一针' }, { dictValue: '2', dictName: '第二针' } ], - ageStateArr: [ - { dictValue: '0', dictName: '0-18岁' }, - { dictValue: '1', dictName: '19-19岁' }, - { dictValue: '2', dictName: '20-29岁' }, - { dictValue: '3', dictName: '30-39岁' }, - { dictValue: '4', dictName: '40-49岁' }, - { dictValue: '5', dictName: '50-59岁' }, - { dictValue: '6', dictName: '60-69岁' }, - { dictValue: '7', dictName: '70-79岁' }, - { dictValue: '8', dictName: '80岁以上' } - ], companyStateArr: [], exportTemplate: false, uploeadLoeading: false, @@ -411,22 +386,8 @@ export default { AddOrUpdate, InfoDetail }, - watch: { - ids: function (val) { - if (val.length === 0) { - this.dataForm.outCode = '' - } else { - this.dataForm.outCode = this.ids[val.length - 1] - } - } - }, methods: { beforeGetDataListSearch () { - if (this.ageArr.length > 0) { - this.dataForm.age = this.ageArr.toString() - } else { - this.dataForm.age = '' - } if (this.companyArr.length > 0) { this.dataForm.company = this.companyArr.toString() } else { @@ -442,12 +403,6 @@ export default { this.$refs.infoDetail.init() }) }, - // 获取乡镇下拉信息(传参:4代表查“街道”) - getDailyTypeArrInfo () { - this.$http.get(`/sys/epidemicreportuserinfo/selectStreet/4`).then(({ data: res }) => { - this.outStreetArr = res - }).catch(() => { }) - }, getcompantyOptions () { this.$http .get(`/sys/vaccinecompany/getCompantyList`) @@ -486,14 +441,6 @@ export default { } }).catch(() => { }) }, - // 乡镇取值变化事件 - selectModel (event) { - this.outStreetArr.find((item) => { - if (item.dictValue === event) { - this.dataForm.outStreet = item.dictValue - } - }) - }, getOptions () { this.$http .get(`/sys/select/getSysArea`) @@ -565,15 +512,6 @@ export default { } }) }, - returnStateFormat (row, column) { - if (row.returnState === 1 || row.returnState === '1') { - return '在本地' - } else if (row.returnState === 2 || row.returnState === '2') { - return '在外地' - } else { - return '' - } - }, showRegistFormat (row, column) { if (row.isInoculate === 0) { return '否' @@ -581,18 +519,6 @@ export default { return '是' } }, - returnriskGradeFormat (row, column) { - // 1:低风险,2:中风险,3:高风险 - if (row.riskGrade === 1 || row.riskGrade === '1') { - return '低风险' - } else if (row.returnState === 2 || row.returnState === '2') { - return '中风险' - } else if (row.returnState === 3 || row.returnState === '3') { - return '高风险' - } else { - return '' - } - }, // 打开导出弹框 exports () { this.dialogVisibleExcel = true diff --git a/src/views/modules/sys/user-add-or-update.vue b/src/views/modules/sys/user-add-or-update.vue index c71c168..bdafb95 100644 --- a/src/views/modules/sys/user-add-or-update.vue +++ b/src/views/modules/sys/user-add-or-update.vue @@ -103,6 +103,25 @@ {{ $t('user.status1') }} + + + 停用 + 本人验证 + 领导验证 + + + + +