Commit e051b6db authored by 骆瑛's avatar 骆瑛

修改时间控件

parent feec15d0
......@@ -12,17 +12,6 @@
<MenuItem name="4"> 上周 </MenuItem>
<MenuItem name="5"> 本月 </MenuItem>
<MenuItem name="6"> 上月 </MenuItem>
<!-- <Submenu name="7">
<template slot="title"> 按用户查看 </template>
<MenuGroup title="按用户查看">
<MenuItem
v-for="(v, index) in list"
:key="index"
:name="v.userId"
>{{ v.note }}</MenuItem
>
</MenuGroup>
</Submenu> -->
</Menu>
<Dropdown @on-click="onSelectUser">
<a href="javascript:void(0)">
......@@ -85,7 +74,8 @@
v-if="recordList && recordList.length > 0"
>
<p class="TimelineItemli">
<span class="timeSpan">{{ item.creationTime }}</span>
<!-- <span class="timeSpan">{{ item.creationTime }}</span> -->
<DTSpan class="timeSpan" :value="item.creationTime" />
<User :value="item.creatorUserId" />
<state code="mes.project_log.Action" :value="item.action" />
......@@ -405,9 +395,9 @@ export default {
Api.paged(params).then((r) => {
if (r.success) {
this.recordList = r.result.items;
this.recordList.forEach((e) => {
e.creationTime = e.creationTime.slice(11, 16);
});
// this.recordList.forEach((e) => {
// e.creationTime = e.creationTime.slice(11, 16);
// });
}
});
},
......@@ -605,7 +595,7 @@ export default {
position: relative;
.timeSpan {
position: absolute;
left: -98px;
left: -109px;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment