1.30 财务分析部分模块完善,发展历程弹窗完善
This commit is contained in:
@@ -180,6 +180,7 @@ const _sfc_main = {
|
||||
//发展时间线统计信息
|
||||
timelineList: [],
|
||||
//发展时间线
|
||||
selectDevelopmentTimelineInfo: null,
|
||||
caiWuList: [
|
||||
{
|
||||
title: "主营数据"
|
||||
@@ -204,6 +205,12 @@ const _sfc_main = {
|
||||
//主营业务折线图数据
|
||||
productClassificationList: [],
|
||||
//主营业务产业分类数据
|
||||
financialBalanceList: [],
|
||||
//资产负债表
|
||||
cashFlowList: [],
|
||||
//现金流量表
|
||||
incomeStatementList: [],
|
||||
//利润表
|
||||
dongTaiList: [
|
||||
{
|
||||
title: "新闻动态"
|
||||
@@ -285,6 +292,7 @@ const _sfc_main = {
|
||||
} else if (index == 2) {
|
||||
this.getFinancialStockInfoData();
|
||||
this.getFinancialComparisonData();
|
||||
this.getFinancialMetricsData();
|
||||
this.getFinancialMainBussinessData();
|
||||
} else if (index == 3) {
|
||||
this.getNewsListData();
|
||||
@@ -326,8 +334,14 @@ const _sfc_main = {
|
||||
clickCaiWuItem(index) {
|
||||
if (this.selectCaiwu != index) {
|
||||
this.selectCaiwu = index;
|
||||
if (index == 1) {
|
||||
if (index == 0) {
|
||||
this.getFinancialMetricsData();
|
||||
} else if (index == 1) {
|
||||
this.getFinancialMetricsData();
|
||||
} else if (index == 2) {
|
||||
this.getFinancialBalanceSheetData();
|
||||
this.getCashFlowSheetData();
|
||||
this.getIncomeStatementSheetData();
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -357,12 +371,15 @@ const _sfc_main = {
|
||||
clickCloseIndustryRankPop() {
|
||||
this.$refs["industryRankPop"].close();
|
||||
},
|
||||
detailShow(type) {
|
||||
if (type == 0) {
|
||||
this.$refs["detailPopup"].open();
|
||||
} else {
|
||||
this.$refs["detailInfoPopup"].open();
|
||||
}
|
||||
/**
|
||||
* 查看发展时间线详情
|
||||
*/
|
||||
clickDevelopmentTimelineDetail(item) {
|
||||
this.selectDevelopmentTimelineInfo = item;
|
||||
this.$refs["developmentTimelinePopup"].open();
|
||||
},
|
||||
clickCloseDevelopmentTimelinePopup() {
|
||||
this.$refs["developmentTimelinePopup"].close();
|
||||
},
|
||||
/**
|
||||
* 查看产业链详情
|
||||
@@ -375,7 +392,7 @@ const _sfc_main = {
|
||||
/**
|
||||
* 关闭产业链弹窗
|
||||
*/
|
||||
clickCloseValueChainPop() {
|
||||
clickCloseValueChainPopup() {
|
||||
this.$refs["valueChainPopup"].close();
|
||||
},
|
||||
/**
|
||||
@@ -692,6 +709,48 @@ const _sfc_main = {
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取资产负债表数据
|
||||
*/
|
||||
getFinancialBalanceSheetData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
let param = { limit: 8 };
|
||||
request_api.financialBalanceSheet(code, param).then((res) => {
|
||||
this.financialBalanceList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取现金流量表数据
|
||||
*/
|
||||
getCashFlowSheetData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
let param = { limit: 8 };
|
||||
request_api.cashflowSheet(code, param).then((res) => {
|
||||
this.cashFlowList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取利润表数据
|
||||
*/
|
||||
getIncomeStatementSheetData() {
|
||||
let code = this.stockCode;
|
||||
if (this.selectSearchStockInfo) {
|
||||
code = this.selectSearchStockInfo.stock_code;
|
||||
}
|
||||
let param = { limit: 8 };
|
||||
request_api.incomeStatementSheet(code, param).then((res) => {
|
||||
this.incomeStatementList = res.data;
|
||||
}).catch((error) => {
|
||||
});
|
||||
},
|
||||
/**
|
||||
* 获取新闻动态数据
|
||||
*/
|
||||
@@ -925,7 +984,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
} : {}, {
|
||||
ax: $data.selectInDepthAnalysis == 3
|
||||
}, $data.selectInDepthAnalysis == 3 ? {
|
||||
ay: common_vendor.o(($event) => $options.detailShow(1)),
|
||||
ay: common_vendor.o($options.clickDevelopmentTimelineDetail),
|
||||
az: common_vendor.p({
|
||||
keyFactorsInfo: $data.keyFactorsInfo,
|
||||
keyFactorsList: $data.keyFactorsList,
|
||||
@@ -950,7 +1009,8 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
barCategoryList: $data.mainBussinessBarCategoryList,
|
||||
barList: $data.mainBussinessBarList,
|
||||
lineList: $data.mainBussinessLineList,
|
||||
productClassificationList: $data.productClassificationList
|
||||
productClassificationList: $data.productClassificationList,
|
||||
financialMetricsInfo: $data.financialMetricsList[0]
|
||||
})
|
||||
} : {}, {
|
||||
aE: $data.selectCaiwu == 1
|
||||
@@ -960,10 +1020,16 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
})
|
||||
} : {}, {
|
||||
aG: $data.selectCaiwu == 2
|
||||
}, $data.selectCaiwu == 2 ? {} : {}) : {}, {
|
||||
aH: $data.selectTab == 3
|
||||
}, $data.selectCaiwu == 2 ? {
|
||||
aH: common_vendor.p({
|
||||
financialBalanceList: $data.financialBalanceList,
|
||||
cashFlowList: $data.cashFlowList,
|
||||
incomeStatementList: $data.incomeStatementList
|
||||
})
|
||||
} : {}) : {}, {
|
||||
aI: $data.selectTab == 3
|
||||
}, $data.selectTab == 3 ? {
|
||||
aI: common_vendor.f($data.dongTaiList, (item, index, i0) => {
|
||||
aJ: common_vendor.f($data.dongTaiList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.title),
|
||||
b: common_vendor.n("item " + ($data.selectDongtai == index ? "select" : "")),
|
||||
@@ -971,24 +1037,24 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
d: common_vendor.o(($event) => $options.clickDongTaiItem(index), index)
|
||||
};
|
||||
}),
|
||||
aJ: common_vendor.p({
|
||||
aK: common_vendor.p({
|
||||
type: $data.selectDongtai,
|
||||
newsList: $data.newsList,
|
||||
announcementList: $data.companyAnnouncementList
|
||||
})
|
||||
} : {}, {
|
||||
aK: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
aL: common_vendor.o(($event) => _ctx.sendEventComment()),
|
||||
aM: _ctx.eventComment,
|
||||
aN: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
|
||||
aO: common_assets._imports_2$10,
|
||||
aP: common_assets._imports_3$10,
|
||||
aQ: common_vendor.o(($event) => $options.clickOptional()),
|
||||
aR: common_assets._imports_4$9,
|
||||
aS: common_vendor.o(($event) => $options.clickShare()),
|
||||
aT: common_assets._imports_9$1,
|
||||
aU: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()),
|
||||
aV: common_vendor.f($data.industryRankList, (item, index, i0) => {
|
||||
aL: common_vendor.s("top:" + $data.contentTop + "px;"),
|
||||
aM: common_vendor.o(($event) => _ctx.sendEventComment()),
|
||||
aN: _ctx.eventComment,
|
||||
aO: common_vendor.o(($event) => _ctx.eventComment = $event.detail.value),
|
||||
aP: common_assets._imports_2$10,
|
||||
aQ: common_assets._imports_3$10,
|
||||
aR: common_vendor.o(($event) => $options.clickOptional()),
|
||||
aS: common_assets._imports_4$9,
|
||||
aT: common_vendor.o(($event) => $options.clickShare()),
|
||||
aU: common_assets._imports_9$1,
|
||||
aV: common_vendor.o(($event) => $options.clickCloseIndustryRankPop()),
|
||||
aW: common_vendor.f($data.industryRankList, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.f(item.rankings, (ritem, rindex, i1) => {
|
||||
return common_vendor.e({
|
||||
@@ -1085,68 +1151,68 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
c: index
|
||||
};
|
||||
}),
|
||||
aW: common_assets._imports_1$13,
|
||||
aX: common_vendor.sr("industryRankPop", "817d6950-13"),
|
||||
aY: common_vendor.p({
|
||||
aX: common_assets._imports_1$13,
|
||||
aY: common_vendor.sr("industryRankPop", "817d6950-13"),
|
||||
aZ: common_vendor.p({
|
||||
type: "bottom"
|
||||
}),
|
||||
aZ: common_assets._imports_9$1,
|
||||
ba: common_vendor.o(($event) => $options.clickCloseValueChainPop()),
|
||||
bb: $data.selectValueChainInfo
|
||||
ba: common_assets._imports_9$1,
|
||||
bb: common_vendor.o(($event) => $options.clickCloseValueChainPopup()),
|
||||
bc: $data.selectValueChainInfo
|
||||
}, $data.selectValueChainInfo ? common_vendor.e({
|
||||
bc: common_vendor.t($data.selectValueChainInfo.node_name),
|
||||
bd: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
bd: common_vendor.t($data.selectValueChainInfo.node_name),
|
||||
be: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
be: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
bf: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
} : {}, {
|
||||
bf: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
bg: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bg: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
bh: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
} : {}, {
|
||||
bh: $data.selectValueChainInfo.node_level == 0
|
||||
bi: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bi: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
bj: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
} : {}, {
|
||||
bj: $data.selectValueChainInfo.node_level == 0
|
||||
bk: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bk: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
bl: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
} : {}, {
|
||||
bl: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
bm: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bm: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
bn: common_vendor.t($data.selectValueChainInfo.node_type)
|
||||
} : {}, {
|
||||
bn: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
bo: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bo: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
bp: common_vendor.t($data.selectValueChainInfo.market_share)
|
||||
} : {}, {
|
||||
bp: common_vendor.t($data.selectValueChainInfo.node_description),
|
||||
bq: common_vendor.t($data.selectValueChainInfo.importance_score),
|
||||
br: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
bq: common_vendor.t($data.selectValueChainInfo.node_description),
|
||||
br: common_vendor.t($data.selectValueChainInfo.importance_score),
|
||||
bs: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bs: common_vendor.s("width:" + ($data.selectValueChainInfo.importance_score ? $data.selectValueChainInfo.importance_score : 0) + "%;")
|
||||
bt: common_vendor.s("width:" + ($data.selectValueChainInfo.importance_score ? $data.selectValueChainInfo.importance_score : 0) + "%;")
|
||||
} : {}, {
|
||||
bt: $data.selectValueChainInfo.node_level == 0
|
||||
bv: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bv: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
|
||||
bw: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
|
||||
} : {}, {
|
||||
bw: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
bx: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bx: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
|
||||
by: common_vendor.s("width:" + $data.selectValueChainInfo.importance_score + "%;")
|
||||
} : {}, {
|
||||
by: common_vendor.t($data.selectValueChainInfo.dependency_degree),
|
||||
bz: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
bz: common_vendor.t($data.selectValueChainInfo.dependency_degree),
|
||||
bA: $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1
|
||||
}, $data.selectValueChainInfo.node_level == -2 || $data.selectValueChainInfo.node_level == -1 ? {
|
||||
bA: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
bB: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
} : {}, {
|
||||
bB: $data.selectValueChainInfo.node_level == 0
|
||||
bC: $data.selectValueChainInfo.node_level == 0
|
||||
}, $data.selectValueChainInfo.node_level == 0 ? {
|
||||
bC: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
bD: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
} : {}, {
|
||||
bD: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
bE: $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2
|
||||
}, $data.selectValueChainInfo.node_level == 1 || $data.selectValueChainInfo.node_level == 2 ? {
|
||||
bE: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
bF: common_vendor.s("width:" + ($data.selectValueChainInfo.dependency_degree ? $data.selectValueChainInfo.dependency_degree : 0) + "%;")
|
||||
} : {}, {
|
||||
bF: common_vendor.f($data.relatedCompanyList, (item, index, i0) => {
|
||||
bG: common_vendor.f($data.relatedCompanyList, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.stock_name),
|
||||
b: common_vendor.t(item.stock_code),
|
||||
@@ -1161,14 +1227,27 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
});
|
||||
})
|
||||
}) : {}, {
|
||||
bG: common_vendor.sr("valueChainPopup", "817d6950-14"),
|
||||
bH: common_vendor.p({
|
||||
bH: common_vendor.sr("valueChainPopup", "817d6950-14"),
|
||||
bI: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
}),
|
||||
bI: common_assets._imports_9$1,
|
||||
bJ: common_vendor.sr("detailInfoPopup", "817d6950-15"),
|
||||
bK: common_vendor.p({
|
||||
bJ: common_assets._imports_9$1,
|
||||
bK: common_vendor.o(($event) => $options.clickCloseDevelopmentTimelinePopup()),
|
||||
bL: $data.selectDevelopmentTimelineInfo
|
||||
}, $data.selectDevelopmentTimelineInfo ? {
|
||||
bM: common_vendor.t($data.selectDevelopmentTimelineInfo.event_title),
|
||||
bN: common_vendor.t($data.selectDevelopmentTimelineInfo.event_type),
|
||||
bO: common_vendor.n("eventType " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")),
|
||||
bP: common_vendor.t($data.selectDevelopmentTimelineInfo.event_date),
|
||||
bQ: common_vendor.t($data.selectDevelopmentTimelineInfo.event_desc),
|
||||
bR: common_vendor.t($data.selectDevelopmentTimelineInfo.related_info.financial_impact),
|
||||
bS: common_vendor.n("progress " + ($data.selectDevelopmentTimelineInfo.impact_metrics.is_positive == 1 ? "positive" : "negative")),
|
||||
bT: common_vendor.s("width: " + $data.selectDevelopmentTimelineInfo.impact_metrics.impact_score + "%;"),
|
||||
bU: common_vendor.t($data.selectDevelopmentTimelineInfo.impact_metrics.impact_score)
|
||||
} : {}, {
|
||||
bV: common_vendor.sr("developmentTimelinePopup", "817d6950-15"),
|
||||
bW: common_vendor.p({
|
||||
type: "bottom",
|
||||
safeArea: false
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user