|
@@ -96,7 +96,7 @@
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="比对结果判断" prop="biDuiJieGuoPanDua">
|
|
<el-table-column label="比对结果判断" prop="biDuiJieGuoPanDua">
|
|
|
<template slot-scope="{row}">
|
|
<template slot-scope="{row}">
|
|
|
- <template v-if="!readonly">
|
|
|
|
|
|
|
+ <template v-if="!readonly && isEdit">
|
|
|
<el-radio v-model="row.biDuiJieGuoPanDua" label="通过">通过</el-radio>
|
|
<el-radio v-model="row.biDuiJieGuoPanDua" label="通过">通过</el-radio>
|
|
|
<el-radio v-model="row.biDuiJieGuoPanDua" label="不通过">不通过</el-radio>
|
|
<el-radio v-model="row.biDuiJieGuoPanDua" label="不通过">不通过</el-radio>
|
|
|
</template>
|
|
</template>
|
|
@@ -136,12 +136,13 @@ export default {
|
|
|
return {
|
|
return {
|
|
|
tableData: [],
|
|
tableData: [],
|
|
|
multipleSelection: [],
|
|
multipleSelection: [],
|
|
|
- isRead: false
|
|
|
|
|
|
|
+ isRead: false,
|
|
|
|
|
+ isEdit: true
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
shiFouGuoShen () {
|
|
shiFouGuoShen () {
|
|
|
- return this.formData.shiFouGuoShen === '已编制'
|
|
|
|
|
|
|
+ return this.formData.shiFouGuoShen === '已编制' || this.formData.shiFouGuoShen === '已比对'
|
|
|
},
|
|
},
|
|
|
passRate () {
|
|
passRate () {
|
|
|
if (this.tableData.length === 0) return '0'
|
|
if (this.tableData.length === 0) return '0'
|
|
@@ -153,8 +154,11 @@ export default {
|
|
|
'formData.smjzhjxqxsyrybdxqb': {
|
|
'formData.smjzhjxqxsyrybdxqb': {
|
|
|
handler (val) {
|
|
handler (val) {
|
|
|
if (val && val.length) {
|
|
if (val && val.length) {
|
|
|
- // console.log(this.formData)
|
|
|
|
|
this.tableData = val
|
|
this.tableData = val
|
|
|
|
|
+
|
|
|
|
|
+ if (this.params?.nodeId === 'Activity_0zep3tf' && this.formData.faQiRen && this.isEdit) {
|
|
|
|
|
+ this.isEdit = false
|
|
|
|
|
+ }
|
|
|
} else {
|
|
} else {
|
|
|
if (this.tableData.length !== 0) {
|
|
if (this.tableData.length !== 0) {
|
|
|
this.tableData = []
|
|
this.tableData = []
|