|
@@ -2,25 +2,25 @@
|
|
<div class="list-wrap">
|
|
<div class="list-wrap">
|
|
<el-timeline>
|
|
<el-timeline>
|
|
<el-timeline-item
|
|
<el-timeline-item
|
|
- v-for="(item, index) in recordList"
|
|
|
|
- :key="index"
|
|
|
|
- :icon="setIcon(item.finishTime)"
|
|
|
|
- :color="setColor(item.finishTime)"
|
|
|
|
|
|
+ v-for="item in recordList"
|
|
|
|
+ :key="item.id"
|
|
|
|
+ :icon="setIcon(item.updateTime)"
|
|
|
|
+ :color="setColor(item.updateTime)"
|
|
>
|
|
>
|
|
- <p style="font-weight: 700">{{ item.taskName }}</p>
|
|
|
|
|
|
+ <p style="font-weight: 700">{{ item.taskNodeName }}</p>
|
|
<el-card :body-style="{ padding: '10px' }">
|
|
<el-card :body-style="{ padding: '10px' }">
|
|
<el-descriptions class="margin-top" :column="1" size="small" border>
|
|
<el-descriptions class="margin-top" :column="1" size="small" border>
|
|
<el-descriptions-item
|
|
<el-descriptions-item
|
|
- v-if="item.assigneeName"
|
|
|
|
|
|
+ v-if="item.updateBy"
|
|
label-class-name="my-label"
|
|
label-class-name="my-label"
|
|
>
|
|
>
|
|
<template slot="label"
|
|
<template slot="label"
|
|
><i class="el-icon-user mr5"></i>办理人</template
|
|
><i class="el-icon-user mr5"></i>办理人</template
|
|
>
|
|
>
|
|
- {{ item.assigneeName }}
|
|
|
|
- <el-tag type="info" size="mini">{{ item.deptName }}</el-tag>
|
|
|
|
|
|
+ {{ item.updateBy }}
|
|
|
|
+ <!-- <el-tag type="info" size="mini">{{ item.deptName }}</el-tag> -->
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
- <el-descriptions-item
|
|
|
|
|
|
+ <!-- <el-descriptions-item
|
|
v-if="item.candidate"
|
|
v-if="item.candidate"
|
|
label-class-name="my-label"
|
|
label-class-name="my-label"
|
|
>
|
|
>
|
|
@@ -28,14 +28,14 @@
|
|
><i class="el-icon-user mr5"></i>候选办理</template
|
|
><i class="el-icon-user mr5"></i>候选办理</template
|
|
>
|
|
>
|
|
{{ item.candidate }}
|
|
{{ item.candidate }}
|
|
- </el-descriptions-item>
|
|
|
|
|
|
+ </el-descriptions-item> -->
|
|
<el-descriptions-item label-class-name="my-label">
|
|
<el-descriptions-item label-class-name="my-label">
|
|
<template slot="label"
|
|
<template slot="label"
|
|
><i class="el-icon-date mr5"></i>接收时间</template
|
|
><i class="el-icon-date mr5"></i>接收时间</template
|
|
>
|
|
>
|
|
{{ item.createTime }}
|
|
{{ item.createTime }}
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
- <el-descriptions-item
|
|
|
|
|
|
+ <!-- <el-descriptions-item
|
|
v-if="item.finishTime"
|
|
v-if="item.finishTime"
|
|
label-class-name="my-label"
|
|
label-class-name="my-label"
|
|
>
|
|
>
|
|
@@ -43,8 +43,8 @@
|
|
><i class="el-icon-date mr5"></i>处理时间</template
|
|
><i class="el-icon-date mr5"></i>处理时间</template
|
|
>
|
|
>
|
|
{{ item.finishTime }}
|
|
{{ item.finishTime }}
|
|
- </el-descriptions-item>
|
|
|
|
- <el-descriptions-item
|
|
|
|
|
|
+ </el-descriptions-item> -->
|
|
|
|
+ <!-- <el-descriptions-item
|
|
v-if="item.duration"
|
|
v-if="item.duration"
|
|
label-class-name="my-label"
|
|
label-class-name="my-label"
|
|
>
|
|
>
|
|
@@ -52,15 +52,12 @@
|
|
><i class="el-icon-time mr5"></i>耗时</template
|
|
><i class="el-icon-time mr5"></i>耗时</template
|
|
>
|
|
>
|
|
{{ item.duration }}
|
|
{{ item.duration }}
|
|
- </el-descriptions-item>
|
|
|
|
- <el-descriptions-item
|
|
|
|
- v-if="item.comment"
|
|
|
|
- label-class-name="my-label"
|
|
|
|
- >
|
|
|
|
|
|
+ </el-descriptions-item> -->
|
|
|
|
+ <el-descriptions-item label-class-name="my-label">
|
|
<template slot="label"
|
|
<template slot="label"
|
|
><i class="el-icon-tickets mr5"></i>处理意见</template
|
|
><i class="el-icon-tickets mr5"></i>处理意见</template
|
|
>
|
|
>
|
|
- {{ item.comment.comment }}
|
|
|
|
|
|
+ {{ item.taskRemark }}
|
|
</el-descriptions-item>
|
|
</el-descriptions-item>
|
|
</el-descriptions>
|
|
</el-descriptions>
|
|
</el-card>
|
|
</el-card>
|
|
@@ -72,14 +69,20 @@
|
|
import recordListData from "./recordListData.js";
|
|
import recordListData from "./recordListData.js";
|
|
export default {
|
|
export default {
|
|
name: "RecordList",
|
|
name: "RecordList",
|
|
- props: [],
|
|
|
|
|
|
+ props: {
|
|
|
|
+ nodeLogList: {
|
|
|
|
+ type: Array,
|
|
|
|
+ default: () => [],
|
|
|
|
+ },
|
|
|
|
+ },
|
|
components: {},
|
|
components: {},
|
|
data() {
|
|
data() {
|
|
return {};
|
|
return {};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
recordList() {
|
|
recordList() {
|
|
- return recordListData;
|
|
|
|
|
|
+ console.log(this.nodeLogList);
|
|
|
|
+ return this.nodeLogList;
|
|
},
|
|
},
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
@@ -106,4 +109,3 @@ export default {
|
|
background: #e1f3d8;
|
|
background: #e1f3d8;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|
|
-./recordListData.js
|
|
|