From 6d8cde914540d6e2ecbd0fafda94be48af89c4da Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期一, 01 十二月 2025 16:14:32 +0800
Subject: [PATCH] Merge branch 'dev-1.3.0.3' into dev-1.3.0.4

---
 apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue |   58 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue b/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue
index d81634d..e44efb3 100644
--- a/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue
+++ b/apps/cMiniApp/src/subpackages/task/taskDetail/InnerPage.vue
@@ -164,41 +164,41 @@
   }
 });
 
-const tmplIds = ['T7Gta6H6TROZjcqeSWVTG2wWGGInWh0fGTOgCCgVBuk'];
+const tmplIds = ['ziC07K27Km9OAywf-KYwHiWgn195j9tmuFKxbDZ79tg'];
 
 const handleApply = _.debounce(
   useAccessReal(
     async () => {
       try {
-        // if (!Taro.requestSubscribeMessage) {
-        //   await Message.confirm({ message: '浣犵殑寰俊鐗堟湰杩囦綆锛屼笉鏀寔璁㈤槄娑堟伅锛屾槸鍚︾户缁姤鍚�' });
-        // }
-        // const res = await Taro.getSetting({
-        //   withSubscriptions: true,
-        // });
-        // let setting: boolean[] = [];
-        // if (res.subscriptionsSetting && res.subscriptionsSetting.itemSettings) {
-        //   setting = tmplIds
-        //     .map((id) => res.subscriptionsSetting.itemSettings[id] !== 'accept')
-        //     .filter(Boolean);
-        // }
-        // console.log('setting: ', setting);
-        // if (setting.length > 0) {
-        //   Taro.requestSubscribeMessage({
-        //     tmplIds: tmplIds,
-        //     success: function (res) {
-        //       console.log('res: ', res);
-        //     },
-        //   });
-        // }
-        let params: API.ApplyTaskCommand = {
-          ids: [id],
-        };
-        let res = await taskUserServices.applyTask(params);
-        if (res) {
-          Message.success('鎶ュ悕鎴愬姛');
-          refetch({ type: 'inactive' });
+        if (!Taro.requestSubscribeMessage) {
+          await Message.confirm({ message: '浣犵殑寰俊鐗堟湰杩囦綆锛屼笉鏀寔璁㈤槄娑堟伅锛屾槸鍚︾户缁姤鍚�' });
         }
+        const res = await Taro.getSetting({
+          withSubscriptions: true,
+        });
+        let setting: boolean[] = [];
+        if (res.subscriptionsSetting && res.subscriptionsSetting.itemSettings) {
+          setting = tmplIds
+            .map((id) => res.subscriptionsSetting.itemSettings[id] !== 'accept')
+            .filter(Boolean);
+        }
+        console.log('setting: ', setting);
+        // if (setting.length > 0) {
+        Taro.requestSubscribeMessage({
+          tmplIds: tmplIds,
+          success: function (res) {
+            console.log('res: ', res);
+          },
+        });
+        // }
+        // let params: API.ApplyTaskCommand = {
+        //   ids: [id],
+        // };
+        // let res = await taskUserServices.applyTask(params);
+        // if (res) {
+        //   Message.success('鎶ュ悕鎴愬姛');
+        //   refetch({ type: 'inactive' });
+        // }
       } catch (error) {}
     },
     { message: '瀹炲悕鎴愬姛鍚庢墠鍙姤鍚嶏紝璇峰墠寰�瀹炲悕璁よ瘉' }

--
Gitblit v1.9.1