Browse Source

feat: 抄送添加摘要

LesanOuO 6 tháng trước cách đây
mục cha
commit
092a8acde4
1 tập tin đã thay đổi với 9 bổ sung0 xóa
  1. 9 0
      src/views/bpm/task/copy/index.vue

+ 9 - 0
src/views/bpm/task/copy/index.vue

@@ -46,6 +46,15 @@
     <el-table v-loading="loading" :data="list">
       <!-- TODO 芋艿:增加摘要 -->
       <el-table-column align="center" label="流程名" prop="processInstanceName" min-width="180" />
+      <el-table-column label="摘要" prop="summary" min-width="180">
+        <template #default="scope">
+          <div class="flex flex-col" v-if="scope.row.summary && scope.row.summary.length > 0">
+            <div v-for="(item, index) in scope.row.summary" :key="index">
+              <el-text type="info"> {{ item.key }} : {{ item.value }} </el-text>
+            </div>
+          </div>
+        </template>
+      </el-table-column>
       <el-table-column
         align="center"
         label="流程发起人"