|
@@ -38,7 +38,7 @@
|
|
|
<image src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/act_search.png" mode="" class="nodata_ico"></image>
|
|
|
<text>暂时没有报告的内容</text>
|
|
|
</view>
|
|
|
- <freeCharge class="free-charge" :isShowFreeBtn="isShowFree"/>
|
|
|
+ <freeCharge class="free-charge" :isShowFreeBtn="isShowFree" />
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -46,7 +46,7 @@
|
|
|
import { Mine } from "@/config/api.js"; //模拟
|
|
|
import { Reports } from "@/config/api.js"; //模拟
|
|
|
import { Throttle } from "@/config/util.js";
|
|
|
-import freeCharge from '@/components/freeCharge'
|
|
|
+import freeCharge from "@/components/freeCharge";
|
|
|
let app = getApp({ allowDefault: true });
|
|
|
export default {
|
|
|
data() {
|
|
@@ -71,6 +71,7 @@ export default {
|
|
|
totalPage: "",
|
|
|
toggleTabIndex: 0,
|
|
|
titleReport: "",
|
|
|
+ pcTabActive: "",
|
|
|
};
|
|
|
},
|
|
|
onLoad(option) {
|
|
@@ -82,7 +83,7 @@ export default {
|
|
|
this.$store.dispatch("statistics", { PageType: "IndustryList", IndustrialManagementId: this.industrialManagementId });
|
|
|
},
|
|
|
components: {
|
|
|
- freeCharge
|
|
|
+ freeCharge,
|
|
|
},
|
|
|
watch: {
|
|
|
//监听tabs的变化
|
|
@@ -138,6 +139,7 @@ export default {
|
|
|
this.status = this.page_no < res.Data.Paging.Pages ? "loadmore" : "nomore";
|
|
|
this.totalPage = res.Data.Paging.Pages; //总页数
|
|
|
if (this.page_no === 1) {
|
|
|
+ this.pcTabActive = res.Data.ChartPermissionId;
|
|
|
this.collectList = res.Data.List || [];
|
|
|
this.haveData = this.collectList.length ? true : false;
|
|
|
if (this.refresh) {
|
|
@@ -194,8 +196,8 @@ export default {
|
|
|
*/
|
|
|
onShareAppMessage: function (res) {
|
|
|
return {
|
|
|
- title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : this.titleReport,
|
|
|
- path: "/reportPages/IndustryReport/IndustryReport?id=" + this.industrialManagementId + "&tab=" + this.tabAct_id,
|
|
|
+ title: this.isHorzMobile ? "好友向您推荐此内容,上传名片享查研观向免费月卡!" : this.titleReport,
|
|
|
+ path: "/reportPages/IndustryReport/IndustryReport?id=" + this.industrialManagementId + "&tab=" + this.tabAct_id + "&tabs=" + this.pcTabActive,
|
|
|
success: (res) => {},
|
|
|
fail: (err) => {},
|
|
|
};
|