| | |
| | | |
| | | <template> |
| | | <view> |
| | | <u-grid :col="3" @click="gotoPage" border> |
| | | <u-grid-item v-for="item in grid" :index="item[0]"> |
| | | <u-grid-item v-for="item in grid" :index="item[0]" class="grid-box"> |
| | | <u-icon name="play-right-fill" :size="46" color="#FF8000"></u-icon> |
| | | <view class="grid-text">{{item.name}}</view> |
| | | </u-grid-item> |
| | |
| | | data() { |
| | | return { |
| | | grid: [], |
| | | filter: [{ |
| | | name: '巡检检验', |
| | | src: '/pages/inspection/inspectionList', |
| | | icon:'' |
| | | }] |
| | | filter: [ |
| | | { |
| | | name: '巡检检验', |
| | | src: '/pages/inspection/inspectionList', |
| | | icon:'' |
| | | }, |
| | | { |
| | | name: '首检检验', |
| | | src: '/pages/inspection/firstInspectionList', |
| | | icon:'' |
| | | }, |
| | | { |
| | | name: '齿轮制程检验', |
| | | src: '/pages/inspection/mtInspectionList', |
| | | icon:'' |
| | | }, |
| | | { |
| | | name :'成品入库检检验', |
| | | src:'/pages/fqc/fqcInspectionList', |
| | | icon:'' |
| | | }, |
| | | { |
| | | name :'来料检验申请单', |
| | | src:'/pages/iqc/iqcInspectionList', |
| | | icon:'' |
| | | }, |
| | | { |
| | | name :'设备点检计划', |
| | | src:'/pages/eqSpotCheck/eqSpotCheckList', |
| | | icon:'' |
| | | }, |
| | | { |
| | | name :'模具保养计划', |
| | | src:'/pages/eqSpotCheck/moldSpotCheckList', |
| | | icon:'' |
| | | }, |
| | | ] |
| | | } |
| | | }, |
| | | onLoad() { |
| | |
| | | this.grid.push(item) |
| | | } |
| | | } |
| | | console.log(this.grid); |
| | | }) |
| | | }, |
| | | methods: { |
| | |
| | | </script> |
| | | |
| | | <style> |
| | | .grid-box{ |
| | | border-bottom: 1upx solid #dadbde; |
| | | border-right: 1upx solid #dadbde; |
| | | background-color: #f1f2f4; |
| | | height: 15vh; |
| | | } |
| | | </style> |