48 lines
2.4 KiB
JavaScript
48 lines
2.4 KiB
JavaScript
import ajax from './config'
|
|
export default {
|
|
// 查询事项列表
|
|
queryUserMattersTypes: (param) => ajax.get(
|
|
'zksr.zksrservice.autonomous/autonomous-plan-matters-type/queryUserMattersTypes', param),
|
|
// 查询事项列表
|
|
queryMatters: (param) => ajax.get('zksr.zksrservice.autonomous/autonomous-plan-matters/queryMatters', param),
|
|
// 查询热门事项
|
|
queryMattersHot: (param) => ajax.get('zksr.zksrservice.autonomous/autonomous-plan-matters/queryMattersHot', param),
|
|
// 保存事项
|
|
saveMatters: (param) => ajax.post(
|
|
'zksr.zksrservice.autonomous/autonomous-plan-matters/saveMatters?application=true', param),
|
|
//保存自主计划
|
|
saveFollowing: (param) => ajax.post(
|
|
'zksr.zksrservice.autonomous/autonomous-plan-user-following/saveFollowing?application=true', param),
|
|
// 保存自主计划用户日记
|
|
saveDiaryList: (param) => ajax.post(
|
|
'zksr.zksrservice.autonomous/autonomous-plan-diary/saveDiaryList?application=true', param),
|
|
// 分页查询自主计划用户日记
|
|
queryDiaryList: (param) => ajax.get('zksr.zksrservice.autonomous/autonomous-plan-diary/queryDiaryList', param),
|
|
// 删除自主计划用户日记
|
|
delDiary: (param) => ajax.post('zksr.zksrservice.autonomous/autonomous-plan-diary/delDiary', param),
|
|
// 查询事项列表
|
|
queryMattersName: (param) => ajax.get('zksr.zksrservice.autonomous/autonomous-plan-user-following/queryMattersName',
|
|
param),
|
|
//保存意外事件
|
|
savePlanAccident: (param) => ajax.post(
|
|
'zksr.zksrservice.autonomous/autonomous-plan-accident/savePlanAccident?application=true', param),
|
|
// 时间选择
|
|
timeListNew: (param) => ajax.get('dataDetection/dataDetectionType/timeListNew', param),
|
|
// 查询周统计
|
|
queryWeekSummary: (param) => ajax.get('zksr.zksrservice.autonomous/autonomous-plan-user-following/queryWeekSummary',
|
|
param),
|
|
// 查询用户计划
|
|
queryFollowing: (param) => ajax.get('zksr.zksrservice.autonomous/autonomous-plan-user-following/queryFollowing',
|
|
param),
|
|
// 修改自主计划
|
|
updAutonomousPlanTask: (param) => ajax.post(
|
|
'zksr.zksrservice.autonomous/autonomous-plan-user-following/updAutonomousPlanTask?application=true', param),
|
|
// 操作任务状态
|
|
operationalTaskStatus: (param) => ajax.post(
|
|
'zksr.zksrservice.autonomous/autonomous-plan-user-following/operationalTaskStatus', param),
|
|
// 删除自主计划
|
|
delAutonomousPlanTask: (param) => ajax.post(
|
|
'zksr.zksrservice.autonomous/autonomous-plan-user-following/delAutonomousPlanTask', param),
|
|
|
|
}
|