From 893e54de6d608d182d2a87924fac1fb0faa73b50 Mon Sep 17 00:00:00 2001 From: Vinjor Date: Thu, 12 Dec 2024 14:08:40 +0800 Subject: [PATCH] 1 --- config.js | 4 +- pages-home/home/home.vue | 30 +- pages-order/orderList/orderList-back.vue | 584 ++++++++++++++++++++++ pages-order/orderList/orderSimpleList.vue | 320 ++++++++++++ pages.json | 6 + 5 files changed, 934 insertions(+), 10 deletions(-) create mode 100644 pages-order/orderList/orderList-back.vue create mode 100644 pages-order/orderList/orderSimpleList.vue diff --git a/config.js b/config.js index 7b3b4c0..e8e6698 100644 --- a/config.js +++ b/config.js @@ -1,9 +1,9 @@ // 应用全局配置 module.exports = { - baseUrl: 'https://www.nuoyunr.com', + // baseUrl: 'https://www.nuoyunr.com', // baseUrl: 'http://124.222.105.7:48080', // baseUrl: 'http://192.168.1.4:48080', - // baseUrl: "http://localhost:48080", + baseUrl: "http://localhost:48080", // baseUrl: "http://rzqhb7.natappfree.cc", imagesUrl: 'http://shequ.0315e.com/static/images/pages/', baseImageUrl: 'https://www.nuoyunr.com/minio/', diff --git a/pages-home/home/home.vue b/pages-home/home/home.vue index 6d75c03..ac1d5b0 100644 --- a/pages-home/home/home.vue +++ b/pages-home/home/home.vue @@ -72,17 +72,17 @@ - + 维修中 {{ bossNum.workingNum }} - + 未结算 {{ bossNum.noPayNum }} - + 在厂数 {{ bossNum.inCompanyNum }} @@ -122,17 +122,17 @@ - + 进厂数 {{ bossNum.newOrderNum }} - + 已竣工 {{ bossNum.overNum }} - + 已交车 {{ bossNum.giveCusNum }} @@ -141,7 +141,7 @@ - 待审批配件申请单{{serviceNum}} + 待审批配件单{{serviceNum}} @@ -311,11 +311,17 @@ export default { //总检查看维修中、已竣工的工单数量 bossNum:{ workingNum:0, + workingIdList:[], inCompanyNum:0, + inCompanyIdList:[], newOrderNum:0, + newOrderIdList:[], overNum:0, + overIdList:[], giveCusNum:0, - noPayNum:0 + giveCusIdList:[], + noPayNum:0, + noPayIdList:0 }, defaultAvatar: require('@/static/icons/avatar.png'), //未读消息数量 @@ -400,6 +406,14 @@ export default { } }, methods: { + viewOrder(idList){ + if(idList.length>0){ + setJSONData("orderIdList",idList) + uni.navigateTo({ + url: '/pages-order/orderList/orderSimpleList' + }) + } + }, /** * 切换客户来源 */ diff --git a/pages-order/orderList/orderList-back.vue b/pages-order/orderList/orderList-back.vue new file mode 100644 index 0000000..3fbb167 --- /dev/null +++ b/pages-order/orderList/orderList-back.vue @@ -0,0 +1,584 @@ + + + + + diff --git a/pages-order/orderList/orderSimpleList.vue b/pages-order/orderList/orderSimpleList.vue new file mode 100644 index 0000000..4f4df61 --- /dev/null +++ b/pages-order/orderList/orderSimpleList.vue @@ -0,0 +1,320 @@ + + + + + diff --git a/pages.json b/pages.json index e700517..c9f6a6e 100644 --- a/pages.json +++ b/pages.json @@ -87,6 +87,12 @@ "navigationBarTitleText": "" } }, + { + "path": "orderList/orderSimpleList", + "style": { + "navigationBarTitleText": "" + } + }, { "path": "orderList/orderListByIn", "style": {