WXL
2025-04-01 935e93f556fa680f6bdfd2d7cf6905361bbaefdb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import request from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";//处理字符串,und,null转换为'';
 
// 修改宣教分类
export function amendtag(data) {
  return request({
    url: '/smartor/hecategory/edit',
    method: 'post',
    data: data
  })
};
// 新增宣教分类
export function addapitag(data) {
    return request({
      url: '/smartor/hecategory',
      method: 'post',
      data: data
    })
  };
 
/**
 * 
 * @param {标签id} userId 
 * 获取宣教详情
 * @returns 
 */
export function detailstag(userId) {
    return request({
      url: '/smartor/hecategory/'+ userId,
      method: 'get',
    })
  };
 
 
  /**
   * 
   * @param {标签id} userId 
   * 删除标签
   * @returns 
   */
export function deletetag(userId) {
    return request({
      url: '/smartor/hecategory/remove/' + userId,
      method: 'get',
    })
  };
  // 导出标签列表
export function exporttag(data) {
    return request({
      url: '/smartor/hecategory/export',
      method: 'post',
      data: data
    })
  };
  // 查询标签列表
export function listtag(query) {
    return request({
      url: '/smartor/hecategory/list',
      method: 'get',
      params: query
    })
  };