|
@@ -45,11 +45,11 @@
|
|
<tableList v-else-if='value.id.slice(0,4)=="RDQD"' :param='param' ref='list1' major='弱电'></tableList>
|
|
<tableList v-else-if='value.id.slice(0,4)=="RDQD"' :param='param' ref='list1' major='弱电'></tableList>
|
|
<tableList v-else-if='value.id.slice(0,4)=="NTQD"' :param='param' ref='list2' major='暖通'></tableList>
|
|
<tableList v-else-if='value.id.slice(0,4)=="NTQD"' :param='param' ref='list2' major='暖通'></tableList>
|
|
<!-- 维保表格 -->
|
|
<!-- 维保表格 -->
|
|
- <wb-table v-else-if='value.id.slice(2,4)=="WB"' :smsxt='smsxt' :major='dialogInfo.id'></wb-table>
|
|
|
|
|
|
+ <wb-table v-else-if='value.id.slice(2,4)=="WB"' :smsxt='smsxt' :difference='difference' :major='dialogInfo.id'></wb-table>
|
|
<!-- 维修的表格 -->
|
|
<!-- 维修的表格 -->
|
|
- <wx-table v-else-if='value.id.slice(2,4)=="WX"' :smsxt='smsxt' :major='dialogInfo.id'></wx-table>
|
|
|
|
|
|
+ <wx-table v-else-if='value.id.slice(2,4)=="WX"' :smsxt='smsxt' :difference='difference' :major='dialogInfo.id'></wx-table>
|
|
<!-- 专维 -->
|
|
<!-- 专维 -->
|
|
- <zw-table v-else-if='value.id.slice(2,4)=="ZW"' :smsxt='smsxt' :major='dialogInfo.id'></zw-table>
|
|
|
|
|
|
+ <zw-table v-else-if='value.id.slice(2,4)=="ZW"' :smsxt='smsxt' :difference='difference' :major='dialogInfo.id'></zw-table>
|
|
<!-- 其他 -->
|
|
<!-- 其他 -->
|
|
<other-table v-else-if='value.id.slice(2,4)=="QT"' ref='qtList' :smsxt='smsxt' :major='dialogInfo.id'></other-table>
|
|
<other-table v-else-if='value.id.slice(2,4)=="QT"' ref='qtList' :smsxt='smsxt' :major='dialogInfo.id'></other-table>
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
@@ -81,6 +81,7 @@ export default {
|
|
dialogInfo: {},
|
|
dialogInfo: {},
|
|
param: '', //区分清单tab
|
|
param: '', //区分清单tab
|
|
typecode: '', //区分原理图的tab
|
|
typecode: '', //区分原理图的tab
|
|
|
|
+ difference: '', //区分给水排水
|
|
rotationImg: []
|
|
rotationImg: []
|
|
}
|
|
}
|
|
},
|
|
},
|
|
@@ -100,6 +101,7 @@ export default {
|
|
if (Object.keys(this.dialogInfo).length > 0 && this.dialogInfo.children.length > 0) {
|
|
if (Object.keys(this.dialogInfo).length > 0 && this.dialogInfo.children.length > 0) {
|
|
this.activeName = this.dialogInfo.children[0].param.tab_code
|
|
this.activeName = this.dialogInfo.children[0].param.tab_code
|
|
this.typecode = this.dialogInfo.children[0].param.type_code
|
|
this.typecode = this.dialogInfo.children[0].param.type_code
|
|
|
|
+ this.difference = this.dialogInfo.children[0].param.difference
|
|
if (this.dialogInfo.children[0].id.slice(2, 4) == 'YL') {
|
|
if (this.dialogInfo.children[0].id.slice(2, 4) == 'YL') {
|
|
this.isShowTab()
|
|
this.isShowTab()
|
|
this.initImage(this.typecode)
|
|
this.initImage(this.typecode)
|
|
@@ -127,6 +129,7 @@ export default {
|
|
//原理图的tab怎么传typecode
|
|
//原理图的tab怎么传typecode
|
|
if (this.dialogInfo.children.length > 0) {
|
|
if (this.dialogInfo.children.length > 0) {
|
|
this.typecode = this.dialogInfo.children[`${tab.index}`].param.type_code
|
|
this.typecode = this.dialogInfo.children[`${tab.index}`].param.type_code
|
|
|
|
+ this.difference = this.dialogInfo.children[`${tab.index}`].param.difference
|
|
}
|
|
}
|
|
if (this.dialogInfo.children[0].id.slice(2, 4) == 'YL') {
|
|
if (this.dialogInfo.children[0].id.slice(2, 4) == 'YL') {
|
|
this.initImage(this.typecode)
|
|
this.initImage(this.typecode)
|