From c49cb24590906bde59fda79cfdbe8ca8bc2d5498 Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Fri, 29 Mar 2024 11:24:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E5=A4=87=E5=93=81=E5=A4=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dept.js | 11 + src/api/device.js | 38 + src/api/dict.js | 20 + src/api/location.js | 5 + src/api/mold.js | 21 + src/api/overhaulOrder.js | 35 + src/api/repairOrder.js | 47 ++ src/api/request2.js | 2 +- src/api/spareParts.js | 17 + src/api/sparePartsApplication.js | 18 + src/api/sparePartsApplicationApprove.js | 14 + src/api/sparePartsServiceWorkOrderList.js | 10 + src/api/spotCheckOrder.js | 19 + src/api/upkeepOrder.js | 40 + src/api/user.js | 5 + src/pages.json | 211 ++++- src/pages/device/index.vue | 219 +++++ src/pages/deviceReport/addForm.vue | 481 +++++++++++ src/pages/deviceReport/index.vue | 229 +++++ src/pages/deviceReport/myDeviceReport.vue | 237 ++++++ src/pages/index/index.vue | 1 + src/pages/mold/index.vue | 163 ++++ src/pages/overhaulOrder/addForm.vue | 461 ++++++++++ src/pages/overhaulOrder/addServiceRecord.vue | 666 +++++++++++++++ src/pages/overhaulOrder/detail.vue | 460 ++++++++++ src/pages/overhaulOrder/index.vue | 234 ++++++ src/pages/overhaulOrder/reqairOrderList.vue | 260 ++++++ src/pages/repairOrder/addForm.vue | 493 +++++++++++ src/pages/repairOrder/addServiceRecord.vue | 503 +++++++++++ src/pages/repairOrder/detail.vue | 792 ++++++++++++++++++ src/pages/repairOrder/index.vue | 236 ++++++ src/pages/repairOrder/myOrder.vue | 230 +++++ src/pages/repairOrder/transfer.vue | 589 +++++++++++++ src/pages/setter/index.vue | 24 +- src/pages/spareParts/index.vue | 226 +++++ src/pages/sparePartsApplication/addForm.vue | 495 +++++++++++ src/pages/sparePartsApplication/detail.vue | 307 +++++++ src/pages/sparePartsApplication/index.vue | 183 ++++ .../mySparePartsApplication.vue | 170 ++++ .../sparePartsApplicationApprove/index.vue | 199 +++++ .../mySparePartsApplicationApprove.vue | 170 ++++ .../addForm.vue | 494 +++++++++++ .../mySparePartsService.vue | 176 ++++ src/pages/spotCheckOrder/addForm.vue | 358 ++++++++ src/pages/spotCheckOrder/myOrder.vue | 217 +++++ src/pages/upkeepOrder/addServiceRecord.vue | 648 ++++++++++++++ src/pages/upkeepOrder/detail.vue | 484 +++++++++++ src/pages/upkeepOrder/index.vue | 225 +++++ src/pages/upkeepOrder/myOrder.vue | 229 +++++ 49 files changed, 11357 insertions(+), 15 deletions(-) create mode 100644 src/api/dept.js create mode 100644 src/api/device.js create mode 100644 src/api/dict.js create mode 100644 src/api/location.js create mode 100644 src/api/mold.js create mode 100644 src/api/overhaulOrder.js create mode 100644 src/api/repairOrder.js create mode 100644 src/api/spareParts.js create mode 100644 src/api/sparePartsApplication.js create mode 100644 src/api/sparePartsApplicationApprove.js create mode 100644 src/api/sparePartsServiceWorkOrderList.js create mode 100644 src/api/spotCheckOrder.js create mode 100644 src/api/upkeepOrder.js create mode 100644 src/api/user.js create mode 100644 src/pages/device/index.vue create mode 100644 src/pages/deviceReport/addForm.vue create mode 100644 src/pages/deviceReport/index.vue create mode 100644 src/pages/deviceReport/myDeviceReport.vue create mode 100644 src/pages/mold/index.vue create mode 100644 src/pages/overhaulOrder/addForm.vue create mode 100644 src/pages/overhaulOrder/addServiceRecord.vue create mode 100644 src/pages/overhaulOrder/detail.vue create mode 100644 src/pages/overhaulOrder/index.vue create mode 100644 src/pages/overhaulOrder/reqairOrderList.vue create mode 100644 src/pages/repairOrder/addForm.vue create mode 100644 src/pages/repairOrder/addServiceRecord.vue create mode 100644 src/pages/repairOrder/detail.vue create mode 100644 src/pages/repairOrder/index.vue create mode 100644 src/pages/repairOrder/myOrder.vue create mode 100644 src/pages/repairOrder/transfer.vue create mode 100644 src/pages/spareParts/index.vue create mode 100644 src/pages/sparePartsApplication/addForm.vue create mode 100644 src/pages/sparePartsApplication/detail.vue create mode 100644 src/pages/sparePartsApplication/index.vue create mode 100644 src/pages/sparePartsApplication/mySparePartsApplication.vue create mode 100644 src/pages/sparePartsApplicationApprove/index.vue create mode 100644 src/pages/sparePartsApplicationApprove/mySparePartsApplicationApprove.vue create mode 100644 src/pages/sparePartsServiceWorkOrderList/addForm.vue create mode 100644 src/pages/sparePartsServiceWorkOrderList/mySparePartsService.vue create mode 100644 src/pages/spotCheckOrder/addForm.vue create mode 100644 src/pages/spotCheckOrder/myOrder.vue create mode 100644 src/pages/upkeepOrder/addServiceRecord.vue create mode 100644 src/pages/upkeepOrder/detail.vue create mode 100644 src/pages/upkeepOrder/index.vue create mode 100644 src/pages/upkeepOrder/myOrder.vue diff --git a/src/api/dept.js b/src/api/dept.js new file mode 100644 index 0000000..f74bfa3 --- /dev/null +++ b/src/api/dept.js @@ -0,0 +1,11 @@ +import http from './http' + +// 获取人员列表 +export function getSelecUser(params) { + return http.get('/system/dept/selecUserByType',{params}) +} + +// 获取厂区列表 +export function getFactoryAreaList(params) { + return http.get('/system/dept/selectAllFactoryArea',{params}) +} diff --git a/src/api/device.js b/src/api/device.js new file mode 100644 index 0000000..04e0a76 --- /dev/null +++ b/src/api/device.js @@ -0,0 +1,38 @@ +import http from './http' + +// 根据设备号查询信息 +export function getDeviceDetailsByNumber(params) { + return http.get('/eam/device-accounts/getDetailsByNumber',{params}) +} +// 根据厂区查询设备 +export function getDeviceByFactoryAreaNumber(factoryAreaNumber) { + return http.get('/eam/device-accounts/selectData?factoryAreaNumber='+factoryAreaNumber) +} +// 添加报修 +export function deviceRepairCreate(data) { + return http.post('/eam/device-repair-request/create',data) +} +// 报修列表 +export function deviceRepairPage(params) { + return http.get('/eam/device-repair-request/getAppPage',{params}) +} +// 撤销 +export function rejected(id) { + return http.delete('/eam/device-repair-request/rejected?id='+id) +} +// 设备列表 +export function deviceList(params) { + return http.get('/eam/device-accounts/selectData',{params}) +} +// 设备分页列表 +export function devicePage(params) { + return http.get('/eam/device-accounts/getAppPage',{params}) +} +// 根据设备号码获取二级列表 +export function getSubList(params) { + return http.get('/eam/device-mold-items/getListByNumber',{params}) +} +// 新增申领备件时获取备件列表 +export function getApplyDeviceList() { + return http.get('/eam/device-accounts/selectAll') +} \ No newline at end of file diff --git a/src/api/dict.js b/src/api/dict.js new file mode 100644 index 0000000..f74e1de --- /dev/null +++ b/src/api/dict.js @@ -0,0 +1,20 @@ +import http from './http' + +// 获取字典 +export function getDictList(type) { + return http.get('/eam/device-maintenance-job-main/getDictList?type=' + type) +} +export async function getDict(type) { + let data =[] + await getDictList(type).then((res) => { + if (res.code == 0) { + data = res.data.map(item=>{ + return { + label:item.label, + value:item.code, + } + }) + } else {} + }).catch((err) => {}) + return data +} \ No newline at end of file diff --git a/src/api/location.js b/src/api/location.js new file mode 100644 index 0000000..5a256f5 --- /dev/null +++ b/src/api/location.js @@ -0,0 +1,5 @@ +import http from './http' +// 获取库位 +export function getLocation(number) { + return http.get('/eam/location/scanCodeByNumber?number='+number) +} \ No newline at end of file diff --git a/src/api/mold.js b/src/api/mold.js new file mode 100644 index 0000000..8190163 --- /dev/null +++ b/src/api/mold.js @@ -0,0 +1,21 @@ +import http from './http' +// 根据模具号查询信息 +export function getMoldDetailsByNumber(params) { + return http.get('/eam/mold-accounts/getDetailsByNumber',{params}) +} +// 根据厂区查询模具 +export function getMoldByFactoryAreaNumber(factoryAreaNumber) { + return http.get('/eam/mold-accounts/selectData?factoryAreaNumber='+factoryAreaNumber) +} +// 模具分页列表 +export function moldPage(params) { + return http.get('/eam/mold-accounts/getAppPage',{params}) +} +// 模具列表 +export function moldList(params) { + return http.get('/eam/mold-accounts/selectData',{params}) +} +// 新增申领备件时获取模具列表 +export function getApplyMoldList() { + return http.get('/eam/item-accounts/selectAll') +} \ No newline at end of file diff --git a/src/api/overhaulOrder.js b/src/api/overhaulOrder.js new file mode 100644 index 0000000..c066caa --- /dev/null +++ b/src/api/overhaulOrder.js @@ -0,0 +1,35 @@ +import http from './http' + + +// 添加工单 +export function overhaulOrderCreate(data) { + return http.post('/eam/device-inspection-job-main/create',data) +} +// 编辑工单 +export function overhaulOrderUpdate(data) { + return http.put('/eam/device-inspection-job-main/updat',data) +} +// 报修列表 +export function overhaulOrderPage(params) { + return http.get('/eam/device-inspection-job-main/getAppPage',{params}) +} +// 操作工单 +export function orderClick(params) { + return http.get('/eam/device-inspection-job-main/onClick',{params}) +} +// 添加维修工单子项维修内容 +export function overhaulOrderDetailCreate(data) { + return http.post('/eam/device-inspection-job-detail/create',data) +} +// 编辑维修工单子项维修内容 +export function overhaulOrderDetailUpdate(data) { + return http.put('/eam/device-inspection-job-detail/update',data) +} +// 获得维修工单子列表 +export function overhaulOrderDetailList(params) { + return http.get('/eam/device-inspection-job-detail/selectListByNumber',{params}) +} +// 删除维修工单子 +export function overhaulOrderDetailDelete(id) { + return http.delete('/eam/device-inspection-job-detail/delete?id='+id) +} diff --git a/src/api/repairOrder.js b/src/api/repairOrder.js new file mode 100644 index 0000000..5ec3d43 --- /dev/null +++ b/src/api/repairOrder.js @@ -0,0 +1,47 @@ +import http from './http' + + +// 添加工单 +export function repairOrderCreate(data) { + return http.post('/eam/device-maintenance-job-main/create',data) +} +// 编辑工单 +export function repairOrderUpdate(data) { + return http.put('/eam/device-maintenance-job-main/update',data) +} +// 工单列表 +export function repairOrderPage(params) { + return http.get('/eam/device-maintenance-job-main/getAppPage',{params}) +} +// 操作工单 +export function orderClick(params) { + return http.get('/eam/device-maintenance-job-main/orderClick',{params}) +} +// 添加维修工单子项维修内容 +export function repairOrderDetailCreate(data) { + return http.post('/eam/device-maintenance-job-detail/create',data) +} +// 编辑维修工单子项维修内容 +export function repairOrderDetailUpdate(data) { + return http.put('/eam/device-maintenance-job-detail/update',data) +} +// 获得维修工单子列表 +export function repairOrderDetailList(params) { + return http.get('/eam/device-maintenance-job-detail/selectListByNumber',{params}) +} +// 删除维修工单子 +export function repairOrderDetailDelete(id) { + return http.delete( '/eam/device-maintenance-job-detail/delete?id='+id) +} +//转办 +export function transfer(params) { + return http.get('/eam/device-maintenance-job-main/turnTo',{params}) +} +// 获取采取临时措施的维修工单 +export function repairOrderList(params) { + return http.get('/eam/device-maintenance-job-main/getList',{params}) +} +// 获取维修工单的报修信息 +export function getDeviceRepairDetailsByNumber(params) { + return http.get('/eam/device-repair-request/getDetailsByNumber',{params}) +} \ No newline at end of file diff --git a/src/api/request2.js b/src/api/request2.js index aaf6fb8..1f1f1ad 100644 --- a/src/api/request2.js +++ b/src/api/request2.js @@ -690,7 +690,7 @@ export function putawayJobSubmit(params) { * @param {*} */ export function getPutawayRequestList(params) { - return http.post("/wms/putaway-request-main/senior" + params) + return http.post("/wms/putaway-request-main/senior" , params) } /** * 采购上架申请 获取任务明细 diff --git a/src/api/spareParts.js b/src/api/spareParts.js new file mode 100644 index 0000000..66f8cc2 --- /dev/null +++ b/src/api/spareParts.js @@ -0,0 +1,17 @@ +import http from './http' +// 获取tabs备件列表 +export function getSparePartsPage(params) { + return http.get('/eam/item/getAppPage',{params}) +} +// 获取备件列表 +export function getSparePartsList(params) { + return http.get('/eam/item/getListByNumber',{params}) +} +// 新增申领备件时获取备件列表 +export function getApplySparePartsList() { + return http.get('/eam/item/getApplyList') +} +// 新增备件维修获取备件列表 +export function getServiceSparePartsList() { + return http.get('/eam/item/getItemMaintainList') +} \ No newline at end of file diff --git a/src/api/sparePartsApplication.js b/src/api/sparePartsApplication.js new file mode 100644 index 0000000..f654b49 --- /dev/null +++ b/src/api/sparePartsApplication.js @@ -0,0 +1,18 @@ +import http from './http' + +// 备件领用列表 +export function sparePartsApplicationPage(params) { + return http.get('/eam/item-apply-request-main/getAppPage',{params}) +} +// 领用备件 +export function sparePartsApplicationCreate(data) { + return http.post('/eam/item-apply-request-main/create',data) +} +// 撤回领用备件 +export function sparePartsApplicationCancle(id) { + return http.get('/eam/item-apply-request-main/backout?id=' + id) +} +// 领用备件详情 +export function sparePartsApplicationDetail(number) { + return http.get('/eam/item-apply-request-main/appGetByNumber?number=' + number) +} \ No newline at end of file diff --git a/src/api/sparePartsApplicationApprove.js b/src/api/sparePartsApplicationApprove.js new file mode 100644 index 0000000..e4def43 --- /dev/null +++ b/src/api/sparePartsApplicationApprove.js @@ -0,0 +1,14 @@ +import http from './http' + +// 备件领用审批列表 +export function sparePartsApplicationApprovePage(params) { + return http.get('/eam/item-apply-request-main/getAppApprovePage',{params}) +} +// 通过申请 +export function sparePartsApplicationAgree(id) { + return http.get('/eam/item-apply-request-main/agree?id='+id) +} +// 驳回申请 +export function sparePartsApplicationReject(id) { + return http.get('/eam/item-apply-request-main/disAgree?id='+id) +} \ No newline at end of file diff --git a/src/api/sparePartsServiceWorkOrderList.js b/src/api/sparePartsServiceWorkOrderList.js new file mode 100644 index 0000000..a89936f --- /dev/null +++ b/src/api/sparePartsServiceWorkOrderList.js @@ -0,0 +1,10 @@ +import http from './http' + +// 领用备件 +export function sparePartsServiceWorkOrderListCreate(data) { + return http.post('/eam/item-maintenance-record/create',data) +} +// 备件维修列表 +export function sparePartsServiceWorkOrderListPage(params) { + return http.get('/eam/item-maintenance-record/getAppPage',{params}) +} \ No newline at end of file diff --git a/src/api/spotCheckOrder.js b/src/api/spotCheckOrder.js new file mode 100644 index 0000000..11f44eb --- /dev/null +++ b/src/api/spotCheckOrder.js @@ -0,0 +1,19 @@ +import http from './http' + +// 添加工单 +export function spotCheckOrderCreate(data) { + return http.post('/eam/device-spot-inspection-record-main/create',data) +} +// 编辑工单 +export function spotCheckOrderUpdate(data) { + return http.put('/eam/device-spot-inspection-record-main/update',data) +} +// 工单列表 +export function spotCheckOrderPage(params) { + return http.get('/eam/device-spot-inspection-record-main/getAppPage',{params}) +} + +// 操作工单 +export function orderClick(params) { + return http.get('/eam/device-spot-inspection-record-main/onClick',{params}) +} diff --git a/src/api/upkeepOrder.js b/src/api/upkeepOrder.js new file mode 100644 index 0000000..923ba55 --- /dev/null +++ b/src/api/upkeepOrder.js @@ -0,0 +1,40 @@ +import http from './http' + + +// 添加工单 +export function upkeepOrderCreate(data) { + return http.post('/eam/device-maintain-job-main/create',data) +} +// 编辑工单 +export function upkeepOrderUpdate(data) { + return http.put('/eam/device-maintain-job-main/update',data) +} +// 工单列表 +export function upkeepOrderPage(params) { + return http.get('/eam/device-maintain-job-main/getAppPage',{params}) +} +// 接单 +export function orderClick(params) { + return http.get('/eam/device-maintain-job-main/orderClick',{params}) +} + +// 完成保养工单 +export function orderClickFinish(params) { + return http.get('/eam/device-maintain-job-main/orderClickFinish',{params}) +} +// 添加维修工单子项维修内容 +export function upkeepOrderDetailCreate(data) { + return http.post('/eam/device-maintain-job-detail/create',data) +} +// 编辑维修工单子项维修内容 +export function upkeepOrderDetailUpdate(data) { + return http.put('/eam/device-maintain-job-detail/update',data) +} +// 获得维修工单子列表 +export function upkeepOrderDetailList(params) { + return http.get('/eam/device-maintain-job-detail/selectListByNumber',{params}) +} +// 删除维修工单子 +export function upkeepOrderDetailDelete(id) { + return http.delete('/eam/device-maintain-job-detail/delete?id='+id) +} diff --git a/src/api/user.js b/src/api/user.js new file mode 100644 index 0000000..ae2ca87 --- /dev/null +++ b/src/api/user.js @@ -0,0 +1,5 @@ +import http from './http' +// 用户密码重置 +export function updateUserPassword(data) { + return http.put('/eam/device-accounts/getDetailsByNumber',data) +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index 69e834d..89162d1 100644 --- a/src/pages.json +++ b/src/pages.json @@ -1686,7 +1686,216 @@ "navigationBarTitleText": "翻包", "enablePullDownRefresh": false } + }, { + "path": "pages/device/index", + "style": { + "navigationBarTitleText": "设备列表", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + }, { + "path": "pages/mold/index", + "style": { + "navigationBarTitleText": "模具", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + }, { + "path": "pages/spareParts/index", + "style": { + "navigationBarTitleText": "备件", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/deviceReport/index", + "style": { + "navigationBarTitleText": "设备报修", + "navigationStyle": "custom" + } + },{ + "path": "pages/deviceReport/addForm", + "style": { + "navigationBarTitleText": "添加报修", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/deviceReport/myDeviceReport", + "style": { + "navigationBarTitleText": "我的报修", + "navigationStyle": "custom" + } + },{ + "path": "pages/repairOrder/index", + "style": { + "navigationBarTitleText": "维修工单", + "navigationStyle": "custom" + } + },{ + "path": "pages/repairOrder/addForm", + "style": { + "navigationBarTitleText": "添加维修工单", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/repairOrder/detail", + "style": { + "navigationBarTitleText": "维修工单详情", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/repairOrder/myOrder", + "style": { + "navigationBarTitleText": "我的维修工单", + "navigationStyle": "custom" + } + },{ + "path": "pages/repairOrder/addServiceRecord", + "style": { + "navigationBarTitleText": "添加维修内容", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/repairOrder/transfer", + "style": { + "navigationBarTitleText": "转办", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/overhaulOrder/index", + "style": { + "navigationBarTitleText": "检修工单", + "navigationStyle": "custom" + } + },{ + "path": "pages/overhaulOrder/addForm", + "style": { + "navigationBarTitleText": "添加检修工单", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/overhaulOrder/detail", + "style": { + "navigationBarTitleText": "检修工单详情", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/overhaulOrder/addServiceRecord", + "style": { + "navigationBarTitleText": "添加检修内容", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" } + },{ + "path": "pages/overhaulOrder/reqairOrderList", + "style": { + "navigationBarTitleText": "选择维修工单", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/spotCheckOrder/addForm", + "style": { + "navigationBarTitleText": "添加点检工单", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/spotCheckOrder/myOrder", + "style": { + "navigationBarTitleText": "我的点检工单", + "navigationStyle": "custom" + } + },{ + "path": "pages/upkeepOrder/index", + "style": { + "navigationBarTitleText": "保养工单", + "navigationStyle": "custom" + } + },{ + "path": "pages/upkeepOrder/detail", + "style": { + "navigationBarTitleText": "保养工单详情", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/upkeepOrder/addServiceRecord", + "style": { + "navigationBarTitleText": "添加保养内容", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/upkeepOrder/myOrder", + "style": { + "navigationBarTitleText": "我的保养工单", + "navigationStyle": "custom" + } + },{ + "path": "pages/sparePartsApplication/index", + "style": { + "navigationBarTitleText": "领用申请", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/sparePartsApplication/addForm", + "style": { + "navigationBarTitleText": "领用备件", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/sparePartsApplication/detail", + "style": { + "navigationBarTitleText": "详情", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/sparePartsApplication/mySparePartsApplication", + "style": { + "navigationBarTitleText": "我的领用", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/sparePartsServiceWorkOrderList/addForm", + "style": { + "navigationBarTitleText": "添加备件维修工单", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/sparePartsServiceWorkOrderList/mySparePartsService", + "style": { + "navigationBarTitleText": "我的备件维修", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/sparePartsApplicationApprove/index", + "style": { + "navigationBarTitleText": "领用申请审批", + "navigationStyle": "custom", + "navigationBarTextStyle": "white" + } + },{ + "path": "pages/sparePartsApplicationApprove/mySparePartsApplicationApprove", + "style": { + "navigationBarTitleText": "我的领用审批", + "navigationBarBackgroundColor": "#409eff", + "navigationBarTextStyle": "white" + } + } ], @@ -1721,7 +1930,7 @@ "pagePath": "pages/index/index", "iconPath": "./static/bar/home.png", "selectedIconPath": "./static/bar/home_p.png", - "text": "首页" + "text": "菜单" }, { "pagePath": "pages/message/index", diff --git a/src/pages/device/index.vue b/src/pages/device/index.vue new file mode 100644 index 0000000..1e0931d --- /dev/null +++ b/src/pages/device/index.vue @@ -0,0 +1,219 @@ + + + + + \ No newline at end of file diff --git a/src/pages/deviceReport/addForm.vue b/src/pages/deviceReport/addForm.vue new file mode 100644 index 0000000..14e3205 --- /dev/null +++ b/src/pages/deviceReport/addForm.vue @@ -0,0 +1,481 @@ + + + + + \ No newline at end of file diff --git a/src/pages/deviceReport/index.vue b/src/pages/deviceReport/index.vue new file mode 100644 index 0000000..a334171 --- /dev/null +++ b/src/pages/deviceReport/index.vue @@ -0,0 +1,229 @@ + + + + + \ No newline at end of file diff --git a/src/pages/deviceReport/myDeviceReport.vue b/src/pages/deviceReport/myDeviceReport.vue new file mode 100644 index 0000000..6a93083 --- /dev/null +++ b/src/pages/deviceReport/myDeviceReport.vue @@ -0,0 +1,237 @@ + + + + + \ No newline at end of file diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index d4de446..cde5df9 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -91,6 +91,7 @@ import { useCountStore } from '@/store' uni.hideLoading() if (res.menus.length > 0) { var menus = res.menus.filter(item => item.name == "PDA菜单管理") + console.log(11,menus) if (menus.length > 0) { var tab = menus[0].children.filter(res => res.visible == true) tab.forEach(res => { diff --git a/src/pages/mold/index.vue b/src/pages/mold/index.vue new file mode 100644 index 0000000..d04e644 --- /dev/null +++ b/src/pages/mold/index.vue @@ -0,0 +1,163 @@ + + + + + \ No newline at end of file diff --git a/src/pages/overhaulOrder/addForm.vue b/src/pages/overhaulOrder/addForm.vue new file mode 100644 index 0000000..134413e --- /dev/null +++ b/src/pages/overhaulOrder/addForm.vue @@ -0,0 +1,461 @@ + + + + + \ No newline at end of file diff --git a/src/pages/overhaulOrder/addServiceRecord.vue b/src/pages/overhaulOrder/addServiceRecord.vue new file mode 100644 index 0000000..70122b7 --- /dev/null +++ b/src/pages/overhaulOrder/addServiceRecord.vue @@ -0,0 +1,666 @@ + + + + + \ No newline at end of file diff --git a/src/pages/overhaulOrder/detail.vue b/src/pages/overhaulOrder/detail.vue new file mode 100644 index 0000000..0937c1e --- /dev/null +++ b/src/pages/overhaulOrder/detail.vue @@ -0,0 +1,460 @@ + + + + + \ No newline at end of file diff --git a/src/pages/overhaulOrder/index.vue b/src/pages/overhaulOrder/index.vue new file mode 100644 index 0000000..fd6a857 --- /dev/null +++ b/src/pages/overhaulOrder/index.vue @@ -0,0 +1,234 @@ + + + + + \ No newline at end of file diff --git a/src/pages/overhaulOrder/reqairOrderList.vue b/src/pages/overhaulOrder/reqairOrderList.vue new file mode 100644 index 0000000..941c154 --- /dev/null +++ b/src/pages/overhaulOrder/reqairOrderList.vue @@ -0,0 +1,260 @@ + + + + + \ No newline at end of file diff --git a/src/pages/repairOrder/addForm.vue b/src/pages/repairOrder/addForm.vue new file mode 100644 index 0000000..9a48d63 --- /dev/null +++ b/src/pages/repairOrder/addForm.vue @@ -0,0 +1,493 @@ + + + + + \ No newline at end of file diff --git a/src/pages/repairOrder/addServiceRecord.vue b/src/pages/repairOrder/addServiceRecord.vue new file mode 100644 index 0000000..f1c1f0e --- /dev/null +++ b/src/pages/repairOrder/addServiceRecord.vue @@ -0,0 +1,503 @@ + + + + + \ No newline at end of file diff --git a/src/pages/repairOrder/detail.vue b/src/pages/repairOrder/detail.vue new file mode 100644 index 0000000..72b9ac7 --- /dev/null +++ b/src/pages/repairOrder/detail.vue @@ -0,0 +1,792 @@ + + + + + \ No newline at end of file diff --git a/src/pages/repairOrder/index.vue b/src/pages/repairOrder/index.vue new file mode 100644 index 0000000..825b7b8 --- /dev/null +++ b/src/pages/repairOrder/index.vue @@ -0,0 +1,236 @@ + + + + + \ No newline at end of file diff --git a/src/pages/repairOrder/myOrder.vue b/src/pages/repairOrder/myOrder.vue new file mode 100644 index 0000000..9349950 --- /dev/null +++ b/src/pages/repairOrder/myOrder.vue @@ -0,0 +1,230 @@ + + + + + \ No newline at end of file diff --git a/src/pages/repairOrder/transfer.vue b/src/pages/repairOrder/transfer.vue new file mode 100644 index 0000000..0d1232f --- /dev/null +++ b/src/pages/repairOrder/transfer.vue @@ -0,0 +1,589 @@ + + + + + \ No newline at end of file diff --git a/src/pages/setter/index.vue b/src/pages/setter/index.vue index 71458a2..5118e8b 100644 --- a/src/pages/setter/index.vue +++ b/src/pages/setter/index.vue @@ -76,19 +76,17 @@ }) }); -function handleLogout() { - proxy.$modal.confirm('确定注销并退出系统吗?').then(() => { - store.LogOut().then(() => { - // #ifdef H5 - uni.reLaunch({ - url: '../login/index' - }) - // #endif - - // #ifdef APP - plus.runtime.quit() - // #endif - }).catch(() => { }) +function handlerlogout() { + store.LogOut().then(() => { + // #ifdef H5 + uni.reLaunch({ + url: '../login/index' + }) + // #endif + + // #ifdef APP + plus.runtime.quit() + // #endif }).catch(() => { }) } diff --git a/src/pages/spareParts/index.vue b/src/pages/spareParts/index.vue new file mode 100644 index 0000000..3efc401 --- /dev/null +++ b/src/pages/spareParts/index.vue @@ -0,0 +1,226 @@ + + + + + \ No newline at end of file diff --git a/src/pages/sparePartsApplication/addForm.vue b/src/pages/sparePartsApplication/addForm.vue new file mode 100644 index 0000000..b257d78 --- /dev/null +++ b/src/pages/sparePartsApplication/addForm.vue @@ -0,0 +1,495 @@ + + + + + \ No newline at end of file diff --git a/src/pages/sparePartsApplication/detail.vue b/src/pages/sparePartsApplication/detail.vue new file mode 100644 index 0000000..1342460 --- /dev/null +++ b/src/pages/sparePartsApplication/detail.vue @@ -0,0 +1,307 @@ + + + + + \ No newline at end of file diff --git a/src/pages/sparePartsApplication/index.vue b/src/pages/sparePartsApplication/index.vue new file mode 100644 index 0000000..ce5158a --- /dev/null +++ b/src/pages/sparePartsApplication/index.vue @@ -0,0 +1,183 @@ + + + + + \ No newline at end of file diff --git a/src/pages/sparePartsApplication/mySparePartsApplication.vue b/src/pages/sparePartsApplication/mySparePartsApplication.vue new file mode 100644 index 0000000..8be18e5 --- /dev/null +++ b/src/pages/sparePartsApplication/mySparePartsApplication.vue @@ -0,0 +1,170 @@ + + + + + \ No newline at end of file diff --git a/src/pages/sparePartsApplicationApprove/index.vue b/src/pages/sparePartsApplicationApprove/index.vue new file mode 100644 index 0000000..eb9c9e6 --- /dev/null +++ b/src/pages/sparePartsApplicationApprove/index.vue @@ -0,0 +1,199 @@ + + + + + \ No newline at end of file diff --git a/src/pages/sparePartsApplicationApprove/mySparePartsApplicationApprove.vue b/src/pages/sparePartsApplicationApprove/mySparePartsApplicationApprove.vue new file mode 100644 index 0000000..3fa5f10 --- /dev/null +++ b/src/pages/sparePartsApplicationApprove/mySparePartsApplicationApprove.vue @@ -0,0 +1,170 @@ + + + + + \ No newline at end of file diff --git a/src/pages/sparePartsServiceWorkOrderList/addForm.vue b/src/pages/sparePartsServiceWorkOrderList/addForm.vue new file mode 100644 index 0000000..30c3bca --- /dev/null +++ b/src/pages/sparePartsServiceWorkOrderList/addForm.vue @@ -0,0 +1,494 @@ + + + + + \ No newline at end of file diff --git a/src/pages/sparePartsServiceWorkOrderList/mySparePartsService.vue b/src/pages/sparePartsServiceWorkOrderList/mySparePartsService.vue new file mode 100644 index 0000000..9e5a000 --- /dev/null +++ b/src/pages/sparePartsServiceWorkOrderList/mySparePartsService.vue @@ -0,0 +1,176 @@ + + + + + \ No newline at end of file diff --git a/src/pages/spotCheckOrder/addForm.vue b/src/pages/spotCheckOrder/addForm.vue new file mode 100644 index 0000000..05e005a --- /dev/null +++ b/src/pages/spotCheckOrder/addForm.vue @@ -0,0 +1,358 @@ + + + + + \ No newline at end of file diff --git a/src/pages/spotCheckOrder/myOrder.vue b/src/pages/spotCheckOrder/myOrder.vue new file mode 100644 index 0000000..991070f --- /dev/null +++ b/src/pages/spotCheckOrder/myOrder.vue @@ -0,0 +1,217 @@ + + + + + \ No newline at end of file diff --git a/src/pages/upkeepOrder/addServiceRecord.vue b/src/pages/upkeepOrder/addServiceRecord.vue new file mode 100644 index 0000000..8820e54 --- /dev/null +++ b/src/pages/upkeepOrder/addServiceRecord.vue @@ -0,0 +1,648 @@ + + + + + \ No newline at end of file diff --git a/src/pages/upkeepOrder/detail.vue b/src/pages/upkeepOrder/detail.vue new file mode 100644 index 0000000..4a3c766 --- /dev/null +++ b/src/pages/upkeepOrder/detail.vue @@ -0,0 +1,484 @@ + + + + + \ No newline at end of file diff --git a/src/pages/upkeepOrder/index.vue b/src/pages/upkeepOrder/index.vue new file mode 100644 index 0000000..11c5d52 --- /dev/null +++ b/src/pages/upkeepOrder/index.vue @@ -0,0 +1,225 @@ + + + + + \ No newline at end of file diff --git a/src/pages/upkeepOrder/myOrder.vue b/src/pages/upkeepOrder/myOrder.vue new file mode 100644 index 0000000..4dfa7cc --- /dev/null +++ b/src/pages/upkeepOrder/myOrder.vue @@ -0,0 +1,229 @@ + + + + + \ No newline at end of file