From e1e8bdf4148d153dd0c73d6044e1ac670a26926f Mon Sep 17 00:00:00 2001 From: xiangxy Date: Mon, 11 Dec 2023 10:42:47 +0800 Subject: [PATCH] menu --- pages.json | 24 ++++++++++++++++-------- pages/modules/clean-matter-info.vue | 19 +++++++++++++++++++ utils/getData2.js | 6 +++--- 3 files changed, 38 insertions(+), 11 deletions(-) create mode 100644 pages/modules/clean-matter-info.vue diff --git a/pages.json b/pages.json index 5fb9348..3d255a4 100644 --- a/pages.json +++ b/pages.json @@ -45,22 +45,30 @@ "navigationStyle": "custom" } } - ,{ - "path" : "pages/modules/unloading-mater", + ,{ + "path" : "pages/modules/unloading-mater", "style" : { "navigationStyle": "custom" } - - } - ,{ - "path" : "pages/modules/call-mater", + + } + ,{ + "path" : "pages/modules/call-mater", "style" : { "navigationStyle": "custom" } - - } + + } + ,{ + "path" : "pages/modules/clean-matter-info", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { // "pageOrientation": "landscape", diff --git a/pages/modules/clean-matter-info.vue b/pages/modules/clean-matter-info.vue new file mode 100644 index 0000000..239d03a --- /dev/null +++ b/pages/modules/clean-matter-info.vue @@ -0,0 +1,19 @@ + + + + + diff --git a/utils/getData2.js b/utils/getData2.js index cd5c808..5002748 100644 --- a/utils/getData2.js +++ b/utils/getData2.js @@ -25,9 +25,9 @@ export const handLogin = (user, password) => request({ export const authority = () => { let res = { sonTree: [ - {menu_id: '1', imgsrc: 'RF01', name: '涂板线下料', path: '/pages/modules/callmanage'}, - {menu_id: '2', imgsrc: 'RF02', name: '清空物料信息', path: '/pages/modules/zlmanage'}, - {menu_id: '3', imgsrc: 'RF03', name: '包片机叫料', path: '/pages/modules/taskmanage'} + {menu_id: '1', imgsrc: 'RF01', name: '涂板线下料', path: '/pages/modules/unloading-mater'}, + {menu_id: '2', imgsrc: 'RF02', name: '清空物料信息', path: '/pages/modules/clean-matter-info'}, + {menu_id: '3', imgsrc: 'RF03', name: '包片机叫料', path: '/pages/modules/call-mater'} ] } return res