| | |
| | | <el-row :gutter="5"> |
| | | <el-col :span="4"> |
| | | <div class="fa-card-a" style="margin-right: 5px;height: calc(100vh - 123px)"> |
| | | <product-model-tree @on-selected="onProductSelected" showXdy="false" :isShow="false"/> |
| | | <product-model-tree @on-selected="onProductSelected" @on-default="onDefault" showXdy="false" :isShow="false"/> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="20"> |
| | |
| | | :hit="hit"/> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column v-if="dataForm.productType==='2'" :key="3" prop="baseOperatRatio" label="基本可靠性运行比" align="right"> |
| | | <el-table-column v-if="dataForm.productType==='2'" :key="3" prop="baseOperatRatio" label="基本可靠性运行比" |
| | | align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.baseOperatRatio"></el-input> |
| | | <span v-else v-text="scope.row.baseOperatRatio"></span> |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> |
| | | <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='4'" :key="22" label="维修分布" align="center"> |
| | | <el-table-column v-if="dataForm.productType==='3'||dataForm.productType==='4'" :key="22" label="维修分布" |
| | | align="center"> |
| | | <!-- <zt-table-column-dict prop="repairable" :keys="23" label="可维修" dict="is_or_not"/>--> |
| | | <el-table-column prop="repairable" label="可维修" :key="23" width="80" align="center"> |
| | | <template v-slot="{ row }"> |
| | |
| | | this.$refs.tableObj.query() |
| | | }) |
| | | }, |
| | | onDefault(defaultId) { |
| | | this.dataForm.srcId = defaultId |
| | | this.dataForm.productType = 2 |
| | | this.activeName = 'first' |
| | | this.$refs.tableObj.query() |
| | | }, |
| | | dataLoaded(data) { |
| | | this.dataList = data |
| | | for (let dataList of data) { |