按钮样式调整

This commit is contained in:
‘huanghaiixia’
2025-12-15 14:10:53 +08:00
parent 231dc1d936
commit e5a9545c55
18 changed files with 51 additions and 33 deletions

View File

@ -38,7 +38,7 @@
</template>
</a-space>
</div>
<component v-if="customFormConfig.codeList.includes(curPageCode)" :is="componentName" ref="formInformation" :disabled="readonly" />
<component v-if="customFormConfig.codeList.includes(curPageCode)" :is="componentName" ref="formInformation" :disabled="(rQuery.status=='COMPLETED'?false : readonly)" />
<FormInformation
v-else
:key="renderKey"
@ -194,6 +194,9 @@
(btn.checked && ((!readonly.value && btn.buttonCode !== ApproveCode.DRAWBACK) || (readonly.value && btn.buttonCode === ApproveCode.DRAWBACK && drawNode.value))) ||
btn.buttonCode === ApproveCode.FLOWBPMN ||
btn.buttonCode === ApproveCode.FLOWRECORD;
if (rQuery.status=='COMPLETED' && btn.buttonCode=='draft'){
show = true
}
return show;
}