resident.js
2.9 KB
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
110
import request from "./request"
const path = "dj.api.mindworkplate."
const path2 = "dj.api.smartcarlife."
// 质检管理
export function getReclistWithPage(data) {
data.method = `${path}badge.employeeBadgeReclistWithPage`
return request(data, "post")
}
// 分页查询接待批次列表
export function conversationPage(data) {
data.method = `${path2}inspection.conversation.batch.page`
return request(data, "post")
}
// 质检点管理-分页列表
export function conversationPointPage(data) {
data.method = `${path2}inspection.conversation.point.page`
return request(data, "post")
}
// 工牌管理
export function employeeBadgelistWithPage(data) {
data.method = `${path}badge.employeeBadgelistWithPage`
return request(data, "post")
}
// 同步数据
export function syncBadge(data = {}) {
data.method = `${path}badge.syncBadge`
return request(data, "post")
}
// 工牌统计管理
export function statisticsEmployeeBadge(data) {
data.method = `${path}badge.statisticsEmployeeBadge`
return request(data, "post")
}
// 质检详情-质检分析
export function conversationCheckList(data) {
data.method = `${path2}inspection.conversation.check.detail`
return request(data, "post")
}
// 质检详情-分页查询对话列表
export function conversationDetailPage(data) {
data.method = `${path2}inspection.conversation.detail.page`
return request(data, "post")
}
// 获取一级二级分类
export function getPointCategory(data = {}) {
data.method = `${path2}inspection.conversation.point.category`
return request(data, "post")
}
// 获取品牌方/供应方
export function getBrandSupplyMerchant(data) {
data.method = `${path}goods.type.queryGoodsRelatedParty`
return request(data, "post")
}
// 新增供应方
export function addBrandSupplyMerchant(data) {
data.method = `${path}goods.type.addGoodsRelatedParty`
return request(data, "post")
}
// 编辑/删除供应方
export function editBrandSupplyMerchant(data) {
data.method = `${path}goods.type.editGoodsRelatedParty`
return request(data, "post")
}
// 获取素材详情
export function getProductInfo(data) {
data.method = `${path}goodsinfo.get.byId`
return request(data, "post")
}
// 登录日志-日志列表
export function loginRecordPage(data) {
data.method = `${path2}staff.login.record.page`
return request(data, "post")
}
// 员工审核-列表
export function staffAuditPage(data) {
data.method = `${path2}staff.audit.page`
return request(data, "post")
}
// 员工审核-审核/驳回
export function staffAuditUpdate(data) {
data.method = `${path2}staff.audit.update`
return request(data, "post")
}
/** 导出 */
export function exportReclistList(data) {
data.method = "dj.api.mindworkplate.badge.employeeBadgeReclistExport"
return request(data, "post")
}
/** 攻防明细*/
export function defenceDetail(data) {
data.method = "dj.api.smartcarlife.inspection.defence.detail"
return request(data, "post")
}