Browse Source

为空记录

zhengkaixin 4 years ago
parent
commit
48e8879c03

+ 5 - 7
src/projects/business/views/Master/Guest/Goto.vue

@@ -4,12 +4,9 @@
 		<top-header :pageTitle="pageTitle"  :routeName="routeName" ></top-header>
 
 		<div class="mui-content vongi-fklist">
-			<div style="text-align: center;margin-top: 100px"  v-if="!recordList.length">
-				<img src="~$project/assets/img/lad.png" width="50%"  >
- 			</div>
-			<div style="text-align: center"  v-if="!recordList.length">
- 				<span>今日暂无访客出入记录</span>
-			</div>
+
+			<NullList :remark="'今日暂无访客出入记录'" v-if="!recordList.length"></NullList>
+
 
 			<ul class="mui-table-view openfyy-list"  v-if="recordList.length">
 				<li class="mui-table-view-cell mui-media" v-for="mod in recordList" >
@@ -40,6 +37,7 @@
 	import Loading from '$project/components/Loading.vue'
 	import TopHeader from '$project/components/TopHeader.vue'
 	import isReachBottom from '$project/utils/isReachBottom'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
@@ -53,7 +51,7 @@
 		components: {
 			Common,
 			Loading,
-			TopHeader
+			TopHeader,NullList
 		},
 		data() {
 			return {

+ 3 - 7
src/projects/business/views/Master/Guest/List.vue

@@ -10,13 +10,8 @@
 					<a class="mui-navigate-right mui-pull-right" @click="selectData">{{listForm.queryDate}}</a>
 				</h5>
 			</div>
-			<div style="text-align: center;margin-top: 100px"  v-if="!recordList.length">
-				<img src="~$project/assets/img/lad.png" width="50%"  >
-			</div>
-			<div style="text-align: center"  v-if="!recordList.length">
-				<span>暂无访客出入记录</span>
-			</div>
 
+			<NullList :remark="'暂无访客记录'" v-if="!recordList.length"></NullList>
 			<ul class="mui-table-view openfyy-list" v-if="recordList.length">
 				<li class="mui-table-view-cell mui-media" v-for="mod in recordList" >
 					<a   class="mui-navigate-right" @click="goto(mod.id)">
@@ -49,6 +44,7 @@
 	import Loading from '$project/components/Loading.vue'
 	import TopHeader from '$project/components/TopHeader.vue'
 	import isReachBottom from '$project/utils/isReachBottom'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		hourDistance,
 		currentTimeStamp,
@@ -63,7 +59,7 @@
 		components: {
 			Common,
 			Loading,
-			TopHeader
+			TopHeader,NullList
 		},
 		data() {
 			return {

+ 3 - 1
src/projects/business/views/Master/Health/AbnormalRecord.vue

@@ -9,6 +9,7 @@
 					<a class="mui-navigate-right mui-pull-right" @click="selectData">{{listForm.queryDate}}</a>
 				</h5>
 			</div>
+			<NullList :remark="'太好了,今日无异常'" v-if="!recordList.length"></NullList>
 			<div class="fyydate-out">
 				<div class="fyydate-name">
 					<div v-for="(item,index) in recordList" class="fyydate-name-list">
@@ -37,6 +38,7 @@
 	import Loading from '$project/components/Loading.vue'
 	import isReachBottom from '$project/utils/isReachBottom'
 	import TopHeader from '$project/components/TopHeader.vue'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
@@ -50,7 +52,7 @@
 		components: {
 			Common,
 			Loading,
-			TopHeader
+			TopHeader,NullList
 		},
 		data() {
 			return {

+ 5 - 2
src/projects/business/views/Master/Health/GuestTemperature.vue

@@ -19,6 +19,7 @@
 					</div>
 				</div>
 				<div class="mui-slider-group">
+
 					<div id="item1mobile" class="mui-slider-item mui-control-content mui-active">
 						<div id="scroll1" class="mui-scroll-wrapper">
 							<div class="mui-scroll">
@@ -49,6 +50,8 @@
 				</div>
 			</div>
 		</div>
+		<NullList :remark="'暂无访客测温记录'" v-if="!recordList.length"></NullList>
+
 		<loading :visible="isLoading"></loading>
 
 	</div>
@@ -57,7 +60,7 @@
 
 <script>
 	import * as API_Health from '@/apis/Master/health'
-
+	import NullList from '$project/components/NullList.vue'
 	import Common from '$project/components/Common.vue'
 	import Loading from '$project/components/Loading.vue'
 	import TopHeader from '$project/components/TopHeader.vue'
@@ -77,7 +80,7 @@
 		components: {
 			Common,
 			Loading,
-			TopHeader
+			TopHeader,NullList
 		},
 		data() {
 			return {

+ 3 - 1
src/projects/business/views/Master/Health/ReportList.vue

@@ -3,6 +3,7 @@
 		<common @asynCallBack="asynCallBack"></common>
 		<top-header :pageTitle="pageTitle"></top-header>
 
+		<NullList :remark="'强防护,不恐慌,信科学,不传谣'" v-if="!recordList.length"></NullList>
 		<div class="mui-content">
 			<ul class="mui-table-view vongi-yqsb-list">
 				<li v-for="(item,index) in recordList" class="mui-table-view-cell">
@@ -36,6 +37,7 @@
 	import Loading from '$project/components/Loading.vue'
 	import isReachBottom from '$project/utils/isReachBottom'
 	import TopHeader from '$project/components/TopHeader.vue'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
@@ -45,7 +47,7 @@
 		components: {
 			Common,
 			Loading,
-			TopHeader
+			TopHeader,NullList
 		},
 		data() {
 			return {

+ 3 - 2
src/projects/business/views/Master/Health/TemperatureRecord.vue

@@ -25,7 +25,7 @@
 				</div>
 			</div>
 		</div>
-
+		<NullList :remark="'暂无测温记录'" v-if="!recordList.length"></NullList>
 		<loading :visible="isLoading"></loading>
 	</div>
 </template>
@@ -37,6 +37,7 @@
 	import Loading from '$project/components/Loading.vue'
 	import isReachBottom from '$project/utils/isReachBottom'
 	import TopHeader from '$project/components/TopHeader.vue'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
@@ -50,7 +51,7 @@
 		components: {
 			Common,
 			Loading,
-			TopHeader
+			TopHeader,NullList
 		},
 		data() {
 			return {

+ 4 - 7
src/projects/business/views/Master/Property/Complaint/List.vue

@@ -43,11 +43,7 @@
 										</div>
 									</li>
 								</ul>
-								<!--空状态-->
-								<div v-if="recordList.length==0" class="vongi-kong">
-									<img src="~$project/assets/img/no.png" />
-									<p>暂无投诉建议记录</p>
-								</div>
+
 							</div>
 						</div>
 					</div>
@@ -83,7 +79,7 @@
 				</div>
 			</div>
 		</div>
-
+		<NullList :remark="'暂无投诉建议记录'" v-if="!recordList.length"></NullList>
 		<div class="fyy-footer" style="z-index:99">
 			<div class="bindfyy-btn"><button type="submit" class="mui-btn mui-btn-primary " @click="goToForm()">填写物业投诉建议</button></div>
 		</div>
@@ -98,6 +94,7 @@
 	import Loading from '$project/components/Loading.vue'
 	import TopHeader from '$project/components/TopHeader.vue'
 	import NavMenu from '@/components/NavMenu.vue'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
@@ -109,7 +106,7 @@
 			Common,
 			Loading,
 			TopHeader,
-			NavMenu
+			NavMenu,NullList
 		},
 		data() {
 			return {

+ 3 - 2
src/projects/business/views/Master/Property/Complaint/VerifyList.vue

@@ -71,7 +71,7 @@
 				</div>
 			</div>
 		</div>
-
+		<NullList :remark="'暂无投诉记录'" v-if="!recordList.length"></NullList>
 
 		<loading :visible="isLoading"></loading>
 	</div>
@@ -83,6 +83,7 @@
 	import Loading from '$project/components/Loading.vue'
 	import TopHeader from '$project/components/TopHeader.vue'
 	import NavMenu from '@/components/NavMenu.vue'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
@@ -94,7 +95,7 @@
 			Common,
 			Loading,
 			TopHeader,
-			NavMenu
+			NavMenu,NullList
 		},
 		data() {
 			return {

+ 3 - 1
src/projects/business/views/Master/Property/Contact.vue

@@ -19,6 +19,7 @@
 				</li>
 			</ul>
 		</div>
+		<NullList :remark="'没有配置物业的联系方式'" v-if="!list"></NullList>
 		<loading :visible="isLoading"></loading>
 
 	</div>
@@ -30,6 +31,7 @@
 	import Common from '$project/components/Common.vue'
 	import Loading from '$project/components/Loading.vue'
 	import TopHeader from '$project/components/TopHeader.vue'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
@@ -39,7 +41,7 @@
 		components: {
 			Common,
 			Loading,
-			TopHeader
+			TopHeader,NullList
 		},
 		data() {
 			return {

+ 5 - 7
src/projects/business/views/Master/Property/Repair/List.vue

@@ -43,11 +43,7 @@
 										</div>
 									</li>
 								</ul>
-								<!--空状态-->
-								<div v-if="recordList.length==0" class="vongi-kong">
-									<img src="~$project/assets/img/no.png" />
-									<p>暂无报修记录</p>
-								</div>
+
 							</div>
 						</div>
 					</div>
@@ -87,6 +83,7 @@
 		<div class="fyy-footer" style="z-index:99">
 			<div class="bindfyy-btn"><button type="submit" class="mui-btn mui-btn-primary " @click="goToForm()">填写物业报修</button></div>
 		</div>
+		<NullList :remark="'暂无报修记录'" v-if="!recordList.length"></NullList>
 
 		<loading :visible="isLoading"></loading>
 	</div>
@@ -98,18 +95,19 @@
 	import Loading from '$project/components/Loading.vue'
 	import TopHeader from '$project/components/TopHeader.vue'
 	import NavMenu from '@/components/NavMenu.vue'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
 	} from 'vuex'
 	import isReachBottom from '$project/utils/isReachBottom'
 	export default {
-		name: 'MasterPropertyComplaintList',
+		name: 'MasterPropertyRepairList',
 		components: {
 			Common,
 			Loading,
 			TopHeader,
-			NavMenu
+			NavMenu,NullList
 		},
 		data() {
 			return {

+ 3 - 2
src/projects/business/views/Master/Property/Repair/VerifyList.vue

@@ -71,7 +71,7 @@
 				</div>
 			</div>
 		</div>
-
+		<NullList :remark="'暂无报修记录'" v-if="!recordList.length"></NullList>
 
 		<loading :visible="isLoading"></loading>
 	</div>
@@ -83,6 +83,7 @@
 	import Loading from '$project/components/Loading.vue'
 	import TopHeader from '$project/components/TopHeader.vue'
 	import NavMenu from '@/components/NavMenu.vue'
+	import NullList from '$project/components/NullList.vue'
 	import {
 		mapGetters,
 		mapMutations
@@ -94,7 +95,7 @@
 			Common,
 			Loading,
 			TopHeader,
-			NavMenu
+			NavMenu,NullList
 		},
 		data() {
 			return {