首页异常日志,接口日志两个界面,查询列表接口名称方法,后端接口改为关联表方式。
This commit is contained in:
parent
38ed4ff43f
commit
0fa4dd4a79
|
@ -39,9 +39,9 @@
|
||||||
"-": "^0.0.1",
|
"-": "^0.0.1",
|
||||||
"@babel/parser": "^7.7.4",
|
"@babel/parser": "^7.7.4",
|
||||||
"@riophae/vue-treeselect": "0.4.0",
|
"@riophae/vue-treeselect": "0.4.0",
|
||||||
"axios": "^0.24.0",
|
|
||||||
"@wangeditor/editor": "^5.1.23",
|
"@wangeditor/editor": "^5.1.23",
|
||||||
"@wangeditor/editor-for-vue": "^1.0.2",
|
"@wangeditor/editor-for-vue": "^1.0.2",
|
||||||
|
"axios": "^0.24.0",
|
||||||
"babel-polyfill": "^6.26.0",
|
"babel-polyfill": "^6.26.0",
|
||||||
"clipboard": "2.0.8",
|
"clipboard": "2.0.8",
|
||||||
"crypto-js": "^4.1.1",
|
"crypto-js": "^4.1.1",
|
||||||
|
|
|
@ -11,7 +11,7 @@ const tableColumnData = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '接口名称',
|
label: '接口名称',
|
||||||
prop: 'apiName',
|
prop: 'receiveApiName',
|
||||||
tooltip: true,
|
tooltip: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -211,23 +211,23 @@ export default {
|
||||||
this.$refs.baseLayout.setPageTotal(res.attribute.total);
|
this.$refs.baseLayout.setPageTotal(res.attribute.total);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.tableData.forEach(async (item, index) => {
|
// this.tableData.forEach(async (item, index) => {
|
||||||
console.log(item.receiveCode)
|
// console.log(item.receiveCode)
|
||||||
|
//
|
||||||
let res2 = await authApi(
|
// let res2 = await authApi(
|
||||||
"sysApplicationApiService",
|
// "sysApplicationApiService",
|
||||||
"application",
|
// "application",
|
||||||
"queryEntity",
|
// "queryEntity",
|
||||||
"",
|
// "",
|
||||||
{"apiCode":item.receiveCode}
|
// {"apiCode":item.receiveCode}
|
||||||
);
|
// );
|
||||||
if (res2.status == "200") {
|
// if (res2.status == "200") {
|
||||||
this.$set(this.tableData[index],'apiName',res2.attribute[0].apiName);
|
// this.$set(this.tableData[index],'apiName',res2.attribute[0].apiName);
|
||||||
}else{
|
// }else{
|
||||||
this.$set(this.tableData[index],'apiName',"未配置该接口");
|
// this.$set(this.tableData[index],'apiName',"未配置该接口");
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
})
|
// })
|
||||||
},
|
},
|
||||||
// 分页变化
|
// 分页变化
|
||||||
handlePageChange(val) {
|
handlePageChange(val) {
|
||||||
|
|
|
@ -11,7 +11,7 @@ const tableColumnData = [
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: '接口名称',
|
label: '接口名称',
|
||||||
prop: 'apiName',
|
prop: 'receiveApiName',
|
||||||
tooltip: true,
|
tooltip: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -221,23 +221,23 @@ export default {
|
||||||
this.$refs.baseLayout.setPageTotal(res.attribute.total);
|
this.$refs.baseLayout.setPageTotal(res.attribute.total);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.tableData.forEach(async (item, index) => {
|
// this.tableData.forEach(async (item, index) => {
|
||||||
console.log(item.receiveCode)
|
// console.log(item.receiveCode)
|
||||||
|
//
|
||||||
let res2 = await authApi(
|
// let res2 = await authApi(
|
||||||
"sysApplicationApiService",
|
// "sysApplicationApiService",
|
||||||
"application",
|
// "application",
|
||||||
"queryEntity",
|
// "queryEntity",
|
||||||
"",
|
// "",
|
||||||
{"apiCode":item.receiveCode}
|
// {"apiCode":item.receiveCode}
|
||||||
);
|
// );
|
||||||
if (res2.status == "200") {
|
// if (res2.status == "200") {
|
||||||
this.$set(this.tableData[index],'apiName',res2.attribute[0].apiName);
|
// this.$set(this.tableData[index],'apiName',res2.attribute[0].apiName);
|
||||||
}else{
|
// }else{
|
||||||
this.$set(this.tableData[index],'apiName',"未配置该接口");
|
// this.$set(this.tableData[index],'apiName',"未配置该接口");
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
})
|
// })
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue