|
@@ -187,10 +187,12 @@ export default {
|
|
|
this.getRightData()
|
|
|
},
|
|
|
//pages1改变
|
|
|
- changePages1() {
|
|
|
+ changePages1(page) {
|
|
|
+ this.pages1.PageNumber = page
|
|
|
this.getLeftData()
|
|
|
},
|
|
|
- changePages2() {
|
|
|
+ changePages2(page) {
|
|
|
+ this.pages2.PageNumber = page
|
|
|
this.getRightData()
|
|
|
},
|
|
|
//修改设备类型
|
|
@@ -246,8 +248,8 @@ export default {
|
|
|
let param = {
|
|
|
Filters: `sysId='${this.id}'`,
|
|
|
Orders: "EquipID desc",
|
|
|
- PageNumber: this.pages1.currentPage,
|
|
|
- PageSize: this.pages1.size
|
|
|
+ PageNumber: this.pages2.currentPage,
|
|
|
+ PageSize: this.pages2.size
|
|
|
}
|
|
|
if (this.search2 != '') {
|
|
|
param.Filters += `;EquipLocalName contain "${this.search2}"`
|
|
@@ -268,7 +270,7 @@ export default {
|
|
|
},
|
|
|
//关联
|
|
|
leftToRight() {
|
|
|
- let relationList = this.multipleSelection.concat(this.table2Data)
|
|
|
+ let relationList = this.multipleSelection
|
|
|
relationList = relationList.map(t => {
|
|
|
return t.EquipID || t.EquipId
|
|
|
})
|