diff --git a/src/components/DesignForm/formControlAttr.vue b/src/components/DesignForm/formControlAttr.vue index 68312a620..04380966f 100644 --- a/src/components/DesignForm/formControlAttr.vue +++ b/src/components/DesignForm/formControlAttr.vue @@ -1970,47 +1970,22 @@ const associatedFormsHideDialogFlag = ref(false) const associatedFormsDataRangeDialogFlag = ref(false) -//父组件 -//let associatedFormsHideDialogText = ref('')//textarea默认值 -//父组件编辑备份 -//let associatedFormsHideDialogTextCopy = ref('') //点击开启隐藏设置 function associatedFormsHideDialoghandle(){ - /* if(controlData.value.control.saveFlag===true){ - - associatedFormsHideDialogFlag.value = true - controlData.value.control.hideConditionHtmlCopy = controlData.value.control.hideConditionHtml - //alert("当前表单未保存过,若从左侧树中选择字段信息,请先保存当前表单") - nextTick(() => { - aft.value.focusEditor() - }) - }else{ */ + associatedFormsHideDialogFlag.value = true controlData.value.control.hideConditionHtmlCopy = controlData.value.control.hideConditionHtml nextTick(() => { aft.value.focusEditor() }) - //} } function associatedFormsDataRangeDialoghandle(){ - /* if(controlData.value.control.saveFlag===true){ - - associatedFormsDataRangeDialogFlag.value = true - controlData.value.control.dataRangeConditionHtmlCopy = controlData.value.control.dataRangeConditionHtml - //alert("当前表单未保存过,若从左侧树中选择字段信息,请先保存当前表单") - nextTick(() => { - aftRange.value.focusEditor() - }) - }else{ */ - - - getAsfasfFieldTree().then(({ data }) => { @@ -2036,10 +2011,7 @@ function associatedFormsDataRangeDialoghandle(){ nextTick(() => { aftRange.value.focusEditor() }) - //} - - } //自定义事件同步父子组件的text @@ -2098,9 +2070,21 @@ function handleDetermineRange(){ determineRange.value = true controlData.value.control.dataRangeConditionHtmlCopy = controlData.value.control.dataRangeConditionHtml } +//数据填充规则 + +const associatedFormsFillRolesDialogFlag = ref(false) +function associatedFormsDataFillRolesDialoghandle(){ + associatedFormsFillRolesDialogFlag.value = true +} +function asfhTextCancelFillRoles(){ + associatedFormsFillRolesDialogFlag.value = false +} +function handleDetermineFillRoles(){ + associatedFormsFillRolesDialogFlag.value = false +} //liwenxuan20240403 associatedForms end @@ -2588,10 +2572,10 @@ const loadNextPage = () => { - + @@ -3513,10 +3497,16 @@ const loadNextPage = () => { - +