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 0000000..f499c7c Binary files /dev/null and b/src/static/images/icon/index/tab_13.png differ 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: {