From 61424b37bf76252c1f72f6736f468fc385deca1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=A3=95=E8=B4=A2?= Date: Thu, 5 Oct 2023 07:32:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/mdp/form/formField/Index.vue | 35 +++++++++++++++++++++++--- 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/src/views/mdp/form/formField/Index.vue b/src/views/mdp/form/formField/Index.vue index f1e988c..ccda8a8 100644 --- a/src/views/mdp/form/formField/Index.vue +++ b/src/views/mdp/form/formField/Index.vue @@ -42,10 +42,10 @@ - 数据库表 - AI输出 - API输出 - 数据字典 + 数据库表 + AI输出 + API输出 + 数据字典 @@ -61,6 +61,24 @@ + + + 请输入数据库表名: + + + + 关闭 + 确定 + + + + + @@ -121,6 +139,7 @@ yesOrNo: [{id:'0',name:'否'},{id:'1',name:'是'}], } return { + tableName:'', filters:{ users:[] }, @@ -286,6 +305,14 @@ if (e.draggedContext.element.id == '22') return false; return true; }, + initFormFieldsByTable(){ + this.$mdp.getTableInfos({tableName:this.tableName}).then(res=>{ + + }) + }, + initFormFieldsByItemCode(item){ + + } /**end 在上面加自定义方法**/ },//end method