|
@@ -127,6 +127,7 @@
|
|
|
v-loading="loading"
|
|
|
@row-click="openDetail"
|
|
|
@selection-change="onSelectionChange"
|
|
|
+ border
|
|
|
>
|
|
|
<el-table-column
|
|
|
v-if="formData.dc_status === 0"
|
|
@@ -154,7 +155,7 @@
|
|
|
<span :class="scope.row.point < 0 ? 'green' : 'red'">{{ scope.row.point }} {{ $getTypsName(scope.row.pt_id) }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column prop="remark" label="事件内容" align="center" show-overflow-tooltip :key="5" />
|
|
|
+ <el-table-column prop="remark" label="事件内容" align="center" show-overflow-tooltip :key="5" min-width="280" />
|
|
|
<el-table-column prop="event_time" label="时间" align="center" :key="6"/>
|
|
|
<el-table-column prop="source_type" label="事件来源" align="center" :key="7">
|
|
|
<template slot-scope="scope">
|
|
@@ -284,6 +285,23 @@
|
|
|
</el-step>
|
|
|
</el-steps>
|
|
|
</template>
|
|
|
+ <template v-if="currentItem.process && currentItem.process.length > 0">
|
|
|
+ <h3 style="margin: 10px 0;">审批流程</h3>
|
|
|
+ <el-steps
|
|
|
+ :active="currentItem.process.length"
|
|
|
+ align-center
|
|
|
+ >
|
|
|
+ <el-step
|
|
|
+ v-for="(item,index) in currentItem.process"
|
|
|
+ :key="index"
|
|
|
+ :title="item.name"
|
|
|
+ >
|
|
|
+ <template #description>
|
|
|
+ {{ $moment(item.time).format('YYYY-MM-DD') }} {{ item.remark }}
|
|
|
+ </template>
|
|
|
+ </el-step>
|
|
|
+ </el-steps>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
<el-empty v-else/>
|
|
|
</el-dialog>
|
|
@@ -580,6 +598,8 @@ export default {
|
|
|
this.currentItem.source_type_mark = res.data.data.source_type_mark
|
|
|
this.currentItem.recorder_name = res.data.data.recorder_name
|
|
|
this.currentItem.complete_task = res.data.data.complete_task
|
|
|
+ this.currentItem.process = res.data.data.process;
|
|
|
+ console.log(this.currentItem);
|
|
|
})
|
|
|
.finally(() => {
|
|
|
this.loading = false
|