From 1cd3aed35b742cb9c042c03d34919923ba1dfbd0 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Thu, 21 Nov 2024 15:54:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E8=81=94=E8=A1=A8=E5=8D=95=E5=A4=9A?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E6=95=B0=E6=8D=AE=E5=A1=AB=E5=85=85=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DesignForm/formControlPropertiNew.vue | 2 +- .../DesignForm/public/form/form.vue | 9 +++- .../associatedforms/associatedForms.vue | 19 +++++++- .../associatedFormsTinyaceRange.vue | 45 ++++++++++++++++--- 4 files changed, 67 insertions(+), 8 deletions(-) diff --git a/src/components/DesignForm/formControlPropertiNew.vue b/src/components/DesignForm/formControlPropertiNew.vue index addbb75..1d439ad 100644 --- a/src/components/DesignForm/formControlPropertiNew.vue +++ b/src/components/DesignForm/formControlPropertiNew.vue @@ -4821,7 +4821,7 @@ const radioChangeSet = (val:any) => {
仅可选择符合以下条件的数据
- + diff --git a/src/components/DesignForm/public/form/form.vue b/src/components/DesignForm/public/form/form.vue index a0c2cc8..f1b47a0 100644 --- a/src/components/DesignForm/public/form/form.vue +++ b/src/components/DesignForm/public/form/form.vue @@ -443,6 +443,8 @@ if(formProps.value.type!=5){ return hideFieldArr } +let asfRangeDoubleCondiChangeObj = ref() +provide('asfRangeDoubleCondiChangeObj',asfRangeDoubleCondiChangeObj) let oldModelStr = "" watch(() => model.value,(newVal) => { @@ -472,7 +474,12 @@ watch(() => model.value,(newVal) => { let field = a[a.length-1] if(currentChangeKey==field){ let toShowDoubleCondiValVal = model.value[currentChangeKey] - console.log("关联表单"+asfName+"应该更新其选项,只显示doubleCondiVal为"+toShowDoubleCondiValVal+"的选项") + //console.log("关联表单"+asfName+"应该更新其选项,只显示doubleCondiVal为"+toShowDoubleCondiValVal+"的选项") + let obj = { + asfName:asfName, + toShowDoubleCondiValVal:toShowDoubleCondiValVal + } + asfRangeDoubleCondiChangeObj.value = obj //console.log(field) } } diff --git a/src/widget/associatedforms/associatedForms.vue b/src/widget/associatedforms/associatedForms.vue index d9cc65d..6f95b42 100644 --- a/src/widget/associatedforms/associatedForms.vue +++ b/src/widget/associatedforms/associatedForms.vue @@ -16,7 +16,7 @@