From 08857dee797a59ba03f64d2b82c0cd04644e182a Mon Sep 17 00:00:00 2001 From: hyt <958868763@qq.com> Date: Tue, 30 Apr 2024 09:30:41 +0800 Subject: [PATCH] =?UTF-8?q?api=E6=A8=A1=E5=9D=97=E6=96=B0=E5=A2=9E?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/applicationList/apiList/apiAdd.vue | 60 +++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) diff --git a/src/views/applicationList/apiList/apiAdd.vue b/src/views/applicationList/apiList/apiAdd.vue index 7949897..b27db1c 100644 --- a/src/views/applicationList/apiList/apiAdd.vue +++ b/src/views/applicationList/apiList/apiAdd.vue @@ -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表 stepOneForm: { requestCoding: "1", @@ -744,7 +796,7 @@ export default { type: "input", title: "描述", id: "description", - maxlength: 50, + maxlength: 300, }, { type: "number", @@ -802,6 +854,7 @@ export default { type: "input", title: "描述", id: "description", + maxlength: 300, }, { type: "number", @@ -852,6 +905,7 @@ export default { type: "input", title: "描述", id: "description", + maxlength: 300, }, { type: "number", @@ -902,6 +956,7 @@ export default { type: "input", title: "描述", id: "description", + maxlength: 300, }, { type: "number", @@ -1268,6 +1323,9 @@ export default { obj1["requestMethod"] = res.attribute.requestMethod; obj1["timeoutPeriod"] = res.attribute.timeoutPeriod; obj1["currentLimiting"] = res.attribute.currentLimiting; + obj1["beanName"] = res.attribute.beanName; + obj1["funName"] = res.attribute.funName; + obj1["extensionApi"] = res.attribute.extensionApi; this.stepZeroForm = obj0; this.stepOneForm = obj1; if (JSON.parse(res.attribute.queryIn) instanceof Array) {