|
@@ -319,27 +319,16 @@
|
|
|
id: this.baseFormData.id,
|
|
|
url: 'https://www.ccsckj.com/'
|
|
|
}
|
|
|
-
|
|
|
- // todo 方案二
|
|
|
- uni.navigateTo({
|
|
|
- url:'/pages/lr/face?url='+JSON.stringify(param)
|
|
|
- })
|
|
|
-
|
|
|
- // todo 方案一
|
|
|
- // GetUrl(param).then(res => {
|
|
|
- // console.log("1111111", res);
|
|
|
- // if (res.code == 200) {
|
|
|
- // // this.src = res.data.url
|
|
|
- // uni.request({
|
|
|
- // url:res.data.url
|
|
|
- // })
|
|
|
- // } else {
|
|
|
- // toast('该功能暂未开放')
|
|
|
-
|
|
|
- // uni.navigateBack()
|
|
|
- // }
|
|
|
+ GetUrl(param).then(res => {
|
|
|
+ console.log("1111111", res);
|
|
|
+ if (res.code == 200) {
|
|
|
+ window.open(res.data.url, '_self');
|
|
|
+ } else {
|
|
|
+ toast('该功能暂未开放')
|
|
|
+ // uni.navigateBack()
|
|
|
+ }
|
|
|
|
|
|
- // })
|
|
|
+ })
|
|
|
},
|
|
|
showInfo(id) {
|
|
|
infoKhjbxx(id).then(res => {
|