首页异常日志,接口日志两个界面,补充展示接口名称字段
This commit is contained in:
parent
ee50442c66
commit
5f22a374d9
|
@ -9,6 +9,11 @@ const tableColumnData = [
|
||||||
prop: 'sendAppName',
|
prop: 'sendAppName',
|
||||||
tooltip: true,
|
tooltip: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '接口名称',
|
||||||
|
prop: 'apiName',
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '源数据',
|
label: '源数据',
|
||||||
prop: 'sourceData',
|
prop: 'sourceData',
|
||||||
|
@ -204,6 +209,16 @@ const formRowShow = [
|
||||||
optionLabel: 'name',
|
optionLabel: 'name',
|
||||||
},]
|
},]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
elCol: [{
|
||||||
|
label: '接口名称',
|
||||||
|
prop: 'apiName',
|
||||||
|
tag: 'elInput',
|
||||||
|
disabled: true,
|
||||||
|
type: 'text',
|
||||||
|
span: 12,
|
||||||
|
},]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
elCol: [{
|
elCol: [{
|
||||||
label: '源数据',
|
label: '源数据',
|
||||||
|
|
|
@ -210,6 +210,24 @@ export default {
|
||||||
this.tableData = res.attribute.list;
|
this.tableData = res.attribute.list;
|
||||||
this.$refs.baseLayout.setPageTotal(res.attribute.total);
|
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',"未配置该接口");
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
||||||
},
|
},
|
||||||
// 分页变化
|
// 分页变化
|
||||||
handlePageChange(val) {
|
handlePageChange(val) {
|
||||||
|
|
|
@ -115,6 +115,19 @@ export default {
|
||||||
params
|
params
|
||||||
)
|
)
|
||||||
if (res.status == '200') {
|
if (res.status == '200') {
|
||||||
|
let res2 = await authApi(
|
||||||
|
"sysApplicationApiService",
|
||||||
|
"application",
|
||||||
|
"queryEntity",
|
||||||
|
"",
|
||||||
|
{"apiCode":res.attribute.receiveCode}
|
||||||
|
);
|
||||||
|
if (res2.status == '200') {
|
||||||
|
this.$set(res.attribute,'apiName',res2.attribute[0].apiName);
|
||||||
|
}else{
|
||||||
|
this.$set(res.attribute,'apiName',"未配置该接口");
|
||||||
|
}
|
||||||
|
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.basicsForm.incomingParameters(res.attribute)
|
this.$refs.basicsForm.incomingParameters(res.attribute)
|
||||||
})
|
})
|
||||||
|
|
|
@ -9,6 +9,11 @@ const tableColumnData = [
|
||||||
prop: 'sendAppName',
|
prop: 'sendAppName',
|
||||||
tooltip: true,
|
tooltip: true,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: '接口名称',
|
||||||
|
prop: 'apiName',
|
||||||
|
tooltip: true,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: '源数据',
|
label: '源数据',
|
||||||
prop: 'sourceData',
|
prop: 'sourceData',
|
||||||
|
@ -204,6 +209,17 @@ const formRowShow = [
|
||||||
optionLabel: 'name',
|
optionLabel: 'name',
|
||||||
},]
|
},]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
elCol: [{
|
||||||
|
label: '接口名称',
|
||||||
|
prop: 'apiName',
|
||||||
|
tag: 'elInput',
|
||||||
|
disabled: true,
|
||||||
|
type: 'text',
|
||||||
|
span: 12,
|
||||||
|
},]
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
elCol: [{
|
elCol: [{
|
||||||
label: '源数据',
|
label: '源数据',
|
||||||
|
@ -276,6 +292,18 @@ const HandleformRowShow = [
|
||||||
optionLabel: 'name',
|
optionLabel: 'name',
|
||||||
},]
|
},]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
elCol: [{
|
||||||
|
label: '接口名称',
|
||||||
|
prop: 'apiName',
|
||||||
|
tag: 'elInput',
|
||||||
|
disabled: true,
|
||||||
|
type: 'text',
|
||||||
|
span: 12,
|
||||||
|
},]
|
||||||
|
},
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
elCol: [{
|
elCol: [{
|
||||||
label: '源数据',
|
label: '源数据',
|
||||||
|
|
|
@ -220,6 +220,27 @@ export default {
|
||||||
this.tableData = res.attribute.list;
|
this.tableData = res.attribute.list;
|
||||||
this.$refs.baseLayout.setPageTotal(res.attribute.total);
|
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',"未配置该接口");
|
||||||
|
}
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
// 分页变化
|
// 分页变化
|
||||||
handlePageChange(val) {
|
handlePageChange(val) {
|
||||||
|
|
|
@ -148,14 +148,28 @@ export default {
|
||||||
id: id,
|
id: id,
|
||||||
status: row.status
|
status: row.status
|
||||||
}
|
}
|
||||||
|
|
||||||
let res = await authApi(
|
let res = await authApi(
|
||||||
'sysMessageManageLogService',
|
'sysMessageManageLogService',
|
||||||
'messageManage',
|
'messageManage',
|
||||||
'thirdInterfacequeryEntity',
|
'thirdInterfacequeryEntity',
|
||||||
'',
|
'',
|
||||||
params
|
params
|
||||||
)
|
);
|
||||||
|
|
||||||
if (res.status == '200') {
|
if (res.status == '200') {
|
||||||
|
let res2 = await authApi(
|
||||||
|
"sysApplicationApiService",
|
||||||
|
"application",
|
||||||
|
"queryEntity",
|
||||||
|
"",
|
||||||
|
{"apiCode":res.attribute.receiveCode}
|
||||||
|
);
|
||||||
|
if (res2.status == '200') {
|
||||||
|
this.$set(res.attribute,'apiName',res2.attribute[0].apiName);
|
||||||
|
}else{
|
||||||
|
this.$set(res.attribute,'apiName',"未配置该接口");
|
||||||
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.$refs.basicsForm.incomingParameters(res.attribute)
|
this.$refs.basicsForm.incomingParameters(res.attribute)
|
||||||
})
|
})
|
||||||
|
|
|
@ -40,7 +40,7 @@ module.exports = {
|
||||||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||||
[process.env.VUE_APP_BASE_API]: {
|
[process.env.VUE_APP_BASE_API]: {
|
||||||
// target: `http://hzya.ufyct.com:9067/`,
|
// target: `http://hzya.ufyct.com:9067/`,
|
||||||
target: `http://ufidahz.com.cn:9067/`,
|
//target: `http://ufidahz.com.cn:9067/`,
|
||||||
// target: `http://127.0.0.1:9081/`,
|
// target: `http://127.0.0.1:9081/`,
|
||||||
// target: `http://192.168.2.78:9999`,
|
// target: `http://192.168.2.78:9999`,
|
||||||
// target: `http://192.168.2.85:9999`,
|
// target: `http://192.168.2.85:9999`,
|
||||||
|
@ -48,6 +48,7 @@ module.exports = {
|
||||||
// target: `http://192.168.2.78:9999`,
|
// target: `http://192.168.2.78:9999`,
|
||||||
// target: `http://192.168.2.185:9999`,
|
// target: `http://192.168.2.185:9999`,
|
||||||
// target: `http://192.168.2.83:9999`,
|
// target: `http://192.168.2.83:9999`,
|
||||||
|
target:'http://127.0.0.1:9999/',
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
["^" + process.env.VUE_APP_BASE_API]: "",
|
["^" + process.env.VUE_APP_BASE_API]: "",
|
||||||
|
|
Loading…
Reference in New Issue