田源
2024-09-29 7d05c69630d066c0992368423f90e440e3638f91
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
import request from '@/router/axios';
 
//  数据查询接口
export const getGroupAttrPoolALlList = (params) => {
  return request({
    url: '/api/ubcs-applyjtcodeservice/groupAttrPoolMapping/getGroupAttrPoolALlList',
    method: 'get',
    params: {
      ...params
    }
  })
}
// 保存接口
export const editGroupAttr = (data) => {
  return request({
    url: '/api/ubcs-applyjtcodeservice/groupAttrPoolMapping/editGroupAttr',
    method: 'post',
    data
  })
}
// 同步接口
export const syncGroupAttrMapping = (data) => {
  return request({
    url: '/api/ubcs-applyjtcodeservice/groupAttrPoolMapping/syncGroupAttrMapping',
    method: 'post',
    data
  })
}
//自动填充
export const getByGroupAttrMapping = (data) => {
  return request({
    url: '/api/ubcs-applyjtcodeservice/groupAttrPoolMapping/getByGroupAttrKeyList',
    method: 'post',
    data
  })
}
// 取值范围自动填充
export const getEnumAttrByClsOidAndAttrId = (data) => {
  return request({
    url: '/api/ubcs-applyjtcodeservice/groupAttrPoolMapping/getEnumAttrByClsOIdAndAttrId',
    method: 'post',
    data
  })
}