You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
var fly = require('../utils/request.js')
|
|
|
|
module.exports = {
|
|
getItemDetail,
|
|
getIssueProcessList,
|
|
getItemProcessList,
|
|
postItemHandleSubmit,
|
|
postUpload,
|
|
getItemWhistlingDept,
|
|
getItemEvaluationDept
|
|
}
|
|
// 获取议题详情
|
|
function getItemDetail(id) {
|
|
return fly.get(`work/event/item/detail/${id}`)
|
|
}
|
|
// 获取议题处理进度
|
|
function getIssueProcessList(issueId) {
|
|
return fly.get('work/event/issue/processList', {
|
|
issueId: issueId
|
|
})
|
|
}
|
|
// 提交项目处理
|
|
function postItemHandleSubmit(params) {
|
|
return fly.post('work/event/item/handleSubmit', params)
|
|
}
|
|
// 上传图片
|
|
function postUpload(params) {
|
|
return fly.post('events/issue/upload', params)
|
|
}
|
|
|
|
// 项目处理进度
|
|
function getItemProcessList(itemId) {
|
|
return fly.get('work/event/item/processList', {
|
|
itemId: itemId
|
|
})
|
|
}
|
|
// 获取可吹哨部门
|
|
function getItemWhistlingDept() {
|
|
return fly.get('work/event/item/whistlingDept')
|
|
}
|
|
// 获取满意度评价部门
|
|
function getItemEvaluationDept(itemId) {
|
|
return fly.get('work/event/item/evaluationDept', {
|
|
itemId: itemId
|
|
})
|
|
}
|