| | |
| | | <view v-if="!canEdit" :hidden="item.hidden||!item.id" class="box" v-for="(item,index) in itemData" |
| | | :key="index" @tap="toUrl(item)"> |
| | | <template v-if="item.corner"> |
| | | <uni-badge :text="bindingData[item.cornerCount]" |
| | | type="error" |
| | | :max-num="99" |
| | | size="normal" |
| | | absolute |
| | | :offset="[7, 7]"> |
| | | <uni-badge :text="bindingData[item.cornerCount]" type="error" :max-num="99" size="normal" absolute |
| | | :offset="[7, 7]"> |
| | | <image :src="item.img" mode=""></image> |
| | | </uni-badge> |
| | | </template> |
| | |
| | | id: 24, |
| | | hidden: false, |
| | | }, |
| | | { |
| | | img: '../../static/icon/icon16.png', |
| | | text: '分步式调出单缓存', |
| | | url: '/pages/fenbushidiaochudan/table_out', |
| | | id: 88, |
| | | hidden: false, |
| | | }, |
| | | { |
| | | img: '../../static/icon/icon9.png', |
| | | text: '工序进站接收单列表', |
| | |
| | | "id": 58, |
| | | "hidden": false |
| | | }, |
| | | |
| | | |
| | | |
| | | |
| | | // 取样还样相关 |
| | |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "生产退料校验暂存列表", |
| | | "url": "/pages/shengchantuiliaoCheck/MateOutBackCheckBillList", |
| | | |
| | | |
| | | "id": 70, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "销售退货校验暂存列表", |
| | | "url": "/pages/xiaoshotuihuoCheck/Kf_SellOutBackCheckBillList", |
| | | "id": 71, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "生产退库校验暂存列表", |
| | | "url": "/pages/shengchantuikuCheck/Kf_ProductInBackCheckBillList", |
| | | "id": 72, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "销售退货校验暂存列表", |
| | | "url": "/pages/xiaoshotuihuoCheck/Kf_SellOutBackCheckBillList", |
| | | "id": 71, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "生产退库校验暂存列表", |
| | | "url": "/pages/shengchantuikuCheck/Kf_ProductInBackCheckBillList", |
| | | "id": 72, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "装箱追溯单暂存列表", |
| | |
| | | "id": 73, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "器具维修出库列表", |
| | | "url": "/pages/MJGL/qijuweixiuchukudan/Sc_MouldRepairOutBillList", |
| | | "id": 74, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "器具维修入库列表", |
| | | "url": "/pages/MJGL/qijuweixiurukudan/Sc_MouldRepairInBillList", |
| | | "id": 75, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "投料防错列表", |
| | | "url": "/pages/ZLGL/Gy_MaterialPrevention/Gy_MateralPreventionList", |
| | | "id": 76, |
| | | "hidden": false |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "器具维修出库列表", |
| | | "url": "/pages/MJGL/qijuweixiuchukudan/Sc_MouldRepairOutBillList", |
| | | "id": 74, |
| | | "hidden": false |
| | | "img": "../../static/icon/icon15.png", |
| | | "text": "不良品评审单处理单列表", |
| | | "url": "/pages/ZLGL/QCNoPassProdDisposeBillMainList/QCNoPassProdDisposeBillMainList", |
| | | "id": 55, |
| | | "hidden": false, |
| | | |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon17.png", |
| | | "text": "器具维修入库列表", |
| | | "url": "/pages/MJGL/qijuweixiurukudan/Sc_MouldRepairInBillList", |
| | | "id": 75, |
| | | "hidden": false |
| | | } |
| | | "img": "../../static/icon/icon8.png", |
| | | "text": "环境检测单列表", |
| | | "url": "/pages/ZLGL/QcenvironmentTestDotCheckBill/QCEnvironmentTestDotCheckBillList", |
| | | "id": 55, |
| | | "hidden": false, |
| | | |
| | | }, |
| | | { |
| | | "img": "../../static/icon/icon15.png", |
| | | "text": "不良品评审结论单列表", |
| | | "url": "/pages/ZLGL/QCNoPassProdConclusionBillMain/QCNoPassProdConclusionBillMainList", |
| | | "id": 55, |
| | | "hidden": false |
| | | }, |
| | | ] |
| | | } |
| | | }, |
| | |
| | | this.getHiddenItem() |
| | | }, |
| | | onShow() { |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | judgeHidden() { |
| | | return process.env.NODE_ENV === 'development' |
| | | }, |
| | | async getHiddenItem() { |
| | | let data = await getMenuList({ |
| | | menuName: this.menuListName |
| | | }) |
| | | // let data = await getMenuList({ |
| | | // menuName: this.menuListName |
| | | // }) |
| | | let data = await getMenuList({ |
| | | menuName: this.menuListName |
| | | }) |
| | | Array.from(data).forEach(e => { |
| | | this.itemData[e["HIndex"]].hidden = !CommonUtils.stringToBoolean(e["HShowMode"]) |
| | | this.itemData[e["HIndex"]].HMaker = e["HMaker"] |
| | | this.itemData[e["HIndex"]].id = e["HEntryID"];//id为0强制隐藏 |
| | | }) |
| | | }, |
| | | switchHidden(index) { |
| | | this.updateCount++; |