|
@@ -4,8 +4,8 @@
|
|
|
<div class="my-title">查看</div>
|
|
|
<div style="margin-left: 20px;margin-right: 20px">
|
|
|
<!-- 工作流 -->
|
|
|
- <div v-if="flowVisible">
|
|
|
- <el-steps :active="flowVisible?dataForm.workFlowBusinessExt.workFlowProcessStepList.length + 2:0" align-center style="margin-bottom: 20px">
|
|
|
+ <div v-if="flowVisible && dataForm.workFlowBusinessExt">
|
|
|
+ <el-steps :active="flowVisible?dataForm.workFlowBusinessExt&&dataForm.workFlowBusinessExt.workFlowProcessStepList?dataForm.workFlowBusinessExt.workFlowProcessStepList.length + 2:0:0" align-center style="margin-bottom: 20px">
|
|
|
<template v-for="(item, i) in stepList">
|
|
|
<el-step :icon="item.icon" :title="item.title" :description="item.description"></el-step>
|
|
|
</template>
|
|
@@ -150,6 +150,7 @@ export default {
|
|
|
},
|
|
|
// 预览
|
|
|
previewFile (fileName, url) {
|
|
|
+ console.log(fileName, url)
|
|
|
this.previewVisible = true
|
|
|
this.$nextTick(() => {
|
|
|
this.$refs.preview.init(fileName, url)
|