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"> + - + + + + + + +