百度AI
This commit is contained in:
@@ -120,6 +120,13 @@
|
|||||||
"pathRewrite": {
|
"pathRewrite": {
|
||||||
"^/hzl": "/"
|
"^/hzl": "/"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"/baidu": {
|
||||||
|
"target": "https://szxcweb.icunwei.com",
|
||||||
|
"changeOrigin": true,
|
||||||
|
"pathRewrite": {
|
||||||
|
"^/baidu": "/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -86,6 +86,8 @@ export default {
|
|||||||
module = 'wangge'
|
module = 'wangge'
|
||||||
}else if (/\/project\/activeAnalysis\//.test(libPath)) {
|
}else if (/\/project\/activeAnalysis\//.test(libPath)) {
|
||||||
module = 'yyhd'
|
module = 'yyhd'
|
||||||
|
}else if (/\/project\/baidu\//.test(libPath)) {
|
||||||
|
module = 'baidu'
|
||||||
}
|
}
|
||||||
this.setModule(module)
|
this.setModule(module)
|
||||||
return Promise.resolve({corpId, module})
|
return Promise.resolve({corpId, module})
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ export default {
|
|||||||
this.getList()
|
this.getList()
|
||||||
},
|
},
|
||||||
getList() {
|
getList() {
|
||||||
this.$http.post("https://szxcweb.icunwei.com/app/appapplicationinfo/list?appId=875e5087954e429d9ed14820e808aaa4¤t=1&size=200",
|
this.$http.post("/app/appapplicationinfo/list?appId=875e5087954e429d9ed14820e808aaa4¤t=1&size=200",
|
||||||
{
|
{
|
||||||
"input00": this.tabIndex == 0 ? this.areaId : this.cityAreaId,
|
"input00": this.tabIndex == 0 ? this.areaId : this.cityAreaId,
|
||||||
"radio06": this.tabIndex
|
"radio06": this.tabIndex
|
||||||
|
|||||||
@@ -46,16 +46,8 @@ export default {
|
|||||||
uni.navigateBack()
|
uni.navigateBack()
|
||||||
},
|
},
|
||||||
getDetail() {
|
getDetail() {
|
||||||
// https://szxcweb.icunwei.com/app/appapplicationinfo/queryDetailById?appId=875e5087954e429d9ed14820e808aaa4&id=016201639c4b4efda1204c84804f437d
|
this.$http.post(`/app/appapplicationinfo/queryDetailById?appId=875e5087954e429d9ed14820e808aaa4&id=${this.id}`,
|
||||||
this.$http.post(`https://szxcweb.icunwei.com/app/appapplicationinfo/queryDetailById?appId=875e5087954e429d9ed14820e808aaa4&id=${this.id}`,
|
|
||||||
null, {withoutToken: true}).then(res => {
|
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.imgList = res.data.textarea05.split('|')
|
||||||
res.data.imgIndex = Math.floor(Math.random() * 4)
|
res.data.imgIndex = Math.floor(Math.random() * 4)
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
|
|||||||
Reference in New Issue
Block a user