This commit is contained in:
caorui 2024-09-13 17:03:10 +08:00
commit 85f3d1ae6b
7 changed files with 113 additions and 3 deletions

View File

@ -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: '源数据',

View File

@ -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) {

View File

@ -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)
}) })

View File

@ -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: '源数据',

View File

@ -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) {

View File

@ -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)
}) })

View File

@ -40,14 +40,15 @@ 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`,
// target: `http://192.168.2.78:8080`, // target: `http://192.168.2.78:8080`,
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]: "",