From d3c60e18b95b50751f8088fa2d23cd8ff7f173bc Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 01 七月 2026 11:05:17 +0800
Subject: [PATCH] 测试完成
---
src/api/AiCentre/Qtemplate.js | 52 +++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 49 insertions(+), 3 deletions(-)
diff --git a/src/api/AiCentre/Qtemplate.js b/src/api/AiCentre/Qtemplate.js
index 683a684..454c72f 100644
--- a/src/api/AiCentre/Qtemplate.js
+++ b/src/api/AiCentre/Qtemplate.js
@@ -9,12 +9,28 @@
data: data,
});
}
+// 鏌ヨ闂嵎妯℃澘鍒楄〃
+export function taskgetQtemplateobj(data) {
+ return request({
+ url: "smartor/svytemplateTask/selectInfoByCondition",
+ method: "post",
+ data: data,
+ });
+}
// 闂嵎妯℃澘鍒楄〃
export function getQtemplatelist(data) {
return request({
url: "/smartor/svyLibTemplate/list",
method: "get",
params: data,
+ });
+}
+// 闂嵎妯℃澘鍒楄〃(绉戝鐥呭尯鏌ヨ)
+export function getSviLibTemplateByDeptCode(data) {
+ return request({
+ url: "/smartor/svyLibTemplate/getSviLibTemplateByDeptCode",
+ method: "post",
+ data: data,
});
}
// 闂嵎妯℃澘璇︽儏
@@ -28,6 +44,13 @@
export function delQtemplateinfo(Id) {
return request({
url: "/smartor/svyLibTemplate/remove/" + Id,
+ method: "get",
+ });
+}
+// 鏌ョ湅闂嵎榛樿濉姤鏉冮檺
+export function getconfigKey(Id) {
+ return request({
+ url: "/system/config/configKey/" + Id,
method: "get",
});
}
@@ -157,6 +180,13 @@
params: data,
});
}
+export function depthospgetsonlistnopage(data) {
+ return request({
+ url: "/smartor/td/listnopage",
+ method: "get",
+ params: data,
+ });
+}
//浠诲姟绉戝鐥呭尯妯℃澘鍏宠仈鏌ヨ
export function taskdepthospgetsonlist(data) {
return request({
@@ -182,21 +212,21 @@
// 鍒犻櫎浠诲姟鐤剧梾鍏宠仈
export function taskdiaghospgetsondel(id) {
return request({
- url: "/smartor/taskdiag/remove/" + id,
+ url: `/smartor/taskdiag/remove/${id}`,
method: "get",
});
}
// 鍒犻櫎浠诲姟鎵嬫湳鍏宠仈
export function taskoperhospgetsondel(id) {
return request({
- url: "/smartor/taskoper/remove/" + id,
+ url: `/smartor/taskoper/remove/${id}`,
method: "get",
});
}
// 鑾峰彇浠诲姟鐤剧梾鍏宠仈
export function taskdiaggetlist(data) {
return request({
- url: "/smartor/taskdiag/list",
+ url: "/smartor/taskdiag/listnopage",
method: "post",
data: data,
});
@@ -224,3 +254,19 @@
data: data,
});
}
+// 鍖绘姢淇濆瓨鏁版嵁
+export function savequestiondetail(data) {
+ return request({
+ url: "/smartor/subtaskAnswer/savequestiondetail",
+ method: "post",
+ data: data,
+ });
+}
+//鍒囨崲瀛愪换鍔℃ā鏉�
+export function updateTemplate(data) {
+ return request({
+ url: "/smartor/serviceSubtask/updateTemplate",
+ method: "post",
+ data: data,
+ });
+}
--
Gitblit v1.9.3