|
|
@@ -27,23 +27,6 @@
|
|
|
</van-cell>
|
|
|
</div>
|
|
|
</van-tab>
|
|
|
- <van-tab title="未完成" :badge="dayList.proceed.length=== 0 ? false :dayList.proceed.length">
|
|
|
- <Empty v-if="!dayList.proceed.length"/>
|
|
|
- <div class="list-container" v-else>
|
|
|
- <van-cell
|
|
|
- v-for="v in dayList.proceed"
|
|
|
- :key="v.id"
|
|
|
- :title="v.planName"
|
|
|
- :label="formatTime(v.planStartTime,v.planEndTime,'HH:mm')"
|
|
|
- :value-class="`title-red`">
|
|
|
- <template #right-icon>
|
|
|
- <span :style="{ color: getState(getDictLabel(v.status, 'resumption_status')) }">
|
|
|
- {{ getDictLabel(v.status, 'resumption_status') }}
|
|
|
- </span>
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- </div>
|
|
|
- </van-tab>
|
|
|
<van-tab title="已完成" :badge="dayList.finished.length=== 0 ? false :dayList.finished.length">
|
|
|
<Empty v-if="!dayList.finished.length"/>
|
|
|
<div class="list-container" v-else>
|
|
|
@@ -63,6 +46,23 @@
|
|
|
</van-cell>
|
|
|
</div>
|
|
|
</van-tab>
|
|
|
+ <van-tab title="已逾期" :badge="dayList.proceed.length=== 0 ? false :dayList.proceed.length">
|
|
|
+ <Empty v-if="!dayList.proceed.length"/>
|
|
|
+ <div class="list-container" v-else>
|
|
|
+ <van-cell
|
|
|
+ v-for="v in dayList.proceed"
|
|
|
+ :key="v.id"
|
|
|
+ :title="v.planName"
|
|
|
+ :label="formatTime(v.planStartTime,v.planEndTime,'HH:mm')"
|
|
|
+ :value-class="`title-red`">
|
|
|
+ <template #right-icon>
|
|
|
+ <span :style="{ color: getState(getDictLabel(v.status, 'resumption_status')) }">
|
|
|
+ {{ getDictLabel(v.status, 'resumption_status') }}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </div>
|
|
|
+ </van-tab>
|
|
|
</van-tabs>
|
|
|
</div>
|
|
|
<div class="list-item">
|
|
|
@@ -87,23 +87,6 @@
|
|
|
</van-cell>
|
|
|
</div>
|
|
|
</van-tab>
|
|
|
- <van-tab title="未完成" :badge="otherList.proceed.length=== 0 ? false :otherList.proceed.length">
|
|
|
- <Empty v-if="!otherList.proceed.length"/>
|
|
|
- <div class="list-container" v-else>
|
|
|
- <van-cell
|
|
|
- v-for="v in otherList.proceed"
|
|
|
- :key="v.id"
|
|
|
- :title="v.planName"
|
|
|
- :label="formatTime(v.planStartTime,v.planEndTime,'YYYY-MM-DD')"
|
|
|
- :value-class="`title-red`">
|
|
|
- <template #right-icon>
|
|
|
- <span :style="{ color: getState(getDictLabel(v.status, 'resumption_status')) }">
|
|
|
- {{ getDictLabel(v.status, 'resumption_status') }}
|
|
|
- </span>
|
|
|
- </template>
|
|
|
- </van-cell>
|
|
|
- </div>
|
|
|
- </van-tab>
|
|
|
<van-tab title="已完成" :badge="otherList.finished.length=== 0 ? false :otherList.finished.length">
|
|
|
<Empty v-if="!otherList.finished.length"/>
|
|
|
<div class="list-container" v-else>
|
|
|
@@ -123,6 +106,23 @@
|
|
|
</van-cell>
|
|
|
</div>
|
|
|
</van-tab>
|
|
|
+ <van-tab title="已逾期" :badge="otherList.proceed.length=== 0 ? false :otherList.proceed.length">
|
|
|
+ <Empty v-if="!otherList.proceed.length"/>
|
|
|
+ <div class="list-container" v-else>
|
|
|
+ <van-cell
|
|
|
+ v-for="v in otherList.proceed"
|
|
|
+ :key="v.id"
|
|
|
+ :title="v.planName"
|
|
|
+ :label="formatTime(v.planStartTime,v.planEndTime,'YYYY-MM-DD')"
|
|
|
+ :value-class="`title-red`">
|
|
|
+ <template #right-icon>
|
|
|
+ <span :style="{ color: getState(getDictLabel(v.status, 'resumption_status')) }">
|
|
|
+ {{ getDictLabel(v.status, 'resumption_status') }}
|
|
|
+ </span>
|
|
|
+ </template>
|
|
|
+ </van-cell>
|
|
|
+ </div>
|
|
|
+ </van-tab>
|
|
|
</van-tabs>
|
|
|
</div>
|
|
|
</div>
|