From 7fca02745d606514a22dc2f4673e3ea1475495b6 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 30 一月 2024 16:54:52 +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