From 50ba0927c9644b072928b83d91820719dcb13ec9 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期一, 18 三月 2024 17:03:41 +0800 Subject: [PATCH] tianjai remark --- src/views/technology/document/teststandard.vue | 17 +++++++++++++---- 1 files changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/technology/document/teststandard.vue b/src/views/technology/document/teststandard.vue index cae2c33..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,14 +185,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