WXL
2025-03-11 36b7179cda46033aa5f142aecf0cd213cd50232c
src/api/AiCentre/questionnaire.js
@@ -3,7 +3,7 @@
// 查询问卷问题列表
export function getissuelist(data) {
  return request({
    url: "/smartor/svytopic/list",
    url: "/smartor/svyscript/list",
    method: "post",
    data: data,
  });
@@ -11,21 +11,21 @@
// 问卷问题详情
export function issueinfo(Id) {
  return request({
    url: "/smartor/svytopic/getInfo/" + Id,
    url: "/smartor/svyscript/getInfo/" + Id,
    method: "get",
  });
}
// 删除问卷问题
export function delissueinfo(Id) {
    return request({
      url: "/smartor/svytopic/remove/" + Id,
      url: "/smartor/svyscript/remove/" + Id,
      method: "get",
    });
  }
// 新增或修改问卷问题详情
export function compileissue(data) {
    return request({
      url: "/smartor/svytopic/saveOrUpdateTopic",
      url: "/smartor/svyscript/saveOrUpdateScript",
      method: "post",
      data: data,
    });
@@ -35,7 +35,15 @@
  // 新增问卷问题分类
  export function addissueclassify(data) {
    return request({
      url: "/smartor/svyLibTopicCategory/addtree",
      url: "/smartor/svyLibScriptCategory/addtree",
      method: "post",
      data: data,
    });
  }
  // 新增问卷问题分类
  export function editissueclassify(data) {
    return request({
      url: "/smartor/svyLibScriptCategory/edit",
      method: "post",
      data: data,
    });
@@ -43,15 +51,23 @@
  // 删除问卷问题分类
export function delissueclassify(Id) {
  return request({
    url: "/smartor/svyLibTopicCategory/remove/" + Id,
    url: "/smartor/svyLibScriptCategory/remove/" + Id,
    method: "get",
  });
}
  // 查询问卷问题分类树
  export function getissueclassify(data) {
    return request({
      url: "/smartor/svyLibTopicCategory/list",
      url: "/smartor/svyLibScriptCategory/list",
      method: "post",
      data: data,
    });
  }
  }
   // 查询问卷问题分类树
   export function query360PatInfo(data) {
    return request({
      url: "/smartor/serviceExternal/query360PatInfo",
      method: "post",
      data: data,
    });
  }