From 7740e8d2fbfc70608575b22d6eded9a439ab4750 Mon Sep 17 00:00:00 2001
From: jinlin <jinlin>
Date: 星期一, 18 十二月 2023 09:17:57 +0800
Subject: [PATCH] 修改
---
web/src/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate.vue | 17 +++++++----------
1 files changed, 7 insertions(+), 10 deletions(-)
diff --git a/web/src/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate.vue b/web/src/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate.vue
index b9f2344..f16a699 100644
--- a/web/src/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate.vue
+++ b/web/src/views/modules/testCheckOrder/TestCheckOrder-AddOrUpdate.vue
@@ -49,7 +49,8 @@
</el-table-column>
<el-table-column prop="checkResult" align="center" width="180" label="妫�鏌ョ粨鏋�">
<template v-slot="{ row }">
- <zt-dict :disabled="stepMarker!=='csjcd_first'" v-model="row.checkResult" dict="tristate1" :radio="true"></zt-dict>
+ <zt-dict :disabled="stepMarker!=='csjcd_first'" v-model="row.checkResult" dict="tristate1"
+ :radio="true"></zt-dict>
</template>
</el-table-column>
<el-table-column prop="remark" label="澶囨敞" width="100" align="center">
@@ -136,7 +137,8 @@
stepMarker: '',
configDetailRow: null,
subtitle: '',
- pageName: {plan: '杞欢娴嬭瘯璁″垝', explain: '杞欢娴嬭瘯璇存槑', record: '杞欢娴嬭瘯璁板綍', report: '杞欢娴嬭瘯鎶ュ憡'},
+ pageName: {plan: '杞欢娴嬭瘯璁″垝', explain: '杞欢娴嬭瘯璇存槑', record: '杞欢娴嬭瘯璁板綍', report: '杞欢娴嬭瘯鎶ュ憡',
+ contract: '鍚堝悓璇勫闃舵', require:'娴嬭瘯闇�姹傚垎鏋愪笌绛栧垝'},
dataForm: {
id: '',
projectId: '',
@@ -159,19 +161,15 @@
},
methods: {
init(id, row) {
- console.log(row,'TestCheckOrder-AddOrUpdate.vue init row')
this.configDetailRow = row
if (row.checkId) {
console.log('閰嶇疆椤瑰叆搴撳鏍歌繘鏉ョ殑 TestCheckOrder-AddOrUpdate.vue init row.checkId')
if (row.checkId != -1) {
- console.log('TestCheckOrder-AddOrUpdate.vue init row.checkId!=-1')
this.dataForm.id = row.checkId
}
} else if (id) {
- console.log(this.dataForm,'浠庢鏌ュ崟杩涙潵鐨� TestCheckOrder-AddOrUpdate.vue init this.dataForm')
this.dataForm.id = id
} else {
- console.log(this.dataForm,'浠庢鏌ュ崟杩涙潵鐨� TestCheckOrder-AddOrUpdate.vue init this.dataForm')
this.dataForm.id = row.id
}
this.pageCode = row.pageCode
@@ -180,7 +178,6 @@
if (row.projectId) {
this.dataForm.projectId = row.projectId
}
- console.log(id, row, this.subtitle, '杞欢娴嬭瘯璁″垝妫�鏌ュ崟')
if (this.configDetailRow) {
if (!row.stepMarker) {
this.stepMarker = 'csjcd_first'
@@ -211,12 +208,12 @@
...this.dataForm,
...res.data
}
- console.log(this.dataForm,'this.dataForm this.dataForm')
+ console.log(this.dataForm, 'this.dataForm this.dataForm')
},
- async print(){
+ async print() {
var params = qs.stringify({
token: Cookies.get('token'),
- id:this.dataForm.id,
+ id: this.dataForm.id,
pageCode: this.pageCode
})
let apiURL = `/testCheckOrder/TestCheckOrder/exportCheckOrder`
--
Gitblit v1.9.1