From 9da5b50986991d21beb58a823cb039f8c486587c Mon Sep 17 00:00:00 2001 From: wangting <wangting@vci-tech.com> Date: 星期二, 14 一月 2025 18:31:53 +0800 Subject: [PATCH] 增加流程模板管理页面 --- Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue | 22 +++++++--------------- 1 files changed, 7 insertions(+), 15 deletions(-) diff --git a/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue b/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue index 655a93b..2acc434 100644 --- a/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue +++ b/Source/plt-web/plt-web-ui/src/views/modelingMenu/queryTemplate/businessTypeQuery/formDialog.vue @@ -9,7 +9,7 @@ width="1620px" @close="cancelDialog"> <div style="min-height: 665px;max-height: 85vh;padding-bottom: 50px;"> - <basic-form key="linkQueryForm" ref="form" + <basic-form key="businessQueryForm" ref="form" :formData="form" :formItems="formItems" :span="4" @@ -47,9 +47,9 @@ <div> 鏌ヨ妯℃澘瀹氫箟 <avue-select v-model="businessQueryDefineForm" :dic="businessQueryDefineDic" class="el-input--small" - placeholder="璇烽�夋嫨鍐呭" style="width: 240px;" type="tree" + placeholder="璇烽�夋嫨鍐呭" style="width: 245px;" type="tree" @change="businessQueryDefineChange"></avue-select> - <avue-tree :data="businessTreeData" :option="treeOption" style="height: 265px" + <avue-tree :data="businessTreeData" :option="treeOption" style="width:335px;height: 268px" @node-drag-start="handleDragStart" @node-drag-end="handleDragEnd"> </avue-tree> </div> @@ -71,7 +71,7 @@ </el-container> </div> <div class="dialog-footer avue-dialog__footer"> - <el-button plain size="small" type="primary" @click="submitDialog">淇� 瀛�</el-button> + <el-button size="small" type="primary" @click="submitDialog">淇� 瀛�</el-button> <el-button size="small" @click="cancelDialog">鍙� 娑�</el-button> </div> </el-dialog> @@ -226,11 +226,7 @@ return false; }, allowDrag: (dropNode) => { - if (dropNode.data.attrs && dropNode.data.attrs.length > 0) { - return false; - } else { - return true; - } + return true; }, props: { label: 'name', @@ -299,7 +295,6 @@ this.$refs.form.validate((valid) => { if (valid) { const formData = this.initFormData(); - console.log(formData) btmSave(formData).then(res => { if (res.data.success) { this.$message.success("淇濆瓨鎴愬姛"); @@ -369,7 +364,7 @@ this.orderFieldList.unshift({ id: data.row.orderField }); - this.tableFormOption.column[0].dicData = this.orderFieldList + this.$refs.tableForm.updateDic('orderField',this.orderFieldList); }, //鑾峰彇鎺掑簭璁剧疆涓墍鏈夋帓搴忓瓧娈� getAllAttr() { @@ -426,10 +421,7 @@ }, businessQueryDefineChange(data) { if (data.value) { - this.businessTreeData = [{ - name: data.value, - attrs: data.item.attrs - }] + this.businessTreeData = [data.item] } }, // 寮�濮嬫嫋鎷芥爲鑺傜偣浜嬩欢 -- Gitblit v1.9.3