From b7b8b5e9f55515d0a753756064dc40865d7f8de3 Mon Sep 17 00:00:00 2001 From: caill <815519168@qq.com> Date: Mon, 17 Jul 2023 17:00:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E6=B4=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/getData1.js | 3 +- src/config/getData2.js | 20 +++---- src/pages/modules/clean/cleaning-loading.vue | 6 +-- src/pages/modules/clean/index.vue | 57 +++++++++++++++++--- 4 files changed, 63 insertions(+), 23 deletions(-) diff --git a/src/config/getData1.js b/src/config/getData1.js index 79f77ab..d7d006d 100644 --- a/src/config/getData1.js +++ b/src/config/getData1.js @@ -43,8 +43,7 @@ export const authority = () => { name: '清洗管理', sonTree: [ {menu_id: '1', name: '清洗上料', path: '/cleaningloading'}, - {menu_id: '2', name: '清洗下料', path: '/cleaningcutting'}, - {menu_id: '3', name: '人工倒料', path: '/manpour'} + {menu_id: '2', name: '人工倒料', path: '/manpour'} ] }, {menu_id: '6', diff --git a/src/config/getData2.js b/src/config/getData2.js index fc97036..992caad 100644 --- a/src/config/getData2.js +++ b/src/config/getData2.js @@ -321,16 +321,16 @@ export const washSubmitWash = (arr) => post('api/pda/wash/submitWash', arr) * 清洗下料 */ // 1.1查询列表 -// export const washWashTasks = (area) => post('api/pda/wash/washTasks', { -// product_area: area -// }) -export const washWashTasks = (area) => { - let res = { - code: 200, - content: [{task_id: '1', sep_on: '1'}, {task_id: '2', sep_on: '2'}] - } - return res -} +export const washWashTasks = (area) => post('api/pda/wash/washTasks', { + product_area: area +}) +// export const washWashTasks = (area) => { +// let res = { +// code: 200, +// content: [{task_id: '1', sep_on: '1'}, {task_id: '2', sep_on: '2'}] +// } +// return res +// } // 1.2获取信息 export const washWashVechileInfo = (area) => post('api/pda/wash/washVechileInfo', { product_area: area diff --git a/src/pages/modules/clean/cleaning-loading.vue b/src/pages/modules/clean/cleaning-loading.vue index 7c5133e..74bb3f3 100644 --- a/src/pages/modules/clean/cleaning-loading.vue +++ b/src/pages/modules/clean/cleaning-loading.vue @@ -56,8 +56,8 @@