| | |
| | | <template> |
| | | <div> |
| | | <el-row :gutter="5"> |
| | | <el-col :span="7"> |
| | | <el-col :span="8"> |
| | | <div class="fa-card-a" style="margin-right: 5px;"> |
| | | <task @onTaskSelected="onTaskSelected" ref="task"/> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="11"> |
| | | <el-col :span="10"> |
| | | <div class="mod-taskReliability-taskPhase fa-card-a" style="margin-left: 5px;margin-right: 5px;"> |
| | | <zt-table-wraper ref="tableObj" defaultNotQuery="true" query-url="/taskReliability/TaskPhase/page" |
| | | delete-url="/taskReliability/TaskPhase/" |
| | |
| | | <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> |
| | |
| | | console.log(this.time) |
| | | }, |
| | | add() { |
| | | console.log(this.time) |
| | | this.$refs.AddOrUpdate.$refs.dialog.init(null, { |
| | | taskId: this.dataForm.taskId, |
| | | productId: this.dataForm.productId, |