From e680ee8cc2c34ec2d21c238e8110e4f1501eb8bc Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期五, 24 十一月 2023 11:06:37 +0800
Subject: [PATCH] #
---
pages/business/cstmr/addCsmtr.vue | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/pages/business/cstmr/addCsmtr.vue b/pages/business/cstmr/addCsmtr.vue
index 09dcad1..c0ac539 100644
--- a/pages/business/cstmr/addCsmtr.vue
+++ b/pages/business/cstmr/addCsmtr.vue
@@ -173,7 +173,8 @@
value: 2
}],
citysData: [],
- citysDataTemp: ''
+ citysDataTemp: '',
+ uraddr: 'add'
}
},
@@ -186,6 +187,12 @@
this.citysData = test.citysData
this.autoLoad('cstmrType','')
this.autoLoad('user','')
+ },
+ onLoad(option) {
+ console.log(option);
+ if(option.type == 1) {
+ this.uraddr = 'add2'
+ }
},
methods: {
cstmrSearch() {
@@ -275,7 +282,7 @@
}
res.pcd = this.citysDataTemp
uni.request({
- url: that.baseUrl + '/cstmr/add/auth',
+ url: `${that.baseUrl}/cstmr/${that.uraddr}/auth`,
header:{
'token':uni.getStorageSync('token'),
'content-type':'application/x-www-form-urlencoded',
--
Gitblit v1.9.1