|
@@ -451,6 +451,7 @@
|
|
title="批量审核"
|
|
title="批量审核"
|
|
:visible.sync="checkingsVisible"
|
|
:visible.sync="checkingsVisible"
|
|
class="checkingAll"
|
|
class="checkingAll"
|
|
|
|
+ @close="checkingAllFormClosed"
|
|
>
|
|
>
|
|
<el-form :model="checkingForm" :rules="checkingFormRules" ref="checkingFormAll">
|
|
<el-form :model="checkingForm" :rules="checkingFormRules" ref="checkingFormAll">
|
|
<el-form-item label="工程类型" prop="enginType">
|
|
<el-form-item label="工程类型" prop="enginType">
|
|
@@ -1028,6 +1029,9 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ checkingAllFormClosed(){
|
|
|
|
+ this.$refs.checkingFormAll.resetFields()
|
|
|
|
+ },
|
|
validateCHanged(e){
|
|
validateCHanged(e){
|
|
this.reviewStatusList[e].label == '通过' ? this.checkingFormRules.reviewContent[0].required = true : this.checkingFormRules.reviewContent[0].required = false
|
|
this.reviewStatusList[e].label == '通过' ? this.checkingFormRules.reviewContent[0].required = true : this.checkingFormRules.reviewContent[0].required = false
|
|
},
|
|
},
|
|
@@ -1072,7 +1076,9 @@ export default {
|
|
message: '审核成功',
|
|
message: '审核成功',
|
|
type: 'success'
|
|
type: 'success'
|
|
});
|
|
});
|
|
- this.viewNodeSource()
|
|
|
|
|
|
+ setTimeout(() => {
|
|
|
|
+ this.viewNodeSource()
|
|
|
|
+ },1000)
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -1110,12 +1116,15 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
viewNodeSource(e = null) {
|
|
viewNodeSource(e = null) {
|
|
|
|
+ if(e){
|
|
|
|
+ this.currentEnginName = e
|
|
|
|
+ }
|
|
|
|
+ console.log(this.currentEnginName )
|
|
viewEngineeringCivilSource({
|
|
viewEngineeringCivilSource({
|
|
id: this.enginId,
|
|
id: this.enginId,
|
|
- type: e || this.currentEnginName
|
|
|
|
|
|
+ type: e || this.currentEnginName
|
|
}).then(res => {
|
|
}).then(res => {
|
|
- console.log('______', res)
|
|
|
|
- this.currentEnginName = e
|
|
|
|
|
|
+ console.log('______', res)
|
|
this.createTime = res.data.createTime
|
|
this.createTime = res.data.createTime
|
|
try {
|
|
try {
|
|
this.updateParams = res.data
|
|
this.updateParams = res.data
|