2 lines
26 KiB
JavaScript
2 lines
26 KiB
JavaScript
"use strict";const e=require("../../common/vendor.js"),t=require("../../request/api.js"),i=require("../../utils/util.js"),s=require("../../common/assets.js"),a={data:()=>({navH:e.inject("navHeight"),navTitle:"",searchResultTop:"",contentTop:"",keywords:"",searchShow:!1,searchResultList:[],selectSearchStockInfo:null,stockCode:"300700",stockBasicInfo:null,quoteDetailsInfo:null,isExpandIntro:!1,tabList:[{title:"公司档案",show:!0},{title:"深度分析",show:!0},{title:"财务全景",show:!0},{title:"动态跟踪",show:!0}],selectTab:0,companyFilesList:[{title:"股权结构"},{title:"管理团队"},{title:"分支机构"},{title:"工商信息"}],actualControlInfo:null,concentrationList:[],topShareholdersList:[],topCirculatingShareholdersList:[],managementList:[],isManagementEmpty:!1,branchList:[],selectCompanyFiles:0,inDepthAnalysisList:[{title:"战略分析"},{title:"业务结构"},{title:"产业链"},{title:"发展历程"}],selectInDepthAnalysis:0,qualitativeAnalysisInfo:null,competitivePositionInfo:null,mainCompetitorsList:[],industryRankInfo:null,industryRankList:[],scoreList:[{icon:"/pagesStock/static/icon/marketPosition.png",title:"市场地位",color:"blue",score:""},{icon:"/pagesStock/static/icon/technicalStrength.png",title:"技术实力",color:"purple",score:""},{icon:"/pagesStock/static/icon/brandValue.png",title:"品牌价值",color:"purple",score:""},{icon:"/pagesStock/static/icon/growthPotential.png",title:"运营效率",color:"purple",score:""},{icon:"/pagesStock/static/icon/financialHealth.png",title:"财务健康",color:"blue",score:""},{icon:"/pagesStock/static/icon/innovationAbility.png",title:"创新能力",color:"blue",score:""},{icon:"/pagesStock/static/icon/riskManagement.png",title:"风险控制",color:"purple",score:""},{icon:"/pagesStock/static/icon/growthPotential.png",title:"成长潜力",color:"purple",score:""}],chartData2:[],businessStructureList:[],businessSegmentList:[],valueChainAnalysisInfo:null,totalNodes:0,upstreamList:[],coreEnterpriseList:[],downstreamList:[],selectValueChainInfo:null,relatedCompanyList:[],valueChainFlowsList:[],keyFactorsInfo:null,keyFactorsList:[],timelineInfo:null,timelineList:[],selectDevelopmentTimelineInfo:null,caiWuList:[{title:"主营数据"},{title:"财务分析"},{title:"财务数据"}],selectCaiwu:0,financialMetricsList:[],financialStockInfo:null,mainBussinessBarCategoryList:[],mainBussinessBarList:[],mainBussinessLineList:[],productClassificationList:[],financialBalanceList:[],cashFlowList:[],incomeStatementList:[],dongTaiList:[{title:"新闻动态"},{title:"公司公告"}],selectDongtai:0,newsKeywords:"",newsList:[],companyAnnouncementList:[],getLocalDate:i.getLocalDate,getRateUpOrDown:i.getRateUpOrDown,getNumStr:i.getNumStr,isData:!1}),onLoad(t){this.searchResultTop=this.navH+.12*e.inject("windowWidth"),this.contentTop=this.searchResultTop+.04*e.inject("windowWidth"),t.code&&(this.stockCode=t.code),this.getStockBasicInfoData(),this.getQuoteDetailsData(),this.getActualControlData(),this.getOwnershipConcentration(),this.getTopShareholdersData(),this.getTopCirculatingShareholdersData()},methods:{clickSearch(){this.keywords?this.getSearchStockInfoListData():this.selectSearchStockInfo=null},clickSearchResultBg(){this.searchShow=!1},clickSearchResultListItem(e){this.selectSearchStockInfo=e,this.searchShow=!1,this.getStockBasicInfoData(),this.getQuoteDetailsData(),0==this.selectTab?0==this.selectCompanyFiles?(this.getActualControlData(),this.getOwnershipConcentration(),this.getTopShareholdersData(),this.getTopCirculatingShareholdersData()):1==this.selectCompanyFiles?(this.isData=!1,this.getManagementTeamData()):2==this.selectCompanyFiles&&(this.isData=!1,this.getBranchListData()):1==this.selectTab?0==this.selectInDepthAnalysis&&(this.getComprehensiveAnalysisData(),this.getIndustryRankListData()):2==this.selectTab?(this.getFinancialStockInfoData(),this.getFinancialComparisonData(),this.getFinancialMetricsData(),this.getFinancialMainBussinessData()):3==this.selectTab&&this.getNewsListData()},getBuyPercent(){let e=this.quoteDetailsInfo.net_active_buy_ratio;return e?Math.round(i.accAdd(50,i.accDiv(e,2))):0},getSellPercent(){let e=this.quoteDetailsInfo.net_active_buy_ratio;return e?Math.round(i.accSub(50,i.accDiv(e,2))):0},clickOfficialWebsite(){},clickExpandOrRetractCompanyIntro(){this.isExpandIntro=!this.isExpandIntro},clickTabItem(e){this.selectTab!=e&&(this.selectTab=e,1==e?0==this.selectInDepthAnalysis&&(this.getComprehensiveAnalysisData(),this.getIndustryRankListData()):2==e?(this.getFinancialStockInfoData(),this.getFinancialComparisonData(),this.getFinancialMetricsData(),this.getFinancialMainBussinessData()):3==e&&this.getNewsListData())},clickCompanyFilesItem(e){this.selectCompanyFiles!=e&&(this.selectCompanyFiles=e,1==e?this.getManagementTeamData():2==e&&this.getBranchListData())},clickInDepthAnalysisItem(e){this.selectInDepthAnalysis!=e&&(this.selectInDepthAnalysis=e,0==e?(this.getComprehensiveAnalysisData(),this.getIndustryRankListData()):2==e?this.getValueChainAnalysisData():3==e&&this.getKeyFactorsTimelineData())},clickCaiWuItem(e){this.selectCaiwu!=e&&(this.selectCaiwu=e,0==e?(this.getFinancialStockInfoData(),this.getFinancialComparisonData(),this.getFinancialMetricsData()):1==e?this.getFinancialMetricsData():2==e&&(this.getFinancialBalanceSheetData(),this.getCashFlowSheetData(),this.getIncomeStatementSheetData()))},clickDongTaiItem(e){this.selectDongtai!=e&&(this.selectDongtai=e,0==e?this.getNewsListData():1==e&&this.getCompanyAnnouncementsData())},clickIndustryRank(){this.$refs.industryRankPop.open()},clickCloseIndustryRankPop(){this.$refs.industryRankPop.close()},clickDevelopmentTimelineDetail(e){this.selectDevelopmentTimelineInfo=e,this.$refs.developmentTimelinePopup.open()},clickCloseDevelopmentTimelinePopup(){this.$refs.developmentTimelinePopup.close()},clickValueChainDetail(e){this.selectValueChainInfo=e,this.getValueChainRelatedCompanyData(),this.$refs.valueChainPopup.open()},clickCloseValueChainPopup(){this.$refs.valueChainPopup.close()},clickNewsSearch(e){this.newsKeywords=e,this.getNewsListData()},clickNewsDetail(t){e.index.navigateTo({url:"/pages/index/eventDetails/eventDetails?id="+t.id})},clickAnnouncementDetail(t){e.wx$1.showLoading({title:"下载中"}),e.wx$1.downloadFile({url:t.url,success(t){e.wx$1.openDocument({filePath:t.tempFilePath,showMenu:!0,success(t){e.wx$1.hideLoading()}})}})},clickOptional(){},clickShare(){},getSearchStockInfoListData(){let e={q:this.keywords,limit:10};t.searchStockInfo(e).then((e=>{this.searchResultList=e.data,this.searchShow=this.searchResultList.length>0})).catch((e=>{}))},getStockBasicInfoData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.stockBasicInfo(e).then((e=>{this.stockBasicInfo=e.data,this.navTitle=e.data.SECNAME+"("+e.data.SECCODE+")"})).catch((e=>{}))},getQuoteDetailsData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.quoteDetailsInfo(e).then((e=>{this.quoteDetailsInfo=e.data})).catch((e=>{}))},getActualControlData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.actualControl(e).then((e=>{this.actualControlInfo=e.data[0]})).catch((e=>{}))},getOwnershipConcentration(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.ownershipConcentration(e).then((e=>{this.concentrationList=e.data.slice(0,8)})).catch((e=>{}))},getTopShareholdersData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.topShareholdersList(e,{limit:10}).then((e=>{this.topShareholdersList=e.data})).catch((e=>{}))},getTopCirculatingShareholdersData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.topCirculatingShareholdersList(e,{limit:10}).then((e=>{this.topCirculatingShareholdersList=e.data})).catch((e=>{}))},getManagementTeamData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.managementTeam(e,{active_only:!0}).then((e=>{let t=e.data,i=["高管","董事","监事"],s=[];for(let n of i)s.push({key:n,list:[]});this.managementList=t.reduce(((e,t)=>{for(let i of e)if(t.position_category.indexOf(i.key)>-1){let s=-1;for(let t of e)if(i.key==t.key){s=e.indexOf(t);break}s>-1?e[s].list.push(t):e.push({key:i,list:[t]})}return t.position_category.indexOf(i[0])>-1&&t.position_category.indexOf(i[1])>-1&&t.position_category.indexOf(i[2]),e}),s);var a=0;for(let n of this.managementList)a+=n.list.length;this.isManagementEmpty=0==a,this.isData=!0})).catch((e=>{this.isData=!0}))},getBranchListData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.branchesList(e).then((e=>{this.branchList=e.data,this.isData=!0})).catch((e=>{this.isData=!0}))},getComprehensiveAnalysisData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.comprehensiveAnalysis(e).then((e=>{this.qualitativeAnalysisInfo=e.data.qualitative_analysis,this.competitivePositionInfo=e.data.competitive_position,this.mainCompetitorsList=this.competitivePositionInfo.analysis.main_competitors.split(","),this.industryRankInfo=e.data.competitive_position.ranking;let t=this.competitivePositionInfo.scores.market_position;this.scoreList[0].score=t;let i=this.competitivePositionInfo.scores.technology;this.scoreList[1].score=i;let s=this.competitivePositionInfo.scores.brand;this.scoreList[2].score=s;let a=this.competitivePositionInfo.scores.operation;this.scoreList[3].score=a;let n=this.competitivePositionInfo.scores.finance;this.scoreList[4].score=n;let o=this.competitivePositionInfo.scores.innovation;this.scoreList[5].score=o;let c=this.competitivePositionInfo.scores.risk;this.scoreList[6].score=c;let l=this.competitivePositionInfo.scores.growth;this.scoreList[7].score=l,this.chartData2=[[t,i,s,a,n,o,c,l]],this.businessStructureList=e.data.business_structure,this.businessSegmentList=e.data.business_segments})).catch((e=>{}))},getIndustryRankListData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.industryRankList(e).then((e=>{this.industryRankList=e.data})).catch((e=>{}))},getValueChainAnalysisData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.valueChainAnalysis(e).then((e=>{this.valueChainAnalysisInfo=e.data.analysis_summary,this.totalNodes=e.data.value_chain_structure.total_nodes;let t=e.data.value_chain_structure.nodes_by_level;this.upstreamList=t["level_-2"].concat(t["level_-1"]),this.coreEnterpriseList=t.level_0,this.downstreamList=t.level_1.concat(t.level_2),this.valueChainFlowsList=e.data.value_chain_flows})).catch((e=>{}))},getValueChainRelatedCompanyData(){let e={};this.selectValueChainInfo&&(e.node_name=this.selectValueChainInfo.node_name),t.valueChainRelatedCompany(e).then((e=>{this.relatedCompanyList=e.data})).catch((e=>{}))},getKeyFactorsTimelineData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.keyFactorsTimeline(e).then((e=>{this.keyFactorsInfo=e.data.key_factors,this.keyFactorsList=e.data.key_factors.categories,this.timelineInfo=e.data.development_timeline.statistics,this.timelineList=e.data.development_timeline.events})).catch((e=>{}))},getFinancialStockInfoData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code),t.financialStockInfo(e).then((e=>{this.financialStockInfo=e.data})).catch((e=>{}))},getFinancialMetricsData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.financialMetrics(e,{limit:8}).then((e=>{this.financialMetricsList=e.data})).catch((e=>{}))},getFinancialComparisonData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.financialComparison(e,{periods:8}).then((e=>{let t=e.data;this.mainBussinessBarCategoryList=[],this.mainBussinessBarList=[],this.mainBussinessLineList=[];for(let i of t){let e=i.report_type;e=e.replace("年三季报","Q3"),e=e.replace("年中报","中报"),e=e.replace("年年报","年报"),this.mainBussinessBarCategoryList.unshift(e),this.mainBussinessBarList.unshift((parseFloat(i.performance.revenue)/1e8).toFixed(2)),this.mainBussinessLineList.unshift((parseFloat(i.performance.net_profit)/1e8).toFixed(2))}})).catch((e=>{}))},getFinancialMainBussinessData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.financialMainBusiness(e,{periods:4}).then((e=>{this.productClassificationList=e.data.product_classification})).catch((e=>{}))},getFinancialBalanceSheetData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.financialBalanceSheet(e,{limit:16}).then((e=>{this.financialBalanceList=e.data})).catch((e=>{}))},getCashFlowSheetData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.cashflowSheet(e,{limit:16}).then((e=>{this.cashFlowList=e.data})).catch((e=>{}))},getIncomeStatementSheetData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.incomeStatementSheet(e,{limit:16}).then((e=>{this.incomeStatementList=e.data})).catch((e=>{}))},getNewsListData(){let e=this.stockCode;this.newsKeywords&&(e=this.newsKeywords);let i={importance:"all",sort:"new",q:e,page:1,per_page:10,mode:"vertical"};t.eventList(i,!0).then((e=>{this.newsList=e.data.events})).catch((e=>{}))},getCompanyAnnouncementsData(){let e=this.stockCode;this.selectSearchStockInfo&&(e=this.selectSearchStockInfo.stock_code);t.companyAnnouncementsList(e,{limit:20}).then((e=>{this.companyAnnouncementList=e.data})).catch((e=>{}))}}};if(!Array){(e.resolveComponent("navBar")+e.resolveComponent("gqjg-view")+e.resolveComponent("gltd-view")+e.resolveComponent("fzjg-view")+e.resolveComponent("gsxx-view")+e.resolveComponent("zlfx-view")+e.resolveComponent("ywjg-view")+e.resolveComponent("cyl-view")+e.resolveComponent("fzlc-view")+e.resolveComponent("zysj-view")+e.resolveComponent("cwfx-view")+e.resolveComponent("cwsj-view")+e.resolveComponent("news-view")+e.resolveComponent("uni-popup"))()}Math||((()=>"../../components/navBar/navBar.js")+(()=>"../../uni_modules/uni-popup/components/uni-popup/uni-popup.js"))();const n=e._export_sfc(a,[["render",function(t,i,a,n,o,c){return e.e({a:e.p({leftText:o.navTitle,hideNavBg:!0}),b:s._imports_0,c:s._imports_1,d:e.o([e=>o.keywords=e.detail.value,e=>c.clickSearch()]),e:o.keywords,f:e.s("top:"+o.navH+"px;"),g:o.searchShow},o.searchShow?{h:e.f(o.searchResultList,((t,i,s)=>({a:e.t(t.stock_code),b:e.t(t.stock_name),c:i,d:e.o((e=>c.clickSearchResultListItem(t)),i)}))),i:e.s("top:"+o.searchResultTop+"px;"),j:e.o((e=>c.clickSearchResultBg()))}:{},{k:o.stockBasicInfo},o.stockBasicInfo?e.e({l:e.t(o.stockBasicInfo.industry_l1),m:e.t(o.stockBasicInfo.sw_industry_l2),n:o.quoteDetailsInfo},o.quoteDetailsInfo?{o:e.t(o.quoteDetailsInfo.current_price),p:e.n("current "+(o.getRateUpOrDown(o.quoteDetailsInfo.change_percent)?"down":"up")),q:e.t(o.quoteDetailsInfo.change_percent),r:e.n("chg "+(o.getRateUpOrDown(o.quoteDetailsInfo.change_percent)?"down":"up")),s:e.t(o.quoteDetailsInfo.today_open),t:e.t(o.quoteDetailsInfo.yesterday_close),v:e.t(o.quoteDetailsInfo.today_high),w:e.t(o.quoteDetailsInfo.today_low)}:{},{x:o.quoteDetailsInfo},o.quoteDetailsInfo?e.e({y:e.t(o.quoteDetailsInfo.pe?o.quoteDetailsInfo.pe:"-"),z:o.quoteDetailsInfo.float_shares},o.quoteDetailsInfo.float_shares?{A:e.t(o.quoteDetailsInfo.float_shares)}:{},{B:e.t(o.quoteDetailsInfo.market_cap),C:e.t(o.quoteDetailsInfo.turnover_rate),D:o.quoteDetailsInfo.total_shares},o.quoteDetailsInfo.total_shares?{E:e.t(o.quoteDetailsInfo.total_shares)}:{},{F:e.t(o.quoteDetailsInfo.week52_low),G:e.t(o.quoteDetailsInfo.week52_high)}):{},{H:o.quoteDetailsInfo},o.quoteDetailsInfo?{I:e.t(o.getRateUpOrDown(o.quoteDetailsInfo.net_inflow)?"":"+"),J:e.t(o.getNumStr(o.quoteDetailsInfo.net_inflow)),K:e.n("content flex1 marginR "+(o.getRateUpOrDown(o.quoteDetailsInfo.net_inflow)?"down":"up")),L:e.s("width:"+c.getBuyPercent()+"%"),M:e.t(c.getBuyPercent()),N:e.t(c.getSellPercent())}:{},{O:s._imports_2$11,P:e.t(o.getLocalDate(o.stockBasicInfo.establish_date)),Q:s._imports_3$10,R:e.t(o.stockBasicInfo.reg_capital),S:s._imports_4$9,T:e.t(o.stockBasicInfo.province),U:e.t(o.stockBasicInfo.city),V:e.o((e=>c.clickOfficialWebsite())),W:e.t(o.stockBasicInfo.company_intro),X:!o.isExpandIntro},(o.isExpandIntro,{}),{Y:e.t(o.isExpandIntro?"收起":"展开全文"),Z:e.n("expand "+(o.isExpandIntro?"":"absolute")),aa:e.o((e=>c.clickExpandOrRetractCompanyIntro())),ab:e.n("info relative flex1 "+(o.isExpandIntro?"":"retract"))}):{},{ac:e.f(o.tabList,((t,i,s)=>e.e({a:t.show},t.show?{b:e.t(t.title),c:e.n("item "+(o.selectTab==i?"select":"")),d:e.o((e=>c.clickTabItem(i)),i)}:{},{e:i}))),ad:0==o.selectTab},0==o.selectTab?e.e({ae:e.f(o.companyFilesList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectCompanyFiles==i?"select":"")),c:i,d:e.o((e=>c.clickCompanyFilesItem(i)),i)}))),af:0==o.selectCompanyFiles},0==o.selectCompanyFiles?{ag:e.p({actualControlInfo:o.actualControlInfo,concentrationList:o.concentrationList,shareholdersList:o.topShareholdersList,circulatingShareholdersList:o.topCirculatingShareholdersList})}:{},{ah:1==o.selectCompanyFiles},1==o.selectCompanyFiles?e.e({ai:e.p({managementList:o.managementList}),aj:o.isData&&o.isManagementEmpty},o.isData&&o.isManagementEmpty?{ak:s._imports_5$5}:{}):{},{al:2==o.selectCompanyFiles},2==o.selectCompanyFiles?e.e({am:e.p({branchList:o.branchList}),an:o.isData&&0==o.branchList.length},o.isData&&0==o.branchList.length?{ao:s._imports_5$5}:{}):{},{ap:3==o.selectCompanyFiles},3==o.selectCompanyFiles?e.e({aq:o.stockBasicInfo},o.stockBasicInfo?{ar:e.p({stockBasicInfo:o.stockBasicInfo})}:{},{as:o.isData&&!o.stockBasicInfo},o.isData&&!o.stockBasicInfo?{at:s._imports_5$5}:{}):{}):{},{av:1==o.selectTab},1==o.selectTab?e.e({aw:e.f(o.inDepthAnalysisList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectInDepthAnalysis==i?"select":"")),c:i,d:e.o((e=>c.clickInDepthAnalysisItem(i)),i)}))),ax:0==o.selectInDepthAnalysis},0==o.selectInDepthAnalysis?{ay:e.o((e=>c.clickIndustryRank())),az:e.p({qualitativeAnalysisInfo:o.qualitativeAnalysisInfo,competitivePositionInfo:o.competitivePositionInfo,industryRankInfo:o.industryRankInfo,mainCompetitorsList:o.mainCompetitorsList,scoreList:o.scoreList,data:o.chartData2})}:{},{aA:1==o.selectInDepthAnalysis},1==o.selectInDepthAnalysis?{aB:e.p({businessStructureList:o.businessStructureList,businessSegmentList:o.businessSegmentList})}:{},{aC:2==o.selectInDepthAnalysis},2==o.selectInDepthAnalysis?{aD:e.o(c.clickValueChainDetail),aE:e.p({valueChainAnalysisInfo:o.valueChainAnalysisInfo,totalNodes:o.totalNodes,upstreamList:o.upstreamList,coreEnterpriseList:o.coreEnterpriseList,downstreamList:o.downstreamList,valueChainFlowsList:o.valueChainFlowsList})}:{},{aF:3==o.selectInDepthAnalysis},3==o.selectInDepthAnalysis?{aG:e.o(c.clickDevelopmentTimelineDetail),aH:e.p({keyFactorsInfo:o.keyFactorsInfo,keyFactorsList:o.keyFactorsList,timelineInfo:o.timelineInfo,timelineList:o.timelineList})}:{}):{},{aI:2==o.selectTab},2==o.selectTab?e.e({aJ:e.f(o.caiWuList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectCaiwu==i?"select":"")),c:i,d:e.o((e=>c.clickCaiWuItem(i)),i)}))),aK:0==o.selectCaiwu},0==o.selectCaiwu?{aL:e.p({stockInfo:o.financialStockInfo,barCategoryList:o.mainBussinessBarCategoryList,barList:o.mainBussinessBarList,lineList:o.mainBussinessLineList,productClassificationList:o.productClassificationList,financialMetricsInfo:o.financialMetricsList[0]})}:{},{aM:1==o.selectCaiwu},1==o.selectCaiwu?{aN:e.p({dataList:o.financialMetricsList})}:{},{aO:2==o.selectCaiwu},2==o.selectCaiwu?{aP:e.p({financialBalanceList:o.financialBalanceList,cashFlowList:o.cashFlowList,incomeStatementList:o.incomeStatementList})}:{}):{},{aQ:3==o.selectTab},3==o.selectTab?{aR:e.f(o.dongTaiList,((t,i,s)=>({a:e.t(t.title),b:e.n("item "+(o.selectDongtai==i?"select":"")),c:i,d:e.o((e=>c.clickDongTaiItem(i)),i)}))),aS:e.o(c.clickNewsSearch),aT:e.o(c.clickNewsDetail),aU:e.o(c.clickAnnouncementDetail),aV:e.p({type:o.selectDongtai,newsList:o.newsList,announcementList:o.companyAnnouncementList})}:{},{aW:e.s("top:"+o.contentTop+"px;"),aX:s._imports_6$1,aY:e.o((e=>c.clickCloseIndustryRankPop())),aZ:e.f(o.industryRankList,((t,i,s)=>({a:e.f(t.rankings,((t,i,s)=>e.e({a:e.t(t.industry_name),b:e.t(t.level_description),c:t.metrics.eps.value},t.metrics.eps.value?{d:e.t(t.metrics.eps.value.toFixed(2))}:{},{e:t.metrics.eps.rank},t.metrics.eps.rank?{f:e.t(t.metrics.eps.rank)}:{},{g:t.metrics.eps.industry_avg},t.metrics.eps.industry_avg?{h:e.t(t.metrics.eps.industry_avg.toFixed(2))}:{},{i:t.metrics.bvps.value},t.metrics.bvps.value?{j:e.t(t.metrics.bvps.value.toFixed(2))}:{},{k:t.metrics.bvps.rank},t.metrics.bvps.rank?{l:e.t(t.metrics.bvps.rank)}:{},{m:t.metrics.bvps.industry_avg},t.metrics.bvps.industry_avg?{n:e.t(t.metrics.bvps.industry_avg.toFixed(2))}:{},{o:t.metrics.roe.value},t.metrics.roe.value?{p:e.t(t.metrics.roe.value.toFixed(2))}:{},{q:e.t(t.metrics.roe.rank),r:t.metrics.roe.industry_avg},t.metrics.roe.industry_avg?{s:e.t(t.metrics.roe.industry_avg.toFixed(2))}:{},{t:t.metrics.revenue_growth.value},t.metrics.revenue_growth.value?{v:e.t(t.metrics.revenue_growth.value.toFixed(2))}:{},{w:e.t(t.metrics.revenue_growth.rank),x:t.metrics.revenue_growth.industry_avg},t.metrics.revenue_growth.industry_avg?{y:e.t(t.metrics.revenue_growth.industry_avg.toFixed(2))}:{},{z:t.metrics.profit_growth.value},t.metrics.profit_growth.value?{A:e.t(t.metrics.profit_growth.value.toFixed(2))}:{},{B:e.t(t.metrics.profit_growth.rank),C:t.metrics.profit_growth.industry_avg},t.metrics.profit_growth.industry_avg?{D:e.t(t.metrics.profit_growth.industry_avg.toFixed(2))}:{},{E:t.metrics.operating_margin.value},t.metrics.operating_margin.value?{F:e.t(t.metrics.operating_margin.value.toFixed(2))}:{},{G:e.t(t.metrics.operating_margin.rank),H:t.metrics.operating_margin.industry_avg},t.metrics.operating_margin.industry_avg?{I:e.t(t.metrics.operating_margin.industry_avg.toFixed(2))}:{},{J:t.metrics.debt_ratio.value},t.metrics.debt_ratio.value?{K:e.t(t.metrics.debt_ratio.value.toFixed(2))}:{},{L:t.metrics.debt_ratio.rank},t.metrics.debt_ratio.rank?{M:e.t(t.metrics.debt_ratio.rank)}:{},{N:t.metrics.debt_ratio.industry_avg},t.metrics.debt_ratio.industry_avg?{O:e.t(t.metrics.debt_ratio.industry_avg.toFixed(2))}:{},{P:t.metrics.receivable_turnover.value},t.metrics.receivable_turnover.value?{Q:e.t(t.metrics.receivable_turnover.value.toFixed(2))}:{},{R:t.metrics.receivable_turnover.rank},t.metrics.receivable_turnover.rank?{S:e.t(t.metrics.receivable_turnover.rank)}:{},{T:t.metrics.receivable_turnover.industry_avg},t.metrics.receivable_turnover.industry_avg?{U:e.t(t.metrics.receivable_turnover.industry_avg.toFixed(2))}:{},{V:i}))),b:e.t(t.period),c:i}))),ba:s._imports_1$11,bb:e.sr("industryRankPop","817d6950-13"),bc:e.p({type:"bottom"}),bd:s._imports_6$1,be:e.o((e=>c.clickCloseValueChainPopup())),bf:o.selectValueChainInfo},o.selectValueChainInfo?e.e({bg:e.t(o.selectValueChainInfo.node_name),bh:-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level},-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level?{bi:e.t(o.selectValueChainInfo.node_type)}:{},{bj:-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level},-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level?{bk:e.t(o.selectValueChainInfo.market_share)}:{},{bl:0==o.selectValueChainInfo.node_level},0==o.selectValueChainInfo.node_level?{bm:e.t(o.selectValueChainInfo.node_type)}:{},{bn:0==o.selectValueChainInfo.node_level},0==o.selectValueChainInfo.node_level?{bo:e.t(o.selectValueChainInfo.market_share)}:{},{bp:1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level},1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level?{bq:e.t(o.selectValueChainInfo.node_type)}:{},{br:1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level},1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level?{bs:e.t(o.selectValueChainInfo.market_share)}:{},{bt:e.t(o.selectValueChainInfo.node_description),bv:e.t(o.selectValueChainInfo.importance_score),bw:-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level},-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level?{bx:e.s("width:"+(o.selectValueChainInfo.importance_score?o.selectValueChainInfo.importance_score:0)+"%;")}:{},{by:0==o.selectValueChainInfo.node_level},0==o.selectValueChainInfo.node_level?{bz:e.s("width:"+o.selectValueChainInfo.importance_score+"%;")}:{},{bA:1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level},1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level?{bB:e.s("width:"+o.selectValueChainInfo.importance_score+"%;")}:{},{bC:e.t(o.selectValueChainInfo.dependency_degree),bD:-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level},-2==o.selectValueChainInfo.node_level||-1==o.selectValueChainInfo.node_level?{bE:e.s("width:"+(o.selectValueChainInfo.dependency_degree?o.selectValueChainInfo.dependency_degree:0)+"%;")}:{},{bF:0==o.selectValueChainInfo.node_level},0==o.selectValueChainInfo.node_level?{bG:e.s("width:"+(o.selectValueChainInfo.dependency_degree?o.selectValueChainInfo.dependency_degree:0)+"%;")}:{},{bH:1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level},1==o.selectValueChainInfo.node_level||2==o.selectValueChainInfo.node_level?{bI:e.s("width:"+(o.selectValueChainInfo.dependency_degree?o.selectValueChainInfo.dependency_degree:0)+"%;")}:{},{bJ:e.f(o.relatedCompanyList,((t,i,a)=>e.e({a:e.t(t.stock_name),b:e.t(t.stock_code),c:e.t(t.company_name),d:e.t(t.node_info.node_description),e:t.relationships.length>0},t.relationships.length>0?{f:s._imports_8$4,g:e.t(t.relationships[0].connected_node)}:{},{h:i})))}):{},{bK:e.sr("valueChainPopup","817d6950-14"),bL:e.p({type:"bottom",safeArea:!1}),bM:s._imports_6$1,bN:e.o((e=>c.clickCloseDevelopmentTimelinePopup())),bO:o.selectDevelopmentTimelineInfo},o.selectDevelopmentTimelineInfo?{bP:e.t(o.selectDevelopmentTimelineInfo.event_title),bQ:e.t(o.selectDevelopmentTimelineInfo.event_type),bR:e.n("eventType "+(1==o.selectDevelopmentTimelineInfo.impact_metrics.is_positive?"positive":"negative")),bS:e.t(o.selectDevelopmentTimelineInfo.event_date),bT:e.t(o.selectDevelopmentTimelineInfo.event_desc),bU:e.t(o.selectDevelopmentTimelineInfo.related_info.financial_impact),bV:e.n("progress "+(1==o.selectDevelopmentTimelineInfo.impact_metrics.is_positive?"positive":"negative")),bW:e.s("width: "+o.selectDevelopmentTimelineInfo.impact_metrics.impact_score+"%;"),bX:e.t(o.selectDevelopmentTimelineInfo.impact_metrics.impact_score)}:{},{bY:e.sr("developmentTimelinePopup","817d6950-15"),bZ:e.p({type:"bottom",safeArea:!1})})}]]);wx.createPage(n);
|