|
@@ -481,8 +481,13 @@ export default {
|
|
|
2: "/addCustomSheet",
|
|
|
3: "/addMixedSheet",
|
|
|
};
|
|
|
- const { href } = this.$router.resolve({ path: path[type] });
|
|
|
- window.open(href, "_blank");
|
|
|
+
|
|
|
+ if(type === 1) {
|
|
|
+ const { href } = this.$router.resolve({ path: path[type] });
|
|
|
+ window.open(href, "_blank");
|
|
|
+ }else {
|
|
|
+ this.$router.push({ path: path[type] })
|
|
|
+ }
|
|
|
},
|
|
|
|
|
|
/* 获取表格分类 */
|
|
@@ -785,11 +790,10 @@ export default {
|
|
|
2: "/addCustomSheet",
|
|
|
3: "addMixedSheet",
|
|
|
};
|
|
|
- const { href } = this.$router.resolve({
|
|
|
+ this.$router.push({
|
|
|
path: path[this.sheetDetailInfo.Source],
|
|
|
query: { id: this.sheetDetailInfo.ExcelInfoId },
|
|
|
});
|
|
|
- window.open(href, "_blank");
|
|
|
},
|
|
|
|
|
|
/* 刷新表格 */
|