From 31cbe57809438eb27c4ee8e6b432efef706c7bd8 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 16 六月 2025 14:48:50 +0800
Subject: [PATCH] 测试完成
---
src/api/AiCentre/Qtemplate.js | 169 ++++++++++++++++++++++++++++++++++++++++++++++++++------
1 files changed, 151 insertions(+), 18 deletions(-)
diff --git a/src/api/AiCentre/Qtemplate.js b/src/api/AiCentre/Qtemplate.js
index ce570fe..f1e0fe8 100644
--- a/src/api/AiCentre/Qtemplate.js
+++ b/src/api/AiCentre/Qtemplate.js
@@ -1,65 +1,198 @@
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: "post",
+ data: 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 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