Browse Source

首页去掉classesType权限校验

master
zhang_li 8 months ago
parent
commit
a79fc3dde5
  1. 14
      src/pages/index.vue

14
src/pages/index.vue

@ -52,25 +52,25 @@
<view>设备报修</view>
</view>
</u-col>
<u-col span="3" v-if=" $store.state.user.dept.classType == 'DEVICE' || $store.state.user.dept.classType == 'TECH' || !$store.state.user.dept.classType">
<u-col span="3">
<view class="icon-item" @click="open('/pages/repairOrder/index?type=DEVICE')">
<image src="../static/images/icon5.svg" mode=""></image>
<view>维修工单</view>
</view>
</u-col>
<u-col span="3" v-if=" $store.state.user.dept.classType == 'DEVICE' || $store.state.user.dept.classType == 'TECH' || !$store.state.user.dept.classType">
<u-col span="3">
<view class="icon-item" @click="open('/pages/overhaulOrder/index?type=DEVICE')">
<image src="../static/images/icon3.svg" mode=""></image>
<view>检修工单</view>
</view>
</u-col>
<u-col span="3" v-if=" $store.state.user.dept.classType == 'DEVICE' || $store.state.user.dept.classType == 'TECH' || !$store.state.user.dept.classType">
<u-col span="3">
<view class="icon-item" @click="open('/pages/spotCheckOrder/addForm?type=DEVICE')">
<image src="../static/images/icon2.svg" mode=""></image>
<view>点检工单</view>
</view>
</u-col>
<u-col span="3" v-if=" $store.state.user.dept.classType == 'DEVICE' || $store.state.user.dept.classType == 'TECH' || !$store.state.user.dept.classType">
<u-col span="3">
<view class="icon-item" @click="open('/pages/upkeepOrder/index?type=DEVICE')">
<image src="../static/images/icon1.svg" mode=""></image>
<view>保养工单</view>
@ -89,19 +89,19 @@
<view>模具报修</view>
</view>
</u-col>
<u-col span="3" v-if="$store.state.user.dept.classType == 'MOLD' ">
<u-col span="3" >
<view class="icon-item" @click="open('/pages/repairOrder/index?type=MOLD')">
<image src="../static/images/icon5.svg" mode=""></image>
<view>维修工单</view>
</view>
</u-col>
<u-col span="3" v-if="$store.state.user.dept.classType == 'MOLD' ">
<u-col span="3">
<view class="icon-item" @click="open('/pages/overhaulOrder/index?type=MOLD')">
<image src="../static/images/icon2.svg" mode=""></image>
<view>检修工单</view>
</view>
</u-col>
<u-col span="3" v-if="$store.state.user.dept.classType == 'MOLD' ">
<u-col span="3">
<view class="icon-item" @click="open('/pages/upkeepOrder/index?type=MOLD')">
<image src="../static/images/icon1.svg" mode=""></image>
<view>保养工单</view>

Loading…
Cancel
Save