|
@@ -450,27 +450,28 @@ export default {
|
|
|
*/
|
|
|
goToEditer() {
|
|
|
setTimeout(() => {
|
|
|
- const token = this.$store.getters["token"];
|
|
|
+ /* const token = this.$store.getters["token"];
|
|
|
const data = `categoryId=${this.categoryId}&projectId=${this.projectId}&BuildingID=1&FloorID=${this.floorId}&FloorName=${this.floorName}&fmapID=${this.fmapID}&token=${token}`;
|
|
|
const url =
|
|
|
window.location.origin +
|
|
|
"/wandaEditer/editer?" +
|
|
|
encodeURIComponent(data);
|
|
|
- window.open(url, true);
|
|
|
+ window.open(url, true); */
|
|
|
+
|
|
|
// 发布成功跳转草稿箱
|
|
|
- // const token = this.$store.getters["token"];
|
|
|
- // this.$router.push({
|
|
|
- // path: "editer",
|
|
|
- // query: {
|
|
|
- // categoryId: this.categoryId,
|
|
|
- // projectId: this.projectId,
|
|
|
- // BuildingID: 1,
|
|
|
- // FloorName: this.floorName,
|
|
|
- // FloorID: this.floorId,
|
|
|
- // fmapID: this.fmapID,
|
|
|
- // token:token
|
|
|
- // }
|
|
|
- // });
|
|
|
+ const token = this.$store.getters["token"];
|
|
|
+ this.$router.push({
|
|
|
+ path: "editer",
|
|
|
+ query: {
|
|
|
+ categoryId: this.categoryId,
|
|
|
+ projectId: this.projectId,
|
|
|
+ BuildingID: 1,
|
|
|
+ FloorName: this.floorName,
|
|
|
+ FloorID: this.floorId,
|
|
|
+ fmapID: this.fmapID,
|
|
|
+ token:token
|
|
|
+ }
|
|
|
+ });
|
|
|
}, 1000);
|
|
|
},
|
|
|
// 切换草稿箱楼层
|