修改bug
parent
9250e3592d
commit
0d2f1f8857
|
@ -372,14 +372,14 @@
|
|||
if (this.signImg != "") {
|
||||
this.baseImg(this.signImg, "1")
|
||||
}
|
||||
let hzzsImg = uni.getStorageSync('hzzsImg')
|
||||
let hzzsImg = uni.getStorageSync('hzzsImg') || ""
|
||||
if (hzzsImg != "") {
|
||||
this.hzzsImg = uni.getStorageSync('hzzsImg')
|
||||
}
|
||||
if (this.isSign != "") {
|
||||
this.isSign = uni.getStorageSync('isSign')
|
||||
}
|
||||
if (this.hzzsImg != "") {
|
||||
if (hzzsImg != "") {
|
||||
if (this.isSign) {
|
||||
this.baseImg(this.hzzsImg, "2")
|
||||
} else {
|
||||
|
@ -387,7 +387,7 @@
|
|||
this.initImg(this.zsBase, "6")
|
||||
}
|
||||
}
|
||||
|
||||
uni.removeStorageSync('hzzsImg')
|
||||
},
|
||||
onLoad(options) {
|
||||
if ('params' in options) {
|
||||
|
@ -754,6 +754,7 @@
|
|||
let obj = {
|
||||
imgUrl: this.zsBase
|
||||
}
|
||||
// console.log('this.zsBase',this.zsBase)
|
||||
const params = encodeURIComponent(JSON.stringify(obj));
|
||||
uni.navigateTo({
|
||||
url: `/pages/quality/zsEdit?params=${params}`
|
||||
|
@ -784,6 +785,7 @@
|
|||
this.signBase = res.data
|
||||
} else {
|
||||
this.zsBase = res.data
|
||||
// console.log('this.zsBase-----',this.zsBase);
|
||||
}
|
||||
}
|
||||
})
|
||||
|
|
|
@ -50,6 +50,7 @@
|
|||
// 获取传递的对象参数,使用decodeURIComponent解码,并转为对象
|
||||
this.imgUrl = JSON.parse(decodeURIComponent(options.params)).imgUrl
|
||||
}
|
||||
// console.log('this.imgUrl',this.imgUrl);
|
||||
this.loginObj = uni.getStorageSync('loginObj')
|
||||
if (this.imgUrl == "") {
|
||||
this.handleReset()
|
||||
|
|
|
@ -200,10 +200,10 @@
|
|||
}
|
||||
const params = encodeURIComponent(JSON
|
||||
.stringify(obj));
|
||||
// uni.navigateTo({
|
||||
// url: '/pages/receipt/details?params=' +
|
||||
// params
|
||||
// })
|
||||
uni.redirectTo({
|
||||
url: '/pages/receipt/details?params=' +
|
||||
params
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue