车间能级提升-智能设备管理系统
zhuguifei
2025-05-20 7fe7b6182c2d407d28c2c9da1c070c3ce964e3e7
eims-ui-mobile/src/pages/home/index.vue
@@ -95,6 +95,7 @@
              v-for="(item, index) in commonMenu"
              :key="item.id"
              @click.stop="goItemPage(item)"
              v-show="!(isLeader() && item.custom)"
            >
              <image class="slot-img text-center" :src="item.icon" />
              <text>{{ item.name }}</text>
@@ -161,6 +162,7 @@
import { receiveOrderRepair } from '@/service/mobile'
import { useToast, useMessage } from 'wot-design-uni'
import { ref } from 'vue'
import {isLeader} from "@/utils/RoleUtils";
const message = useMessage()
const toast = useToast()
@@ -212,7 +214,11 @@
  } else {
    switch (item.name) {
      case '接单维修':
        handleSelectReq()
        if (isLeader()) {
          toast.info('请登录维修工账号接单')
        } else {
          handleSelectReq()
        }
        break
    }
  }