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.

98 lines
2.2 KiB

2 months ago
import request from '@/utils/request'
// 分页条件查询事件数据
export function massEventsList(params) {
return request({
url: '/api/earlyWarningAudit/massEvents/colonyPage',
method: 'get',
params
})
}
// 获取代办事项
export function eventPageCount(params) {
return request({
url: '/api/earlyWarningAudit/massEvents/eventPageCount',
method: 'get',
params
})
}
//根据事件的innerEventId分页查询审核工单列表
export function massEventsinfo(params) {
return request({
url: `/api/earlyWarningAudit/massEvents/auditList/${params}`,
method: 'get',
})
}
export function massEventsinfoTow(innerEventId,params) {
return request({
url: `/api/earlyWarningAudit/massEvents/auditList/${innerEventId}`,
method: 'get',
params
})
}
// 查询事件详情
export function getByInnerEventId(params) {
return request({
url: `/api/earlyWarningAudit/massEvents/getByInnerEventId/${params}`,
method: 'get',
})
}
// 修改事件标题
export function massEventsedit(data) {
return request({
url: `/api/earlyWarningAudit/massEvents/edit`,
method: 'post',
data
})
}
// 事件提级或退回
export function eventChangeIsReport(data) {
return request({
url: `/api/earlyWarningAudit/massEvents/eventChangeIsReport`,
method: 'post',
data
})
}
2 months ago
// 五种审核个数
2 months ago
export function fiveEventCount(params) {
2 months ago
return request({
url: `/api/earlyWarningAudit/massEvents/fiveEventCount`,
method: 'get',
2 months ago
params
})
}
// 查询工单详情
export function massEventsId(params) {
return request({
url: `/api/earlyWarningAudit/massEvents/${params}`,
method: 'get',
// params
2 months ago
})
}
// 登录
// export function login(data){
// return request({
// url: '/earlyWarningAudit/massEvents/appLogin',
// headers: {
// isToken: false
// },
// method: 'psot',
// data
// })
// }
export function login(username, password) {
const data = {
username,
password,
}
return request({
'url': '/api/earlyWarningAudit/massEvents/appLogin',
headers: {
isToken: false,
repeatSubmit: false
},
'method': 'post',
'data': data
})
}