中建四-进度管理模块-页面调整
This commit is contained in:
parent
607936b45f
commit
932fc3da11
@ -20,9 +20,14 @@
|
||||
<view class="time">进度比例:{{item.progressRatio}}%</view>
|
||||
|
||||
<view class="state"
|
||||
:class="{'stateTextColor1':checkedTab==0,'stateTextColor2':checkedTab==1,'stateTextColor3':checkedTab==2}">
|
||||
{{item.status==0?'':item.status==1?'':'提前'}}
|
||||
:class="item.differDay==0?'stateTextColor3':'stateTextColor1'">
|
||||
{{item.status==0?'':item.status==1?'':item.differDay==0?'正常':`提前${item.differDay}天`}}
|
||||
</view>
|
||||
<!-- <view class="state"
|
||||
:class="item.differDay==0?'stateTextColor3':'stateTextColor1'" v-if="checkedTab==2">
|
||||
{{item.differDay==0?'正常':`提前${item.differDay}天`}}
|
||||
</view> -->
|
||||
|
||||
<view class="state2" :class="{'state2':item.status==0,'state2':item.status==1,'state3':item.status==2}"
|
||||
@click="editStatus(item)">
|
||||
{{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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user