chenhaozhe
2025-09-04 45b4cbd921589ff8d6ea6ff5bb3a02a7eb6435d7
pages/index/tab2.vue
@@ -216,6 +216,20 @@
               id: 29,
               hidden: false,
            },
                {
                   img: '../../static/icon/icon8.png',
                   text: '取样单',
                   url: '/pages/quyangdan/table',
                   id: 30,
                   hidden: !this.judgeHidden(),
                },
                {
                   img: '../../static/icon/icon8.png',
                   text: '还样单',
                   url: '/pages/huanyangdan/table',
                   id: 31,
                   hidden: !this.judgeHidden(),
                },
            // , {
            //    img: '../../static/icon/icon1.png',
            //    text: '设备档案查询',
@@ -266,6 +280,9 @@
         this.getHiddenItem()
      },
      methods: {
            judgeHidden() {
                return process.env.NODE_ENV === 'development'
            },
         async getHiddenItem() {
            let data = await getMenuList({
               menuName: this.menuListName