浏览代码

Merge branch 'master' of http://git.zthymaoyi.com/gdc/yiliangyiyun-app

ccjgmwz 3 年之前
父节点
当前提交
4b0bb72b47
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      pages/user/depotMonitoring.vue

+ 6 - 2
pages/user/depotMonitoring.vue

@@ -10,7 +10,8 @@
 					:range="warehouseList"></u-picker>
 			</view>
 		</view>
-		<view class="content">
+		<view class="content no-content" v-if="warehouseName!='山东诸城迈饶库'">暂无视频</view>
+		<view class="content" v-if="warehouseName=='山东诸城迈饶库'">
 			<view class='title'>监控视频</view>
 			<view class="video-list">
 					<view  class=" cu-list grid col-4 no-border">
@@ -94,7 +95,7 @@
 		computed: {
 			...mapState(['hasLogin', 'userInfo']),
 		},
-		onShow() {
+		onShow() {debugger
 			this.$api.doRequest('get', '/commonUser/api/checkSession').then(res => {
 				console.log("checkSession", res)
 				if (res.data.data == "INVALID") {
@@ -290,4 +291,7 @@
 			}
 		}
 	}
+	.no-content{
+		text-align: center;
+	}
 </style>