From 617d2ad422a2ae5badc0572b06f33c2791cb95ad Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期五, 29 十二月 2023 14:38:45 +0800
Subject: [PATCH] 质检代码调整
---
src/views/technology/document/teststandard.vue | 16 +++++++++++++---
1 files changed, 13 insertions(+), 3 deletions(-)
diff --git a/src/views/technology/document/teststandard.vue b/src/views/technology/document/teststandard.vue
index 2a7da1a..699a20c 100644
--- a/src/views/technology/document/teststandard.vue
+++ b/src/views/technology/document/teststandard.vue
@@ -42,6 +42,7 @@
align="center"
/>
<el-table-column label="鍗曚綅" prop="unit" align="center" />
+ <el-table-column label="娴嬭瘯鏂规硶" prop="method" align="center" />
</el-table>
</el-col>
</el-row>
@@ -59,7 +60,7 @@
deleteTestStandard,
getTestStand,
saveTestStandard
-} from '../../../api/technology/document'
+} from '@/api/technology/document'
import qualityStandardDialog from '@/views/common/teststandardradio.vue'
export default {
@@ -75,7 +76,7 @@
},
data() {
return {
- paramObj: { documentId: this.documentId },
+ paramObj: {documentId : this.documentId},
showQualityStandard: false,
testStandardParams: [],
ajaxFun: getTestStand,
@@ -184,7 +185,16 @@
computed: {
...mapGetters(['permissions'])
},
- created() {},
+ created() {
+ this.$nextTick(()=>{
+ getTestStand(this.paramObj)
+ })
+ },
+ mounted(){
+ this.$nextTick(()=>{
+ getTestStand(this.paramObj)
+ })
+ },
methods: {
// 鑾峰彇鏁版嵁鍒楄〃
getData() {
--
Gitblit v1.9.3