From 8c91d18bfe4415b01509ecf2211b626b1e0d96e9 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期二, 22 十月 2024 14:45:18 +0800
Subject: [PATCH] 关于修改可靠性产品重复
---
web/src/views/modules/baseReliability/ParamDataBasic.vue | 25 ++++++++++++++++++++++---
1 files changed, 22 insertions(+), 3 deletions(-)
diff --git a/web/src/views/modules/baseReliability/ParamDataBasic.vue b/web/src/views/modules/baseReliability/ParamDataBasic.vue
index 60146b6..81726fd 100644
--- a/web/src/views/modules/baseReliability/ParamDataBasic.vue
+++ b/web/src/views/modules/baseReliability/ParamDataBasic.vue
@@ -39,6 +39,16 @@
<span>{{ keepNumber(scope.row.repairMttcr) }}</span>
</template>
</el-table-column>
+ <el-table-column prop="basicMtbfRegulSuccRate" label="鎴愬姛鐜�" align="right">
+ <template slot-scope="scope">
+ <span>{{keepNumber(scope.row.basicMtbfRegulSuccRate) }}</span>
+ </template>
+ </el-table-column>
+ <el-table-column prop="basicRunsNum" label="杩愯娆℃暟" align="right">
+ <template slot-scope="scope">
+ <span>{{scope.row.basicRunsNum}}</span>
+ </template>
+ </el-table-column>
<el-table-column prop="basicMtbfOperatingRatio" label="杩愯姣�" align="right">
<template slot-scope="scope">
<span>{{keepNumber(scope.row.basicMtbfOperatingRatio) }}</span>
@@ -68,7 +78,9 @@
basicMtbfRegulate: '',
repairMttcr: '',
basicMtbfOperatingRatio: '',
- ai: ''
+ ai: '',
+ basicMtbfRegulSuccRate:'',
+ basicRunsNum:''
},
defultKey: []
}
@@ -79,11 +91,18 @@
computed: {
keepNumber() { //杩囨护鍣ㄤ繚鐣�4涓哄皬鏁�
return function (val) { // 瀵硅绠楀睘鎬ц繘琛屼紶鍙�
- const numM = Number(val).toFixed(5);
- return numM.substring(0, numM.length - 1);
+ let numM = 0.0
+ if (val){
+ numM = Number(val).toFixed(4);
+ numM.substring(0, numM.length - 1)
+ }
+ return numM;
}
},
},
+ mounted() {
+ this.$refs.modelTree.getProductList()
+ },
methods: {
onProductSelected(data) {
this.defultKey = []
--
Gitblit v1.9.1