From 4e6c841dd09baff7fafb0e21fec36ee7faf61588 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期一, 09 九月 2024 15:01:41 +0800
Subject: [PATCH] 测试完成
---
src/api/AiCentre/Qtemplate.js | 30 +++++++++++++++++++-----------
1 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/src/api/AiCentre/Qtemplate.js b/src/api/AiCentre/Qtemplate.js
index 906ecdd..ffd5fbd 100644
--- a/src/api/AiCentre/Qtemplate.js
+++ b/src/api/AiCentre/Qtemplate.js
@@ -1,29 +1,37 @@
import request from "@/utils/request";
import { param } from "jquery";
-// 鏌ヨ闂嵎妯$増鍒楄〃
-export function getQtemplatelist(data) {
+// 鏌ヨ闂嵎妯℃澘鍒楄〃
+export function getQtemplateobj(data) {
return request({
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/svyLibTemplate/" + Id,
method: "get",
});
}
-// 鍒犻櫎闂嵎妯$増
+// 鍒犻櫎闂嵎妯℃澘
export function delQtemplateinfo(Id) {
return request({
url: "/smartor/svyLibTemplate/remove/" + Id,
method: "get",
});
}
-// 鏂板鎴栦慨鏀归棶鍗锋ā鐗堣鎯�
+// 鏂板鎴栦慨鏀归棶鍗锋ā鏉胯鎯�
export function compileQtemplate(data) {
return request({
url: "/smartor/svyLibTemplate/saveOrUpdateTemplate",
@@ -33,7 +41,7 @@
}
- // 鏂板闂嵎妯$増鍒嗙被
+ // 鏂板闂嵎妯℃澘鍒嗙被
export function addQtemplateclassify(data) {
return request({
url: "/smartor/svyLibTemplateCategory/addtree",
@@ -41,7 +49,7 @@
data: data,
});
}
- // 鏂板闂嵎妯$増鍒嗙被
+ // 鏂板闂嵎妯℃澘鍒嗙被
export function editQtemplateclassify(data) {
return request({
url: "/smartor/svyLibTemplateCategory/edit",
@@ -49,14 +57,14 @@
data: data,
});
}
- // 鍒犻櫎闂嵎妯$増鍒嗙被
+ // 鍒犻櫎闂嵎妯℃澘鍒嗙被
export function delQtemplateclassify(Id) {
return request({
url: "/smartor/svyLibTemplateCategory/remove/" + Id,
method: "get",
});
}
- // 鏌ヨ闂嵎妯$増鍒嗙被鏍�
+ // 鏌ヨ闂嵎妯℃澘鍒嗙被鏍�
export function getQtemplateclassify(data) {
return request({
url: "/smartor/svyLibTemplateCategory/list",
@@ -64,7 +72,7 @@
data: data,
});
}
- // 鏌ヨ闂嵎妯$増鍒嗙被鏍�
+ // 鏌ヨ闂嵎妯℃澘鍒嗙被鏍�
export function getQRcode(data) {
return request({
url: "/qrcode/getQRcode",
@@ -104,7 +112,7 @@
data: data,
});
}
- // 闂嵎浠诲姟妯$増鏂板淇敼
+ // 闂嵎浠诲姟妯℃澘鏂板淇敼
export function TaskQuestioncomit(data) {
return request({
url: "/smartor/svytemplateTask/saveOrUpdateTaskTemp",
--
Gitblit v1.9.3