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 | 80 +++++++++++++++++++++++++++++++++++++++-
1 files changed, 78 insertions(+), 2 deletions(-)
diff --git a/src/api/AiCentre/Qtemplate.js b/src/api/AiCentre/Qtemplate.js
index ffd5fbd..f1e0fe8 100644
--- a/src/api/AiCentre/Qtemplate.js
+++ b/src/api/AiCentre/Qtemplate.js
@@ -13,8 +13,8 @@
export function getQtemplatelist(data) {
return request({
url: "/smartor/svyLibTemplate/list",
- method: "get",
- params: data,
+ method: "post",
+ data: data,
});
}
// 闂嵎妯℃澘璇︽儏
@@ -112,6 +112,14 @@
data: data,
});
}
+ // 鏌ヨ闂嵎浠诲姟璇︽儏
+ export function Questionnairetaskgetson(data) {
+ return request({
+ url: "/smartor/serviceSubtask/queryTaskByCondition",
+ method: "post",
+ data: data,
+ });
+ }
// 闂嵎浠诲姟妯℃澘鏂板淇敼
export function TaskQuestioncomit(data) {
return request({
@@ -120,3 +128,71 @@
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