| | |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | <el-dialog :close-on-click-modal="false" :visible.sync="dialogVisible" title="模型检查" width="60%" @close="dialogVisible = false"> |
| | | <el-tag type="danger">模型定义/参数配置里存在以下问题:</el-tag> |
| | | <el-table :data="modelCheckResult" height="100px" v-adaptive="{bottomOffset:30}" |
| | | <el-dialog v-dialogDrag :close-on-click-modal="false" top="8vh" :visible.sync="dialogVisible" title="模型检查" width="60%" @close="dialogVisible = false"> |
| | | <el-tag type="danger" style="margin-bottom: 10px">模型定义/参数配置里存在以下问题:</el-tag> |
| | | <el-table :data="modelCheckResult" height="350" |
| | | :header-cell-style="{'text-align':'center'}"> |
| | | <el-table-column prop="category" label="检查结果" align="center" width="150"/> |
| | | <el-table-column prop="taskName" label="任务名称" align="center"/> |
| | |
| | | console.log(data, ' onProductSelected(data)') |
| | | this.dataForm.productId = data.id |
| | | this.getTaskList() |
| | | this.dataForm.taskModelId = '' |
| | | this.$nextTick(() => { |
| | | this.$refs.ProductModelTree.getProductList() |
| | | }) |
| | |
| | | }, |
| | | getStroke() { |
| | | if (this.percentage < 100) { |
| | | this.$http.get(`/taskReliability/SimulatAssess/getCalcProgress?taskId=${this.dataForm.id}`).then( |
| | | let param = { |
| | | taskList: [this.dataForm.id] |
| | | } |
| | | this.$http.get(`/taskReliability/SimulatAssess/getCalcProgress`, {params: param}).then( |
| | | res => { |
| | | if (res.data) { |
| | | this.percentage = parseFloat(res.data) |
| | |
| | | let res = await this.$http.post('/taskReliability/SimulatAssess/analyze', this.dataForm) |
| | | if (res.success) { |
| | | console.log(res.data) |
| | | if (res.data != null && res.data.length > 0) { |
| | | if (res.data && res.data.length > 0) { |
| | | this.modelCheckResult = res.data |
| | | this.dialogVisible = true |
| | | } else { |