|
@@ -69,8 +69,8 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
methods: {
|
|
|
- async researchThemeDetail(id, source) {
|
|
|
- const res = await Research.researchThemeDetail({ IndustrialManagementId: id, Source: source ? 2 : 1 });
|
|
|
+ async researchThemeDetail(id, source, PageRouter) {
|
|
|
+ const res = await Research.researchThemeDetail({ IndustrialManagementId: id, Source: source ? 2 : 1, PageRouter });
|
|
|
if (res.Ret === 200) {
|
|
|
this.themeList = res.Data || {};
|
|
|
this.isFollw = res.Data.IsFollw;
|
|
@@ -149,9 +149,12 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
- this.$store.commit("setRouterReport", "主题详情");
|
|
|
let source = options.source || "";
|
|
|
- this.researchThemeDetail(options.id, source);
|
|
|
+ let pageRouter = options.pageRouter || "";
|
|
|
+ this.researchThemeDetail(options.id, source, pageRouter);
|
|
|
+ },
|
|
|
+ onShow() {
|
|
|
+ this.$store.commit("setRouterReport", "主题详情");
|
|
|
},
|
|
|
};
|
|
|
</script>
|