|
@@ -5,11 +5,14 @@
|
|
|
<view class="cu-list grid" :class="['col-' + gridCol,gridBorder?'':'no-border']">
|
|
|
<view class="cu-item" v-for="(item,index) in gridList" :key="index" @click="gridClick(item, index)"
|
|
|
v-if="index<gridCol*2">
|
|
|
- <view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
|
|
|
+ <view v-show="item.show == true">
|
|
|
+ <view :class="['cuIcon-' + item.cuIcon,'text-' + item.color]">
|
|
|
<image :src="item.src" class="sign"></image>
|
|
|
</view>
|
|
|
|
|
|
<text>{{item.name}}</text>
|
|
|
+ </view>
|
|
|
+
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -174,7 +177,7 @@
|
|
|
}
|
|
|
},
|
|
|
onShow() {
|
|
|
- // this.isShow();
|
|
|
+ this.isShow();
|
|
|
uni.hideKeyboard()
|
|
|
uni.showTabBar()
|
|
|
this.loadData()
|
|
@@ -277,9 +280,9 @@
|
|
|
}
|
|
|
for (let k = 0; k < this.gridList1.length; k++) {
|
|
|
if (k == 0) {
|
|
|
- this.gridList[k].show = this.getRoles('acquisitionWeightOut.view')
|
|
|
+ this.gridList1[k].show = this.getRoles('acquisitionWeightOut.view')
|
|
|
} else if (k == 1) {
|
|
|
- this.gridList[k].show = this.getRoles('acquisitionQualityOut.view')
|
|
|
+ this.gridList1[k].show = this.getRoles('acquisitionQualityOut.view')
|
|
|
}
|
|
|
}
|
|
|
},
|