|
@@ -497,6 +497,8 @@ export default {
|
|
|
materialQualityList:[], // 材质
|
|
|
specificationsList:[], // 规格
|
|
|
materialComponList:[],
|
|
|
+ enginType:null,
|
|
|
+ enginClassification:null,
|
|
|
nodeInfo:{
|
|
|
backfillTime:'', // 回填时间
|
|
|
constructTime:'',
|
|
@@ -637,11 +639,10 @@ export default {
|
|
|
console.log('节点',e)
|
|
|
this.node=e.name
|
|
|
this.nodesource=e
|
|
|
- console.log('data',this.zEngineeringNodeBo)
|
|
|
- let data = {enginSort:this.zEngineeringNodeBo.enginType}
|
|
|
+ let data = {enginSort:this.enginType}
|
|
|
console.log(this.node)
|
|
|
data.enginStep = this.node
|
|
|
- data.enginNode = this.zEngineeringNodeBo.enginClassification
|
|
|
+ data.enginNode = this.enginClassification
|
|
|
if(this.node == '阀管'){
|
|
|
data.nameType = "自闭阀厂家";
|
|
|
getEnginMaterialQualityList(data).then(res => {
|
|
@@ -690,11 +691,11 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 查看历史
|
|
|
- open(dicts, type = null,currentStatus = null,kind = null,title= null,zEngineeringNodeBo) {
|
|
|
- console.log(zEngineeringNodeBo)
|
|
|
- let data = {enginSort:zEngineeringNodeBo.enginType}
|
|
|
-
|
|
|
- data.enginNode = zEngineeringNodeBo.enginClassification
|
|
|
+ open(dicts, type = null,currentStatus = null,kind = null,title= null,enginClassification,enginType) {
|
|
|
+ this.enginType=enginType
|
|
|
+ this.enginClassification=enginClassification
|
|
|
+ let data = {enginSort:enginType}
|
|
|
+ data.enginNode = enginClassification
|
|
|
getEnginMaterialQualityList(data).then(res => {
|
|
|
this.materialQualityList = res.data
|
|
|
})
|
|
@@ -711,7 +712,7 @@ export default {
|
|
|
})
|
|
|
}
|
|
|
//data.enginStep = this.node
|
|
|
- data.enginNode = zEngineeringNodeBo.enginClassification
|
|
|
+ data.enginNode = enginClassification
|
|
|
getEnginMaterialQualityList(data).then(res => {
|
|
|
this.materialQualityList = res.data
|
|
|
})
|