bug
This commit is contained in:
		| @@ -130,7 +130,7 @@ export default { | ||||
|   }, | ||||
|   methods: { | ||||
|     getsaasList() { | ||||
|       this.instance.post("/appSaas/page", null, { | ||||
|       this.instance.post("/api/appSaas/page", null, { | ||||
|         params: {size: 10000} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -143,7 +143,7 @@ export default { | ||||
|       this.getTableData() | ||||
|     }, | ||||
|     getTableData() { | ||||
|       this.instance.post("/appCorp/page", null, { | ||||
|       this.instance.post("/api/appCorp/page", null, { | ||||
|         params: {...this.page, ...this.search} | ||||
|       }).then(res => { | ||||
|         if (res?.data) { | ||||
| @@ -161,7 +161,7 @@ export default { | ||||
|               this.dialogForm.saasName = item.name | ||||
|             } | ||||
|           }) | ||||
|           this.instance.post("/appCorp/addOrUpdate", this.dialogForm).then(res => { | ||||
|           this.instance.post("/api/appCorp/addOrUpdate", this.dialogForm).then(res => { | ||||
|             if (res?.code == 0) { | ||||
|               this.dialog = false; | ||||
|               this.$message.success("保存成功") | ||||
| @@ -179,7 +179,7 @@ export default { | ||||
|     }, | ||||
|     handleDelete(ids) { | ||||
|       this.$confirm("是否要删除该Saas信息?").then(() => { | ||||
|         this.instance.post("/appCorp/delete", null, { | ||||
|         this.instance.post("/api/appCorp/delete", null, { | ||||
|           params: {ids} | ||||
|         }).then(res => { | ||||
|           if (res?.code == 0) { | ||||
| @@ -191,7 +191,7 @@ export default { | ||||
|     }, | ||||
|     handleSync(corpId) { | ||||
|       this.$confirm("是否确定同步该企业数据?").then(() => { | ||||
|         this.instance.post("/appCorpStat/syncData?corpId=" + corpId, null, {}).then(res => { | ||||
|         this.instance.post("/api/appCorpStat/syncData?corpId=" + corpId, null, {}).then(res => { | ||||
|           if (res?.code == 0) { | ||||
|             this.getTableData(); | ||||
|             this.$message.success("同步成功!"); | ||||
|   | ||||
| @@ -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}¤t=${this.page.current}&size=${this.page.size}&innerMemberId=${this.innerMemberId}`,).then(res => { | ||||
|       this.instance.post(`/api/wxcp/wxgroup/list?corpId=${this.params.corpId}¤t=${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}¤t=${this.userPage.current}&size=${this.userPage.size}&mainDepartment=1`,).then(res => { | ||||
|       this.instance.post(`/api/wxcp/wxuser/userStat?corpId=${this.params.corpId}¤t=${this.userPage.current}&size=${this.userPage.size}&mainDepartment=1`,).then(res => { | ||||
|         if (res.code === 0) { | ||||
|           if (res.data) { | ||||
|             this.userList = res.data.records | ||||
|   | ||||
		Reference in New Issue
	
	Block a user