|
@@ -120,16 +120,18 @@ export default {
|
|
|
this.dialogInfo = item
|
|
|
if (Object.keys(this.dialogInfo).length > 0 && this.dialogInfo.children.length > 0) {
|
|
|
this.activeName = this.dialogInfo.children[0].param.tab_code
|
|
|
- this.typecode = this.dialogInfo.children[0].param.type_code
|
|
|
this.diff = this.dialogInfo.children[0].param.diff
|
|
|
if (this.dialogInfo.children[0].id.slice(2, 4) == 'YL') {
|
|
|
+ this.typecode = this.dialogInfo.children[0].param.type_code
|
|
|
+ this.activeName = this.typecode
|
|
|
this.isShowTab()
|
|
|
this.initImage(this.typecode)
|
|
|
}
|
|
|
} else {
|
|
|
this.activeName = this.dialogInfo.param.tab_code
|
|
|
- this.typecode = this.dialogInfo.param.type_code
|
|
|
if (this.dialogInfo.id.slice(2, 4) == 'YL') {
|
|
|
+ this.typecode = this.dialogInfo.param.type_code
|
|
|
+ this.activeName = this.typecode
|
|
|
this.isShowTab()
|
|
|
this.initImage(this.typecode)
|
|
|
}
|
|
@@ -240,7 +242,7 @@ export default {
|
|
|
typecode: el.params.typecode
|
|
|
})
|
|
|
})
|
|
|
- this.$emit('emitCount',this.tabCount)
|
|
|
+ this.$emit('emitCount', this.tabCount)
|
|
|
})
|
|
|
}
|
|
|
}
|