jinlin
2024-12-02 18f682f736914e427070b9bb769df538ad9f6d1c
web/src/views/modules/taskReliability/TaskPhase.vue
@@ -24,12 +24,9 @@
              <el-table-column type="selection" width="40" align="center"/>
              <el-table-column prop="phaseName" label="阶段名称" align="center"/>
              <el-table-column prop="phaseDurationRate" label="阶段时长比" align="right" width="120"/>
                <el-table-column prop="remark" label="备注" align="right" width="200"/>
              <!--  <el-table-column prop="phaseSpeed" label="阶段时速" align="right"/>-->
              <!--<el-table-column prop="phaseSort" label="阶段顺序" align="center"/>-->
              <!--<el-table-column prop="operatConditDuration" label="工况时长分配" align="center"/>-->
                <el-table-column prop="remark" label="备注" align="center" width="100"/>
              <zt-table-column-handle :table="table" edit-perm="testReviewComment:update"
                                      delete-perm="taskReliability::delete">
                                      delete-perm="taskReliability::delete" width="100">
                <template v-slot="{row}">
                  <zt-table-button type="primary" @click="openEditWin(row)">修改</zt-table-button>
                </template>
@@ -41,7 +38,7 @@
        </div>
      </el-col>
      <el-col :span="6">
        <task-phase-model @getList="refreshData" ref="model"/>
        <task-phase-model ref="model"/>
      </el-col>
    </el-row>
  </div>
@@ -74,7 +71,6 @@
    methods: {
      refreshData() {
        this.$refs.tableObj.query()
        this.$refs.task.$refs.tableObj.query()
      },
      dataLoaded(data) {
        this.time = null
@@ -85,7 +81,6 @@
        console.log(this.time)
      },
      add() {
        console.log(this.time)
        this.$refs.AddOrUpdate.$refs.dialog.init(null, {
          taskId: this.dataForm.taskId,
          productId: this.dataForm.productId,