From 186234cb3833e620aa0ae46212fe337eb2d6e77d Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 13 三月 2025 13:07:02 +0800
Subject: [PATCH] feat: 接口对接

---
 apps/cMiniApp/src/subpackages/user/complaint/complaint.vue |   36 ++++++++++++++++++------------------
 1 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/apps/cMiniApp/src/subpackages/user/complaint/complaint.vue b/apps/cMiniApp/src/subpackages/user/complaint/complaint.vue
index 32c86ac..445dd60 100644
--- a/apps/cMiniApp/src/subpackages/user/complaint/complaint.vue
+++ b/apps/cMiniApp/src/subpackages/user/complaint/complaint.vue
@@ -52,7 +52,7 @@
 
 <script setup lang="ts">
 import { FormRules } from '@nutui/nutui-taro/dist/types/__VUE/form/types';
-import * as cooperationApplyServices from '@12333/services/api/CooperationApply';
+// import * as cooperationApplyServices from '@12333/services/api/CooperationApply';
 import { CooperateTypeText, CooperateApplyTypeEnum } from '@12333/constants';
 import { FormValidator, Message } from '@12333/utils';
 import Taro from '@tarojs/taro';
@@ -94,23 +94,23 @@
 
 async function createPlatformCooperationApply() {
   try {
-    let params: API.CreatePlatformCooperationApplyInput = {
-      title: CooperateTypeText.Complaint,
-      contact: form.contact,
-      contactPhone: form.contactPhone,
-      applyDescription: form.remark,
-      companyName: form.companyName,
-      applyType: CooperateApplyTypeEnum.Complaint,
-    };
-    let res = await cooperationApplyServices.createPlatformCooperationApply(params);
-    if (res) {
-      await Message.confirm({
-        message: '淇℃伅宸叉彁浜わ紝璇疯�愬績绛夊緟宸ヤ綔浜哄憳鐨勮仈绯�',
-      });
-      Taro.navigateBack({
-        delta: 1,
-      });
-    }
+    // let params: API.CreatePlatformCooperationApplyInput = {
+    //   title: CooperateTypeText.Complaint,
+    //   contact: form.contact,
+    //   contactPhone: form.contactPhone,
+    //   applyDescription: form.remark,
+    //   companyName: form.companyName,
+    //   applyType: CooperateApplyTypeEnum.Complaint,
+    // };
+    // let res = await cooperationApplyServices.createPlatformCooperationApply(params);
+    // if (res) {
+    //   await Message.confirm({
+    //     message: '淇℃伅宸叉彁浜わ紝璇疯�愬績绛夊緟宸ヤ綔浜哄憳鐨勮仈绯�',
+    //   });
+    //   Taro.navigateBack({
+    //     delta: 1,
+    //   });
+    // }
   } catch (error) {}
 }
 </script>

--
Gitblit v1.9.1