|
|
@@ -544,7 +544,7 @@
|
|
|
<share
|
|
|
v-if="setShareFlag"
|
|
|
:reportTarget="reportTarget"
|
|
|
- :reportId="$route.query.reportId"
|
|
|
+ :reportId="reportId"
|
|
|
@setShareImg="setShareImg"
|
|
|
:urlList="urlList"
|
|
|
:reportRemarksIndex="reportRemarksIndex"></share>
|
|
|
@@ -682,10 +682,13 @@ export default {
|
|
|
reportRemarksIndex: -1,
|
|
|
shareImgFlag: false,
|
|
|
urlList: [],
|
|
|
+ reportId: '',
|
|
|
//
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ this.reportId = this.$route.query.reportId ? this.$route.query.reportId.replace('?', '') : '';
|
|
|
+ console.log(this.reportId);
|
|
|
this.powerGrade = localStorage.getItem('powerGrade');
|
|
|
this.isDiy = localStorage.getItem('isDiy');
|
|
|
this.getDetailById();
|
|
|
@@ -705,6 +708,8 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
activated() {
|
|
|
+ this.reportId = this.$route.query.reportId ? this.$route.query.reportId.replace('?', '') : '';
|
|
|
+ console.log(this.reportId);
|
|
|
this.source = this.$route.query.source;
|
|
|
this.num = 0;
|
|
|
this.userTodayPlanNum();
|
|
|
@@ -840,7 +845,7 @@ export default {
|
|
|
}
|
|
|
var remak = {
|
|
|
remarkContent: this.managerRemarkContent,
|
|
|
- reportId: this.$route.query.reportId,
|
|
|
+ reportId: this.reportId,
|
|
|
};
|
|
|
insertRemark(remak).then((res) => {
|
|
|
loading1.clear();
|
|
|
@@ -891,7 +896,7 @@ export default {
|
|
|
message: '加载中...',
|
|
|
forbidClick: true,
|
|
|
});
|
|
|
- getDetailById({ reportId: this.$route.query.reportId }).then((res) => {
|
|
|
+ getDetailById({ reportId: this.reportId }).then((res) => {
|
|
|
loading1.clear();
|
|
|
if (res.code == 500 && this.source == 'share') {
|
|
|
this.$dialog
|