|
@@ -845,8 +845,18 @@
|
|
|
|
|
|
// todo 跳转刷脸激活
|
|
|
setTimeout(function() {
|
|
|
- uni.switchTab({
|
|
|
- url: '/pages/index/index'
|
|
|
+ let param = {
|
|
|
+ id: this.baseFormData.id,
|
|
|
+ url: config.redirectUrl
|
|
|
+ }
|
|
|
+ GetUrl(param).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ window.open(res.data.url, '_self');
|
|
|
+ } else {
|
|
|
+ toast('该功能暂未开放')
|
|
|
+ // uni.navigateBack()
|
|
|
+ }
|
|
|
+
|
|
|
})
|
|
|
}, 2000)
|
|
|
}
|
|
@@ -864,7 +874,19 @@
|
|
|
// todo 跳转刷脸激活
|
|
|
setTimeout(function() {
|
|
|
|
|
|
+ let param = {
|
|
|
+ id: this.baseFormData.id,
|
|
|
+ url: config.redirectUrl
|
|
|
+ }
|
|
|
+ GetUrl(param).then(res => {
|
|
|
+ if (res.code == 200) {
|
|
|
+ window.open(res.data.url, '_self');
|
|
|
+ } else {
|
|
|
+ toast('该功能暂未开放')
|
|
|
+ // uni.navigateBack()
|
|
|
+ }
|
|
|
|
|
|
+ })
|
|
|
|
|
|
}, 2000)
|
|
|
}
|