feat(approval): 员工端内部协调单新建/编辑与审批中心入口 (#23)

This commit is contained in:
2026-10-30 21:07:35 +08:00
parent 817a49bc50
commit 70cd1ae2b2
7 changed files with 670 additions and 19 deletions
+9 -3
View File
@@ -232,13 +232,19 @@ async function load() {
}
function editAndResubmit() {
if (detail.value?.docType !== 'completion') {
const docType = detail.value?.docType;
const page =
docType === 'completion'
? 'form-completion'
: docType === 'coordination'
? 'form-coordination'
: '';
if (!page) {
showError('该单据类型暂不支持在线修改', null);
return;
}
uni.navigateTo({
url:
'/packageApproval/pages/form-completion?mode=edit&id=' + instanceId.value
url: `/packageApproval/pages/${page}?mode=edit&id=` + instanceId.value
});
}