848 lines
28 KiB
JavaScript
848 lines
28 KiB
JavaScript
"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,
|
|
//实际控制信息
|
|
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
|
|
}
|
|
}
|
|
]
|
|
},
|
|
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
|
|
};
|
|
},
|
|
onLoad() {
|
|
this.contentTop = this.navH + (20 + 70 + 30) / 750 * common_vendor.inject("windowWidth");
|
|
this.getStockBasicInfoData();
|
|
this.getQuoteDetailsData();
|
|
this.getActualControl();
|
|
this.getTopShareholdersData();
|
|
this.getTopCirculatingShareholdersData();
|
|
},
|
|
methods: {
|
|
async init() {
|
|
const chart = await this.$refs.chartRef.init(echarts);
|
|
common_vendor.index.__f__("log", "at pagesStock/stockCenterDetails/stockCenterDetails.vue:777", chart);
|
|
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;
|
|
}
|
|
},
|
|
/**
|
|
* 点击选择动态分类
|
|
* @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) => {
|
|
});
|
|
},
|
|
/**
|
|
* 获取实际控制人数据
|
|
*/
|
|
getActualControl() {
|
|
let code = this.stockCode;
|
|
if (this.keywords) {
|
|
code = this.keywords;
|
|
}
|
|
request_api.actualControl(code).then((res) => {
|
|
this.actualControlInfo = res.data[0];
|
|
}).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;
|
|
this.managementList = data.reduce((acc, item) => {
|
|
if (!acc[item.position_category_code]) {
|
|
acc[item.position_category_code] = [];
|
|
}
|
|
acc[item.position_category_code].push(item);
|
|
return acc;
|
|
}, {});
|
|
}).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);
|
|
}).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) => {
|
|
});
|
|
},
|
|
/**
|
|
* 获取新闻动态数据
|
|
*/
|
|
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$9,
|
|
N: common_vendor.t($data.stockBasicInfo.province),
|
|
O: common_vendor.t($data.stockBasicInfo.city),
|
|
P: common_assets._imports_5$5,
|
|
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,
|
|
shareholdersList: $data.topShareholdersList,
|
|
circulatingShareholdersList: $data.topCirculatingShareholdersList
|
|
})
|
|
} : {}, {
|
|
ab: $data.selectCompanyFiles == 1
|
|
}, $data.selectCompanyFiles == 1 ? {
|
|
ac: common_assets._imports_6$2,
|
|
ad: common_assets._imports_7$4
|
|
} : {}, {
|
|
ae: $data.selectCompanyFiles == 2
|
|
}, $data.selectCompanyFiles == 2 ? {
|
|
af: 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_8$4
|
|
} : {
|
|
d: common_assets._imports_9$4
|
|
}, {
|
|
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
|
|
});
|
|
})
|
|
} : {}, {
|
|
ag: $data.selectCompanyFiles == 3
|
|
}, $data.selectCompanyFiles == 3 ? {
|
|
ah: common_vendor.t($data.stockBasicInfo.credit_code),
|
|
ai: common_vendor.t($data.stockBasicInfo.company_size),
|
|
aj: common_vendor.t($data.stockBasicInfo.reg_address),
|
|
ak: common_vendor.t($data.stockBasicInfo.office_address),
|
|
al: common_vendor.t($data.stockBasicInfo.accounting_firm),
|
|
am: common_vendor.t($data.stockBasicInfo.law_firm),
|
|
an: common_vendor.t($data.stockBasicInfo.main_business),
|
|
ao: common_vendor.t($data.stockBasicInfo.business_scope)
|
|
} : {}) : {}, {
|
|
ap: $data.selectTab == 1
|
|
}, $data.selectTab == 1 ? common_vendor.e({
|
|
aq: 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)
|
|
};
|
|
}),
|
|
ar: $data.selectInDepthAnalysis == 0
|
|
}, $data.selectInDepthAnalysis == 0 ? common_vendor.e({
|
|
as: $data.qualitativeAnalysisInfo
|
|
}, $data.qualitativeAnalysisInfo ? {
|
|
at: common_vendor.t($data.qualitativeAnalysisInfo.core_positioning.one_line_intro)
|
|
} : {}, {
|
|
av: common_assets._imports_9$4,
|
|
aw: $data.qualitativeAnalysisInfo
|
|
}, $data.qualitativeAnalysisInfo ? {
|
|
ax: common_vendor.t($data.qualitativeAnalysisInfo.strategy.strategy_description)
|
|
} : {}, {
|
|
ay: $data.qualitativeAnalysisInfo
|
|
}, $data.qualitativeAnalysisInfo ? {
|
|
az: common_vendor.t($data.qualitativeAnalysisInfo.strategy.strategic_initiatives)
|
|
} : {}, {
|
|
aA: common_assets._imports_10$3,
|
|
aB: common_vendor.o(($event) => $options.clickIndustryRank()),
|
|
aC: common_vendor.f($data.mainCompetitorsList, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item),
|
|
b: index
|
|
};
|
|
}),
|
|
aD: common_assets._imports_9$4,
|
|
aE: 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
|
|
};
|
|
}),
|
|
aF: common_vendor.sr("chartRef", "817d6950-2"),
|
|
aG: $data.competitivePositionInfo
|
|
}, $data.competitivePositionInfo ? {
|
|
aH: common_vendor.t($data.competitivePositionInfo.analysis.competitive_advantages)
|
|
} : {}, {
|
|
aI: $data.competitivePositionInfo
|
|
}, $data.competitivePositionInfo ? {
|
|
aJ: common_vendor.t($data.competitivePositionInfo.analysis.competitive_disadvantages)
|
|
} : {}) : {}, {
|
|
aK: $data.selectInDepthAnalysis == 1
|
|
}, $data.selectInDepthAnalysis == 1 ? {} : {}, {
|
|
aL: $data.selectInDepthAnalysis == 2
|
|
}, $data.selectInDepthAnalysis == 2 ? {
|
|
aM: common_vendor.o(($event) => $options.detailShow(0))
|
|
} : {}, {
|
|
aN: $data.selectInDepthAnalysis == 3
|
|
}, $data.selectInDepthAnalysis == 3 ? {
|
|
aO: common_vendor.o(($event) => $options.detailShow(1))
|
|
} : {}) : {}, {
|
|
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$8,
|
|
bd: common_vendor.o(($event) => _ctx.clickFollow()),
|
|
be: common_assets._imports_14$1,
|
|
bf: 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
|
|
};
|
|
}),
|
|
bg: common_assets._imports_9$4,
|
|
bh: common_vendor.sr("industryRankPop", "817d6950-8"),
|
|
bi: common_vendor.p({
|
|
type: "bottom"
|
|
}),
|
|
bj: common_assets._imports_14$1,
|
|
bk: common_vendor.f(3, (item, index, i0) => {
|
|
return {
|
|
a: index
|
|
};
|
|
}),
|
|
bl: common_assets._imports_15$2,
|
|
bm: common_vendor.sr("detailPopup", "817d6950-9"),
|
|
bn: common_vendor.p({
|
|
type: "bottom",
|
|
safeArea: false
|
|
}),
|
|
bo: common_assets._imports_14$1,
|
|
bp: common_vendor.sr("detailInfoPopup", "817d6950-10"),
|
|
bq: 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
|