From a3d2f848fb959fa2c2beb06eb3bc6a501696b272 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期三, 26 二月 2025 17:30:37 +0800
Subject: [PATCH] 测试完成

---
 src/api/AiCentre/Qtemplate.js |  183 +++++++++++++++++++++++++++++++++++++++++----
 1 files changed, 165 insertions(+), 18 deletions(-)

diff --git a/src/api/AiCentre/Qtemplate.js b/src/api/AiCentre/Qtemplate.js
index ce570fe..1aefd34 100644
--- a/src/api/AiCentre/Qtemplate.js
+++ b/src/api/AiCentre/Qtemplate.js
@@ -1,65 +1,212 @@
 import request from "@/utils/request";
+import { param } from "jquery";
 
-// 鏌ヨ闂嵎妯$増鍒楄〃
-export function getQtemplatelist(data) {
+// 鏌ヨ闂嵎妯℃澘鍒楄〃
+export function getQtemplateobj(data) {
   return request({
-    url: "/smartor/svytitle/selectSvyLibTitlelist",
+    url: "/smartor/svyLibTemplate/selectSvyLibTemplatelist",
     method: "post",
     data: data,
   });
 }
-// 闂嵎妯$増璇︽儏
+// 闂嵎妯℃澘鍒楄〃
+export function getQtemplatelist(data) {
+  return request({
+    url: "/smartor/svyLibTemplate/list",
+    method: "get",
+    params: data,
+  });
+}
+// 闂嵎妯℃澘璇︽儏
 export function Qtemplateinfo(Id) {
   return request({
-    url: "/smartor/svytitle/" + Id,
+    url: "/smartor/svyLibTemplate/" + Id,
     method: "get",
   });
 }
-// 鍒犻櫎闂嵎妯$増
+// 鍒犻櫎闂嵎妯℃澘
 export function delQtemplateinfo(Id) {
     return request({
-      url: "/smartor/svytitle/remove/" + Id,
+      url: "/smartor/svyLibTemplate/remove/" + Id,
       method: "get",
     });
   }
-// 鏂板鎴栦慨鏀归棶鍗锋ā鐗堣鎯�
+// 鏂板鎴栦慨鏀归棶鍗锋ā鏉胯鎯�
 export function compileQtemplate(data) {
     return request({
-      url: "/smartor/svytitle/saveOrUpdateTitle",
+      url: "/smartor/svyLibTemplate/saveOrUpdateTemplate",
       method: "post",
       data: data,
     });
   }
 
 
-  // 鏂板闂嵎妯$増鍒嗙被
+  // 鏂板闂嵎妯℃澘鍒嗙被
   export function addQtemplateclassify(data) {
     return request({
-      url: "/smartor/svyLibTitleCategory/addtree",
+      url: "/smartor/svyLibTemplateCategory/addtree",
       method: "post",
       data: data,
     });
   }
-    // 鏂板闂嵎妯$増鍒嗙被
+    // 鏂板闂嵎妯℃澘鍒嗙被
     export function editQtemplateclassify(data) {
       return request({
-        url: "/smartor/svyLibTitleCategory/edit",
+        url: "/smartor/svyLibTemplateCategory/edit",
         method: "post",
         data: data,
       });
     }
-  // 鍒犻櫎闂嵎妯$増鍒嗙被
+  // 鍒犻櫎闂嵎妯℃澘鍒嗙被
 export function delQtemplateclassify(Id) {
   return request({
-    url: "/smartor/svyLibTitleCategory/remove/" + Id,
+    url: "/smartor/svyLibTemplateCategory/remove/" + Id,
     method: "get",
   });
 }
-  // 鏌ヨ闂嵎妯$増鍒嗙被鏍�
+  // 鏌ヨ闂嵎妯℃澘鍒嗙被鏍�
   export function getQtemplateclassify(data) {
     return request({
-      url: "/smartor/svyLibTitleCategory/list",
+      url: "/smartor/svyLibTemplateCategory/list",
       method: "post",
       data: data,
     });
-  }
\ No newline at end of file
+  }
+  // 鏌ヨ闂嵎妯℃澘鍒嗙被鏍�
+  export function getQRcode(data) {
+    return request({
+      url: "/qrcode/getQRcode",
+      method: "post",
+      data: data,
+    });
+  }
+    // 鏂板淇敼闂嵎浠诲姟
+    export function Questionnairetaskdetails(data) {
+      return request({
+        url: "/smartor/svysingle/insertOrUpdateSvyTask",
+        method: "post",
+        data: data,
+      });
+    }
+    // 鏌ヨ闂嵎浠诲姟鍒楄〃
+    export function Questionnairetasklist(data) {
+      return request({
+        url: "/smartor/svytask/list",
+        method: "post",
+        data: data,
+      });
+    }
+     // 鍙戣捣闂嵎浠诲姟
+     export function Questionnairetasksponsor(data) {
+      return request({
+        url: "/smartor/svytask/list",
+        method: "post",
+        data: data,
+      });
+    }
+    // 鏌ヨ闂嵎浠诲姟璇︽儏
+    export function Questionnairetaskget(data) {
+      return request({
+        url: "/smartor/svysingle/queryTaskByCondition",
+        method: "post",
+        data: data,
+      });
+    }
+      // 鏌ヨ闂嵎浠诲姟璇︽儏
+      export function Questionnairetaskgetson(data) {
+        return request({
+          url: "/smartor/serviceSubtask/queryTaskByCondition",
+          method: "post",
+          data: data,
+        });
+      }
+    // 闂嵎浠诲姟妯℃澘鏂板淇敼
+   export function TaskQuestioncomit(data) {
+    return request({
+      url: "/smartor/svytemplateTask/saveOrUpdateTaskTemp",
+      method: "post",
+      data: data,
+    });
+  }
+    // 鍒犻櫎浠诲姟妯℃澘
+export function deleteTaskQuestioncomit(svyid) {
+  return request({
+    url: "/smartor/svytemplateTask/remove/" + svyid,
+    method: "get",
+  });
+}
+
+    export function getTaskQuestioncomit(svyid) {
+      return request({
+        url: "/smartor/svytemplateTask/" + svyid,
+        method: "get",
+      });
+    }
+ //绉戝鐥呭尯妯℃澘鍏宠仈鏂板
+ export function depthospgetson(data) {
+  return request({
+    url: "/smartor/td/add",
+    method: "post",
+    data: data,
+  });
+}
+ //绉戝鐥呭尯妯℃澘鍏宠仈鏌ヨ
+ export function depthospgetsonlist(data) {
+  return request({
+    url: "/smartor/td/list",
+    method: "get",
+    params: data,
+  });
+}
+ //浠诲姟绉戝鐥呭尯妯℃澘鍏宠仈鏌ヨ
+ export function taskdepthospgetsonlist(data) {
+  return request({
+    url: "/smartor/taskdept/list",
+    method: "post",
+    data: data,
+  });
+}
+    // 鍒犻櫎绉戝鐥呭尯妯℃澘鍒嗙被
+    export function depthospgetsondel(id) {
+      return request({
+        url: "/smartor/td/remove/" + id,
+        method: "get",
+      });
+    }
+    // 鍒犻櫎浠诲姟绉戝鍏宠仈
+    export function taskdepthospgetsondel(id) {
+      return request({
+        url: "/smartor/taskdept/remove/" + id,
+        method: "get",
+      });
+    }
+    // 鍒犻櫎浠诲姟鐤剧梾鍏宠仈
+    export function taskdiaghospgetsondel(id) {
+      return request({
+        url: "/smartor/taskdiag/remove/" + id,
+        method: "get",
+      });
+    }
+    // 鍒犻櫎浠诲姟鎵嬫湳鍏宠仈
+    export function taskoperhospgetsondel(id) {
+      return request({
+        url: "/smartor/taskoper/remove/" + id,
+        method: "get",
+      });
+    }
+// 鍖绘姢淇濆瓨鏁版嵁
+
+export function serviceSubtaskDetailedit(data) {
+  return request({
+    url: "/smartor/serviceSubtaskDetail/editByCondition",
+    method: "post",
+    data: data,
+  });
+}
+export function serviceSubtaskDetailadd(data) {
+  return request({
+    url: "/smartor/serviceSubtaskDetail/add",
+    method: "post",
+    data: data,
+  });
+}

--
Gitblit v1.9.3