From 5d9ede9fb00f768b7046cab7621b4384dc677f00 Mon Sep 17 00:00:00 2001
From: shijingjing <1789544664@qq.com>
Date: Thu, 29 Sep 2022 17:12:23 +0800
Subject: [PATCH] gatewayName
---
src/project/pingchang/AppGetewayRegister/getewayAdd.vue | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue
index e1a65e6..c56f941 100644
--- a/src/project/pingchang/AppGetewayRegister/getewayAdd.vue
+++ b/src/project/pingchang/AppGetewayRegister/getewayAdd.vue
@@ -12,7 +12,7 @@
卡口选择
@@ -385,19 +385,23 @@ export default {
this.getInfo(o.id)
}
this.scene = decodeURIComponent(o.scene) || ''
- console.log(this.scene,'scene')
},
onShow() {
this.$dict.load(['EP_travelType']).then(()=> {
this.travelTypeDict = this.$dict.getDict('EP_travelType')
this.$areaId = this.user.$areaId
this.getewayList()
+ // setTimeout(()=>{
+ // const demo = this.getewayData.filter(item => item.value == '3abdd8ed4db74239a97af2fd7b1c16ae')
+ // console.log(demo,'111');
+ // },400)
if(!this.token) {
this.$refs.login.show()
} else {
this.pageShow = true
}
})
+
},
watch: {
@@ -416,6 +420,7 @@ export default {
this.$nextTick(() => {
this.token && this.getUserInfo()
this.form.gatewayId = this.scene
+ this.form.gatewayName = this.getewayData.filter(v=> v.value== this.scene)?.[0].name
this.pageShow = true
})
},