|
@@ -156,9 +156,9 @@ export default {
|
|
let upDate = _this.tableData[index - 1]
|
|
let upDate = _this.tableData[index - 1]
|
|
_this.tableData.splice(index - 1, 1)
|
|
_this.tableData.splice(index - 1, 1)
|
|
_this.tableData.splice(index, 0, upDate)
|
|
_this.tableData.splice(index, 0, upDate)
|
|
|
|
+ let ids = _this.tableData.map(({ Id }) => Id)
|
|
|
|
+ _this.upDateGraphy(ids)
|
|
}
|
|
}
|
|
- let ids = _this.tableData.map(({ Id }) => Id)
|
|
|
|
- _this.upDateGraphy(ids)
|
|
|
|
}
|
|
}
|
|
|
|
|
|
function down() {
|
|
function down() {
|
|
@@ -168,9 +168,9 @@ export default {
|
|
let downDate = _this.tableData[index + 1]
|
|
let downDate = _this.tableData[index + 1]
|
|
_this.tableData.splice(index + 1, 1)
|
|
_this.tableData.splice(index + 1, 1)
|
|
_this.tableData.splice(index, 0, downDate)
|
|
_this.tableData.splice(index, 0, downDate)
|
|
|
|
+ let ids = _this.tableData.map(({ Id }) => Id)
|
|
|
|
+ _this.upDateGraphy(ids)
|
|
}
|
|
}
|
|
- let ids = _this.tableData.map(({ Id }) => Id)
|
|
|
|
- _this.upDateGraphy(ids)
|
|
|
|
}
|
|
}
|
|
},
|
|
},
|
|
// 更新图例关系信息
|
|
// 更新图例关系信息
|
|
@@ -180,6 +180,7 @@ export default {
|
|
GraphElementIds: ids,
|
|
GraphElementIds: ids,
|
|
Move: true
|
|
Move: true
|
|
}
|
|
}
|
|
|
|
+
|
|
graphElementUpdate({ posParams }).then(res => {
|
|
graphElementUpdate({ posParams }).then(res => {
|
|
this.getData()
|
|
this.getData()
|
|
})
|
|
})
|