|
@@ -560,26 +560,32 @@ export default {
|
|
console.log('item1为新值,item2为旧值', item1[0].value)
|
|
console.log('item1为新值,item2为旧值', item1[0].value)
|
|
this.activeNames = item1[0].value
|
|
this.activeNames = item1[0].value
|
|
this.$parent.viewNodeSource(item1[0].value)
|
|
this.$parent.viewNodeSource(item1[0].value)
|
|
|
|
+ // alert(item1[0].value)
|
|
},
|
|
},
|
|
currentCollapses(){
|
|
currentCollapses(){
|
|
try {
|
|
try {
|
|
|
|
+ console.log(1)
|
|
this.currentCollapses[0].zEngineeringReviewBo.reviewStatus != 1 ? this.isChecking = true : false
|
|
this.currentCollapses[0].zEngineeringReviewBo.reviewStatus != 1 ? this.isChecking = true : false
|
|
} catch (error) {
|
|
} catch (error) {
|
|
this.isChecking = true
|
|
this.isChecking = true
|
|
}
|
|
}
|
|
console.log('isChecking',this.isChecking)
|
|
console.log('isChecking',this.isChecking)
|
|
|
|
+ console.log('isChecking',this.isChecking)
|
|
let materialQuality = []
|
|
let materialQuality = []
|
|
try {
|
|
try {
|
|
|
|
+ console.log(2)
|
|
materialQuality = this.currentCollapses[0].zEngineeringMaterialBo[0].materialQuality
|
|
materialQuality = this.currentCollapses[0].zEngineeringMaterialBo[0].materialQuality
|
|
} catch (error) {
|
|
} catch (error) {
|
|
materialQuality = []
|
|
materialQuality = []
|
|
}
|
|
}
|
|
try {
|
|
try {
|
|
|
|
+ console.log(3)
|
|
this.reviewStatus = this.currentCollapses[0].zEngineeringReviewBo.reviewStatus != '1' ? true : false
|
|
this.reviewStatus = this.currentCollapses[0].zEngineeringReviewBo.reviewStatus != '1' ? true : false
|
|
} catch (error) {
|
|
} catch (error) {
|
|
this.reviewStatus = true
|
|
this.reviewStatus = true
|
|
}
|
|
}
|
|
if(materialQuality){
|
|
if(materialQuality){
|
|
|
|
+ console.log(4)
|
|
getEnginSpecificationsList({materId:materialQuality}).then(res => {
|
|
getEnginSpecificationsList({materId:materialQuality}).then(res => {
|
|
console.log('规格',res.data)
|
|
console.log('规格',res.data)
|
|
this.specificationsList = res.data
|
|
this.specificationsList = res.data
|
|
@@ -664,6 +670,7 @@ export default {
|
|
},
|
|
},
|
|
// 查看单节点历史
|
|
// 查看单节点历史
|
|
viewSource(e) {
|
|
viewSource(e) {
|
|
|
|
+ console.log('节点123',e)
|
|
console.log('节点',e)
|
|
console.log('节点',e)
|
|
this.node=e.name
|
|
this.node=e.name
|
|
this.nodesource=e
|
|
this.nodesource=e
|
|
@@ -736,7 +743,7 @@ export default {
|
|
*/
|
|
*/
|
|
open(dicts, type = null,currentStatus = null,kind = null,title= null,enginClassification,enginSort,enginType) {
|
|
open(dicts, type = null,currentStatus = null,kind = null,title= null,enginClassification,enginSort,enginType) {
|
|
console.log(1)
|
|
console.log(1)
|
|
- console.log(dicts)
|
|
|
|
|
|
+ console.log(currentStatus)
|
|
console.log(type)
|
|
console.log(type)
|
|
console.log(kind)
|
|
console.log(kind)
|
|
console.log(2)
|
|
console.log(2)
|
|
@@ -766,15 +773,28 @@ export default {
|
|
this.titleName = title
|
|
this.titleName = title
|
|
this.checkingVisible = false
|
|
this.checkingVisible = false
|
|
console.log(this.reviewStatus,this.currentStatus,this.isChecking)
|
|
console.log(this.reviewStatus,this.currentStatus,this.isChecking)
|
|
- if (type == '1' || type == '2') {
|
|
|
|
- // 工业 市政
|
|
|
|
- this.$parent.viewNodeSource()
|
|
|
|
|
|
+
|
|
|
|
+ if (type == '1') {
|
|
|
|
+ // 工业
|
|
|
|
+ // alert('工业='+dicts)
|
|
this.currentDicts = [
|
|
this.currentDicts = [
|
|
{
|
|
{
|
|
value: "历史数据",
|
|
value: "历史数据",
|
|
label: "历史数据"
|
|
label: "历史数据"
|
|
}
|
|
}
|
|
]
|
|
]
|
|
|
|
+ this.$parent.viewNodeSource()
|
|
|
|
+ }if (type == '2') {
|
|
|
|
+ // alert('市政='+dicts)
|
|
|
|
+ // 市政
|
|
|
|
+ // this.currentDicts = [
|
|
|
|
+ // {
|
|
|
|
+ // value: "历史数据",
|
|
|
|
+ // label: "历史数据"
|
|
|
|
+ // }
|
|
|
|
+ // ]
|
|
|
|
+ this.currentDicts = dicts
|
|
|
|
+ this.$parent.viewNodeSource()
|
|
} else if (type === '危险作业工程') {
|
|
} else if (type === '危险作业工程') {
|
|
this.$parent.viewNodeSource()
|
|
this.$parent.viewNodeSource()
|
|
this.currentDicts = [
|
|
this.currentDicts = [
|