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 {