Commit 8ec10e31 by qinjianhui

feat: 工单管理完善

parent 2a0cddf3
import axios from './axios'
export function getOrderTree() {
return axios.get('platform/platformWorkOrder/saas/findStateGroupList')
return axios.get('platform/platformWorkOrder/erp/findStateGroupList')
}
export function workConfirmed(id) {
return axios.post('platform/platformWorkOrder/confirmed', {
id: id,
})
}
export function workAssigned(id, user) {
return axios.post('platform/platformWorkOrder/assign', {
id: id,
leader: user,
})
}
export function startWorder(id) {
return axios.post('platform/platformWorkOrder/start', {
id: id,
})
}
export function archiveWorkOrder(id) {
return axios.post('platform/platformWorkOrder/archive', {
id: id,
})
}
export function replyTocustomer(id, msg) {
return axios.post('platform/platformWorkOrderChat/add', {
msg: msg,
workOrderId: id,
})
}
import axios from './axios'
// 获取系统用户
export function getSystemUserList() {
return axios.get('platform/user/list')
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment