From 26f3de888d87d7da699e9e00e9d43eb28fff6509 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Thu, 29 Sep 2022 15:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pingchang/AppGetewayRegister/getewayAdd.vue | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue index 2c9dec5..13d5a11 100644 --- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue +++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue @@ -345,11 +345,8 @@ export default { companionList: [], // 同行人集合 riskLevel: '', }, - - isShowType: false, isShowEndTime: false, isShowStartTime: false, - isShowDate: false, params: { year: true, month: true, @@ -357,8 +354,6 @@ export default { hour: true, minute: true }, - dictList: [], - arr: [], $areaId: '', people: [{ name: '', @@ -388,16 +383,17 @@ export default { this.form.id = o?.id this.getInfo(o.id) } + this.form.gatewayId = decodeURIComponent(o.scene) || '' }, onShow() { - this.$areaId = this.user.$areaId this.$dict.load(['EP_travelType']).then(()=> { this.travelTypeDict = this.$dict.getDict('EP_travelType') + this.$areaId = this.user.$areaId + this.getewayList() + if(!this.token) { + this.$refs.login.show() + } }) - this.getewayList() - if(!this.token) { - this.$refs.login.show() - } }, watch: { @@ -416,7 +412,6 @@ export default { this.$nextTick(() => { this.token && this.getUserInfo() this.pageShow = true - this.form.gatewayId = decodeURIComponent(o.scene) || '' }) },