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