From 0119182fc7947e3bd2299a24bba7e25e913dbddc Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期五, 22 十二月 2023 09:47:40 +0800 Subject: [PATCH] modified: src/api/plan/productionschedul.js modified: src/views/plan/productionschedul/index.vue modified: src/views/quality/processInspect/index.vue modified: src/views/quality/processInspect/processInspect-form.vue modified: src/views/quality/rawMaterial/rawMaterial-form.vue --- src/views/technology/document/teststandard.vue | 16 ++++++++++++---- 1 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/views/technology/document/teststandard.vue b/src/views/technology/document/teststandard.vue index cae2c33..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, @@ -184,14 +184,22 @@ computed: { ...mapGetters(['permissions']) }, - created() {}, + created() { + this.$nextTick(()=>{ + getTestStand(this.paramObj) + }) + }, + mounted(){ + this.$nextTick(()=>{ + getTestStand(this.paramObj) + }) + }, methods: { // 鑾峰彇鏁版嵁鍒楄〃 getData() { this.$refs.selectTestStandardTable.getDataList() }, addOrUpdateHandle() { - console.info(this.documentId) if (this.documentId) { if (this.editable) { this.qualityStandardParamObj = { -- Gitblit v1.9.3