| | |
| | | clearable></zt-dict> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-input v-model="dataForm.name" placeholder="请输入名称" clearable></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <zt-button v-if="dataForm.srcId" type="warning" @click="handleSaveRows">保存</zt-button> |
| | | <zt-button v-if="dataForm.srcId" type="query" @click="table.query()"/> |
| | | <zt-button type="add" v-if="dataForm.productType==='3'" @click="add()"/> |
| | | <!-- <zt-button type="add" v-if="dataForm.productType==='3'" @click="add()"/>--> |
| | | <zt-button v-if="dataForm.srcId" type="delete" @click="table.deleteHandle()"/> |
| | | </el-form-item> |
| | | </el-form> |
| | |
| | | <span v-else v-text="scope.row.basicMtbfAccept"></span> |
| | | </template> |
| | | </el-table-column>--> |
| | | <el-table-column prop="basicMtbfRegulSuccRate" :key="9" label="MTBF成功率" align="right"> |
| | | <el-table-column prop="basicMtbfRegulSuccRate" :key="9" label="成功率" align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.basicMtbfRegulSuccRate"></el-input> |
| | | <span v-else v-text="scope.row.basicMtbfRegulSuccRate"></span> |
| | |
| | | <span v-else v-text="scope.row.basicRunsNum"></span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="basicMtbfOperatingRatio" :key="13" label="MTBF运行比" align="right"> |
| | | <el-table-column prop="basicMtbfOperatingRatio" :key="13" label="运行比" align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.basicMtbfOperatingRatio"></el-input> |
| | | <span v-else v-text="scope.row.basicMtbfOperatingRatio"></span> |
| | |
| | | <span v-else v-text="scope.row.taskMtbcfAccept"></span> |
| | | </template> |
| | | </el-table-column>--> |
| | | <el-table-column prop="taskMtbcfRegulSuccRate" :key="18" label="MTBCF成功率" align="right"> |
| | | <el-table-column prop="taskMtbcfRegulSuccRate" :key="18" label="成功率" align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.taskMtbcfRegulSuccRate"></el-input> |
| | | <span v-else v-text="scope.row.taskMtbcfRegulSuccRate"></span> |
| | |
| | | <span v-else v-text="scope.row.taskMtbcfAcceptSuccRate"></span> |
| | | </template> |
| | | </el-table-column>--> |
| | | <el-table-column prop="taskMtbcfOperatingRatio" :key="20" label="MTBCF运行比" align="right"> |
| | | <el-table-column prop="taskMtbcfOperatingRatio" :key="20" label="运行比" align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.taskMtbcfOperatingRatio"></el-input> |
| | | <span v-else v-text="scope.row.taskMtbcfOperatingRatio"></span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="taskMtbcfOtherParams2" :key="21" label="MTBCF其他参数2" align="right"> |
| | | <el-table-column prop="taskMtbcfOtherParams2" :key="21" label="其他参数2" align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.taskMtbcfOtherParams2"></el-input> |
| | | <span v-else v-text="scope.row.taskMtbcfOtherParams2"></span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="taskMtbcfOtherParams3" :key="30" label="MTBCF其他参数3" align="right"> |
| | | <el-table-column prop="taskMtbcfOtherParams3" :key="30" label="其他参数3" align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.taskMtbcfOtherParams3"></el-input> |
| | | <span v-else v-text="scope.row.taskMtbcfOtherParams3"></span> |
| | |
| | | <span v-else>{{scope.row.repairMttcr | keepNumber}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="repairMttcrOtherParams2" :key="26" label="MTTCR其他参数2" align="right"> |
| | | <el-table-column prop="repairMttcrOtherParams2" :key="26" label="其他参数2" align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.repairMttcrOtherParams2"></el-input> |
| | | <span v-else v-text="scope.row.repairMttcrOtherParams2"></span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="repairMttcrOtherParams3" :key="27" label="MTTCR其他参数3" align="right"> |
| | | <el-table-column prop="repairMttcrOtherParams3" :key="27" label="其他参数3" align="right"> |
| | | <template slot-scope="scope"> |
| | | <el-input v-if="scope.row.isEdit" v-model="scope.row.repairMttcrOtherParams3"></el-input> |
| | | <span v-else v-text="scope.row.repairMttcrOtherParams3"></span> |
| | |
| | | effect: '', |
| | | hit: false, |
| | | dataForm: { |
| | | pageCode: this.$route.query.pageCode, |
| | | id: '', |
| | | pid: '', |
| | | srcId: '', |
| | |
| | | reliabDistribType: '' |
| | | }, |
| | | isOrNot: [{ |
| | | value: 0, |
| | | label: '否' |
| | | },{ |
| | | value: 1, |
| | | label: '是' |
| | | }], |
| | |
| | | { |
| | | value: 1, |
| | | label: '指数分布' |
| | | }, { |
| | | }, |
| | | { |
| | | value: 2, |
| | | label: '二项分布' |
| | | label: '威布尔分布' |
| | | }, |
| | | { |
| | | value: 3, |
| | | label: '威布尔分布' |
| | | }, |
| | | label: '二项分布' |
| | | } |
| | | ], |
| | | // editingCell:null, |
| | | dataList: [], |
| | |
| | | }, |
| | | mounted() { |
| | | this.$refs.modelTree.getProductList() |
| | | this.pageCode = this.$route.query.pageCode |
| | | this.dataForm.pageCode = this.$route.query.pageCode |
| | | console.log(this.pageCode, 'this.pageCode this.pageCode') |
| | | }, |
| | | methods: { |
| | | add() { |
| | | this.$refs.SelectTyModel.$refs.dialog.init(null, { |
| | | type: this.dataForm.productType + 1, |
| | | id: this.dataForm.srcId, |
| | | pageCode: this.pageCode |
| | | pageCode: 'expect' |
| | | }) |
| | | console.log(this.dataForm.srcId, 'add') |
| | | }, |