Browse Source

finish tid1807 logic for index

tid1867
刘嘉炜 3 months ago
parent
commit
7336471323
  1. 51
      src/pages/index/index.vue
  2. BIN
      src/static/images/icon/index/tab_13.png
  3. 13
      src/store/index.js

51
src/pages/index/index.vue

@ -37,7 +37,8 @@
</view>
<view class="ic-tabs" v-if="indexData&&indexData.permission">
<block v-for="(e, i) in tabList" :key="i">
<view class="it-item" @click="toPageInfo(e)" v-if="isPermissionShowTab(e)">
<!-- tid1807 去掉"核销查询菜单(已有悬浮按钮) -->
<view class="it-item" @click="toPageInfo(e)" v-if="isPermissionShowTab(e)&&e.id!=4">
<view>
<image mode="aspectFit" :src="'/static/images/icon/index/tab_'+ e.id + '.png'"></image>
<view>{{e.name}}</view>
@ -54,7 +55,7 @@
<authorization-login ref="authorizationLogin"></authorization-login>
<view class="fly_btn" @click="toPageInfo(tabList[4])" v-if="loginState">
<view class="fly_btn" @click="toPageInfo(tabList[4])" v-if="loginState&&isPermissionShowTab(tabList[4])">
<image class="f_bg" src="/static/images/icon/index/green_bg_circle.png" mode="scaleToFill"/>
<image class="f_icon" src="/static/images/icon/index/scan_icon_white.png" mode="scaleToFill"/>
<text>核销</text>
@ -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}`

BIN
src/static/images/icon/index/tab_13.png

After

Width: 52  |  Height: 52  |  Size: 1.2 KiB

13
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: {

Loading…
Cancel
Save