Commit 4028b46f by YuleiLan

fix: 修复工单因流程删除而无法显示的bug。

parent e11b1a65
Showing with 12 additions and 1 deletions
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="app-container"> <div class="app-container">
<el-card class="box-card"> <el-card class="box-card">
<div class="text item"> <div class="text item">
<el-steps :active="activeIndex" finish-status="success"> <el-steps v-if="currentNode.clazz !== undefined && currentNode.clazz !== null && currentNode.clazz !== ''" :active="activeIndex" finish-status="success">
<template v-for="(item, index) in nodeStepList"> <template v-for="(item, index) in nodeStepList">
<el-step <el-step
v-if="item.isHideNode === false || v-if="item.isHideNode === false ||
...@@ -14,6 +14,13 @@ ...@@ -14,6 +14,13 @@
/> />
</template> </template>
</el-steps> </el-steps>
<div v-else>
<el-alert
show-icon
title="未找到当前工单流程信息,请确认当前工单绑定的流程是否存在。"
type="warning"
/>
</div>
</div> </div>
</el-card> </el-card>
...@@ -175,6 +182,10 @@ import { mapGetters } from 'vuex' ...@@ -175,6 +182,10 @@ import { mapGetters } from 'vuex'
export default { export default {
data() { data() {
return { return {
currentNode: {
hideTpls: null,
writeTpls: null
},
isActiveProcessing: false, isActiveProcessing: false,
tpls: [], tpls: [],
remarks: '', // 备注信息 remarks: '', // 备注信息
......
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 sign in to comment