|
|
@@ -16,7 +16,7 @@
|
|
|
v-for="v in dayList.unfinished"
|
|
|
:key="v.id"
|
|
|
:title="v.planName"
|
|
|
- :label="formatTime(v.planStartTime,v.planEndTime)"
|
|
|
+ :label="formatTime(v.planStartTime,v.planEndTime,'HH:mm')"
|
|
|
is-link
|
|
|
:to="{path:path,query:{id:v.id}}"
|
|
|
:value="getDicts(v.status,'resumption_status')"
|
|
|
@@ -30,7 +30,7 @@
|
|
|
v-for="v in dayList.proceed"
|
|
|
:key="v.id"
|
|
|
:title="v.planName"
|
|
|
- :label="formatTime(v.planStartTime,v.planEndTime)"
|
|
|
+ :label="formatTime(v.planStartTime,v.planEndTime,'HH:mm')"
|
|
|
is-link
|
|
|
:to="{path:path,query:{id:v.id}}"
|
|
|
:value="getDicts(v.status,'resumption_status')"
|
|
|
@@ -44,7 +44,7 @@
|
|
|
v-for="v in dayList.finished"
|
|
|
:key="v.id"
|
|
|
:title="v.planName"
|
|
|
- :label="formatTime(v.planStartTime,v.planEndTime)"
|
|
|
+ :label="formatTime(v.planStartTime,v.planEndTime,'HH:mm')"
|
|
|
is-link
|
|
|
:to="{path:path,query:{id:v.id}}"
|
|
|
:value="getDicts(v.status,'resumption_status')"
|
|
|
@@ -65,7 +65,7 @@
|
|
|
v-for="v in otherList.unfinished"
|
|
|
:key="v.id"
|
|
|
:title="v.planName"
|
|
|
- :label="formatTime(v.planStartTime,v.planEndTime)"
|
|
|
+ :label="formatTime(v.planStartTime,v.planEndTime,'YYYY-MM-DD')"
|
|
|
is-link
|
|
|
:to="{path:path,query:{id:v.id}}"
|
|
|
:value="getDicts(v.status,'resumption_status')"
|
|
|
@@ -79,7 +79,7 @@
|
|
|
v-for="v in otherList.proceed"
|
|
|
:key="v.id"
|
|
|
:title="v.planName"
|
|
|
- :label="formatTime(v.planStartTime,v.planEndTime)"
|
|
|
+ :label="formatTime(v.planStartTime,v.planEndTime,'YYYY-MM-DD')"
|
|
|
is-link
|
|
|
:to="{path:path,query:{id:v.id}}"
|
|
|
:value="getDicts(v.status,'resumption_status')"
|
|
|
@@ -93,7 +93,7 @@
|
|
|
v-for="v in otherList.finished"
|
|
|
:key="v.id"
|
|
|
:title="v.planName"
|
|
|
- :label="formatTime(v.planStartTime,v.planEndTime)"
|
|
|
+ :label="formatTime(v.planStartTime,v.planEndTime,'YYYY-MM-DD')"
|
|
|
is-link
|
|
|
:to="{path:path,query:{id:v.id}}"
|
|
|
:value="getDicts(v.status,'resumption_status')"
|
|
|
@@ -148,9 +148,9 @@ export default {
|
|
|
...mapGetters(['orgName','orgId']),
|
|
|
},
|
|
|
methods:{
|
|
|
- //格式化日期范围
|
|
|
- formatTime(start,end){
|
|
|
- return `${dayjs(start).format('HH:mm')}-${dayjs(end).format('HH:mm')}`
|
|
|
+ //格式化时间范围
|
|
|
+ formatTime(start,end,format){
|
|
|
+ return `${dayjs(start).format(format)}-${dayjs(end).format(format)}`;
|
|
|
},
|
|
|
//页面第一次加载
|
|
|
initDatalist(){
|