wente
2024-10-28 3b3521961c246eda35cde1fde685e3931f8af529
web/src/views/modules/taskReliability/TaskBinoParam.vue
@@ -1,5 +1,5 @@
<template>
  <zt-dialog ref="dialog" column="3" title="二项参数" append-to-body @confirm="handleSaveRows" :editAble="false">
  <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()">
@@ -23,13 +23,13 @@
            <span v-else>{{scope.row.successRate}}</span>
          </template>
        </el-table-column>
        <el-table-column prop="simulatTimes" label="仿真次数" align="center" width="100">
        <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>