From 3a4536445096cdb80d586a67df3c00ab4a0faecb Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期一, 22 七月 2024 16:46:38 +0800 Subject: [PATCH] 修改 --- web/src/views/modules/taskReliability/TaskBinoParam.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/web/src/views/modules/taskReliability/TaskBinoParam.vue b/web/src/views/modules/taskReliability/TaskBinoParam.vue index 72db6a0..f058098 100644 --- a/web/src/views/modules/taskReliability/TaskBinoParam.vue +++ b/web/src/views/modules/taskReliability/TaskBinoParam.vue @@ -12,18 +12,19 @@ </el-form> <el-table v-loading="table.dataLoading" :data="table.dataList" height="600px" - border @selection-change="table.selectionChangeHandle" @cell-click="handleCellClick"> + border @selection-change="table.selectionChangeHandle" @cell-click="handleCellClick" + :header-cell-style="{'text-align':'center'}"> <!-- <el-table-column type="selection" width="40"/>--> <el-table-column prop="phaseName" label="闃舵" align="center" /> <el-table-column prop="operatConditName" label="宸ュ喌" align="center"/> <el-table-column prop="productName" label="浜岄」鍒嗗竷璁惧" align="center"/> - <el-table-column prop="successRate" label="鎴愬姛鐜�" align="right" width="100"> - <template slot-scope="scope"> + <el-table-column prop="successRate" label="鎴愬姛鐜�" width="100" align="right"> + <template slot-scope="scope" > <span v-if="editingCell && editingCell.row === scope.row && editingCell.column.property === scope.column.property"> <el-input ref="editInput" autosize v-model="scope.row.successRate" - placeholder="鎴愬姛鐜�"></el-input> + placeholder="鎴愬姛鐜�" ></el-input> </span> <span v-else>{{scope.row.successRate}}</span> </template> -- Gitblit v1.9.1