From 5f02bdd5c27c2d36b192b41c4da6fb4e5ea543f9 Mon Sep 17 00:00:00 2001
From: liwenxuan <1298531568@qq.com>
Date: Tue, 20 Aug 2024 17:00:04 +0800
Subject: [PATCH 1/7] =?UTF-8?q?=E5=85=B3=E8=81=94=E8=A1=A8=E5=8D=95-?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A1=AB=E5=85=85=E8=A7=84=E5=88=99-v0.25?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../DesignForm/formControlPropertiNew.vue | 44 ++-
.../associatedFormsChildFillRole.vue | 265 ++++++++++++++----
2 files changed, 245 insertions(+), 64 deletions(-)
diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue
index 808c460..be50192 100644
--- a/src/components/DesignForm/formControlPropertiNew.vue
+++ b/src/components/DesignForm/formControlPropertiNew.vue
@@ -4298,13 +4298,13 @@ const radioChangeSet = (val:any) => {
-
+ /> -->
{
/>
-
+ /> -->
{
@node-contextmenu="handleOrgTreeContextmenu"
/>
-
+ /> -->
{
@node-collapse="handleFieldTreeCollapse"
@node-contextmenu="handleFieldTreeContextmenuRange"
/>
-
+ /> -->
{
@node-collapse="handleFieldTreeCollapse"
@node-contextmenu="handleFieldTreeContextmenuRange"
/>
-
+ /> -->
{
@node-contextmenu="handleOrgTreeContextmenuRange"
/>
-
+ /> -->
{
-
+
@@ -4549,10 +4549,26 @@ const radioChangeSet = (val:any) => {
十 子表填充规则
-
+
-
-
-
-
-
-
-
-
设置筛选条件(选填)
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 仅可选择符合以下条件的数据
+
+
+
+ - 请从左侧面板右击选择字段或选项
+ - 支持的符号:'==', '>=', '>', '<=', '<' , '!='
+
+ - 支持"包含,不包含,数据拥有者,数据所属部门"关键字,用于组织机构条件,角色条件,==运算符和!=运算符
+ - 参考举例:
+ 年龄>10
+ 企管部==数据所属部门
+ 绩效考核执行人包含数据拥有者
+ 生产部包含数据所属部门
+
+
+
+
+
-
- {{ currentKey }}
+
+
+
\ No newline at end of file
From d779df08573bc5d1f0e09dbb48a9b3ac8520d1a1 Mon Sep 17 00:00:00 2001
From: liwenxuan <1298531568@qq.com>
Date: Wed, 21 Aug 2024 10:27:38 +0800
Subject: [PATCH 3/7] =?UTF-8?q?=E5=85=B3=E8=81=94=E8=A1=A8=E5=8D=95-?=
=?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=A1=AB=E5=85=85=E8=A7=84=E5=88=99-v0.27?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/DesignForm/assembly/index.ts | 8 +++-
.../DesignForm/formControlPropertiNew.vue | 25 +++++-----
.../associatedFormsChildFillRole.vue | 48 +++++++++++++++++--
3 files changed, 64 insertions(+), 17 deletions(-)
diff --git a/src/components/DesignForm/assembly/index.ts b/src/components/DesignForm/assembly/index.ts
index 70c43ee..aed0e51 100644
--- a/src/components/DesignForm/assembly/index.ts
+++ b/src/components/DesignForm/assembly/index.ts
@@ -927,7 +927,13 @@ export default [
mathsString:'',
},
},
- childRoles:[]
+ childRoles:[
+ {
+ leftValue: '',
+ rightValue: '',
+ id: '',
+ },
+ ]
},
],
},
diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue
index be50192..9c7308e 100644
--- a/src/components/DesignForm/formControlPropertiNew.vue
+++ b/src/components/DesignForm/formControlPropertiNew.vue
@@ -2618,7 +2618,7 @@ function addChildFillRole(){
//子表填充规则要受到子表数量的限制
//currentChildTableCount
//controlData.value.control.fillRoles.child.length
- if(controlData.value.control.fillRoles.child.length {
-
+
-
-
-
十 主表填充规则
-
+
十 主表填充规则
+
+
+
+
- 十 子表填充规则
+ 十 子表填充规则
-
+
{
:associated-forms-current-form-field-tree= "associatedFormsCurrentFormFieldTree"
:current-key="controlData.control.fillRoles.child[index].id"
:child-table-list="asfasfChildTableList"
+ :child-roles = "controlData.control.fillRoles.child[index].childRoles"
@del-role = "delChildRole"
>
-
-