From 1d201842264ce4065af198f69d44f3a8c56912ee Mon Sep 17 00:00:00 2001 From: jinlin <jinlin> Date: 星期五, 19 七月 2024 10:59:24 +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