From 3cdad023eec111154857d3b7b0eb59336c6a3378 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期三, 24 七月 2024 14:38:07 +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