diff --git a/package.json b/package.json index d93908f..fa283ae 100644 --- a/package.json +++ b/package.json @@ -39,9 +39,9 @@ "-": "^0.0.1", "@babel/parser": "^7.7.4", "@riophae/vue-treeselect": "0.4.0", - "axios": "^0.24.0", "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^1.0.2", + "axios": "^0.24.0", "babel-polyfill": "^6.26.0", "clipboard": "2.0.8", "crypto-js": "^4.1.1", diff --git a/src/views/apiLogs/configData.js b/src/views/apiLogs/configData.js index 3b1ecb3..4dc896b 100644 --- a/src/views/apiLogs/configData.js +++ b/src/views/apiLogs/configData.js @@ -11,7 +11,7 @@ const tableColumnData = [ }, { label: '接口名称', - prop: 'apiName', + prop: 'receiveApiName', tooltip: true, }, { diff --git a/src/views/apiLogs/index.vue b/src/views/apiLogs/index.vue index 9d1cddb..8c5244d 100644 --- a/src/views/apiLogs/index.vue +++ b/src/views/apiLogs/index.vue @@ -211,23 +211,23 @@ export default { this.$refs.baseLayout.setPageTotal(res.attribute.total); } - this.tableData.forEach(async (item, index) => { - console.log(item.receiveCode) - - let res2 = await authApi( - "sysApplicationApiService", - "application", - "queryEntity", - "", - {"apiCode":item.receiveCode} - ); - if (res2.status == "200") { - this.$set(this.tableData[index],'apiName',res2.attribute[0].apiName); - }else{ - this.$set(this.tableData[index],'apiName',"未配置该接口"); - } - - }) + // this.tableData.forEach(async (item, index) => { + // console.log(item.receiveCode) + // + // let res2 = await authApi( + // "sysApplicationApiService", + // "application", + // "queryEntity", + // "", + // {"apiCode":item.receiveCode} + // ); + // if (res2.status == "200") { + // this.$set(this.tableData[index],'apiName',res2.attribute[0].apiName); + // }else{ + // this.$set(this.tableData[index],'apiName',"未配置该接口"); + // } + // + // }) }, // 分页变化 handlePageChange(val) { diff --git a/src/views/apiLogsError/configData.js b/src/views/apiLogsError/configData.js index 6652890..3c8c23e 100644 --- a/src/views/apiLogsError/configData.js +++ b/src/views/apiLogsError/configData.js @@ -11,7 +11,7 @@ const tableColumnData = [ }, { label: '接口名称', - prop: 'apiName', + prop: 'receiveApiName', tooltip: true, }, { diff --git a/src/views/apiLogsError/index.vue b/src/views/apiLogsError/index.vue index 7b43b5e..91cf655 100644 --- a/src/views/apiLogsError/index.vue +++ b/src/views/apiLogsError/index.vue @@ -221,23 +221,23 @@ export default { this.$refs.baseLayout.setPageTotal(res.attribute.total); } - this.tableData.forEach(async (item, index) => { - console.log(item.receiveCode) - - let res2 = await authApi( - "sysApplicationApiService", - "application", - "queryEntity", - "", - {"apiCode":item.receiveCode} - ); - if (res2.status == "200") { - this.$set(this.tableData[index],'apiName',res2.attribute[0].apiName); - }else{ - this.$set(this.tableData[index],'apiName',"未配置该接口"); - } - - }) + // this.tableData.forEach(async (item, index) => { + // console.log(item.receiveCode) + // + // let res2 = await authApi( + // "sysApplicationApiService", + // "application", + // "queryEntity", + // "", + // {"apiCode":item.receiveCode} + // ); + // if (res2.status == "200") { + // this.$set(this.tableData[index],'apiName',res2.attribute[0].apiName); + // }else{ + // this.$set(this.tableData[index],'apiName',"未配置该接口"); + // } + // + // })