| | |
| | | <el-table-column |
| | | prop="mtbf" |
| | | label="MTBF" |
| | | width="90px" |
| | | width="100px" |
| | | align="right"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ keepNumber(scope.row.mtbf) }}</span> |
| | |
| | | <el-table-column |
| | | prop="mttr" |
| | | label="MTTR" |
| | | width="90px" |
| | | width="100px" |
| | | align="right"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ keepNumber(scope.row.mttr) }}</span> |
| | |
| | | <el-table-column |
| | | prop="msr" |
| | | label="MSR" |
| | | width="90px" |
| | | width="100px" |
| | | align="right"> |
| | | <template slot-scope="scope"> |
| | | <span>{{ keepNumber(scope.row.mttr) }}</span> |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | onTreeSelected(data) { |
| | | if (this.dataForm.id) { |
| | | async onTreeSelected(data) { |
| | | if (this.dataForm.taskModelId) { |
| | | console.log(data, 'onProductSelected') |
| | | this.dataForm.showProductId = data.id |
| | | this.$refs.SimulatCurve.getProductEcharts(this.dataForm); |
| | | let params = { |
| | | taskList: this.dataForm.taskModelId, |
| | | showProductId: this.dataForm.showProductId |
| | | } |
| | | console.log(this.dataForm.taskModelId, 'this.dataForm.taskModelId') |
| | | let res = await this.$http.get('/taskReliability/SimulatAssess/SchemeCompar', {params: params}) |
| | | console.log(res.data, "res") |
| | | this.xDataList = res.data.xdataList |
| | | this.seriesList = res.data.curveList |
| | | this.tableData = res.data.dataList |
| | | |
| | | } |
| | | }, |
| | | // 获取信息 |
| | |
| | | }, |
| | | async compair() { |
| | | let params = { |
| | | taskList: this.dataForm.taskModelId |
| | | taskList: this.dataForm.taskModelId, |
| | | showProductId: null |
| | | } |
| | | console.log(this.dataForm.taskModelId,'this.dataForm.taskModelId') |
| | | let res = await this.$http.get('/taskReliability/SimulatAssess/SchemeCompar', {params: params}) |