在线表单流程用户任务支持组件显隐设置

This commit is contained in:
Jerry
2024-08-12 21:26:51 +08:00
parent 8a4c9a0174
commit 3e39ccba49
11 changed files with 295 additions and 86 deletions

View File

@@ -220,7 +220,6 @@ const values = computed({
return props.value;
},
set(val: Array<ANY_OBJECT>) {
console.log('block values>>>>>>>>>>>>', val);
emit('update:value', val);
},
});

View File

@@ -355,6 +355,10 @@ const getWidgetProps = computed(() => {
});
const getDisabledStatus = () => {
const formWidgetAuth: ANY_OBJECT | null = form().formAuth()
? form().formAuth().pc[pps.widget.variableName]
: null;
if (formWidgetAuth && formWidgetAuth.disabled) return true;
return pps.widget.props.disabled;
};