黔西南
This commit is contained in:
@@ -17,7 +17,7 @@ instance.interceptors.request.use(config => {
|
|||||||
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
|
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
|
||||||
} else if (!/^App/.test(module) && module) {
|
} else if (!/^App/.test(module) && module) {
|
||||||
config.baseURL = `/${module}`
|
config.baseURL = `/${module}`
|
||||||
if (['xaxc'].includes(module)) {
|
if (['xaxc', 'qxn'].includes(module)) {
|
||||||
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
|
config.url = config.url.replace(/(app|auth|admin)\//, "api/")
|
||||||
}
|
}
|
||||||
} else config.baseURL = "/lan"
|
} else config.baseURL = "/lan"
|
||||||
|
|||||||
@@ -85,6 +85,13 @@
|
|||||||
"pathRewrite": {
|
"pathRewrite": {
|
||||||
"^/xaxc": "/"
|
"^/xaxc": "/"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"/qxn": {
|
||||||
|
"target": "http://192.168.1.87:12001/",
|
||||||
|
"changeOrigin": true,
|
||||||
|
"pathRewrite": {
|
||||||
|
"^/qxn": "/"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -75,6 +75,8 @@ export default {
|
|||||||
module = 'online'
|
module = 'online'
|
||||||
} else if (/\/project\/xincheng\//.test(libPath)) {
|
} else if (/\/project\/xincheng\//.test(libPath)) {
|
||||||
module = 'xaxc'
|
module = 'xaxc'
|
||||||
|
} else if (/\/project\/qianxinan\//.test(libPath)) {
|
||||||
|
module = 'qxn'
|
||||||
} else if (/\/project\/beta\//.test(libPath)) {
|
} else if (/\/project\/beta\//.test(libPath)) {
|
||||||
corpId = 'ww2a667717a70164f1'
|
corpId = 'ww2a667717a70164f1'
|
||||||
module = 'wangge'
|
module = 'wangge'
|
||||||
|
|||||||
@@ -109,6 +109,8 @@
|
|||||||
// this.current = 1
|
// this.current = 1
|
||||||
// this.getList()
|
// this.getList()
|
||||||
// })
|
// })
|
||||||
|
this.getTotal()
|
||||||
|
this.getListInit()
|
||||||
},
|
},
|
||||||
|
|
||||||
onShow() {
|
onShow() {
|
||||||
@@ -118,6 +120,7 @@
|
|||||||
methods: {
|
methods: {
|
||||||
getListInit() {
|
getListInit() {
|
||||||
this.current = 1
|
this.current = 1
|
||||||
|
this.getList()
|
||||||
},
|
},
|
||||||
areaSelect(e) {
|
areaSelect(e) {
|
||||||
this.areaId =e
|
this.areaId =e
|
||||||
@@ -129,7 +132,29 @@
|
|||||||
clearDept() {
|
clearDept() {
|
||||||
this.deptList = []
|
this.deptList = []
|
||||||
this.getListInit()
|
this.getListInit()
|
||||||
}
|
},
|
||||||
|
getTotal() {
|
||||||
|
this.$http.post(`/appwxuserfamiliarityrate/wxTopStatistics`).then(res=> {
|
||||||
|
if(res?.data) {
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
getList() {
|
||||||
|
this.$http.post(`/appwxuserfamiliarityrate/list`, null, {
|
||||||
|
params: {
|
||||||
|
current: this.current,
|
||||||
|
// taskTitle: this.taskTitle,
|
||||||
|
// startTime: this.start,
|
||||||
|
// endTime: this.end,
|
||||||
|
// createUserId: this.createUserId,
|
||||||
|
}
|
||||||
|
}).then(res=> {
|
||||||
|
if(res?.data) {
|
||||||
|
this.list = this.current == 1? res.data.records : [...this.list,...res.data.records]
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user