diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/caseUrge.js b/src/api/caseUrge.js index f667a16..a00b00d 100644 --- a/src/api/caseUrge.js +++ b/src/api/caseUrge.js @@ -21,7 +21,7 @@ } // 催办记录 -export function getUrgeRecords(caseId) { +export function urgeRecords(caseId) { return request({ url: 'callCaseUrge/records', method: 'get', diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/caseUrge.js b/src/api/caseUrge.js index f667a16..a00b00d 100644 --- a/src/api/caseUrge.js +++ b/src/api/caseUrge.js @@ -21,7 +21,7 @@ } // 催办记录 -export function getUrgeRecords(caseId) { +export function urgeRecords(caseId) { return request({ url: 'callCaseUrge/records', method: 'get', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index afd5dc4..c26ef2f 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -74,4 +74,34 @@ meta: { title: '事件详情', icon: '' } } ] +}, { + path: 'caseReport', + component: Layout, + redirect: '/workReportList', + name: 'CaseReport', + alwaysShow: true, + meta: { + title: '上报请示管理', + icon: 'icon-config' // 图标 + }, + children: [ + { + path: '/workReportList', + name: 'WorkReportList', + component: () => import('@/views/caseManage/caseReportManage/workReportList'), + meta: { title: '待办上报请示', icon: '' } + }, + { + path: '/myReportList', + name: 'MyReportList', + component: () => import('@/views/caseManage/caseReportManage/myReportList'), + meta: { title: '我的上报请示', icon: '' } + }, + { + path: '/searchReportList', + name: 'SearchReportList', + component: () => import('@/views/caseManage/caseReportManage/searchReportList'), + meta: { title: '查询上报请示', icon: '' } + } + ] }] diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/caseUrge.js b/src/api/caseUrge.js index f667a16..a00b00d 100644 --- a/src/api/caseUrge.js +++ b/src/api/caseUrge.js @@ -21,7 +21,7 @@ } // 催办记录 -export function getUrgeRecords(caseId) { +export function urgeRecords(caseId) { return request({ url: 'callCaseUrge/records', method: 'get', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index afd5dc4..c26ef2f 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -74,4 +74,34 @@ meta: { title: '事件详情', icon: '' } } ] +}, { + path: 'caseReport', + component: Layout, + redirect: '/workReportList', + name: 'CaseReport', + alwaysShow: true, + meta: { + title: '上报请示管理', + icon: 'icon-config' // 图标 + }, + children: [ + { + path: '/workReportList', + name: 'WorkReportList', + component: () => import('@/views/caseManage/caseReportManage/workReportList'), + meta: { title: '待办上报请示', icon: '' } + }, + { + path: '/myReportList', + name: 'MyReportList', + component: () => import('@/views/caseManage/caseReportManage/myReportList'), + meta: { title: '我的上报请示', icon: '' } + }, + { + path: '/searchReportList', + name: 'SearchReportList', + component: () => import('@/views/caseManage/caseReportManage/searchReportList'), + meta: { title: '查询上报请示', icon: '' } + } + ] }] diff --git a/src/views/caseManage/caseCommon/caseProcess.vue b/src/views/caseManage/caseCommon/caseProcess.vue index 38a69b6..4fe0629 100644 --- a/src/views/caseManage/caseCommon/caseProcess.vue +++ b/src/views/caseManage/caseCommon/caseProcess.vue @@ -79,7 +79,7 @@ userQuery: { deptid: '', // 部门id (默认为当前用户部门) hasMine: '0', // 是否包含本人,1包含, 0不包含 - roleTips: '' // 角色标识,这里默认noraml + roleTips: 'noraml' // 角色标识,这里默认noraml } // TODO loading: 整个页面加载, 人员下拉框加载 } diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/caseUrge.js b/src/api/caseUrge.js index f667a16..a00b00d 100644 --- a/src/api/caseUrge.js +++ b/src/api/caseUrge.js @@ -21,7 +21,7 @@ } // 催办记录 -export function getUrgeRecords(caseId) { +export function urgeRecords(caseId) { return request({ url: 'callCaseUrge/records', method: 'get', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index afd5dc4..c26ef2f 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -74,4 +74,34 @@ meta: { title: '事件详情', icon: '' } } ] +}, { + path: 'caseReport', + component: Layout, + redirect: '/workReportList', + name: 'CaseReport', + alwaysShow: true, + meta: { + title: '上报请示管理', + icon: 'icon-config' // 图标 + }, + children: [ + { + path: '/workReportList', + name: 'WorkReportList', + component: () => import('@/views/caseManage/caseReportManage/workReportList'), + meta: { title: '待办上报请示', icon: '' } + }, + { + path: '/myReportList', + name: 'MyReportList', + component: () => import('@/views/caseManage/caseReportManage/myReportList'), + meta: { title: '我的上报请示', icon: '' } + }, + { + path: '/searchReportList', + name: 'SearchReportList', + component: () => import('@/views/caseManage/caseReportManage/searchReportList'), + meta: { title: '查询上报请示', icon: '' } + } + ] }] diff --git a/src/views/caseManage/caseCommon/caseProcess.vue b/src/views/caseManage/caseCommon/caseProcess.vue index 38a69b6..4fe0629 100644 --- a/src/views/caseManage/caseCommon/caseProcess.vue +++ b/src/views/caseManage/caseCommon/caseProcess.vue @@ -79,7 +79,7 @@ userQuery: { deptid: '', // 部门id (默认为当前用户部门) hasMine: '0', // 是否包含本人,1包含, 0不包含 - roleTips: '' // 角色标识,这里默认noraml + roleTips: 'noraml' // 角色标识,这里默认noraml } // TODO loading: 整个页面加载, 人员下拉框加载 } diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue index aab28e9..ff27126 100644 --- a/src/views/caseManage/caseCommon/caseRecord.vue +++ b/src/views/caseManage/caseCommon/caseRecord.vue @@ -19,7 +19,7 @@ - +
事件催办记录
@@ -56,14 +56,32 @@
- + +
+ +
上报请示记录
+
+ + + + + +
+ + + diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/caseUrge.js b/src/api/caseUrge.js index f667a16..a00b00d 100644 --- a/src/api/caseUrge.js +++ b/src/api/caseUrge.js @@ -21,7 +21,7 @@ } // 催办记录 -export function getUrgeRecords(caseId) { +export function urgeRecords(caseId) { return request({ url: 'callCaseUrge/records', method: 'get', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index afd5dc4..c26ef2f 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -74,4 +74,34 @@ meta: { title: '事件详情', icon: '' } } ] +}, { + path: 'caseReport', + component: Layout, + redirect: '/workReportList', + name: 'CaseReport', + alwaysShow: true, + meta: { + title: '上报请示管理', + icon: 'icon-config' // 图标 + }, + children: [ + { + path: '/workReportList', + name: 'WorkReportList', + component: () => import('@/views/caseManage/caseReportManage/workReportList'), + meta: { title: '待办上报请示', icon: '' } + }, + { + path: '/myReportList', + name: 'MyReportList', + component: () => import('@/views/caseManage/caseReportManage/myReportList'), + meta: { title: '我的上报请示', icon: '' } + }, + { + path: '/searchReportList', + name: 'SearchReportList', + component: () => import('@/views/caseManage/caseReportManage/searchReportList'), + meta: { title: '查询上报请示', icon: '' } + } + ] }] diff --git a/src/views/caseManage/caseCommon/caseProcess.vue b/src/views/caseManage/caseCommon/caseProcess.vue index 38a69b6..4fe0629 100644 --- a/src/views/caseManage/caseCommon/caseProcess.vue +++ b/src/views/caseManage/caseCommon/caseProcess.vue @@ -79,7 +79,7 @@ userQuery: { deptid: '', // 部门id (默认为当前用户部门) hasMine: '0', // 是否包含本人,1包含, 0不包含 - roleTips: '' // 角色标识,这里默认noraml + roleTips: 'noraml' // 角色标识,这里默认noraml } // TODO loading: 整个页面加载, 人员下拉框加载 } diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue index aab28e9..ff27126 100644 --- a/src/views/caseManage/caseCommon/caseRecord.vue +++ b/src/views/caseManage/caseCommon/caseRecord.vue @@ -19,7 +19,7 @@ - +
事件催办记录
@@ -56,14 +56,32 @@
- + +
+ +
上报请示记录
+
+ + + + + +
+ + + diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue new file mode 100644 index 0000000..ef6bc1c --- /dev/null +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -0,0 +1,193 @@ + + + + + + diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/caseUrge.js b/src/api/caseUrge.js index f667a16..a00b00d 100644 --- a/src/api/caseUrge.js +++ b/src/api/caseUrge.js @@ -21,7 +21,7 @@ } // 催办记录 -export function getUrgeRecords(caseId) { +export function urgeRecords(caseId) { return request({ url: 'callCaseUrge/records', method: 'get', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index afd5dc4..c26ef2f 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -74,4 +74,34 @@ meta: { title: '事件详情', icon: '' } } ] +}, { + path: 'caseReport', + component: Layout, + redirect: '/workReportList', + name: 'CaseReport', + alwaysShow: true, + meta: { + title: '上报请示管理', + icon: 'icon-config' // 图标 + }, + children: [ + { + path: '/workReportList', + name: 'WorkReportList', + component: () => import('@/views/caseManage/caseReportManage/workReportList'), + meta: { title: '待办上报请示', icon: '' } + }, + { + path: '/myReportList', + name: 'MyReportList', + component: () => import('@/views/caseManage/caseReportManage/myReportList'), + meta: { title: '我的上报请示', icon: '' } + }, + { + path: '/searchReportList', + name: 'SearchReportList', + component: () => import('@/views/caseManage/caseReportManage/searchReportList'), + meta: { title: '查询上报请示', icon: '' } + } + ] }] diff --git a/src/views/caseManage/caseCommon/caseProcess.vue b/src/views/caseManage/caseCommon/caseProcess.vue index 38a69b6..4fe0629 100644 --- a/src/views/caseManage/caseCommon/caseProcess.vue +++ b/src/views/caseManage/caseCommon/caseProcess.vue @@ -79,7 +79,7 @@ userQuery: { deptid: '', // 部门id (默认为当前用户部门) hasMine: '0', // 是否包含本人,1包含, 0不包含 - roleTips: '' // 角色标识,这里默认noraml + roleTips: 'noraml' // 角色标识,这里默认noraml } // TODO loading: 整个页面加载, 人员下拉框加载 } diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue index aab28e9..ff27126 100644 --- a/src/views/caseManage/caseCommon/caseRecord.vue +++ b/src/views/caseManage/caseCommon/caseRecord.vue @@ -19,7 +19,7 @@ - +
事件催办记录
@@ -56,14 +56,32 @@
- + +
+ +
上报请示记录
+
+ + + + + +
+ + + diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue new file mode 100644 index 0000000..ef6bc1c --- /dev/null +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -0,0 +1,193 @@ + + + + + + diff --git a/src/views/caseManage/caseReportManage/workReportList.vue b/src/views/caseManage/caseReportManage/workReportList.vue new file mode 100644 index 0000000..fe688b1 --- /dev/null +++ b/src/views/caseManage/caseReportManage/workReportList.vue @@ -0,0 +1,318 @@ + + + + + + diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/caseUrge.js b/src/api/caseUrge.js index f667a16..a00b00d 100644 --- a/src/api/caseUrge.js +++ b/src/api/caseUrge.js @@ -21,7 +21,7 @@ } // 催办记录 -export function getUrgeRecords(caseId) { +export function urgeRecords(caseId) { return request({ url: 'callCaseUrge/records', method: 'get', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index afd5dc4..c26ef2f 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -74,4 +74,34 @@ meta: { title: '事件详情', icon: '' } } ] +}, { + path: 'caseReport', + component: Layout, + redirect: '/workReportList', + name: 'CaseReport', + alwaysShow: true, + meta: { + title: '上报请示管理', + icon: 'icon-config' // 图标 + }, + children: [ + { + path: '/workReportList', + name: 'WorkReportList', + component: () => import('@/views/caseManage/caseReportManage/workReportList'), + meta: { title: '待办上报请示', icon: '' } + }, + { + path: '/myReportList', + name: 'MyReportList', + component: () => import('@/views/caseManage/caseReportManage/myReportList'), + meta: { title: '我的上报请示', icon: '' } + }, + { + path: '/searchReportList', + name: 'SearchReportList', + component: () => import('@/views/caseManage/caseReportManage/searchReportList'), + meta: { title: '查询上报请示', icon: '' } + } + ] }] diff --git a/src/views/caseManage/caseCommon/caseProcess.vue b/src/views/caseManage/caseCommon/caseProcess.vue index 38a69b6..4fe0629 100644 --- a/src/views/caseManage/caseCommon/caseProcess.vue +++ b/src/views/caseManage/caseCommon/caseProcess.vue @@ -79,7 +79,7 @@ userQuery: { deptid: '', // 部门id (默认为当前用户部门) hasMine: '0', // 是否包含本人,1包含, 0不包含 - roleTips: '' // 角色标识,这里默认noraml + roleTips: 'noraml' // 角色标识,这里默认noraml } // TODO loading: 整个页面加载, 人员下拉框加载 } diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue index aab28e9..ff27126 100644 --- a/src/views/caseManage/caseCommon/caseRecord.vue +++ b/src/views/caseManage/caseCommon/caseRecord.vue @@ -19,7 +19,7 @@ - +
事件催办记录
@@ -56,14 +56,32 @@
- + +
+ +
上报请示记录
+
+ + + + + +
+ + + diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue new file mode 100644 index 0000000..ef6bc1c --- /dev/null +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -0,0 +1,193 @@ + + + + + + diff --git a/src/views/caseManage/caseReportManage/workReportList.vue b/src/views/caseManage/caseReportManage/workReportList.vue new file mode 100644 index 0000000..fe688b1 --- /dev/null +++ b/src/views/caseManage/caseReportManage/workReportList.vue @@ -0,0 +1,318 @@ + + + + + + diff --git a/src/views/caseManage/urgeList.vue b/src/views/caseManage/urgeList.vue index e70152a..9c0aacc 100644 --- a/src/views/caseManage/urgeList.vue +++ b/src/views/caseManage/urgeList.vue @@ -61,7 +61,7 @@ endTime: '', // 催办结束时间 offset: 1, limit: 20, - sort: 'applyTime', + sort: 'urgeTime', order: 'desc' }, // 筛选条件 timeRange: [], diff --git a/src/api/allDict.js b/src/api/allDict.js index 0472304..5db6a1d 100644 --- a/src/api/allDict.js +++ b/src/api/allDict.js @@ -57,3 +57,11 @@ }) } +// 上报请示处理方式 +export function getReportType(params) { + return request({ + url: '/dict/code/reportType', + method: 'get', + params + }) +} diff --git a/src/api/callCase.js b/src/api/callCase.js index ac9dde4..191680d 100644 --- a/src/api/callCase.js +++ b/src/api/callCase.js @@ -42,6 +42,17 @@ }) } +// 获得部门列表 +export function getDeptList(tips) { + return request({ + url: '/case/deptList', + method: 'get', + params: { + tips: tips + } + }) +} + // 获得处置人员列表 export function getUserList(params) { return request({ @@ -50,6 +61,7 @@ params }) } + // 根据案卷类别获取案卷大类 export function getCaseType(eorc) { return request({ diff --git a/src/api/caseReport.js b/src/api/caseReport.js new file mode 100644 index 0000000..2b8b467 --- /dev/null +++ b/src/api/caseReport.js @@ -0,0 +1,59 @@ +import request from '@/utils/request' +/** + * 事件上报请示相关接口 + */ +// 申请上报 +export function addReport(params) { + return request({ + url: 'caseReport/addReport', + method: 'post', + params + }) +} + +// 处理上报 +export function processReport(params) { + return request({ + url: 'caseReport/processReport', + method: 'post', + params + }) +} + +// 待办上报请示 +export function workReportList(params) { + return request({ + url: 'caseReport/workReportList', + method: 'get', + params + }) +} + +// 我的上报请示 +export function myReportList(params) { + return request({ + url: 'caseReport/myReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function searchReportList(params) { + return request({ + url: 'caseReport/searchReportList', + method: 'get', + params + }) +} + +// 查询上报请示 +export function reportRecords(caseId) { + return request({ + url: 'caseReport/records', + method: 'get', + params: { + caseId: caseId + } + }) +} \ No newline at end of file diff --git a/src/api/caseUrge.js b/src/api/caseUrge.js index f667a16..a00b00d 100644 --- a/src/api/caseUrge.js +++ b/src/api/caseUrge.js @@ -21,7 +21,7 @@ } // 催办记录 -export function getUrgeRecords(caseId) { +export function urgeRecords(caseId) { return request({ url: 'callCaseUrge/records', method: 'get', diff --git a/src/router/modules/case.js b/src/router/modules/case.js index afd5dc4..c26ef2f 100644 --- a/src/router/modules/case.js +++ b/src/router/modules/case.js @@ -74,4 +74,34 @@ meta: { title: '事件详情', icon: '' } } ] +}, { + path: 'caseReport', + component: Layout, + redirect: '/workReportList', + name: 'CaseReport', + alwaysShow: true, + meta: { + title: '上报请示管理', + icon: 'icon-config' // 图标 + }, + children: [ + { + path: '/workReportList', + name: 'WorkReportList', + component: () => import('@/views/caseManage/caseReportManage/workReportList'), + meta: { title: '待办上报请示', icon: '' } + }, + { + path: '/myReportList', + name: 'MyReportList', + component: () => import('@/views/caseManage/caseReportManage/myReportList'), + meta: { title: '我的上报请示', icon: '' } + }, + { + path: '/searchReportList', + name: 'SearchReportList', + component: () => import('@/views/caseManage/caseReportManage/searchReportList'), + meta: { title: '查询上报请示', icon: '' } + } + ] }] diff --git a/src/views/caseManage/caseCommon/caseProcess.vue b/src/views/caseManage/caseCommon/caseProcess.vue index 38a69b6..4fe0629 100644 --- a/src/views/caseManage/caseCommon/caseProcess.vue +++ b/src/views/caseManage/caseCommon/caseProcess.vue @@ -79,7 +79,7 @@ userQuery: { deptid: '', // 部门id (默认为当前用户部门) hasMine: '0', // 是否包含本人,1包含, 0不包含 - roleTips: '' // 角色标识,这里默认noraml + roleTips: 'noraml' // 角色标识,这里默认noraml } // TODO loading: 整个页面加载, 人员下拉框加载 } diff --git a/src/views/caseManage/caseCommon/caseRecord.vue b/src/views/caseManage/caseCommon/caseRecord.vue index aab28e9..ff27126 100644 --- a/src/views/caseManage/caseCommon/caseRecord.vue +++ b/src/views/caseManage/caseCommon/caseRecord.vue @@ -19,7 +19,7 @@ - +
事件催办记录
@@ -56,14 +56,32 @@
- + +
+ +
上报请示记录
+
+ + + + + +
+ + + diff --git a/src/views/caseManage/caseReportManage/searchReportList.vue b/src/views/caseManage/caseReportManage/searchReportList.vue new file mode 100644 index 0000000..ef6bc1c --- /dev/null +++ b/src/views/caseManage/caseReportManage/searchReportList.vue @@ -0,0 +1,193 @@ + + + + + + diff --git a/src/views/caseManage/caseReportManage/workReportList.vue b/src/views/caseManage/caseReportManage/workReportList.vue new file mode 100644 index 0000000..fe688b1 --- /dev/null +++ b/src/views/caseManage/caseReportManage/workReportList.vue @@ -0,0 +1,318 @@ + + + + + + diff --git a/src/views/caseManage/urgeList.vue b/src/views/caseManage/urgeList.vue index e70152a..9c0aacc 100644 --- a/src/views/caseManage/urgeList.vue +++ b/src/views/caseManage/urgeList.vue @@ -61,7 +61,7 @@ endTime: '', // 催办结束时间 offset: 1, limit: 20, - sort: 'applyTime', + sort: 'urgeTime', order: 'desc' }, // 筛选条件 timeRange: [], diff --git a/src/views/caseManage/waitForHandle.vue b/src/views/caseManage/waitForHandle.vue index b052915..349ec01 100644 --- a/src/views/caseManage/waitForHandle.vue +++ b/src/views/caseManage/waitForHandle.vue @@ -28,6 +28,34 @@ 确定 + + + + + + + + + + + + + + + + + + + + + + + + + @@ -35,8 +63,9 @@ import AppContainer from '@/components/layout/AppContainer' import CaseSearch from './caseCommon/caseSearch' import CaseListTable from './caseCommon/caseListTable' -import { workList } from '@/api/callCase' +import { workList, getDeptList, getDisposalDeptList, getUserList } from '@/api/callCase' import { applyDelay } from '@/api/caseDelay' +import { addReport } from '@/api/caseReport' export default { name: 'WaitForHandle', @@ -73,11 +102,33 @@ delayRules: { delayTime: [{ required: true, message: '请选择延期时间', trigger: ['change', 'blur'] }], applyReason: [{ required: true, message: '请填写申请理由', trigger: ['change', 'blur'] }] + }, + reportDialogVisible: false, // 上报请示对话框 + reportForm: { + caseId: '', + processDept: '', + processUser: '', + reportContent: '' + }, + reportRules: { + processDept: [{ required: true, message: '请选择上报处理部门', trigger: ['change', 'blur'] }], + processUser: [{ required: true, message: '请选择上报处理人', trigger: ['change', 'blur'] }], + reportContent: [{ required: true, message: '请填写请示说明', trigger: ['change', 'blur'] }] + }, + reportDeptList: [], + deptSelectLoading: false, + reportUserList: [], + userSelectLoading: false, + userQuery: { + deptid: '', // 部门id (默认为当前用户部门) + hasMine: '', // 是否包含本人,1包含, 0不包含 + roleTips: '' // 角色标识,这里默认noraml } } }, created() { this.fetchData() + this.fetchReportDeptList() }, methods: { fetchData() { @@ -135,7 +186,61 @@ }) }, // 上报请示 - applyReport(row) { } + applyReport(row) { + this.reportDialogVisible = true + this.reportForm.caseId = row.id + }, + resetReportForm() { + this.$refs['reportForm'].resetFields() + this.reportForm = { + caseId: '', + processDept: '', + processUser: '', + reportContent: '' + } + }, + cancelReport() { + this.reportDialogVisible = false + this.resetReportForm() + }, + submitReport() { + this.$refs['reportForm'].validate((valid) => { + if (valid) { + addReport(this.reportForm).then(res => { + this.$message.success('上报请示成功') + this.cancelReport() + }).catch((res) => { + this.cancelReport() + }) + } + }) + }, + // 获取部门列表 + fetchReportDeptList() { + this.deptSelectLoading = true + getDisposalDeptList().then(response => { + this.reportDeptList = response.data + this.deptSelectLoading = false + }) + }, + // 获取人员列表 + fetchReportUserList() { + this.userSelectLoading = true + getUserList(this.userQuery).then(response => { + this.reportUserList = response.data + this.userSelectLoading = false + }) + }, + // 选择部门 + selectDept(val) { + this.reportUserList = [] + this.reportForm.processUser = '' + if (val) { + this.userQuery.deptid = val + this.fetchReportUserList() + } + } + } }