Commit 2d3d17be authored by renjintao's avatar renjintao

record

parent a47d92ac
......@@ -5,6 +5,9 @@ export default {
paged(params){
return Api.post(`${material}/projectplanrecord/paged`,params);
},
list(params){
return Api.post(`${material}/projectplanrecord/list`,params);
},
get(params){
return Api.get(`${material}/projectplanrecord/get`,params);
},
......
......@@ -44,7 +44,7 @@
</FormItem>
</Form>
</div>
<div>
<div class="group">
<Row>
<Col span="3">
......@@ -74,9 +74,11 @@
<Col span="19">
<div class="boxBoder">
<Timeline>
<TimelineItem>
<p class="content">16:51</p>
<p class="content">管理员 关闭了 任务 1089 测试任务</p>
<TimelineItem v-for="(item,index) in recordList" :key="index">
<p class="content">{{item.creationTime}}</p>
<p class="content">
<User :value="item.creatorUserId"></User> 关闭了 任务 1089 测试任务
</p>
</TimelineItem>
<TimelineItem>
<p class="content">12:13</p>
......@@ -99,6 +101,7 @@
</Col>
</Row>
</div>
</div>
<Modal v-model="modal" :title="title" width="1200" footer-hide>
<component :is="detail" :eid="curId" @on-close="cancel" @on-ok="ok" />
</Modal>
......@@ -270,7 +273,8 @@ export default {
])
}
},
]
],
recordList: []
}
},
mounted() {
......@@ -286,8 +290,20 @@ export default {
},
methods: {
load(v) {
alert("aaa____" + v)
//alert("aaa____" + v)
let params = {
conditions: [{
fieldName: "taskId",
fieldValue: v,
conditionalType: "Equal",
}],
}
Api.list(params).then(r => {
if (r.success) {
this.recordList = r.result
}
})
},
ok() {
this.$refs.grid.load()
......
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