From f367b49dd61f20191de9b0ac24cbd4fa0df1fc93 Mon Sep 17 00:00:00 2001 From: LiuHao <liuhaoai545@gmail.com> Date: 星期日, 19 五月 2024 17:31:05 +0800 Subject: [PATCH] update 优化代码格式 --- src/views/workflow/processInstance/index.vue | 14 ++------------ 1 files changed, 2 insertions(+), 12 deletions(-) diff --git a/src/views/workflow/processInstance/index.vue b/src/views/workflow/processInstance/index.vue index 764ca2f..4f994af 100644 --- a/src/views/workflow/processInstance/index.vue +++ b/src/views/workflow/processInstance/index.vue @@ -81,7 +81,7 @@ </el-table-column> <el-table-column align="center" prop="startTime" label="鍚姩鏃堕棿" width="160"></el-table-column> <el-table-column v-if="tab === 'finish'" align="center" prop="endTime" label="缁撴潫鏃堕棿" width="160"></el-table-column> - <el-table-column label="鎿嶄綔" align="center" :width="tab === 'finish' ? '130' : '160'"> + <el-table-column label="鎿嶄綔" align="center" :width="130"> <template #default="scope"> <el-row v-if="tab === 'running'" :gutter="10" class="mb8"> <el-col :span="1.5"> @@ -97,22 +97,12 @@ </el-popover> </el-col> <el-col :span="1.5"> - <el-button - link - type="primary" - size="small" - icon="Sort" - @click="getProcessDefinitionHitoryList(scope.row.processDefinitionId, scope.row.processDefinitionKey)" - >鍒囨崲鐗堟湰</el-button - > + <el-button link type="primary" size="small" icon="Delete" @click="handleDelete(scope.row)">鍒犻櫎</el-button> </el-col> </el-row> <el-row :gutter="10" class="mb8"> <el-col :span="1.5"> <el-button link type="primary" size="small" icon="View" @click="handleView(scope.row)">鏌ョ湅</el-button> - </el-col> - <el-col :span="1.5"> - <el-button link type="primary" size="small" icon="Delete" @click="handleDelete(scope.row)">鍒犻櫎</el-button> </el-col> </el-row> </template> -- Gitblit v1.9.3