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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
| import request from "@/utils/request";
|
| // 供应树
| export function suppliersDirectoryContentsListing(query) {
| return request({
| url: "/suppliersDirectoryContents/suppliersDirectoryContentsListing",
| method: "get",
| params: query,
| });
| }
|
| // 供应商目录详情
| export function selectSuppliersDirectoryContentsById(query) {
| return request({
| url: "/suppliersDirectoryContents/selectSuppliersDirectoryContentsById",
| method: "get",
| params: query,
| });
| }
|
| // 新增节点
| export function addSuppliersDirectoryContents(data) {
| return request({
| url: "/suppliersDirectoryContents/addSuppliersDirectoryContents",
| method: "post",
| data: data,
| });
| }
|
| // 编辑节点
| export function updateSuppliersDirectoryContents(data) {
| return request({
| url: "/suppliersDirectoryContents/updateSuppliersDirectoryContents",
| method: "post",
| data: data,
| });
| }
|
| //删除节点
| export function deleteSuppliersDirectoryContentsById(query) {
| return request({
| url: "/suppliersDirectoryContents/deleteSuppliersDirectoryContentsById",
| method: "delete",
| params: query,
| });
| }
|
| // 查询所有节点
| export function getSuppliersDirectoryContentsNodeNames(query) {
| return request({
| url: "/suppliersDirectoryContents/getSuppliersDirectoryContentsNodeNames",
| method: "get",
| params: query,
| });
| }
|
| // 分页查询合格供方名
| export function selectQualifiedSupplierManagementPage(query) {
| return request({
| url: "/supplierManagement/selectQualifiedSupplierManagementPage",
| method: "get",
| params: query,
| });
| }
|
| //删除供应商
| export function delSupplierManagement(query) {
| return request({
| url: "/supplierManagement/delSupplierManagement/" + query,
| method: "delete",
| // params: query,
| });
| }
|
| // 导出供应商
| export function exportSupplierManagement(query) {
| return request({
| url: "/supplierManagement/exportSupplierManagement/" + query,
| method: "get",
| responseType: "blob",
| });
| }
|
| // 新增供应商
| export function addSupplierManagement(data) {
| return request({
| url: "/supplierManagement/addSupplierManagement",
| method: "post",
| data: data,
| });
| }
|
| // 编辑供应商
| export function updateSupplierManagement(data) {
| return request({
| url: "/supplierManagement/updateSupplierManagement",
| method: "post",
| data: data,
| });
| }
|
| // 分页查询供方名录
| export function selectSupplierManagementByParentId(query) {
| return request({
| url: "/supplierManagement/selectSupplierManagementByParentId/" + query,
| method: "get",
| // params: query,
| });
| }
|
|