From b1dbfd44f6bafaa4d24e0c1c3a0f7ae548e77f60 Mon Sep 17 00:00:00 2001 From: 王震 <10952869+daywangzhen@user.noreply.gitee.com> Date: 星期三, 27 十二月 2023 17:41:06 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- 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