diff --git a/epmet-oper-web/src/views/modules/productConfig/footbar/FootbarDefault.vue b/epmet-oper-web/src/views/modules/productConfig/footbar/FootbarDefault.vue new file mode 100644 index 0000000..2c4c1d1 --- /dev/null +++ b/epmet-oper-web/src/views/modules/productConfig/footbar/FootbarDefault.vue @@ -0,0 +1,50 @@ + + + + + + + + + + diff --git a/epmet-oper-web/src/views/modules/productConfig/footbar/FootbarSync.vue b/epmet-oper-web/src/views/modules/productConfig/footbar/FootbarSync.vue index 82cca3e..9bfc678 100644 --- a/epmet-oper-web/src/views/modules/productConfig/footbar/FootbarSync.vue +++ b/epmet-oper-web/src/views/modules/productConfig/footbar/FootbarSync.vue @@ -1,6 +1,6 @@ @@ -37,10 +38,10 @@ - 采集列表(客户的Footbar同部为默认配置) + 采集列表(添加客户没有的Footbar) - + @@ -86,6 +88,7 @@ export default { allHaveList: [],//全部已有的bar allNoList: [],//全部没有的bar + syncBarKeyList: [],//要同步的bar addBarKeyList: []//要增加的bar @@ -101,21 +104,31 @@ export default { tableHeight () { return this.clientHeight - 60 - 80 - 80 - 280 - 100 }, - ...mapGetters(['clientHeight', 'env']) + diaWidth () { + + return this.resolution === 'small' ? 60 : 50 + }, + diaTop () { + + return this.resolution === 'small' ? '30px' : '100px' + }, + ...mapGetters(['clientHeight', 'resolution']), }, methods: { init (customerId, appType, allHaveList) { this.customerId = customerId this.appType = appType this.allHaveList = allHaveList - + console.log(this.allHaveList) this.visible = true this.loadNoBarList() }, // 选中复选框 handleSelect (selection, row) { - debugger + selection.forEach(item => { + this.syncBarKeyList.push(item) + }); }, // 全选复选框