diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/views/busAdmin/DictAdmin/dictList.vue b/src/views/busAdmin/DictAdmin/dictList.vue new file mode 100644 index 0000000..e951d4a --- /dev/null +++ b/src/views/busAdmin/DictAdmin/dictList.vue @@ -0,0 +1,16 @@ + + + 字典管理-列表 + + + + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/views/busAdmin/DictAdmin/dictList.vue b/src/views/busAdmin/DictAdmin/dictList.vue new file mode 100644 index 0000000..e951d4a --- /dev/null +++ b/src/views/busAdmin/DictAdmin/dictList.vue @@ -0,0 +1,16 @@ + + + 字典管理-列表 + + + + diff --git a/src/views/busAdmin/TimeLimit/detailTimeLimit.vue b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue new file mode 100644 index 0000000..08edce0 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/views/busAdmin/DictAdmin/dictList.vue b/src/views/busAdmin/DictAdmin/dictList.vue new file mode 100644 index 0000000..e951d4a --- /dev/null +++ b/src/views/busAdmin/DictAdmin/dictList.vue @@ -0,0 +1,16 @@ + + + 字典管理-列表 + + + + diff --git a/src/views/busAdmin/TimeLimit/detailTimeLimit.vue b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue new file mode 100644 index 0000000..08edce0 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/editTimeLimit.vue b/src/views/busAdmin/TimeLimit/editTimeLimit.vue new file mode 100644 index 0000000..37046da --- /dev/null +++ b/src/views/busAdmin/TimeLimit/editTimeLimit.vue @@ -0,0 +1,163 @@ + + + + + + + + + + + 分钟 + + + + + + + + + + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/views/busAdmin/DictAdmin/dictList.vue b/src/views/busAdmin/DictAdmin/dictList.vue new file mode 100644 index 0000000..e951d4a --- /dev/null +++ b/src/views/busAdmin/DictAdmin/dictList.vue @@ -0,0 +1,16 @@ + + + 字典管理-列表 + + + + diff --git a/src/views/busAdmin/TimeLimit/detailTimeLimit.vue b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue new file mode 100644 index 0000000..08edce0 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/editTimeLimit.vue b/src/views/busAdmin/TimeLimit/editTimeLimit.vue new file mode 100644 index 0000000..37046da --- /dev/null +++ b/src/views/busAdmin/TimeLimit/editTimeLimit.vue @@ -0,0 +1,163 @@ + + + + + + + + + + + 分钟 + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/listTimeLimit.vue b/src/views/busAdmin/TimeLimit/listTimeLimit.vue new file mode 100644 index 0000000..27fdb68 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/listTimeLimit.vue @@ -0,0 +1,182 @@ + + + + + 数据列表 + + 删除 + 添加 + + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/views/busAdmin/DictAdmin/dictList.vue b/src/views/busAdmin/DictAdmin/dictList.vue new file mode 100644 index 0000000..e951d4a --- /dev/null +++ b/src/views/busAdmin/DictAdmin/dictList.vue @@ -0,0 +1,16 @@ + + + 字典管理-列表 + + + + diff --git a/src/views/busAdmin/TimeLimit/detailTimeLimit.vue b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue new file mode 100644 index 0000000..08edce0 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/editTimeLimit.vue b/src/views/busAdmin/TimeLimit/editTimeLimit.vue new file mode 100644 index 0000000..37046da --- /dev/null +++ b/src/views/busAdmin/TimeLimit/editTimeLimit.vue @@ -0,0 +1,163 @@ + + + + + + + + + + + 分钟 + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/listTimeLimit.vue b/src/views/busAdmin/TimeLimit/listTimeLimit.vue new file mode 100644 index 0000000..27fdb68 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/listTimeLimit.vue @@ -0,0 +1,182 @@ + + + + + 数据列表 + + 删除 + 添加 + + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/areaAdmin/areaAdminList.vue b/src/views/busAdmin/areaAdmin/areaAdminList.vue new file mode 100644 index 0000000..8559788 --- /dev/null +++ b/src/views/busAdmin/areaAdmin/areaAdminList.vue @@ -0,0 +1,16 @@ + + + 区域管理-列表 + + + + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/views/busAdmin/DictAdmin/dictList.vue b/src/views/busAdmin/DictAdmin/dictList.vue new file mode 100644 index 0000000..e951d4a --- /dev/null +++ b/src/views/busAdmin/DictAdmin/dictList.vue @@ -0,0 +1,16 @@ + + + 字典管理-列表 + + + + diff --git a/src/views/busAdmin/TimeLimit/detailTimeLimit.vue b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue new file mode 100644 index 0000000..08edce0 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/editTimeLimit.vue b/src/views/busAdmin/TimeLimit/editTimeLimit.vue new file mode 100644 index 0000000..37046da --- /dev/null +++ b/src/views/busAdmin/TimeLimit/editTimeLimit.vue @@ -0,0 +1,163 @@ + + + + + + + + + + + 分钟 + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/listTimeLimit.vue b/src/views/busAdmin/TimeLimit/listTimeLimit.vue new file mode 100644 index 0000000..27fdb68 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/listTimeLimit.vue @@ -0,0 +1,182 @@ + + + + + 数据列表 + + 删除 + 添加 + + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/areaAdmin/areaAdminList.vue b/src/views/busAdmin/areaAdmin/areaAdminList.vue new file mode 100644 index 0000000..8559788 --- /dev/null +++ b/src/views/busAdmin/areaAdmin/areaAdminList.vue @@ -0,0 +1,16 @@ + + + 区域管理-列表 + + + + diff --git a/src/views/busAdmin/caseType/detailCaseType.vue b/src/views/busAdmin/caseType/detailCaseType.vue new file mode 100644 index 0000000..ac8cbb3 --- /dev/null +++ b/src/views/busAdmin/caseType/detailCaseType.vue @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.day }}天{{ scope.row.hours }}小时{{ scope.row.minutes }}分钟 + + + + + + + + + + + + + + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/views/busAdmin/DictAdmin/dictList.vue b/src/views/busAdmin/DictAdmin/dictList.vue new file mode 100644 index 0000000..e951d4a --- /dev/null +++ b/src/views/busAdmin/DictAdmin/dictList.vue @@ -0,0 +1,16 @@ + + + 字典管理-列表 + + + + diff --git a/src/views/busAdmin/TimeLimit/detailTimeLimit.vue b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue new file mode 100644 index 0000000..08edce0 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/editTimeLimit.vue b/src/views/busAdmin/TimeLimit/editTimeLimit.vue new file mode 100644 index 0000000..37046da --- /dev/null +++ b/src/views/busAdmin/TimeLimit/editTimeLimit.vue @@ -0,0 +1,163 @@ + + + + + + + + + + + 分钟 + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/listTimeLimit.vue b/src/views/busAdmin/TimeLimit/listTimeLimit.vue new file mode 100644 index 0000000..27fdb68 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/listTimeLimit.vue @@ -0,0 +1,182 @@ + + + + + 数据列表 + + 删除 + 添加 + + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/areaAdmin/areaAdminList.vue b/src/views/busAdmin/areaAdmin/areaAdminList.vue new file mode 100644 index 0000000..8559788 --- /dev/null +++ b/src/views/busAdmin/areaAdmin/areaAdminList.vue @@ -0,0 +1,16 @@ + + + 区域管理-列表 + + + + diff --git a/src/views/busAdmin/caseType/detailCaseType.vue b/src/views/busAdmin/caseType/detailCaseType.vue new file mode 100644 index 0000000..ac8cbb3 --- /dev/null +++ b/src/views/busAdmin/caseType/detailCaseType.vue @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.day }}天{{ scope.row.hours }}小时{{ scope.row.minutes }}分钟 + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/caseType/editCaseType.vue b/src/views/busAdmin/caseType/editCaseType.vue new file mode 100644 index 0000000..2755916 --- /dev/null +++ b/src/views/busAdmin/caseType/editCaseType.vue @@ -0,0 +1,412 @@ + + + + + + + + + + + + + + + + + + + + + 添加立案标准 + + + + + + + + + + {{ scope.row.name }} + + + + + + + + {{ scope.row.description }} + + + + + + 天 + 小时 + 分钟 + + {{ scope.row.day }}天{{ scope.row.hours }}小时{{ scope.row.minutes }}分钟 + + + + + + changeDept(v,scope.row)"/> + + {{ scope.row.deptName }} + + + + + 保存 + 编辑 + 删除 + + + + + + + + + + + + + diff --git a/src/api/busAdmin/caseType.js b/src/api/busAdmin/caseType.js new file mode 100644 index 0000000..f435e07 --- /dev/null +++ b/src/api/busAdmin/caseType.js @@ -0,0 +1,108 @@ +/** + * 事部件管理接口 + */ +import request from '@/utils/request' + +export function getCaseTypeDict() { + return request({ + url: '/dict/code/eorc', + method: 'get' + }) +} + +export function getCaseTypeList() { + return request({ + url: '/case/type/list', + method: 'get' + }) +} + +export function getCaseDetailType(params) { + return request({ + url: '/case/typeDetail/listPage', + method: 'get', + params + }) +} + +export function getCaseTypesTime(detailId) { + return request({ + url: '/case/typesTime/listPage', + method: 'get', + params: { + detailId: detailId + } + }) +} + +export function getMaxDetailCode(typeId) { + return request({ + url: '/case/typeDetail/maxDetailCode', + method: 'post', + params: { + id: typeId + } + }) +} + +export function addCaseDetailType(params) { + return request({ + url: '/case/typeDetail/add', + method: 'post', + params + }) +} + +export function addCaseTypesTime(data) { + return request({ + url: '/case/typesTime/add', + method: 'post', + headers: { 'Content-Type': 'application/json' }, + data + }) +} + +export function addBatchCaseTypesTime(params) { + return request({ + url: '/case/typesTime/addBatch', + method: 'post', + params + }) +} + +export function updateCaseDetailType(params) { + return request({ + url: '/case/typeDetail/update', + method: 'post', + params + }) +} + +export function updateCaseTypesTime(params) { + return request({ + url: '/case/typesTime/update', + method: 'post', + params + }) +} + +export function deleteCaseDetailType(ids) { + return request({ + url: '/case/typeDetail/delete', + method: 'get', + params: { + ids: ids + } + }) +} + +export function deleteCaseTypesTime(id) { + return request({ + url: '/case/typesTime/delete', + method: 'get', + params: { + id: id + } + }) +} + diff --git a/src/api/busAdmin/timeLimit.js b/src/api/busAdmin/timeLimit.js new file mode 100644 index 0000000..041de86 --- /dev/null +++ b/src/api/busAdmin/timeLimit.js @@ -0,0 +1,45 @@ +/** + * 阶段时限接口 + */ +import request from '@/utils/request' + +export function getCaseState() { + return request({ + url: '/dict/code/caseState', + method: 'get' + }) +} + +export function getStateLimitList(params) { + return request({ + url: '/stateLimit/listPage', + method: 'get', + params + }) +} + +export function addStateLimit(params) { + return request({ + url: '/stateLimit/add', + method: 'post', + params + }) +} + +export function updateStateLimit(params) { + return request({ + url: '/stateLimit/update', + method: 'post', + params + }) +} + +export function deleteStateLimit(ids) { + return request({ + url: '/stateLimit/delete', + method: 'get', + params: { + ids: ids + } + }) +} diff --git a/src/components/CaseCommon/caseDetail.vue b/src/components/CaseCommon/caseDetail.vue index a9b5c8f..ee352d7 100644 --- a/src/components/CaseCommon/caseDetail.vue +++ b/src/components/CaseCommon/caseDetail.vue @@ -508,7 +508,6 @@ break } default: - console.log('default') this.processCompShow = '' break } diff --git a/src/router/index.js b/src/router/index.js index fe2983b..14801a6 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -8,6 +8,9 @@ /* Layout */ import Layout from '../views/layout/Layout' +import { systemRouters } from './modules/system' +import { cooRouters } from './modules/coo' +import { bmsRouters } from './modules/bms' /** * hidden: true if `hidden:true` will not show in the sidebar(default is false) @@ -66,132 +69,132 @@ // 异步挂载路由 // 动态需要根据权限加载的路由表 export const asyncRouterMap = [ - { - path: 'coorBusiness', - component: Layout, - name: 'CoorBusniess', - alwaysShow: true, - meta: { - title: '协调业务管理', - permission: ['/coorBusiness'] - }, - children: [ - { - path: '/work', - component: () => import('@/views/coorBusiness/work/index'), - name: 'Work', - meta: { title: '待办任务', icon: '', permission: '/work' } - }, - { - path: '/toRegister', - component: () => import('@/views/coorBusiness/toRegister/index'), - name: 'ToRegister', - meta: { title: '待立案', icon: '', permission: '/toRegister' } - }, - { - path: '/preRegister', - component: () => import('@/views/coorBusiness/preRegister/index'), - name: 'PreRegister', - meta: { title: '预立案', icon: '', permission: '/preRegister' } - }, - { - path: '/toDistribute', - component: () => import('@/views/coorBusiness/toDistribute/index'), - name: 'ToDistribute', - meta: { title: '待派发', icon: '', permission: '/toDistribute' } - }, - { - path: '/preDistribute', - component: () => import('@/views/coorBusiness/preDistribute/index'), - name: 'PreDistribute', - meta: { title: '预派发', icon: '', permission: '/preDistribute' } - }, - { - path: '/toAdjustInstruction', - component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), - name: 'ToAdjustInstruction', - meta: { title: '调整批示', icon: '', permission: '/toInstruction' } - }, - { - path: '/toHandle', - component: () => import('@/views/coorBusiness/toHandle/index'), - name: 'ToHandle', - meta: { title: '待处理', icon: '', permission: '/toHandle' } - }, - { - path: '/toAdjust', - component: () => import('@/views/coorBusiness/toAdjust/index'), - name: 'ToAdjust', - meta: { title: '待调整', icon: '', permission: '/toAdjust' } - }, - { - path: '/toFinish', - component: () => import('@/views/coorBusiness/toFinish/index'), - name: 'ToFinish', - meta: { title: '待结案', icon: '', permission: '/toFinish' } - }, - { - path: '/handleAudit', - component: () => import('@/views/coorBusiness/handleAudit/index'), - name: 'HandleAudit', - meta: { title: '处理审核', icon: '', permission: '/handleAudit' } - }, - { - path: '/toDeptAdjustInstruction', - component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), - name: 'ToDeptAdjustInstruction', - meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } - }, - { - path: '/delayed', - component: () => import('@/views/coorBusiness/delayed/index'), - name: 'Delayed', - meta: { title: '延期待处理', icon: '', permission: '/delayed' } - }, - { - path: '/postponed', - component: () => import('@/views/coorBusiness/postponed/index'), - name: 'Postponed', - meta: { title: '缓办待处理', icon: '', permission: '/postponed' } - }, - { - path: '/toCheck', - component: () => import('@/views/coorBusiness/toCheck/index'), - name: 'ToCheck', - meta: { title: '待核查', icon: '', permission: '/toCheck' } - }, - { - path: '/authorizationAudit', - component: () => import('@/views/coorBusiness/authorizationAudit/index'), - name: 'AuthorizationAudit', - meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } - }, - { - path: '/secIsPostpone', - component: () => import('@/views/coorBusiness/secIsPostpone/index'), - name: 'SecIsPostpone', - meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } - }, - { - path: '/deptAuthAudit', - component: () => import('@/views/coorBusiness/deptAuthAudit/index'), - name: 'DeptAuthAudit', - meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } - }, - { - path: '/secIsDelay', - component: () => import('@/views/coorBusiness/secIsDelay/index'), - name: 'SecIsDelay', - meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } - }, - { - path: '/completed', - component: () => import('@/views/coorBusiness/completed/index'), - name: 'Completed', - meta: { title: '已办案卷', icon: '', permission: '/completed' } - } - ] - }, + // { + // path: 'coorBusiness', + // component: Layout, + // name: 'CoorBusniess', + // alwaysShow: true, + // meta: { + // title: '协调业务管理', + // permission: ['/coorBusiness'] + // }, + // children: [ + // { + // path: '/work', + // component: () => import('@/views/coorBusiness/work/index'), + // name: 'Work', + // meta: { title: '待办任务', icon: '', permission: '/work' } + // }, + // { + // path: '/toRegister', + // component: () => import('@/views/coorBusiness/toRegister/index'), + // name: 'ToRegister', + // meta: { title: '待立案', icon: '', permission: '/toRegister' } + // }, + // { + // path: '/preRegister', + // component: () => import('@/views/coorBusiness/preRegister/index'), + // name: 'PreRegister', + // meta: { title: '预立案', icon: '', permission: '/preRegister' } + // }, + // { + // path: '/toDistribute', + // component: () => import('@/views/coorBusiness/toDistribute/index'), + // name: 'ToDistribute', + // meta: { title: '待派发', icon: '', permission: '/toDistribute' } + // }, + // { + // path: '/preDistribute', + // component: () => import('@/views/coorBusiness/preDistribute/index'), + // name: 'PreDistribute', + // meta: { title: '预派发', icon: '', permission: '/preDistribute' } + // }, + // { + // path: '/toAdjustInstruction', + // component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + // name: 'ToAdjustInstruction', + // meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + // }, + // { + // path: '/toHandle', + // component: () => import('@/views/coorBusiness/toHandle/index'), + // name: 'ToHandle', + // meta: { title: '待处理', icon: '', permission: '/toHandle' } + // }, + // { + // path: '/toAdjust', + // component: () => import('@/views/coorBusiness/toAdjust/index'), + // name: 'ToAdjust', + // meta: { title: '待调整', icon: '', permission: '/toAdjust' } + // }, + // { + // path: '/toFinish', + // component: () => import('@/views/coorBusiness/toFinish/index'), + // name: 'ToFinish', + // meta: { title: '待结案', icon: '', permission: '/toFinish' } + // }, + // { + // path: '/handleAudit', + // component: () => import('@/views/coorBusiness/handleAudit/index'), + // name: 'HandleAudit', + // meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + // }, + // { + // path: '/toDeptAdjustInstruction', + // component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + // name: 'ToDeptAdjustInstruction', + // meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + // }, + // { + // path: '/delayed', + // component: () => import('@/views/coorBusiness/delayed/index'), + // name: 'Delayed', + // meta: { title: '延期待处理', icon: '', permission: '/delayed' } + // }, + // { + // path: '/postponed', + // component: () => import('@/views/coorBusiness/postponed/index'), + // name: 'Postponed', + // meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + // }, + // { + // path: '/toCheck', + // component: () => import('@/views/coorBusiness/toCheck/index'), + // name: 'ToCheck', + // meta: { title: '待核查', icon: '', permission: '/toCheck' } + // }, + // { + // path: '/authorizationAudit', + // component: () => import('@/views/coorBusiness/authorizationAudit/index'), + // name: 'AuthorizationAudit', + // meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + // }, + // { + // path: '/secIsPostpone', + // component: () => import('@/views/coorBusiness/secIsPostpone/index'), + // name: 'SecIsPostpone', + // meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + // }, + // { + // path: '/deptAuthAudit', + // component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + // name: 'DeptAuthAudit', + // meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + // }, + // { + // path: '/secIsDelay', + // component: () => import('@/views/coorBusiness/secIsDelay/index'), + // name: 'SecIsDelay', + // meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + // }, + // { + // path: '/completed', + // component: () => import('@/views/coorBusiness/completed/index'), + // name: 'Completed', + // meta: { title: '已办案卷', icon: '', permission: '/completed' } + // } + // ] + // }, // { // path: 'system', // component: Layout, @@ -242,5 +245,8 @@ // } // ] // }, + ...cooRouters, + ...bmsRouters, + systemRouters, { path: '*', redirect: '/404', hidden: true } ] diff --git a/src/router/modules/bms.js b/src/router/modules/bms.js new file mode 100644 index 0000000..cfa69f1 --- /dev/null +++ b/src/router/modules/bms.js @@ -0,0 +1,48 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const bmsRouters = [ + { + path: 'busAdmin', + component: Layout, + name: 'BusAdmin', + redirect: '/timeLimit', + alwaysShow: true, + meta: { + title: '业务管理', + icon: 'icon-setting', // 图标 + permission: ['/busAdmin']// 权限名称 + }, + children: [ + { + path: '/timeLimit', + component: () => import('@/views/busAdmin/TimeLimit/listTimeLimit.vue'), + name: 'TimeLimit', + meta: { title: '阶段时限', icon: '', permission: ['/timeLimit'] } + }, + { + path: '/caseList', + component: () => import('@/views/busAdmin/CaseQuery/caseList.vue'), + name: 'CaseList', + meta: { title: '综合查询', icon: '', permission: ['/caseList'] } + }, + { + path: '/dictList', + component: () => import('@/views/busAdmin/DictAdmin/dictList.vue'), + name: 'DictList', + meta: { title: '字典管理', icon: '', permission: ['/dictList'] } + }, + { + path: '/caseType', + component: () => import('@/views/busAdmin/caseType/listCaseType.vue'), + name: 'CaseType', + meta: { title: '事部件管理', icon: '', permission: ['/caseType'] } + }, + { + path: '/areaAdmin', + component: () => import('@/views/busAdmin/areaAdmin/areaAdminList.vue'), + name: 'AreaAdmin', + meta: { title: '区域管理', icon: '', permission: ['/areaAdmin'] } + } + ] + } +] diff --git a/src/router/modules/coo.js b/src/router/modules/coo.js new file mode 100644 index 0000000..9a2429a --- /dev/null +++ b/src/router/modules/coo.js @@ -0,0 +1,169 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const cooRouters = [ + { + path: 'coorBusiness', + component: Layout, + name: 'CoorBusniess', + meta: { + title: '协调业务管理', + permission: ['/coorBusiness'] + }, + children: [ + { + path: '/work', + component: () => import('@/views/coorBusiness/work/index'), + name: 'Work', + meta: { title: '待办任务', icon: '', permission: '/work' } + }, + { + path: '/toRegister', + component: () => import('@/views/coorBusiness/toRegister/index'), + name: 'ToRegister', + meta: { title: '待立案', icon: '', permission: '/toRegister' } + }, + { + path: '/preRegister', + component: () => import('@/views/coorBusiness/preRegister/index'), + name: 'PreRegister', + meta: { title: '预立案', icon: '', permission: '/preRegister' } + }, + { + path: '/toDistribute', + component: () => import('@/views/coorBusiness/toDistribute/index'), + name: 'ToDistribute', + meta: { title: '待派发', icon: '', permission: '/toDistribute' } + }, + { + path: '/preDistribute', + component: () => import('@/views/coorBusiness/preDistribute/index'), + name: 'PreDistribute', + meta: { title: '预派发', icon: '', permission: '/preDistribute' } + }, + { + path: '/toAdjustInstruction', + component: () => import('@/views/coorBusiness/toAdjustInstruction/index'), + name: 'ToAdjustInstruction', + meta: { title: '调整批示', icon: '', permission: '/toInstruction' } + }, + { + path: '/toHandle', + component: () => import('@/views/coorBusiness/toHandle/index'), + name: 'ToHandle', + meta: { title: '待处理', icon: '', permission: '/toHandle' } + }, + { + path: '/toAdjust', + component: () => import('@/views/coorBusiness/toAdjust/index'), + name: 'ToAdjust', + meta: { title: '待调整', icon: '', permission: '/toAdjust' } + }, + { + path: '/toFinish', + component: () => import('@/views/coorBusiness/toFinish/index'), + name: 'ToFinish', + meta: { title: '待结案', icon: '', permission: '/toFinish' } + }, + { + path: '/handleAudit', + component: () => import('@/views/coorBusiness/handleAudit/index'), + name: 'HandleAudit', + meta: { title: '处理审核', icon: '', permission: '/handleAudit' } + }, + { + path: '/toDeptAdjustInstruction', + component: () => import('@/views/coorBusiness/toDeptAdjustInstruction/index'), + name: 'ToDeptAdjustInstruction', + meta: { title: '部门调整批示', icon: '', permission: '/toDeptAdjustInstruction' } + }, + { + path: '/delayed', + component: () => import('@/views/coorBusiness/delayed/index'), + name: 'Delayed', + meta: { title: '延期待处理', icon: '', permission: '/delayed' } + }, + { + path: '/postponed', + component: () => import('@/views/coorBusiness/postponed/index'), + name: 'Postponed', + meta: { title: '缓办待处理', icon: '', permission: '/postponed' } + }, + { + path: '/toCheck', + component: () => import('@/views/coorBusiness/toCheck/index'), + name: 'ToCheck', + meta: { title: '待核查', icon: '', permission: '/toCheck' } + }, + { + path: '/authorizationAudit', + component: () => import('@/views/coorBusiness/authorizationAudit/index'), + name: 'AuthorizationAudit', + meta: { title: '授权审核', icon: '', permission: '/authorizationAudit' } + }, + { + path: '/secIsPostpone', + component: () => import('@/views/coorBusiness/secIsPostpone/index'), + name: 'SecIsPostpone', + meta: { title: '二级缓办待处理', icon: '', permission: '/secIsPostpone' } + }, + { + path: '/deptAuthAudit', + component: () => import('@/views/coorBusiness/deptAuthAudit/index'), + name: 'DeptAuthAudit', + meta: { title: '部门授权审核', icon: '', permission: '/toDeptAuthAudit' } + }, + { + path: '/secIsDelay', + component: () => import('@/views/coorBusiness/secIsDelay/index'), + name: 'SecIsDelay', + meta: { title: '二级延期待处理', icon: '', permission: '/secIsDelay' } + }, + { + path: '/completed', + component: () => import('@/views/coorBusiness/completed/index'), + name: 'Completed', + meta: { title: '已办案卷', icon: '', permission: '/completed' } + } + ] + }, + { + path: '/searchAll', + component: Layout, + name: 'SearchAll', + meta: { + title: '综合查询', + permission: ['/seo'] + }, + children: [ + { + path: '/seo', + component: () => import('@/views/seo/seo'), + name: 'Seo', + meta: { title: '综合查询', icon: '', permission: '/case/queryListPage' } + } + ] + }, + { + path: '/supervise', + component: Layout, + name: 'Supervise', + meta: { + title: '案卷督办', + permission: ['/supervise'] + }, + children: [ + { + path: '/overtimeList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'OvertimeList', + meta: { title: '超时未办', icon: '', permission: '/case/isOvertimeListPage' } + }, + { + path: '/criticalList', + component: () => import('@/views/coorBusiness/work/index'), + name: 'CriticalList', + meta: { title: '紧急案卷', icon: '', permission: '/case/isCriticalListPage' } + } + ] + } +] diff --git a/src/router/modules/system.js b/src/router/modules/system.js new file mode 100644 index 0000000..613f099 --- /dev/null +++ b/src/router/modules/system.js @@ -0,0 +1,52 @@ +/* Layout */ +import Layout from '../../views/layout/Layout' +export const systemRouters = { + path: 'system', + component: Layout, + redirect: '/resource', + name: 'System', + alwaysShow: true, + meta: { + title: '系统管理', + icon: 'icon-config', // 图标 + permission: ['/system']// 权限名称 + }, + children: [ + { + path: '/resource', + name: 'Resource', + component: () => import('@/views/system/resource/listResource'), + meta: { title: '资源管理', icon: 'function', permission: ['/resource'] } + }, + { + path: '/dept', + name: 'Dept', + component: () => import('@/views/system/dept/listDept'), + meta: { title: '组织管理', icon: 'tree', permission: ['/dept'] } + }, + { + path: '/role', + component: () => import('@/views/system/role/listRole'), // Parent router-view + name: 'Role', + meta: { title: '角色管理', permission: ['/role'] } + }, + { + path: '/user', + component: () => import('@/views/system/user/listUser'), // Parent router-view + name: 'User', + meta: { title: '用户管理', permission: ['/mgr'] } + }, + { + path: '/log', + component: () => import('@/views/system/log/listLog'), // Parent router-view + name: 'Log', + meta: { title: '日志管理', permission: ['/log'] } + }, + { + path: '/loginLog', + component: () => import('@/views/system/log/loginLog'), // Parent router-view + name: 'LoginLog', + meta: { title: '登录日志', permission: ['/loginLog'] } + } + ] +} diff --git a/src/views/busAdmin/CaseQuery/caseList.vue b/src/views/busAdmin/CaseQuery/caseList.vue new file mode 100644 index 0000000..8975fe8 --- /dev/null +++ b/src/views/busAdmin/CaseQuery/caseList.vue @@ -0,0 +1,16 @@ + + + 案卷综合查询-列表 + + + + diff --git a/src/views/busAdmin/DictAdmin/dictList.vue b/src/views/busAdmin/DictAdmin/dictList.vue new file mode 100644 index 0000000..e951d4a --- /dev/null +++ b/src/views/busAdmin/DictAdmin/dictList.vue @@ -0,0 +1,16 @@ + + + 字典管理-列表 + + + + diff --git a/src/views/busAdmin/TimeLimit/detailTimeLimit.vue b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue new file mode 100644 index 0000000..08edce0 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/detailTimeLimit.vue @@ -0,0 +1,46 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/editTimeLimit.vue b/src/views/busAdmin/TimeLimit/editTimeLimit.vue new file mode 100644 index 0000000..37046da --- /dev/null +++ b/src/views/busAdmin/TimeLimit/editTimeLimit.vue @@ -0,0 +1,163 @@ + + + + + + + + + + + 分钟 + + + + + + + + + + diff --git a/src/views/busAdmin/TimeLimit/listTimeLimit.vue b/src/views/busAdmin/TimeLimit/listTimeLimit.vue new file mode 100644 index 0000000..27fdb68 --- /dev/null +++ b/src/views/busAdmin/TimeLimit/listTimeLimit.vue @@ -0,0 +1,182 @@ + + + + + 数据列表 + + 删除 + 添加 + + + + + + + + + + + 编辑 + + + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/areaAdmin/areaAdminList.vue b/src/views/busAdmin/areaAdmin/areaAdminList.vue new file mode 100644 index 0000000..8559788 --- /dev/null +++ b/src/views/busAdmin/areaAdmin/areaAdminList.vue @@ -0,0 +1,16 @@ + + + 区域管理-列表 + + + + diff --git a/src/views/busAdmin/caseType/detailCaseType.vue b/src/views/busAdmin/caseType/detailCaseType.vue new file mode 100644 index 0000000..ac8cbb3 --- /dev/null +++ b/src/views/busAdmin/caseType/detailCaseType.vue @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.day }}天{{ scope.row.hours }}小时{{ scope.row.minutes }}分钟 + + + + + + + + + + + + + + diff --git a/src/views/busAdmin/caseType/editCaseType.vue b/src/views/busAdmin/caseType/editCaseType.vue new file mode 100644 index 0000000..2755916 --- /dev/null +++ b/src/views/busAdmin/caseType/editCaseType.vue @@ -0,0 +1,412 @@ + + + + + + + + + + + + + + + + + + + + + 添加立案标准 + + + + + + + + + + {{ scope.row.name }} + + + + + + + + {{ scope.row.description }} + + + + + + 天 + 小时 + 分钟 + + {{ scope.row.day }}天{{ scope.row.hours }}小时{{ scope.row.minutes }}分钟 + + + + + + changeDept(v,scope.row)"/> + + {{ scope.row.deptName }} + + + + + 保存 + 编辑 + 删除 + + + + + + + + + + + + + diff --git a/src/views/busAdmin/caseType/listCaseType.vue b/src/views/busAdmin/caseType/listCaseType.vue new file mode 100644 index 0000000..fa20f25 --- /dev/null +++ b/src/views/busAdmin/caseType/listCaseType.vue @@ -0,0 +1,368 @@ + + + + + + + + 事部件管理 + + + + + + + + + 数据列表 + + 删除 + 添加 + + + + + + + + + + + 搜索 + + + + 条件过滤 + + + + + + + + + + + + {{ caseTypeMap[scope.row.typeId] }} + + + + + 编辑 + + + + + + + + + + + + + + + + + +