1.26 个股详情业务结构,发展历程模块完善
This commit is contained in:
952
unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js
vendored
Normal file
952
unpackage/dist/dev/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js
vendored
Normal file
@@ -0,0 +1,952 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const request_api = require("../../request/api.js");
|
||||
const utils_util = require("../../utils/util.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const echarts = require("../../uni_modules/lime-echart/static/echarts.min.js");
|
||||
const _sfc_main = {
|
||||
data() {
|
||||
return {
|
||||
navH: common_vendor.inject("navHeight"),
|
||||
contentTop: "",
|
||||
keywords: "",
|
||||
//搜索关键字
|
||||
stockCode: "002004",
|
||||
//股票代码 600759 000009 002004
|
||||
stockBasicInfo: null,
|
||||
//股票基本信息
|
||||
quoteDetailsInfo: null,
|
||||
//股票事实市场价格信息
|
||||
isExpandIntro: false,
|
||||
//是否展开公司简介
|
||||
tabList: [
|
||||
{
|
||||
title: "公司档案"
|
||||
},
|
||||
{
|
||||
title: "深度分析"
|
||||
},
|
||||
// {
|
||||
// title:'股票行情'
|
||||
// },
|
||||
{
|
||||
title: "财务全景"
|
||||
},
|
||||
// {
|
||||
// title:'盈利预测'
|
||||
// },
|
||||
{
|
||||
title: "动态跟踪"
|
||||
}
|
||||
],
|
||||
selectTab: 0,
|
||||
companyFilesList: [
|
||||
{
|
||||
title: "股权结构"
|
||||
},
|
||||
{
|
||||
title: "管理团队"
|
||||
},
|
||||
{
|
||||
title: "分支机构"
|
||||
},
|
||||
{
|
||||
title: "工商信息"
|
||||
}
|
||||
],
|
||||
//公司档案分类
|
||||
actualControlInfo: null,
|
||||
//实际控制信息
|
||||
concentrationList: [],
|
||||
//股权集中度列表
|
||||
topShareholdersList: [],
|
||||
//十大股东列表
|
||||
topCirculatingShareholdersList: [],
|
||||
//十大流通股东列表
|
||||
managementList: [],
|
||||
//管理团队列表
|
||||
branchList: [],
|
||||
//分支机构列表
|
||||
selectCompanyFiles: 0,
|
||||
inDepthAnalysisList: [
|
||||
{
|
||||
title: "战略分析"
|
||||
},
|
||||
{
|
||||
title: "业务结构"
|
||||
},
|
||||
{
|
||||
title: "产业链"
|
||||
},
|
||||
{
|
||||
title: "发展历程"
|
||||
}
|
||||
],
|
||||
//深度分析分类
|
||||
selectInDepthAnalysis: 0,
|
||||
qualitativeAnalysisInfo: null,
|
||||
//定性分析
|
||||
competitivePositionInfo: null,
|
||||
//竞争地位信息
|
||||
mainCompetitorsList: [],
|
||||
//主要竞争对手
|
||||
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: ""
|
||||
}
|
||||
],
|
||||
option2: {
|
||||
title: {
|
||||
show: false
|
||||
},
|
||||
legend: {
|
||||
show: false
|
||||
},
|
||||
tooltip: {
|
||||
show: true,
|
||||
triggerOn: "mousemove"
|
||||
},
|
||||
radar: {
|
||||
indicator: [
|
||||
{ name: "市场地位", max: 100 },
|
||||
{ name: "技术实力", max: 100 },
|
||||
{ name: "品牌价值", max: 100 },
|
||||
{ name: "运营效率", max: 100 },
|
||||
{ name: "财务健康", max: 100 },
|
||||
{ name: "创新能力", max: 100 },
|
||||
{ name: "风险控制", max: 100 },
|
||||
{ name: "成长潜力", max: 100 }
|
||||
],
|
||||
shape: "polygon",
|
||||
splitNumber: 5,
|
||||
axisName: {
|
||||
color: "#54555A"
|
||||
},
|
||||
splitLine: {
|
||||
lineStyle: {
|
||||
color: ["#CFD2D7"]
|
||||
}
|
||||
},
|
||||
splitArea: {
|
||||
areaStyle: {
|
||||
color: ["#F4F6FA", "white"]
|
||||
}
|
||||
},
|
||||
axisLine: {
|
||||
lineStyle: {
|
||||
color: "#CFD2D7"
|
||||
}
|
||||
}
|
||||
},
|
||||
series: [
|
||||
{
|
||||
name: "Beijing",
|
||||
type: "radar",
|
||||
lineStyle: {
|
||||
width: 1
|
||||
},
|
||||
data: [],
|
||||
symbol: "circle",
|
||||
symbolSize: 4,
|
||||
label: {
|
||||
show: true
|
||||
},
|
||||
itemStyle: {
|
||||
color: "#5070DD"
|
||||
},
|
||||
areaStyle: {
|
||||
opacity: 0.1
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
businessSegmentList: [],
|
||||
//业务板块详情
|
||||
keyFactorsInfo: null,
|
||||
//关键因素统计信息
|
||||
keyFactorsList: [],
|
||||
//关键因素
|
||||
timelineInfo: null,
|
||||
//发展时间线统计信息
|
||||
timelineList: [],
|
||||
//发展时间线
|
||||
caiWuList: [
|
||||
{
|
||||
title: "主营数据"
|
||||
},
|
||||
{
|
||||
title: "财务分析"
|
||||
},
|
||||
{
|
||||
title: "财务数据"
|
||||
}
|
||||
],
|
||||
//财务全景分类
|
||||
selectCaiwu: 0,
|
||||
dongTaiList: [
|
||||
{
|
||||
title: "新闻动态"
|
||||
},
|
||||
{
|
||||
title: "公司公告"
|
||||
}
|
||||
],
|
||||
//动态跟踪分类
|
||||
selectDongtai: 0,
|
||||
newsKeywords: "",
|
||||
//新闻动态搜索关键字
|
||||
newsList: [],
|
||||
//新闻动态数据
|
||||
companyAnnouncementList: [],
|
||||
//公司公告数据
|
||||
getLocalDate: utils_util.getLocalDate,
|
||||
getRateUpOrDown: utils_util.getRateUpOrDown,
|
||||
getNumStr: utils_util.getNumStr,
|
||||
getLastNameStr: utils_util.getLastNameStr
|
||||
};
|
||||
},
|
||||
onLoad() {
|
||||
this.contentTop = this.navH + (20 + 70 + 30) / 750 * common_vendor.inject("windowWidth");
|
||||
this.getStockBasicInfoData();
|
||||
this.getQuoteDetailsData();
|
||||
this.getActualControlData();
|
||||
this.getOwnershipConcentration();
|
||||
this.getTopShareholdersData();
|
||||
this.getTopCirculatingShareholdersData();
|
||||
},
|
||||
methods: {
|
||||
async init() {
|
||||
const chart = await this.$refs.chartRef.init(echarts);
|
||||
chart.setOption(this.option2);
|
||||
},
|
||||
/**
|
||||
* 点击搜索
|
||||
*/
|
||||
clickSearch() {
|
||||
this.getStockBasicInfoData();
|
||||
this.getQuoteDetailsData();
|
||||
},
|
||||
/**
|
||||
* 点击展开收起公司简介
|
||||
*/
|
||||
clickExpandOrRetractCompanyIntro() {
|
||||
this.isExpandIntro = !this.isExpandIntro;
|
||||
},
|
||||
/**
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickTabItem(index) {
|
||||
if (this.selectTab != index) {
|
||||
this.selectTab = index;
|
||||
if (index == 1) {
|
||||
if (this.selectInDepthAnalysis == 0) {
|
||||
this.getComprehensiveAnalysisData();
|
||||
this.getIndustryRankListData();
|
||||
}
|
||||
} else if (index == 3) {
|
||||
this.getNewsListData();
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择公司档案分类
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickCompanyFilesItem(index) {
|
||||
if (this.selectCompanyFiles != index) {
|
||||
this.selectCompanyFiles = index;
|
||||
if (index == 1) {
|
||||
this.getManagementTeamData();
|
||||
} else if (index == 2) {
|
||||
this.getBranchListData();
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择深度分析分类
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickInDepthAnalysisItem(index) {
|
||||
if (this.selectInDepthAnalysis != index) {
|
||||
this.selectInDepthAnalysis = index;
|
||||
if (index == 3) {
|
||||
this.getKeyFactorsTimelineData();
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择动态分类
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickDongTaiItem(index) {
|
||||
if (this.selectDongtai != index) {
|
||||
this.selectDongtai = index;
|
||||
if (index == 0) {
|
||||
this.getNewsListData();
|
||||
} else if (index == 1) {
|
||||
this.getCompanyAnnouncementsData();
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击选择财务分类
|
||||
* @param {Object} index
|
||||
*/
|
||||
clickCaiWuItem(index) {
|
||||
if (this.selectCaiwu != index) {
|
||||
this.selectCaiwu = index;
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 点击查看行业排名
|
||||
*/
|
||||
clickIndustryRank() {
|
||||
this.$refs["industryRankPop"].open();
|
||||
},
|
||||
/**
|
||||
* 关闭行业排名弹窗
|
||||
*/
|
||||
clickCloseIndustryRankPop() {
|
||||
this.$refs["industryRankPop"].close();
|
||||
},
|
||||
detailShow(type) {
|
||||
if (type == 0) {
|
||||
this.$refs["detailPopup"].open();
|
||||
} else {
|
||||
this.$refs["detailInfoPopup"].open();
|
||||
}
|
||||
},
|
||||
/**
|
||||
* 获取股票基本信息
|
||||
*/
|
||||
getStockBasicInfoData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.stockBasicInfo(code).then((res) => {
|
||||
this.stockBasicInfo = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取股票当前市场价格信息
|
||||
*/
|
||||
getQuoteDetailsData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.quoteDetailsInfo(code).then((res) => {
|
||||
this.quoteDetailsInfo = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取实际控制人数据
|
||||
*/
|
||||
getActualControlData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.actualControl(code).then((res) => {
|
||||
this.actualControlInfo = res.data[0];
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取股权集中度数据
|
||||
*/
|
||||
getOwnershipConcentration() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.ownershipConcentration(code).then((res) => {
|
||||
this.actualControlInfo = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取十大股东列表
|
||||
*/
|
||||
getTopShareholdersData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.topShareholdersList(code, { "limit": 10 }).then((res) => {
|
||||
this.topShareholdersList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取十大流通股东列表
|
||||
*/
|
||||
getTopCirculatingShareholdersData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.topCirculatingShareholdersList(code, { "limit": 10 }).then((res) => {
|
||||
this.topCirculatingShareholdersList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取管理团队数据
|
||||
*/
|
||||
getManagementTeamData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.managementTeam(code, { active_only: true }).then((res) => {
|
||||
let data = res.data;
|
||||
let arr = ["高管", "董事", "监事", "其他"];
|
||||
let list = [];
|
||||
for (let item of arr) {
|
||||
list.push({ key: item, list: [] });
|
||||
}
|
||||
this.managementList = data.reduce((acc, item) => {
|
||||
for (let item1 of acc) {
|
||||
if (item.position_category.indexOf(item1.key) > -1) {
|
||||
let keyIndex = -1;
|
||||
for (let item2 of acc) {
|
||||
if (item1.key == item2.key) {
|
||||
keyIndex = acc.indexOf(item2);
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (keyIndex > -1) {
|
||||
acc[keyIndex].list.push(item);
|
||||
} else {
|
||||
acc.push({ key: item1, list: [item] });
|
||||
}
|
||||
}
|
||||
}
|
||||
if (item.position_category.indexOf(arr[0]) > -1 && item.position_category.indexOf(arr[1]) > -1 && item.position_category.indexOf(arr[2]) > -1)
|
||||
;
|
||||
return acc;
|
||||
}, list);
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取分支机构数据
|
||||
*/
|
||||
getBranchListData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.branchesList(code).then((res) => {
|
||||
this.branchList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取综合分析数据
|
||||
*/
|
||||
getComprehensiveAnalysisData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.comprehensiveAnalysis(code).then((res) => {
|
||||
this.qualitativeAnalysisInfo = res.data.qualitative_analysis;
|
||||
this.competitivePositionInfo = res.data.competitive_position;
|
||||
this.mainCompetitorsList = this.competitivePositionInfo.analysis.main_competitors.split(",");
|
||||
let marketPosition = this.competitivePositionInfo.scores.market_position;
|
||||
this.scoreList[0].score = marketPosition;
|
||||
let technology = this.competitivePositionInfo.scores.technology;
|
||||
this.scoreList[1].score = technology;
|
||||
let brand = this.competitivePositionInfo.scores.brand;
|
||||
this.scoreList[2].score = brand;
|
||||
let operation = this.competitivePositionInfo.scores.operation;
|
||||
this.scoreList[3].score = operation;
|
||||
let finance = this.competitivePositionInfo.scores.finance;
|
||||
this.scoreList[4].score = finance;
|
||||
let innovation = this.competitivePositionInfo.scores.innovation;
|
||||
this.scoreList[5].score = innovation;
|
||||
let risk = this.competitivePositionInfo.scores.risk;
|
||||
this.scoreList[6].score = risk;
|
||||
let growth = this.competitivePositionInfo.scores.growth;
|
||||
this.scoreList[7].score = growth;
|
||||
this.option2.series[0].data = [[marketPosition, technology, brand, operation, finance, innovation, risk, growth]];
|
||||
let that = this;
|
||||
setTimeout(function() {
|
||||
that.init();
|
||||
}, 1e3);
|
||||
this.businessSegmentList = res.data.business_segments;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取行业排名列表数据
|
||||
*/
|
||||
getIndustryRankListData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.industryRankList(code).then((res) => {
|
||||
this.industryRankList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取关键因素和发展时间线数据
|
||||
*/
|
||||
getKeyFactorsTimelineData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
request_api.keyFactorsTimeline(code).then((res) => {
|
||||
this.keyFactorsInfo = res.data.key_factors;
|
||||
this.keyFactorsList = res.data.key_factors.categories;
|
||||
this.timelineInfo = res.data.development_timeline.statistics;
|
||||
this.timelineList = res.data.development_timeline.events;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取新闻动态数据
|
||||
*/
|
||||
getNewsListData() {
|
||||
let q = this.stockCode;
|
||||
if (this.newsKeywords) {
|
||||
q = this.newsKeywords;
|
||||
}
|
||||
let param = { importance: "all", sort: "new", q, page: 1, per_page: 10, mode: "vertical" };
|
||||
request_api.eventList(param, true).then((res) => {
|
||||
this.newsList = res.data.events;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取公司公告数据
|
||||
*/
|
||||
getCompanyAnnouncementsData() {
|
||||
let code = this.stockCode;
|
||||
if (this.keywords) {
|
||||
code = this.keywords;
|
||||
}
|
||||
let param = { limit: 20 };
|
||||
request_api.companyAnnouncementsList(code, param).then((res) => {
|
||||
this.companyAnnouncementList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
|
||||
const _easycom_gqjg_view2 = common_vendor.resolveComponent("gqjg-view");
|
||||
const _easycom_l_echart2 = common_vendor.resolveComponent("l-echart");
|
||||
const _easycom_ywjg_view2 = common_vendor.resolveComponent("ywjg-view");
|
||||
const _easycom_cyl_view2 = common_vendor.resolveComponent("cyl-view");
|
||||
const _easycom_fzlc_view2 = common_vendor.resolveComponent("fzlc-view");
|
||||
const _easycom_zysj_view2 = common_vendor.resolveComponent("zysj-view");
|
||||
const _easycom_news_view2 = common_vendor.resolveComponent("news-view");
|
||||
const _easycom_uni_popup2 = common_vendor.resolveComponent("uni-popup");
|
||||
(_easycom_navBar2 + _easycom_gqjg_view2 + _easycom_l_echart2 + _easycom_ywjg_view2 + _easycom_cyl_view2 + _easycom_fzlc_view2 + _easycom_zysj_view2 + _easycom_news_view2 + _easycom_uni_popup2)();
|
||||
}
|
||||
const _easycom_navBar = () => "../../components/navBar/navBar.js";
|
||||
const _easycom_gqjg_view = () => "../../components/gqjg-view/gqjg-view.js";
|
||||
const _easycom_l_echart = () => "../../uni_modules/lime-echart/components/l-echart/l-echart.js";
|
||||
const _easycom_ywjg_view = () => "../../components/ywjg-view/ywjg-view.js";
|
||||
const _easycom_cyl_view = () => "../../components/cyl-view/cyl-view.js";
|
||||
const _easycom_fzlc_view = () => "../../components/fzlc-view/fzlc-view.js";
|
||||
const _easycom_zysj_view = () => "../../components/zysj-view/zysj-view.js";
|
||||
const _easycom_news_view = () => "../../components/news-view/news-view.js";
|
||||
const _easycom_uni_popup = () => "../../uni_modules/uni-popup/components/uni-popup/uni-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_navBar + _easycom_gqjg_view + _easycom_l_echart + _easycom_ywjg_view + _easycom_cyl_view + _easycom_fzlc_view + _easycom_zysj_view + _easycom_news_view + _easycom_uni_popup)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
leftText: "平安银行(000001)",
|
||||
hideNavBg: true
|
||||
}),
|
||||
b: common_assets._imports_0,
|
||||
c: common_assets._imports_1,
|
||||
d: common_vendor.o(($event) => $options.clickSearch()),
|
||||
e: $data.keywords,
|
||||
f: common_vendor.o(($event) => $data.keywords = $event.detail.value),
|
||||
g: common_vendor.s("top:" + $data.navH + "px;"),
|
||||
h: $data.stockBasicInfo
|
||||
}, $data.stockBasicInfo ? common_vendor.e({
|
||||
i: common_vendor.t($data.stockBasicInfo.industry_l1),
|
||||
j: common_vendor.t($data.stockBasicInfo.sw_industry_l2),
|
||||
k: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
l: common_vendor.t($data.quoteDetailsInfo.current_price),
|
||||
m: common_vendor.n("current " + ($data.getRateUpOrDown($data.quoteDetailsInfo.change_percent) ? "down" : "up")),
|
||||
n: common_vendor.t($data.quoteDetailsInfo.change_percent),
|
||||
o: common_vendor.n("chg " + ($data.getRateUpOrDown($data.quoteDetailsInfo.change_percent) ? "down" : "up")),
|
||||
p: common_vendor.t($data.quoteDetailsInfo.today_open),
|
||||
q: common_vendor.t($data.quoteDetailsInfo.yesterday_close),
|
||||
r: common_vendor.t($data.quoteDetailsInfo.today_high),
|
||||
s: common_vendor.t($data.quoteDetailsInfo.today_low)
|
||||
} : {}, {
|
||||
t: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
v: common_vendor.t($data.quoteDetailsInfo.pe),
|
||||
w: common_vendor.t($data.quoteDetailsInfo.float_shares)
|
||||
} : {}, {
|
||||
x: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
y: common_vendor.t($data.quoteDetailsInfo.market_cap),
|
||||
z: common_vendor.t($data.quoteDetailsInfo.turnover_rate)
|
||||
} : {}, {
|
||||
A: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
B: common_vendor.t($data.quoteDetailsInfo.total_shares),
|
||||
C: common_vendor.t($data.quoteDetailsInfo.week52_low),
|
||||
D: common_vendor.t($data.quoteDetailsInfo.week52_high)
|
||||
} : {}, {
|
||||
E: $data.quoteDetailsInfo
|
||||
}, $data.quoteDetailsInfo ? {
|
||||
F: common_vendor.t($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "" : "+"),
|
||||
G: common_vendor.t($data.getNumStr($data.quoteDetailsInfo.net_inflow)),
|
||||
H: common_vendor.n("content flex1 marginR " + ($data.getRateUpOrDown($data.quoteDetailsInfo.net_inflow) ? "down" : "up"))
|
||||
} : {}, {
|
||||
I: common_assets._imports_2$11,
|
||||
J: common_vendor.t($data.getLocalDate($data.stockBasicInfo.establish_date)),
|
||||
K: common_assets._imports_3$11,
|
||||
L: common_vendor.t($data.stockBasicInfo.reg_capital),
|
||||
M: common_assets._imports_4$10,
|
||||
N: common_vendor.t($data.stockBasicInfo.province),
|
||||
O: common_vendor.t($data.stockBasicInfo.city),
|
||||
P: common_assets._imports_5$6,
|
||||
Q: common_vendor.t($data.stockBasicInfo.company_intro),
|
||||
R: !$data.isExpandIntro
|
||||
}, !$data.isExpandIntro ? {} : {}, {
|
||||
S: common_vendor.t($data.isExpandIntro ? "收起" : "展开全文"),
|
||||
T: common_vendor.n("expand " + ($data.isExpandIntro ? "" : "absolute")),
|
||||
U: common_vendor.o(($event) => $options.clickExpandOrRetractCompanyIntro()),
|
||||
V: common_vendor.n("info relative flex1 " + ($data.isExpandIntro ? "" : "retract"))
|
||||
}) : {}, {
|
||||
W: common_vendor.f($data.tabList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectTab == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickTabItem(index), index)
|
||||
};
|
||||
}),
|
||||
X: $data.selectTab == 0
|
||||
}, $data.selectTab == 0 ? common_vendor.e({
|
||||
Y: common_vendor.f($data.companyFilesList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectCompanyFiles == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickCompanyFilesItem(index), index)
|
||||
};
|
||||
}),
|
||||
Z: $data.selectCompanyFiles == 0
|
||||
}, $data.selectCompanyFiles == 0 ? {
|
||||
aa: common_vendor.p({
|
||||
actualControlInfo: $data.actualControlInfo,
|
||||
concentrationList: $data.concentrationList,
|
||||
shareholdersList: $data.topShareholdersList,
|
||||
circulatingShareholdersList: $data.topCirculatingShareholdersList
|
||||
})
|
||||
} : {}, {
|
||||
ab: $data.selectCompanyFiles == 1
|
||||
}, $data.selectCompanyFiles == 1 ? {
|
||||
ac: common_vendor.f($data.managementList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: item.list.length > 0
|
||||
}, item.list.length > 0 ? {
|
||||
b: common_vendor.t(item.key),
|
||||
c: common_vendor.t(item.list.length)
|
||||
} : {}, {
|
||||
d: common_vendor.f(item.list, (pitem, pindex, i1) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t($data.getLastNameStr(pitem.name)),
|
||||
b: pitem.gender == "女"
|
||||
}, pitem.gender == "女" ? {
|
||||
c: common_assets._imports_6$2
|
||||
} : {
|
||||
d: common_assets._imports_7$4
|
||||
}, {
|
||||
e: common_vendor.n("sexC flexCenter absolute " + (pitem.gender == "女" ? "female" : "male")),
|
||||
f: common_vendor.t(pitem.name),
|
||||
g: common_vendor.t(pitem.position_name),
|
||||
h: common_vendor.t(pitem.start_date),
|
||||
i: common_vendor.t(pitem.education)
|
||||
});
|
||||
}),
|
||||
e: index,
|
||||
f: item.list.length > 4
|
||||
}, item.list.length > 4 ? {
|
||||
g: common_assets._imports_8$4
|
||||
} : {}, {
|
||||
h: index
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
ad: $data.selectCompanyFiles == 2
|
||||
}, $data.selectCompanyFiles == 2 ? {
|
||||
ae: common_vendor.f($data.branchList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.branch_name),
|
||||
b: item.business_status == "注销"
|
||||
}, item.business_status == "注销" ? {
|
||||
c: common_assets._imports_9$4
|
||||
} : {
|
||||
d: common_assets._imports_10$3
|
||||
}, {
|
||||
e: common_vendor.t(item.business_status),
|
||||
f: common_vendor.n("statusC flex " + (item.business_status == "注销" ? "logOff" : "exist")),
|
||||
g: common_vendor.t(item.register_capital),
|
||||
h: common_vendor.t(item.legal_person),
|
||||
i: common_vendor.t(item.register_date),
|
||||
j: common_vendor.t(item.related_company_count),
|
||||
k: index
|
||||
});
|
||||
})
|
||||
} : {}, {
|
||||
af: $data.selectCompanyFiles == 3
|
||||
}, $data.selectCompanyFiles == 3 ? {
|
||||
ag: common_vendor.t($data.stockBasicInfo.credit_code),
|
||||
ah: common_vendor.t($data.stockBasicInfo.company_size),
|
||||
ai: common_vendor.t($data.stockBasicInfo.reg_address),
|
||||
aj: common_vendor.t($data.stockBasicInfo.office_address),
|
||||
ak: common_vendor.t($data.stockBasicInfo.accounting_firm),
|
||||
al: common_vendor.t($data.stockBasicInfo.law_firm),
|
||||
am: common_vendor.t($data.stockBasicInfo.main_business),
|
||||
an: common_vendor.t($data.stockBasicInfo.business_scope)
|
||||
} : {}) : {}, {
|
||||
ao: $data.selectTab == 1
|
||||
}, $data.selectTab == 1 ? common_vendor.e({
|
||||
ap: common_vendor.f($data.inDepthAnalysisList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectInDepthAnalysis == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickInDepthAnalysisItem(index), index)
|
||||
};
|
||||
}),
|
||||
aq: $data.selectInDepthAnalysis == 0
|
||||
}, $data.selectInDepthAnalysis == 0 ? common_vendor.e({
|
||||
ar: $data.qualitativeAnalysisInfo
|
||||
}, $data.qualitativeAnalysisInfo ? {
|
||||
as: common_vendor.t($data.qualitativeAnalysisInfo.core_positioning.one_line_intro)
|
||||
} : {}, {
|
||||
at: $data.qualitativeAnalysisInfo
|
||||
}, $data.qualitativeAnalysisInfo ? {
|
||||
av: common_vendor.t($data.qualitativeAnalysisInfo.core_positioning.investment_highlights)
|
||||
} : {}, {
|
||||
aw: $data.qualitativeAnalysisInfo
|
||||
}, $data.qualitativeAnalysisInfo ? {
|
||||
ax: common_vendor.t($data.qualitativeAnalysisInfo.core_positioning.business_model_desc)
|
||||
} : {}, {
|
||||
ay: common_assets._imports_11$4,
|
||||
az: common_vendor.o(($event) => $options.clickIndustryRank()),
|
||||
aA: common_vendor.f($data.mainCompetitorsList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item),
|
||||
b: index
|
||||
};
|
||||
}),
|
||||
aB: common_assets._imports_10$3,
|
||||
aC: common_vendor.f($data.scoreList, (item, index, i0) => {
|
||||
return {
|
||||
a: item.icon,
|
||||
b: common_vendor.t(item.title),
|
||||
c: common_vendor.n("progress absolute " + item.color),
|
||||
d: common_vendor.s("width: " + item.score + "%;"),
|
||||
e: common_vendor.t(item.score),
|
||||
f: common_vendor.n("item flex " + item.color),
|
||||
g: index
|
||||
};
|
||||
}),
|
||||
aD: common_vendor.sr("chartRef", "817d6950-2"),
|
||||
aE: $data.competitivePositionInfo
|
||||
}, $data.competitivePositionInfo ? {
|
||||
aF: common_vendor.t($data.competitivePositionInfo.analysis.competitive_advantages)
|
||||
} : {}, {
|
||||
aG: $data.competitivePositionInfo
|
||||
}, $data.competitivePositionInfo ? {
|
||||
aH: common_vendor.t($data.competitivePositionInfo.analysis.competitive_disadvantages)
|
||||
} : {}) : {}, {
|
||||
aI: $data.selectInDepthAnalysis == 1
|
||||
}, $data.selectInDepthAnalysis == 1 ? {
|
||||
aJ: common_vendor.p({
|
||||
businessSegmentList: $data.businessSegmentList
|
||||
})
|
||||
} : {}, {
|
||||
aK: $data.selectInDepthAnalysis == 2
|
||||
}, $data.selectInDepthAnalysis == 2 ? {
|
||||
aL: common_vendor.o(($event) => $options.detailShow(0))
|
||||
} : {}, {
|
||||
aM: $data.selectInDepthAnalysis == 3
|
||||
}, $data.selectInDepthAnalysis == 3 ? {
|
||||
aN: common_vendor.o(($event) => $options.detailShow(1)),
|
||||
aO: common_vendor.p({
|
||||
keyFactorsInfo: $data.keyFactorsInfo,
|
||||
keyFactorsList: $data.keyFactorsList,
|
||||
timelineInfo: $data.timelineInfo,
|
||||
timelineList: $data.timelineList
|
||||
})
|
||||
} : {}) : {}, {
|
||||
aP: $data.selectTab == 2
|
||||
}, $data.selectTab == 2 ? {
|
||||
aQ: common_vendor.f($data.caiWuList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectCaiwu == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickCaiWuItem(index), index)
|
||||
};
|
||||
}),
|
||||
aR: common_vendor.p({
|
||||
type: $data.selectCaiwu
|
||||
})
|
||||
} : {}, {
|
||||
aS: $data.selectTab == 3
|
||||
}, $data.selectTab == 3 ? {
|
||||
aT: common_vendor.f($data.dongTaiList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectDongtai == index ? "select" : "")),
|
||||
c: index,
|
||||
d: common_vendor.o(($event) => $options.clickDongTaiItem(index), index)
|
||||
};
|
||||
}),
|
||||
aU: common_vendor.p({
|
||||
type: $data.selectDongtai,
|
||||
newsList: $data.newsList,
|
||||
announcementList: $data.companyAnnouncementList
|
||||
})
|
||||
} : {}, {
|
||||
aV: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
aW: common_vendor.o(($event) => _ctx.sendEventComment()),
|
||||
aX: _ctx.eventComment,
|
||||
aY: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
|
||||
aZ: common_assets._imports_2$10,
|
||||
ba: common_assets._imports_3$10,
|
||||
bb: common_vendor.o(($event) => _ctx.clickComment()),
|
||||
bc: common_assets._imports_4$9,
|
||||
bd: common_vendor.o(($event) => _ctx.clickFollow()),
|
||||
be: common_assets._imports_15$1,
|
||||
bf: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()),
|
||||
bg: common_vendor.f($data.industryRankList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.f(item.rankings, (ritem, rindex, i1) => {
|
||||
return {
|
||||
a: common_vendor.t(ritem.industry_name),
|
||||
b: common_vendor.t(ritem.level_description),
|
||||
c: common_vendor.t(ritem.metrics.eps.value.toFixed(2)),
|
||||
d: common_vendor.t(ritem.metrics.eps.rank),
|
||||
e: common_vendor.t(ritem.metrics.eps.industry_avg.toFixed(2)),
|
||||
f: common_vendor.t(ritem.metrics.bvps.value.toFixed(2)),
|
||||
g: common_vendor.t(ritem.metrics.bvps.rank),
|
||||
h: common_vendor.t(ritem.metrics.bvps.industry_avg.toFixed(2)),
|
||||
i: common_vendor.t(ritem.metrics.roe.value.toFixed(2)),
|
||||
j: common_vendor.t(ritem.metrics.roe.rank),
|
||||
k: common_vendor.t(ritem.metrics.roe.industry_avg.toFixed(2)),
|
||||
l: common_vendor.t(ritem.metrics.revenue_growth.value.toFixed(2)),
|
||||
m: common_vendor.t(ritem.metrics.revenue_growth.rank),
|
||||
n: common_vendor.t(ritem.metrics.revenue_growth.industry_avg.toFixed(2)),
|
||||
o: common_vendor.t(ritem.metrics.profit_growth.value.toFixed(2)),
|
||||
p: common_vendor.t(ritem.metrics.profit_growth.rank),
|
||||
q: common_vendor.t(ritem.metrics.profit_growth.industry_avg.toFixed(2)),
|
||||
r: common_vendor.t(ritem.metrics.operating_margin.value.toFixed(2)),
|
||||
s: common_vendor.t(ritem.metrics.operating_margin.rank),
|
||||
t: common_vendor.t(ritem.metrics.operating_margin.industry_avg.toFixed(2)),
|
||||
v: common_vendor.t(ritem.metrics.debt_ratio.value.toFixed(2)),
|
||||
w: common_vendor.t(ritem.metrics.debt_ratio.rank),
|
||||
x: common_vendor.t(ritem.metrics.debt_ratio.industry_avg.toFixed(2)),
|
||||
y: common_vendor.t(ritem.metrics.receivable_turnover.value.toFixed(2)),
|
||||
z: common_vendor.t(ritem.metrics.receivable_turnover.rank),
|
||||
A: common_vendor.t(ritem.metrics.receivable_turnover.industry_avg.toFixed(2)),
|
||||
B: rindex
|
||||
};
|
||||
}),
|
||||
b: common_vendor.t(item.period),
|
||||
c: index
|
||||
};
|
||||
}),
|
||||
bh: common_assets._imports_10$3,
|
||||
bi: common_vendor.sr("industryRankPop", "817d6950-8"),
|
||||
bj: common_vendor.p({
|
||||
type: "bottom"
|
||||
}),
|
||||
bk: common_assets._imports_15$1,
|
||||
bl: common_vendor.f(3, (item, index, i0) => {
|
||||
return {
|
||||
a: index
|
||||
};
|
||||
}),
|
||||
bm: common_assets._imports_16$2,
|
||||
bn: common_vendor.sr("detailPopup", "817d6950-9"),
|
||||
bo: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
}),
|
||||
bp: common_assets._imports_15$1,
|
||||
bq: common_vendor.sr("detailInfoPopup", "817d6950-10"),
|
||||
br: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
})
|
||||
});
|
||||
}
|
||||
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createPage(MiniProgramPage);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pagesStock/stockCenterDetails/stockCenterDetails.js.map
|
||||
Reference in New Issue
Block a user