| | |
| | | <el-col :span="4"> |
| | | <div style="margin-right: 5px;height: calc(88vh - 100px)" v-if="isSelect"> |
| | | <product-model-tree @on-selected="onTreeSelected" showXdy="false" |
| | | ref="ProductModelTree" :isShow="false"/> |
| | | ref="ProductModelTree" :isShow="false" basic="5"/> |
| | | </div> |
| | | </el-col> |
| | | <el-col :span="20"> |
| | |
| | | |
| | | <script> |
| | | import SimulatCurve from "./SimulatCurve"; |
| | | import SimulatData from "./SimulatData"; |
| | | import ProductModelTree from "../basicInfo/ProductModelTree"; |
| | | |
| | | |
| | |
| | | components: { |
| | | ProductModelTree, |
| | | SimulatCurve, |
| | | SimulatData |
| | | }, |
| | | |
| | | methods: { |
| | |
| | | console.log(res.data) |
| | | this.simulatList = res.data |
| | | }, |
| | | onTreeSelected(data) { |
| | | console.log(data, 'onProductSelected') |
| | | this.dataForm.showProductId = data.id |
| | | this.$refs.SimulatCurve.getProductEcharts(this.dataForm); |
| | | async onTreeSelected(data) { |
| | | this.dataForm.productId = data.id |
| | | console.log(this.dataForm.productId) |
| | | let params = { |
| | | productId: this.dataForm.productId, |
| | | taskId: this.dataForm.taskModelId, |
| | | fzId: '1722218139013042135' |
| | | } |
| | | let res = await this.$http.get('/taskReliability/SimulatAssess/getStatus', {params: params}) |
| | | console.log(res.data) |
| | | }, |
| | | // 获取信息 |
| | | onProductSelected(data) { |