From 932fc3da1161ae6c0f41aa89fab7fc9b692a7bfd Mon Sep 17 00:00:00 2001 From: yjl <1490736767@qq.com> Date: Wed, 29 Mar 2023 09:49:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=AD=E5=BB=BA=E5=9B=9B-=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E6=A8=A1=E5=9D=97-=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/projectEnd/progressManagement/index.vue | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/pages/projectEnd/progressManagement/index.vue b/pages/projectEnd/progressManagement/index.vue index b7840de6..79f8cb52 100644 --- a/pages/projectEnd/progressManagement/index.vue +++ b/pages/projectEnd/progressManagement/index.vue @@ -20,9 +20,14 @@ 进度比例:{{item.progressRatio}}% - {{item.status==0?'':item.status==1?'':'提前'}} + :class="item.differDay==0?'stateTextColor3':'stateTextColor1'"> + {{item.status==0?'':item.status==1?'':item.differDay==0?'正常':`提前${item.differDay}天`}} + + {{item.status==0?'开始任务':item.status==1?'结束任务':''}} @@ -62,7 +67,7 @@ }, onLoad() { this.condition.projectSn = JSON.parse(uni.getStorageSync('projectDetail')).projectSn; - + this.checkedTab=sessionStorage.getItem('currentIndex') }, onShow() { this.listData = []; @@ -81,6 +86,7 @@ //切换tab changeTab(type) { + sessionStorage.setItem('currentIndex', type) this.checkedTab = type; this.condition.status = type; this.condition.pageNo = 1; @@ -282,6 +288,7 @@ .stateTextColor1 { color: #ff9900; + margin-left: 78%; } .stateTextColor2 {