From c1afb34b94496fbddda153680d8a4cd51cf51276 Mon Sep 17 00:00:00 2001 From: liuchuang <123456> Date: Thu, 15 Apr 2021 18:00:53 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9APP=E6=89=AB?= =?UTF-8?q?=E7=A0=81=E5=BC=80=E5=85=B3=E7=AE=A1=E7=90=86=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=92=8C=E6=8E=A5=E5=8F=A3=202=E3=80=81=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E5=B1=85=E6=B0=91=E7=AB=AF=E5=90=AF=E5=8A=A8=E9=A1=B5=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=8A=9F=E8=83=BD=E5=92=8C=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/api/scanswitch-add-or-update.vue | 17 ++++++++++++++-- src/views/modules/api/scanswitch.vue | 12 +++++++++++ .../modules/api/startuppage-add-or-update.vue | 20 ++++++++++++++++--- src/views/modules/api/startuppage.vue | 12 +++++++++++ 4 files changed, 56 insertions(+), 5 deletions(-) diff --git a/src/views/modules/api/scanswitch-add-or-update.vue b/src/views/modules/api/scanswitch-add-or-update.vue index 63c9b01..806867f 100644 --- a/src/views/modules/api/scanswitch-add-or-update.vue +++ b/src/views/modules/api/scanswitch-add-or-update.vue @@ -13,6 +13,12 @@ + + + + + + @@ -55,7 +61,8 @@ export default { creator: '', createdTime: '', updater: '', - updatedTime: '' + updatedTime: '', + platform: '' }, scanFlagArr: [ { dictValue: 0, dictName: '关闭扫码' }, @@ -64,6 +71,10 @@ export default { maintainFlagArr: [ { maintainValue: 0, maintainName: '关闭维护' }, { maintainValue: 1, maintainName: '开启维护' } + ], + platformArr: [ + { dictValue: '0', dictName: 'e锦水' }, + { dictValue: '1', dictName: '志愿者去哪' } ] } }, @@ -93,6 +104,9 @@ export default { ], updateTime: [ { required: true, message: this.$t('validate.required'), trigger: 'blur' } + ], + platform: [ + { required: true, message: this.$t('validate.required'), trigger: 'blur' } ] } } @@ -110,7 +124,6 @@ export default { // 获取信息 getInfo () { this.$http.get(`/api/ma/${this.dataForm.id}`).then(({ data: res }) => { - console.log(1111111) if (res.code !== 0) { return this.$message.error(res.msg) } diff --git a/src/views/modules/api/scanswitch.vue b/src/views/modules/api/scanswitch.vue index a62f431..2a4168f 100644 --- a/src/views/modules/api/scanswitch.vue +++ b/src/views/modules/api/scanswitch.vue @@ -36,6 +36,11 @@ show-overflow-tooltip align="center" width="50"> + - + + + + + + +