From 540f84fd0a7ecc758f003654edb5cab0684dca5f Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期五, 22 十二月 2023 16:01:15 +0800 Subject: [PATCH] 修改报工的投入 --- src/views/technology/document/teststandard.vue | 13 ++++++++++--- 1 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/views/technology/document/teststandard.vue b/src/views/technology/document/teststandard.vue index f8aa95a..4607896 100644 --- a/src/views/technology/document/teststandard.vue +++ b/src/views/technology/document/teststandard.vue @@ -59,7 +59,7 @@ deleteTestStandard, getTestStand, saveTestStandard -} from '../../../api/technology/document' +} from '@/api/technology/document' import qualityStandardDialog from '@/views/common/teststandardradio.vue' export default { @@ -75,7 +75,7 @@ }, data() { return { - paramObj: { documentId: this.documentId }, + paramObj: {documentId : this.documentId}, showQualityStandard: false, testStandardParams: [], ajaxFun: getTestStand, @@ -185,7 +185,14 @@ ...mapGetters(['permissions']) }, created() { - getTestStand(this.paramObj) + this.$nextTick(()=>{ + getTestStand(this.paramObj) + }) + }, + mounted(){ + this.$nextTick(()=>{ + getTestStand(this.paramObj) + }) }, methods: { // 鑾峰彇鏁版嵁鍒楄〃 -- Gitblit v1.9.3