From a86c2eb2db34d2d350e5c2eb72bf6416ec89c0d2 Mon Sep 17 00:00:00 2001
From: xyc <jc_xiong@hotmail.com>
Date: 星期二, 19 十一月 2024 11:43:03 +0800
Subject: [PATCH] 1)可靠性评定时新增模型检查处理; 2)获取任务二项分布参数时,去掉模型的匹配。

---
 web/src/views/modules/taskReliability/TaskBinoParam.vue |   27 +++++++++++----------------
 1 files changed, 11 insertions(+), 16 deletions(-)

diff --git a/web/src/views/modules/taskReliability/TaskBinoParam.vue b/web/src/views/modules/taskReliability/TaskBinoParam.vue
index 8501078..09105f3 100644
--- a/web/src/views/modules/taskReliability/TaskBinoParam.vue
+++ b/web/src/views/modules/taskReliability/TaskBinoParam.vue
@@ -1,45 +1,40 @@
 <template>
-  <zt-dialog ref="dialog" column="3" title="浜岄」鍙傛暟" append-to-body :editAble="false" :hasConfirm="false">
-    <zt-table-wraper ref="tableObj" query-url="/taskReliability/TaskBinoParam/page" delete-url="/taskReliability/TaskBinoParam"
+  <zt-dialog ref="dialog" column="3" title="浜岄」鍙傛暟" @confirm="handleSaveRows" append-to-body :editAble="true" :hasConfirm="false">
+    <zt-table-wraper :paging='false' ref="tableObj" query-url="/taskReliability/TaskBinoParam/page" delete-url="/taskReliability/TaskBinoParam"
                      v-slot="{ table }" >
       <el-form :inline="true" :model="dataForm" @keyup.enter.native="table.query()">
-        <el-form-item>
-          <!--  <zt-button type="query" @click="table.query()"/>
-            <zt-button type="add" perm="taskReliability:add" @click="table.editHandle()"/>
-            <zt-button type="delete" perm="taskReliability:delete" @click="table.deleteHandle()"/>-->
-          <zt-button type="primary" @click="handleSaveRows">淇濆瓨</zt-button>
-        </el-form-item>
       </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" width="100"/>
+        <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">
-          <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>
         </el-table-column>
-        <el-table-column prop="simulatTimes" label="浠跨湡娆℃暟" align="center">
+        <el-table-column prop="simulatTimes" label="鎬绘鏁�" align="center" width="100">
           <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.simulatTimes"
-                                 placeholder="浠跨湡娆℃暟"></el-input>
+                                 placeholder="鎬绘鏁�"></el-input>
                     </span>
             <span v-else>{{scope.row.simulatTimes}}</span>
           </template>
         </el-table-column>
-        <el-table-column prop="successTimes" label="鎴愬姛娆℃暟" align="center">
+        <el-table-column prop="successTimes" label="鎴愬姛娆℃暟" align="center" width="100">
           <template slot-scope="scope">
                     <span
                       v-if="editingCell && editingCell.row === scope.row && editingCell.column.property === scope.column.property">

--
Gitblit v1.9.1