From 2913d960975770a865a184c38f1e56df108eac68 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Wed, 5 Nov 2025 16:05:34 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=BE=E6=9C=9F=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 7 + pages/apply-delay/index.vue | 652 ++++++++++++++++++++++++++++++++++++ pages/task-detail/index.vue | 15 +- 3 files changed, 661 insertions(+), 13 deletions(-) create mode 100644 pages/apply-delay/index.vue diff --git a/pages.json b/pages.json index 9798a1a..c49f25a 100644 --- a/pages.json +++ b/pages.json @@ -61,6 +61,13 @@ "navigationBarTitleText": "提交详情" } + }, + { + "path": "pages/apply-delay/index", + "style": { + "navigationBarTitleText": "申请详情", + "navigationStyle": "custom" + } } ], diff --git a/pages/apply-delay/index.vue b/pages/apply-delay/index.vue new file mode 100644 index 0000000..1527e08 --- /dev/null +++ b/pages/apply-delay/index.vue @@ -0,0 +1,652 @@ + + + + + + diff --git a/pages/task-detail/index.vue b/pages/task-detail/index.vue index 9c74f80..f288e9f 100644 --- a/pages/task-detail/index.vue +++ b/pages/task-detail/index.vue @@ -326,19 +326,8 @@ const submitTask = () => { // 申请延期 const applyDelay = () => { - uni.showModal({ - title: '申请延期', - content: '确定要申请延期吗?', - success: (res) => { - if (res.confirm) { - console.log("申请延期", task.value.id); - uni.showToast({ - title: '延期申请已提交', - icon: 'success' - }); - // 可以在这里添加申请延期的API调用 - } - } + uni.navigateTo({ + url: `/pages/apply-delay/index?taskId=${task.value.id || ''}` }); };