|
@@ -354,6 +354,7 @@ export default {
|
|
|
this.floorName = id.Code;
|
|
|
this.floorId = id.Gname;
|
|
|
this.categoryId = items.Id;
|
|
|
+ this.seq = items.Seq;
|
|
|
// this.getLegend();
|
|
|
this.checkFloor(id.Gname);
|
|
|
console.log(items);
|
|
@@ -412,6 +413,7 @@ export default {
|
|
|
this.floorName = this.treeData[0].children[0].children[0].Code;
|
|
|
this.floorId = this.treeData[0].children[0].children[0].Gname;
|
|
|
this.categoryId = this.treeData[0].children[0].Id;
|
|
|
+ this.seq = this.treeData[0].children[0].Seq;
|
|
|
// this.getLegend();
|
|
|
this.checkFloor(this.treeData[0].children[0].children[0].Gname);
|
|
|
} else {
|
|
@@ -421,6 +423,7 @@ export default {
|
|
|
this.floorName = this.treeData[0].children[0].Code;
|
|
|
this.floorId = this.treeData[0].children[0].Gname;
|
|
|
this.categoryId = this.treeData[0].Id;
|
|
|
+ this.seq = this.treeData[0].children[0].Seq;
|
|
|
// this.getLegend();
|
|
|
this.checkFloor(this.treeData[0].children[0].Gname);
|
|
|
}
|
|
@@ -435,6 +438,7 @@ export default {
|
|
|
if (this.treeData.length == 0) {
|
|
|
this.checkFloor("");
|
|
|
}
|
|
|
+ console.log(' this.treeData', this.treeData)
|
|
|
})
|
|
|
.catch(() => {
|
|
|
loadings.close();
|
|
@@ -450,7 +454,6 @@ export default {
|
|
|
graphId: this.graphId,
|
|
|
categoryId: this.categoryId
|
|
|
}).then(res => {
|
|
|
- console.log(res);
|
|
|
this.legendLoading = false;
|
|
|
if (res.data.Result == "success") {
|
|
|
const data = res.data.Data;
|
|
@@ -491,7 +494,7 @@ export default {
|
|
|
spinner: "el-icon-loading",
|
|
|
background: "rgba(0, 0, 0, 0.7)"
|
|
|
});
|
|
|
- let params = {
|
|
|
+ const params = {
|
|
|
"BuildingID": this.BuildingID,
|
|
|
"CategoryID": this.categoryId,
|
|
|
"FloorID": this.floorId,
|
|
@@ -587,13 +590,15 @@ export default {
|
|
|
"/wandaEditer/editer?" +
|
|
|
encodeURIComponent(data);
|
|
|
window.open(url, true); */
|
|
|
-
|
|
|
+
|
|
|
// 发布成功跳转草稿箱
|
|
|
const token = this.$store.getters["token"];
|
|
|
+ alert(this.seq)
|
|
|
this.$router.push({
|
|
|
path: "editer",
|
|
|
query: {
|
|
|
categoryId: this.categoryId,
|
|
|
+ seq:this.seq,
|
|
|
projectId: this.projectId,
|
|
|
BuildingID: 1,
|
|
|
FloorName: this.floorName,
|