xiangpei
2025-05-06 5c929cfb5286a31a4e067cbc61e8774f4e7d42ae
src/views/flowable/task/myProcess/detail/index.vue
@@ -2,7 +2,7 @@
  <div class="app-container">
    <el-card class="box-card" >
      <div slot="header" class="clearfix" style="display: flex">
        <div style="flex: 1" class="el-icon-document">{{`任务详情:` + this.goBackParams.processName}}</div>
        <div style="flex: 1" class="el-icon-document">{{`任务详情:` + this.taskName}}</div>
        <div style="flex: 2; color: #303133">{{projectName + '——' + flowName}}</div>
        <el-button style="float: right;" size="mini" type="danger" @click="goBack">关闭</el-button>
      </div>
@@ -128,6 +128,7 @@
  props: {},
  data() {
    return {
      taskName: '', // 任务名称
      formLoading: false, // 加载表单
      imgLoading: false, // 加载流程图
      projectName: '',
@@ -160,6 +161,7 @@
    this.goBackParams = this.$route.query && this.$route.query.goBackParams;
    this.projectName = this.$route.query && this.$route.query.projectName;
    this.flowName = this.$route.query && this.$route.query.flowName;
    this.taskName = this.$route.query && this.$route.query.taskName;
    // 流程任务重获取变量表单
    this.processVariables( this.taskForm.taskId, this.taskForm.procInsId)
    this.getFlowRecordList(this.taskForm.procInsId);