From 08881d6b6412822d5035f63a0775ca1f213c8668 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 20 十月 2025 10:17:22 +0800
Subject: [PATCH] 测试完成
---
src/api/AiCentre/Qtemplate.js | 243 +++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 206 insertions(+), 37 deletions(-)
diff --git a/src/api/AiCentre/Qtemplate.js b/src/api/AiCentre/Qtemplate.js
index b34befe..5853929 100644
--- a/src/api/AiCentre/Qtemplate.js
+++ b/src/api/AiCentre/Qtemplate.js
@@ -1,57 +1,226 @@
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,
- method: "get",
- });
- }
-// 鏂板鎴栦慨鏀归棶鍗锋ā鐗堣鎯�
+ return request({
+ url: "/smartor/svyLibTemplate/remove/" + Id,
+ method: "get",
+ });
+}
+// 鏂板鎴栦慨鏀归棶鍗锋ā鏉胯鎯�
export function compileQtemplate(data) {
- return request({
- url: "/smartor/svytitle/saveOrUpdateTitle",
- method: "post",
- data: data,
- });
- }
+ return request({
+ url: "/smartor/svyLibTemplate/saveOrUpdateTemplate",
+ method: "post",
+ data: data,
+ });
+}
-
- // 鏂板闂嵎妯$増鍒嗙被
- export function addQtemplateclassify(data) {
- return request({
- url: "/smartor/svyLibTitleCategory/addtree",
- method: "post",
- data: data,
- });
- }
- // 鍒犻櫎闂嵎妯$増鍒嗙被
+// 鏂板闂嵎妯℃澘鍒嗙被
+export function addQtemplateclassify(data) {
+ return request({
+ url: "/smartor/svyLibTemplateCategory/addtree",
+ method: "post",
+ data: data,
+ });
+}
+// 鏂板闂嵎妯℃澘鍒嗙被
+export function editQtemplateclassify(data) {
+ return request({
+ 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",
- method: "post",
- data: data,
- });
- }
\ No newline at end of file
+// 鏌ヨ闂嵎妯℃澘鍒嗙被鏍�
+export function getQtemplateclassify(data) {
+ return request({
+ url: "/smartor/svyLibTemplateCategory/list",
+ method: "post",
+ data: data,
+ });
+}
+// 鏌ヨ闂嵎妯℃澘鍒嗙被鏍�
+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 taskdiaggetlist(data) {
+ return request({
+ url: "/smartor/taskdiag/list",
+ method: "post",
+ data: data,
+ });
+}
+// 鑾峰彇浠诲姟鎵嬫湳鍏宠仈
+export function taskopergetlist(data) {
+ return request({
+ url: "/smartor/taskoper/list",
+ method: "post",
+ data: data,
+ });
+}
+// 鍖绘姢淇濆瓨鏁版嵁
+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