From f71832a6389efa2f851b8b7bd7a615ed2d3250e4 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 28 三月 2024 13:16:16 +0800
Subject: [PATCH] 完成模具页面
---
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