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) || '' }) },