From 59f4dc012a2c42eebd31301444e0f8df9af088e0 Mon Sep 17 00:00:00 2001
From: wjt <1797368093@qq.com>
Date: 星期三, 26 六月 2024 10:13:12 +0800
Subject: [PATCH] Merge branch 'master' of http://218.28.192.34:9999/r/sqys/sqys_xcx

---
 qiye/complaint/complaint.vue |   19 ++++++++++++++-----
 1 files changed, 14 insertions(+), 5 deletions(-)

diff --git a/qiye/complaint/complaint.vue b/qiye/complaint/complaint.vue
index 2ae7c6f..93e7ea1 100644
--- a/qiye/complaint/complaint.vue
+++ b/qiye/complaint/complaint.vue
@@ -32,18 +32,24 @@
 					<!-- <view class="r color1">
 						寰呰瘎浠�
 					</view> -->
+					<template v-if="item.complaintStatus==-1">
+						<view class="r color4">
+							宸查┏鍥�
+						</view>
+					</template>
 				</view>
 				<view class="box">
 					<view class="l">
 						<p>鎵ф硶鍗曚綅锛歿{item.executeDeptName}}</p>
 						<p>鎶曡瘔鏃堕棿锛歿{item.complaintTime}}</p>
 					</view>
-					<view class="r" @click="chakan(item.id,item.orderId)">
+					<view class="r" @click="chakan(item.id, item.orderId)">
 						鍘绘煡鐪�
 					</view>
 				</view>
 			</view>
 		</view>
+		<u-empty v-if="!list1.length"></u-empty>
 		<!-- <view class="item">
 			<img src="/static/i05.png" class="img" alt="" />
 			<view class="right">
@@ -122,7 +128,7 @@
 				total: 1,
 			}
 		},
-		onShow() {
+		onLoad() {
 			this.list1 = []
 			this.queryParams.pageNum = 1
 			this.getList()
@@ -142,20 +148,20 @@
 			},
 			getList() {
 				let data = uni.getStorageSync("qiyedata")
-				//this.queryParams.companyId = data.companyId
+				this.queryParams.companyId = data.companyId
 				logList({...this.queryParams}).then(val => {
-					// console.log(val.data)
+					console.log(val.data)
 					this.total = val.data.total
 					this.list1 = [...this.list1,...val.data.rows]
 				})
 			},
 			search(e){
+				this.list1 = []
 				this.queryParams.pageNum =1
 				this.queryParams.companyName = e
 				this.getList()
 			},
 			click(i) {
-				
 				this.list1 = []
 				this.queryParams.pageNum = 1
 				this.queryParams.complaintStatus = this.list[i.index].value
@@ -244,4 +250,7 @@
 		color: #3EB47A;
 		
 	}
+	.color4{
+		color: gray;
+	}
 </style>
\ No newline at end of file

--
Gitblit v1.9.1