fuliqi
2024-12-26 5b5a3ec32e479b6c43822fd0192cde6e2f3b31e5
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">
        <span class="el-icon-document">已完成任务</span>
        <span class="el-icon-document">任务详情</span>
        <el-button style="float: right;" size="mini" type="danger" @click="goBack">关闭</el-button>
      </div>
      <el-tabs  tab-position="top" v-model="activeName" @tab-click="handleClick">
@@ -27,7 +27,10 @@
                  :icon="setIcon(item.finishTime)"
                  :color="setColor(item.finishTime)"
                >
                  <p style="font-weight: 700">{{item.taskName}}</p>
                  <p style="font-weight: 700">{{item.taskName}}
                    <span v-if="item.comment && item.comment.type === '3'" style="color: red">(执行了驳回)</span>
                    <span v-if="item.overtime" style="color: red">(已超时)</span>
                  </p>
                  <el-card :body-style="{ padding: '10px' }">
                    <el-descriptions class="margin-top" :column="1" size="small" border>
                      <el-descriptions-item v-if="item.assigneeName" label-class-name="my-label">
@@ -191,7 +194,10 @@
    goBack() {
      this.$router.push({
        path: '/projectFlow/detail',
        query: this.goBackParams
        query: {
          projectId: this.goBackParams.projectId,
          processDefId: this.goBackParams.processDefId
        }
      })
    },
  }