|
@@ -495,13 +495,9 @@ export default {
|
|
|
loadings.close();
|
|
|
if (res.Result == "success") {
|
|
|
this.$message.success("发布成功");
|
|
|
+ this
|
|
|
setTimeout(() => {
|
|
|
- const data = `categoryId=${this.urlMsg.categoryId}&projectId=${this.urlMsg.projectId}&BuildingID=${this.urlMsg.BuildingID}&FloorID=${this.urlMsg.FloorID}&fmapID=${this.urlMsg.fmapID}`;
|
|
|
- const url =
|
|
|
- window.location.origin +
|
|
|
- "/wandaEditer/drafts?" +
|
|
|
- encodeURIComponent(data);
|
|
|
- window.open(url, true);
|
|
|
+ this.$router.push({ path: 'drafts', query: { categoryId: this.urlMsg.categoryId, projectId:this.urlMsg.projectId,BuildingID:this.urlMsg.BuildingID,FloorID:this.urlMsg.FloorID,fmapID:this.urlMsg.fmapID}})
|
|
|
}, 1000);
|
|
|
} else {
|
|
|
this.$message.error(res.Message);
|
|
@@ -541,7 +537,7 @@ export default {
|
|
|
this.graphId = res.Data;
|
|
|
Message({
|
|
|
message: "保存成功!",
|
|
|
- type: "error"
|
|
|
+ type: "success"
|
|
|
});
|
|
|
resolve(true);
|
|
|
} else {
|