From 7336471323fafedbfb1f8b596cef6227cd30f3ac Mon Sep 17 00:00:00 2001 From: "liujw155@outlook.com" Date: Wed, 22 Jan 2025 17:22:49 +0800 Subject: [PATCH] finish tid1807 logic for index --- src/pages/index/index.vue | 51 +++++++++++++++++++++----------- src/static/images/icon/index/tab_13.png | Bin 0 -> 1246 bytes src/store/index.js | 13 ++++---- 3 files changed, 41 insertions(+), 23 deletions(-) create mode 100644 src/static/images/icon/index/tab_13.png diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 6751c16..21e9c93 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -37,7 +37,8 @@ - + + {{e.name}} @@ -54,7 +55,7 @@ - + 核销 @@ -70,6 +71,16 @@ import { mapGetters } from 'vuex'; import bottomLogo from "@/subpackage/menu/components/bottom_logo.vue"; import authorizationLogin from "@/subpackage/authorization/components/login.vue"; + /** + * tid1807 + * 1、去掉"核销查询“菜单(已有悬浮按钮) * + * 2、去掉“收款记录”(在收入统计页面已有入口进入收款记录) * + * 3、去掉“进场人数异常”(该入口计划放入新改版的“核销查询”页面) * + * 4、原“系统工具”文案改为“小程序管理”;原“钱包提现”文案改为“钱包&提现”: 原“设备管理”文案改为“智能设备”; * + * 5、增加底部 (工作台、推广营销、商家服务、我的) * + * 6、增加“工单”功能 + * + * */ const tabList = [ { id: 0, @@ -77,12 +88,12 @@ path: '/pages/turnover/turnover', serverKey: 1001 // 后端对应权限编号 }, - { - id: 1, - name: '收款记录', - path: '/subpackage/income/pages/details_record/details_record', - serverKey: 1002 // 后端对应权限编号 - }, + // { + // id: 1, + // name: '收款记录', + // path: '/subpackage/income/pages/details_record/details_record', + // serverKey: 1002 // 后端对应权限编号 + // }, { id: 2, name: '订单管理', @@ -132,25 +143,31 @@ path: '/pages/order_list/order_list?order_type=18', serverKey: 1014 // 后端对应权限编号 1014 }, - { - id: 10, - name: '进场人数异常', - path: '/subpackage/blacklist/pages/abnormal_list/abnormal_list', - serverKey: 1015 // 后端对应权限编号 1015 - }, + // { + // id: 10, + // name: '进场人数异常', + // path: '/subpackage/blacklist/pages/abnormal_list/abnormal_list', + // serverKey: 1015 // 后端对应权限编号 1015 + // }, { id: 11, - name: '钱包提现', + name: '钱包&提现', path: '/subpackage/wallet/pages/index/index', serverKey: 1017 // 后端对应权限编号 1017 }, {//需求要求更改ICON位置 id: 12, - name: '系统工具', + name: '小程序管理', path: '/subpackage/party/pages/index/index', serverKey: 1016 // 后端对应权限编号 1016 }, + { + id: 13, + name: '工单', + path: '/subpackage/message/pages/work_order/list', + serverKey: 1022 // 后端对应权限编号 1022 + }, ]; const app = getApp(); @@ -211,7 +228,7 @@ }); } - if([ 10, 11, 4 ].includes(tabInfo.id))return util.routeTo(tabInfo.path + `?brand_id=${indexData.brand.id}`,'nT'); + if([ 10, 11, 4, 13 ].includes(tabInfo.id))return util.routeTo(tabInfo.path + `?brand_id=${indexData.brand.id}`,'nT'); if(tabInfo.id === 12){ let url = tabInfo.path + `?appid=${indexData.brand.mini_wechat_appid}` diff --git a/src/static/images/icon/index/tab_13.png b/src/static/images/icon/index/tab_13.png new file mode 100644 index 0000000000000000000000000000000000000000..f499c7c45189451686f46793106f7be32da32d87 GIT binary patch literal 1246 zcmV<41R?v0P)Px(m`OxIRA@u(nO$sCWf;eQ&pF4fj0VW27-EnZZ;Zrnp+;1K(SRXhqA{VUL3H9) z7Q4|pReEhf4?hSV;{N3cqjr*bVZ8_{l68mZG#&x%s{UTVu>}bFiA}!yU%i9;!BV4hJ<9=-s9Y;;A~+c^M|` zDyWFDfq?lI&o-YK3^o*~y}lWdTA*xPhuGDVUqWOH;nt>+fufD`(9{2>*c2fRJ4WW*d+dcraZOu$f zGX^?0?I4^7xr=b?&wiGgbL{B4TR{(_OdIf#PEsWyUVP)XOrU7}ZK&Y_-H|p{IY>?G z!kiNp!mxea0Yn!J0y=^?A;N7xW&-VKoQ;!;0k@}(4L+ti@^~TY%sI!7wIAW|*dY6( z7-op-mhX!|IrpNUhMp>bF6IL<2}%pRiy;VUcpJdRG?!~65$w_iwL*; z>OGJfG1@p4N#2LUB>z>C6k;AD+;YU9IpjY<_PU!8YcWDOBL2Qd zI8Fle2;s;Oxt5+`^7x}HJV0F>w9KYCN)Lrw;lV%y2#f!tR2Bp~uC=nBYb$Xr6$h{_|Ncju+< z=uzSzyZS~#P2}|8FvA~Twyc^$pmZrJPoeq%U|b=00+DW13!#dG$mfW@Pdu@g+O3)M zI;TTs)Got`Psi*j>4QpH(-7U9@diF<4W;iroc*ZThSB@?=tao#OqKLt1WpsSFI_2S z{s+vrn<}t+-PfOovI4tD{SzQ{Bqo1Gtv#goJcGMJp!|V$ubxJaA^FLG9MWc)|?bhjOhZ7Be}2_-Py!%5)#g zBi*^W`fZoLLVi~?#`r~`F?OKu?nQ-s@8U5gC@M6@4)opqA5LyAQ$~8Km;e9(07*qo IM6N<$g7o=S4gdfE literal 0 HcmV?d00001 diff --git a/src/store/index.js b/src/store/index.js index 6c1f777..ebb04ce 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -33,19 +33,20 @@ export default new Vuex.Store({ // }, permissionObj: { // 权限代号对应 '1001': '营业额', - '1002': '收款记录', + // '1002': '收款记录', '1012': '订单管理', '1007': '员工管理', '1008': '核销查询', - '1009': '场地管理', + '1009': '场地看板', '1010': '设备管理', '1011': '商品零售', // '1013': '课程管理', '1014': '储值卡管理', - '1015': '进场人数异常', - '1016': '系统工具', - '1017': '钱包提现', - '1018': '退款权限' + // '1015': '进场人数异常', + '1016': '小程序管理', + '1017': '钱包&提现', + '1018': '退款权限', + '1022': '工单' }, // 场地占用提交页面信息 occupyInfo: {