api模块新增字段

This commit is contained in:
hyt 2024-04-30 09:30:41 +08:00
parent c31986d9b6
commit 08857dee79
1 changed files with 59 additions and 1 deletions

View File

@ -670,6 +670,58 @@ export default {
}, },
], ],
}, },
{
elCol: [
{
type: "input",
title: "内部bean名称",
maxlength: 200,
id: "beanName",
pattern: "",
message: "URL或协议不合法",
row: 24,
required: true,
},
],
},
{
elCol: [
{
type: "input",
title: "方法名称",
maxlength: 200,
id: "funName",
pattern: "",
message: "URL或协议不合法",
row: 24,
required: true,
},
],
},
{
elCol: [
{
type: "radio",
title: "是否扩展API",
maxlength: 200,
id: "extensionApi",
pattern: "",
message: "URL或协议不合法",
row: 24,
required: true,
options:[
{
label:"是",
id:'1',
},
{
label:"否",
id:'2',
}
]
},
],
},
],//2 ],//2
stepOneForm: { stepOneForm: {
requestCoding: "1", requestCoding: "1",
@ -744,7 +796,7 @@ export default {
type: "input", type: "input",
title: "描述", title: "描述",
id: "description", id: "description",
maxlength: 50, maxlength: 300,
}, },
{ {
type: "number", type: "number",
@ -802,6 +854,7 @@ export default {
type: "input", type: "input",
title: "描述", title: "描述",
id: "description", id: "description",
maxlength: 300,
}, },
{ {
type: "number", type: "number",
@ -852,6 +905,7 @@ export default {
type: "input", type: "input",
title: "描述", title: "描述",
id: "description", id: "description",
maxlength: 300,
}, },
{ {
type: "number", type: "number",
@ -902,6 +956,7 @@ export default {
type: "input", type: "input",
title: "描述", title: "描述",
id: "description", id: "description",
maxlength: 300,
}, },
{ {
type: "number", type: "number",
@ -1268,6 +1323,9 @@ export default {
obj1["requestMethod"] = res.attribute.requestMethod; obj1["requestMethod"] = res.attribute.requestMethod;
obj1["timeoutPeriod"] = res.attribute.timeoutPeriod; obj1["timeoutPeriod"] = res.attribute.timeoutPeriod;
obj1["currentLimiting"] = res.attribute.currentLimiting; obj1["currentLimiting"] = res.attribute.currentLimiting;
obj1["beanName"] = res.attribute.beanName;
obj1["funName"] = res.attribute.funName;
obj1["extensionApi"] = res.attribute.extensionApi;
this.stepZeroForm = obj0; this.stepZeroForm = obj0;
this.stepOneForm = obj1; this.stepOneForm = obj1;
if (JSON.parse(res.attribute.queryIn) instanceof Array) { if (JSON.parse(res.attribute.queryIn) instanceof Array) {