|
@@ -744,9 +744,18 @@ export default {
|
|
},
|
|
},
|
|
// 查看历史
|
|
// 查看历史
|
|
viewSource(e,type = null){
|
|
viewSource(e,type = null){
|
|
|
|
+ let params = this.dict.type.engineering_infrastructure
|
|
|
|
+ if(type == 'check'){
|
|
|
|
+ getDictList({enginType:['engineering_infrastructure']}).then(res => {
|
|
|
|
+ params = res.data.filter(e => {
|
|
|
|
+ return e.label == '水电施工' || e.label == '防水'
|
|
|
|
+ })
|
|
|
|
+ return this.$refs.ConstructionDetails.open(params,_,type)
|
|
|
|
+ })
|
|
|
|
+ }
|
|
console.log(e)
|
|
console.log(e)
|
|
this.currentId = e.id
|
|
this.currentId = e.id
|
|
- this.$refs.ConstructionDetails.open(this.dict.type.engineering_infrastructure,type,null,'基建')
|
|
|
|
|
|
+ this.$refs.ConstructionDetails.open(params,_,type)
|
|
this.status = 'read-only'
|
|
this.status = 'read-only'
|
|
},
|
|
},
|
|
// 填写节点信息
|
|
// 填写节点信息
|