|
@@ -872,7 +872,12 @@ export default {
|
|
|
).map((id) => points.find((point) => point.pointId === id));
|
|
).map((id) => points.find((point) => point.pointId === id));
|
|
|
|
|
|
|
|
// console.log(uniquePoints, "去重后的选中节点");
|
|
// console.log(uniquePoints, "去重后的选中节点");
|
|
|
- this.tableData = this.sortTableDataByOrder(uniquePoints, this.orderTableData);//去重并排序
|
|
|
|
|
|
|
+ if(this.$route.query.sopId=='null'){
|
|
|
|
|
+ this.tableData = uniquePoints; // 子组件传递过来的选中节点(去重后)
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.tableData = this.sortTableDataByOrder(uniquePoints, this.orderTableData);//去重并排序
|
|
|
|
|
+
|
|
|
|
|
+ }
|
|
|
console.log(this.tableData,'排序之后')
|
|
console.log(this.tableData,'排序之后')
|
|
|
// this.tableData = uniquePoints; // 子组件传递过来的选中节点(去重后)
|
|
// this.tableData = uniquePoints; // 子组件传递过来的选中节点(去重后)
|
|
|
|
|
|