This commit is contained in:
yanran200730
2023-06-09 15:49:47 +08:00
parent 9c45f25e8d
commit 164fe19a4a
11 changed files with 32 additions and 29 deletions

View File

@@ -232,7 +232,7 @@ export default {
},
getInfo() {
this.myChart = echarts.init(document.getElementById("echart"));
this.instance.post(`/appCorpStat/getLatestInfo?corpId=${this.params.corpId}`).then(res => {
this.instance.post(`/api/appCorpStat/getLatestInfo?corpId=${this.params.corpId}`).then(res => {
if (res.code === 0) {
this.info = res.data
this.getCharInfo()
@@ -240,7 +240,7 @@ export default {
})
},
getCharInfo() {
this.instance.post(`/appCorpStat/getLatestThreeMonthStat?corpId=${this.params.corpId}`).then(res => {
this.instance.post(`/api/appCorpStat/getLatestThreeMonthStat?corpId=${this.params.corpId}`).then(res => {
if (res.code === 0) {
if (res.data && res.data.length) {
this.listData = []
@@ -255,7 +255,7 @@ export default {
}
})
this.instance.post(`/wxcp/wxgroup/groupStatistic?corpId=${this.params.corpId}`).then(res => {
this.instance.post(`/api/wxcp/wxgroup/groupStatistic?corpId=${this.params.corpId}`).then(res => {
if (res.code === 0) {
if (res.data) {
this.pieData = []
@@ -277,7 +277,7 @@ export default {
this.getTableData()
},
getTableData() {
this.instance.post(`/wxcp/wxgroup/list?corpId=${this.params.corpId}&current=${this.page.current}&size=${this.page.size}&innerMemberId=${this.innerMemberId}`,).then(res => {
this.instance.post(`/api/wxcp/wxgroup/list?corpId=${this.params.corpId}&current=${this.page.current}&size=${this.page.size}&innerMemberId=${this.innerMemberId}`,).then(res => {
if (res.code === 0) {
if (res.data) {
this.gropList = res.data.records
@@ -287,7 +287,7 @@ export default {
})
},
getUserTableData() {
this.instance.post(`/wxcp/wxuser/userStat?corpId=${this.params.corpId}&current=${this.userPage.current}&size=${this.userPage.size}&mainDepartment=1`,).then(res => {
this.instance.post(`/api/wxcp/wxuser/userStat?corpId=${this.params.corpId}&current=${this.userPage.current}&size=${this.userPage.size}&mainDepartment=1`,).then(res => {
if (res.code === 0) {
if (res.data) {
this.userList = res.data.records