diff --git a/src/locales/lang/zh-CN/menu.js b/src/locales/lang/zh-CN/menu.js index 045e4fe..d495b43 100644 --- a/src/locales/lang/zh-CN/menu.js +++ b/src/locales/lang/zh-CN/menu.js @@ -61,5 +61,7 @@ export default { assessor:'评估员列表', baseSet:'基础配置', serverProjectManage:'服务项目管理', - serviceStaffyuying:'服务人员' + serviceStaffyuying:'服务人员', + workorderYunying:'工单管理', + waitWorkOrder:'待派单' } diff --git a/src/router/routes/index.js b/src/router/routes/index.js index 6bf0a03..e0cc627 100644 --- a/src/router/routes/index.js +++ b/src/router/routes/index.js @@ -18,6 +18,7 @@ import serviceStaff from './serviceStaff' import serverSet from './serverSet' import yunYingServerObj from './yunyingServerObj' import serviceStaffYunYing from './serviceStaffYunYing' +import workorderYunying from './workorderYunying' export default [ ...home, // ...form, @@ -38,5 +39,6 @@ export default [ ...serviceStaff, ...serverSet, ...yunYingServerObj, - ...serviceStaffYunYing + ...serviceStaffYunYing, + ...workorderYunying ] diff --git a/src/router/routes/workorderYunying.js b/src/router/routes/workorderYunying.js new file mode 100644 index 0000000..913d77d --- /dev/null +++ b/src/router/routes/workorderYunying.js @@ -0,0 +1,95 @@ +import { ProfileOutlined } from '@ant-design/icons-vue' + +export default [ + { + path: 'workorderYunying', + name: 'workorderYunying', + component: 'RouteViewLayout', + meta: { + icon: ProfileOutlined, + title: '工单管理', + isMenu: true, + keepAlive: true, + permission: '*', + }, + children: [ + { + path: 'mineWorderOrder/index.vue', + name: 'mineWorderOrder', + component: 'workorderYunying/mineWorderOrder/index.vue', + meta: { + title: '我的工单', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'invalidWzorkOrder/index.vue', + name: 'invalidWzorkOrder', + component: 'workorderYunying/invalidWzorkOrder/index.vue', + meta: { + title: '无效工单', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'abnormalWorkOrder/index.vue', + name: 'abnormalWorkOrder', + component: 'workorderYunying/abnormalWorkOrder/index.vue', + meta: { + title: '异常工单', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'serviceWorkOrder/index.vue', + name: 'serviceWorkOrder', + component: 'workorderYunying/serviceWorkOrder/index.vue', + meta: { + title: '服务工单', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'visitWorkOrder/index.vue', + name: 'visitWorkOrder', + component: 'workorderYunying/visitWorkOrder/index.vue', + meta: { + title: '工单回访', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'visitHistory/index.vue', + name: 'visitHistory', + component: 'workorderYunying/visitHistory/index.vue', + meta: { + title: '回访记录', + isMenu: true, + keepAlive: true, + permission: '*', + }, + }, + { + path: 'waitWorkOrder/index.vue', + name: 'waitWorkOrder', + component: 'workorderMenu/waitWorkOrder/index.vue', + meta: { + title: '待派单', + isMenu: true, + keepAlive: true, + permission: '*', + }, + } + ], + }, +] diff --git a/src/views/serviceMenu/serviceOrganization/index.vue b/src/views/serviceMenu/serviceOrganization/index.vue index 950023b..9be0990 100644 --- a/src/views/serviceMenu/serviceOrganization/index.vue +++ b/src/views/serviceMenu/serviceOrganization/index.vue @@ -5,7 +5,7 @@ - + @@ -17,13 +17,13 @@ - + - + {{ item.introduction }} @@ -34,7 +34,7 @@ - + {{ item.introduction }} diff --git a/src/views/serviceMenu/serviceSites/index.vue b/src/views/serviceMenu/serviceSites/index.vue index 378a204..a5c144e 100644 --- a/src/views/serviceMenu/serviceSites/index.vue +++ b/src/views/serviceMenu/serviceSites/index.vue @@ -28,7 +28,7 @@ - + diff --git a/src/views/workorderMenu/abnormalWorkOrder/index.vue b/src/views/workorderMenu/abnormalWorkOrder/index.vue index 24b6b24..a922ca6 100644 --- a/src/views/workorderMenu/abnormalWorkOrder/index.vue +++ b/src/views/workorderMenu/abnormalWorkOrder/index.vue @@ -17,13 +17,13 @@ - + - + @@ -231,6 +231,8 @@ async function getMenuList() { const { pageSize, current } = paginationState const { success, data, total } = await apis.workOrder.getAbnormalWorkOrderList({ + stationId:storage.local.getItem('stationId'), + companyId:storage.local.getItem('companyId'), pageSize, current: current, ...searchFormData.value, diff --git a/src/views/workorderMenu/invalidWzorkOrder/index.vue b/src/views/workorderMenu/invalidWzorkOrder/index.vue index 26af5d3..469ec77 100644 --- a/src/views/workorderMenu/invalidWzorkOrder/index.vue +++ b/src/views/workorderMenu/invalidWzorkOrder/index.vue @@ -172,6 +172,8 @@ async function getMenuList() { showLoading() const { pageSize, current } = paginationState const params = { + stationId:storage.local.getItem('stationId'), + companyId:storage.local.getItem('companyId'), pageSize, current, ...searchFormData.value diff --git a/src/views/workorderMenu/mineWorderOrder/index.vue b/src/views/workorderMenu/mineWorderOrder/index.vue index 5ffea66..4d7cbcb 100644 --- a/src/views/workorderMenu/mineWorderOrder/index.vue +++ b/src/views/workorderMenu/mineWorderOrder/index.vue @@ -4,8 +4,8 @@ - - + + @@ -16,14 +16,14 @@ - + - + diff --git a/src/views/workorderMenu/visitHistory/index.vue b/src/views/workorderMenu/visitHistory/index.vue index ffbae6e..72f32ab 100644 --- a/src/views/workorderMenu/visitHistory/index.vue +++ b/src/views/workorderMenu/visitHistory/index.vue @@ -6,7 +6,7 @@ - + diff --git a/src/views/workorderMenu/waitWorkOrder/components/DispatchDrawer.vue b/src/views/workorderMenu/waitWorkOrder/components/DispatchDrawer.vue new file mode 100644 index 0000000..cec4d47 --- /dev/null +++ b/src/views/workorderMenu/waitWorkOrder/components/DispatchDrawer.vue @@ -0,0 +1,254 @@ + + + + + + \ No newline at end of file diff --git a/src/views/workorderMenu/waitWorkOrder/index.vue b/src/views/workorderMenu/waitWorkOrder/index.vue new file mode 100644 index 0000000..c366652 --- /dev/null +++ b/src/views/workorderMenu/waitWorkOrder/index.vue @@ -0,0 +1,360 @@ + + + + + + + +