From f5d67b69142c78be1ee996f53b6bb8e4c954761c Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期三, 15 十一月 2023 10:06:38 +0800
Subject: [PATCH] 页面跳转修改

---
 pages/tabBar/responsivity/countyResponsivity.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/pages/tabBar/responsivity/countyResponsivity.vue b/pages/tabBar/responsivity/countyResponsivity.vue
index b5ab7cc..ce1a066 100644
--- a/pages/tabBar/responsivity/countyResponsivity.vue
+++ b/pages/tabBar/responsivity/countyResponsivity.vue
@@ -20,7 +20,7 @@
 			      <th></th>
 			      <th>处理情况</th>
 				  <th v-if="unittype == 4">叫应时间</th>
-			      <th v-else>叫应率</th>
+			      <th v-else>转发叫应率</th>
 				  <th v-if="unittype == 4">反馈</th>
 				  <th v-else>详情</th>
 			    </tr>
@@ -74,7 +74,8 @@
 			console.log("data",test)
 			this.title = test.title;
 			this.tableData = test.appPageResponseByIdRespDTOS;
-			this.unittype = test.unittype;
+			this.unittype = this.tableData[0].unittype;
+			console.log("unittype",this.tableData)
 			this.tableData.forEach((item,index) => {
 				this.tableData[index].response = item.responseStatus ==1 ? '待叫应' :item.responseStatus == 2 ? '已叫应' :'超时未叫应'
 				this.tableData[index].responsivity = item.forwardRate ? item.forwardRate :'--';
@@ -109,11 +110,11 @@
 						}
 					})
 				}else {
-					// uni.showToast({
-					// 	icon: 'none',
-					// 	title: '无转发',
-					// 	duration: 3000
-					// })
+					uni.showToast({
+						icon: 'none',
+						title: '暂无下级转发数据',
+						duration: 3000
+					})
 				}
 			},
 			toDetail(item){
@@ -121,6 +122,7 @@
 				getMeasureDetail({id: item.id}).then(res => {
 					if(res.code == 100){
 						if(res.data.baseMeasures && res.data.baseMeasures.length>0 ){
+							uni.setStorageSync('backMeasures','county')
 							uni.navigateTo({
 							  url: `/pages/tabBar/responsivity/showMeasures?data=` + encodeURIComponent(JSON.stringify(res.data))
 							})

--
Gitblit v1.9.2