|
@@ -90,11 +90,18 @@ export default class signResult extends Component {
|
90
|
90
|
url: `/onlineSelling/pages/houseList/index?id=${id}`
|
91
|
91
|
})
|
92
|
92
|
}
|
93
|
|
- toSeeContract(url) {
|
|
93
|
+
|
|
94
|
+ toSeeContract = (url) => {
|
|
95
|
+ const { userInfo: { miniApp: { fddServerHost } } } = this.props
|
|
96
|
+
|
|
97
|
+ // 替换 location.origin 部分
|
|
98
|
+ const redirect = fddServerHost ? url.replace(/^http[^/]+\/\/[^/]+\//, fddServerHost) : url
|
|
99
|
+
|
94
|
100
|
Taro.navigateTo({
|
95
|
|
- url: `/pages/project/panorama/index?url=${encodeURIComponent(url)}`
|
|
101
|
+ url: `/pages/project/panorama/index?url=${encodeURIComponent(redirect)}`
|
96
|
102
|
})
|
97
|
103
|
}
|
|
104
|
+
|
98
|
105
|
toDownloadContract(url) {
|
99
|
106
|
Taro.downloadFile({
|
100
|
107
|
url,
|
|
@@ -118,7 +125,7 @@ export default class signResult extends Component {
|
118
|
125
|
const status = this.$router.params.result_code == 3000 ? '1' : '2'
|
119
|
126
|
const { id: raiseRecordId } = this.$router.params
|
120
|
127
|
const viewUrl = this.$router.params.viewpdf_url ? decodeURIComponent(decodeURIComponent(this.$router.params.viewpdf_url)) : ''
|
121
|
|
- console.log(viewUrl, "viewUrlviewUrlviewUrlviewUrlviewUrlviewUrlviewUrl")
|
|
128
|
+
|
122
|
129
|
return (
|
123
|
130
|
<View className="bottombar">
|
124
|
131
|
<View className="bt-nav__left">
|