This commit is contained in:
liuye
2024-04-28 14:01:17 +08:00
parent 10266d9c35
commit c3eba7fe49
4 changed files with 12 additions and 11 deletions

View File

@@ -120,6 +120,13 @@
"pathRewrite": {
"^/hzl": "/"
}
},
"/baidu": {
"target": "https://szxcweb.icunwei.com",
"changeOrigin": true,
"pathRewrite": {
"^/baidu": "/"
}
}
}
},

View File

@@ -86,6 +86,8 @@ export default {
module = 'wangge'
}else if (/\/project\/activeAnalysis\//.test(libPath)) {
module = 'yyhd'
}else if (/\/project\/baidu\//.test(libPath)) {
module = 'baidu'
}
this.setModule(module)
return Promise.resolve({corpId, module})

View File

@@ -75,7 +75,7 @@ export default {
this.getList()
},
getList() {
this.$http.post("https://szxcweb.icunwei.com/app/appapplicationinfo/list?appId=875e5087954e429d9ed14820e808aaa4&current=1&size=200",
this.$http.post("/app/appapplicationinfo/list?appId=875e5087954e429d9ed14820e808aaa4&current=1&size=200",
{
"input00": this.tabIndex == 0 ? this.areaId : this.cityAreaId,
"radio06": this.tabIndex

View File

@@ -46,16 +46,8 @@ export default {
uni.navigateBack()
},
getDetail() {
// https://szxcweb.icunwei.com/app/appapplicationinfo/queryDetailById?appId=875e5087954e429d9ed14820e808aaa4&id=016201639c4b4efda1204c84804f437d
this.$http.post(`https://szxcweb.icunwei.com/app/appapplicationinfo/queryDetailById?appId=875e5087954e429d9ed14820e808aaa4&id=${this.id}`,
this.$http.post(`/app/appapplicationinfo/queryDetailById?appId=875e5087954e429d9ed14820e808aaa4&id=${this.id}`,
null, {withoutToken: true}).then(res => {
// res.data.records.map((item) => {
// item.imgList = item.textarea05.split('|')
// item.imgIndex = Math.floor(Math.random() * 4)
// })
// this.list = res.data.records
// console.log(this.list)
res.data.imgList = res.data.textarea05.split('|')
res.data.imgIndex = Math.floor(Math.random() * 4)
this.info = res.data