|
@@ -338,10 +338,21 @@
|
|
})
|
|
})
|
|
that = this
|
|
that = this
|
|
console.log(options)
|
|
console.log(options)
|
|
- this.id = options.id.indexOf(",") ? options.id.split(",")[0] : options.id
|
|
|
|
|
|
+ if(options.id){
|
|
|
|
+ this.id = options.id.indexOf(",") ? options.id.split(",")[0] : options.id
|
|
|
|
+ }else if(options.q){
|
|
|
|
+ var id = decodeURIComponent(options.q).split("=")[1]
|
|
|
|
+ this.id =id.indexOf(",") ? id.split(",")[0] : id
|
|
|
|
+ }
|
|
if (uni.getStorageSync("userInfo").phone) {
|
|
if (uni.getStorageSync("userInfo").phone) {
|
|
this.userInfo = uni.getStorageSync("userInfo")
|
|
this.userInfo = uni.getStorageSync("userInfo")
|
|
- this.commonId = options.id.indexOf(",") ? options.id.split(",")[1] : ''
|
|
|
|
|
|
+ if(options.q){
|
|
|
|
+ var id = decodeURIComponent(options.q).split("=")[1]
|
|
|
|
+ this.commonId =id.indexOf(",") ? id.split(",")[1] : ''
|
|
|
|
+ }else{
|
|
|
|
+ this.commonId = options.id.indexOf(",") ? options.id.split(",")[1] : ''
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
this.getList()
|
|
this.getList()
|
|
|
|
|