diff --git a/components/cwfx-view/cwfx-view.vue b/components/cwfx-view/cwfx-view.vue
index d17aceb..2d600bb 100644
--- a/components/cwfx-view/cwfx-view.vue
+++ b/components/cwfx-view/cwfx-view.vue
@@ -67,7 +67,6 @@
-
diff --git a/components/cwsj-view/cwsj-view.vue b/components/cwsj-view/cwsj-view.vue
index beffbe0..5f03f1c 100644
--- a/components/cwsj-view/cwsj-view.vue
+++ b/components/cwsj-view/cwsj-view.vue
@@ -10,16 +10,14 @@
style="width: 13rpx; height: 22rpx;">
-
-
+
{{item}}
-
+
查看详细数据
@@ -33,49 +31,44 @@
mode="widthFix">
-
-
- 折线图占位
+
+
-
+
资产总计
- 29.21亿
+ {{getNumStr(financialBalanceList[0].assets.total)}}
负债合计
- 17.94亿
+ {{getNumStr(financialBalanceList[0].liabilities.total)}}
所有者权益
- 11.27亿
+ {{getNumStr(financialBalanceList[0].equity.total)}}
货币资金
- 5.45亿
+ {{getNumStr(financialBalanceList[0].assets.current_assets.cash)}}
资本公积金
- 4.61亿
+ {{getNumStr(financialBalanceList[0].equity.capital_reserve)}}
-
+
盈余公积金
- 1.02亿
+ {{getNumStr(financialBalanceList[0].equity.surplus_reserve)}}
-
+
未分配利润
- 1.61亿
+ {{getNumStr(financialBalanceList[0].equity.undistributed_profit)}}
-
-
-
-
-
+
+
现金流量表
@@ -83,16 +76,13 @@
style="width: 13rpx; height: 22rpx;">
-
-
+
+
{{item}}
-
+
查看详细数据
@@ -106,12 +96,9 @@
mode="widthFix">
-
-
- 柱状折线图占位
+
+
-
经营性现金流
@@ -140,7 +127,7 @@
-
+
@@ -149,22 +136,20 @@
style="width: 13rpx; height: 22rpx;">
-
-
+
+
{{item}}
-
+
查看详细数据
单季度
+ style="display: flex; align-items: center; padding: 3rpx 10rpx; border: 1rpx solid #D2D2D2; margin-right: 10rpx;">
全部
@@ -172,7 +157,7 @@
mode="widthFix">
+ style="display: flex; align-items: center; padding: 3rpx 10rpx;border: 1rpx solid #D2D2D2;">
汇总
@@ -182,9 +167,8 @@
-
+
-
净利润
@@ -216,16 +200,230 @@
-
\ No newline at end of file
diff --git a/components/fzlc-view/fzlc-view.vue b/components/fzlc-view/fzlc-view.vue
index 16794ed..ab2b744 100644
--- a/components/fzlc-view/fzlc-view.vue
+++ b/components/fzlc-view/fzlc-view.vue
@@ -51,7 +51,7 @@
{{timelineInfo.negative_events}}
-
+
@@ -97,8 +97,8 @@
timelineList:Array, //发展时间线数组
},
methods: {
- clickAction() {
- this.$emit('detail')
+ clickAction(item) {
+ this.$emit('detail',item)
}
}
}
diff --git a/components/zysj-view/zysj-view.vue b/components/zysj-view/zysj-view.vue
index b6546f7..fab9619 100644
--- a/components/zysj-view/zysj-view.vue
+++ b/components/zysj-view/zysj-view.vue
@@ -37,10 +37,10 @@
-
- 93.52%
+ {{financialMetricsInfo.solvency.asset_liability_ratio}}%
资产负债率
@@ -49,8 +49,8 @@
安全边际
- 风险
- 流动比率 0.73|研发费用率 5.48%
+ {{getDebtStatusText(financialMetricsInfo.solvency.asset_liability_ratio).text}}
+ 流动比率 {{financialMetricsInfo.solvency.current_ratio}}|研发费用率 {{financialMetricsInfo.expense_ratios.rd_expense_ratio}}%
@@ -189,7 +189,8 @@
};
},
props: {
- stockInfo:Object,
+ stockInfo:Object,
+ financialMetricsInfo:Object,
barCategoryList:Array,
barList:Array,
lineList:Array, //折线图数据
@@ -251,6 +252,16 @@
setTimeout(function() {
chart.setOption(that.option2)
}, 2000);
+ },
+ /**
+ * 获取资产负债状态
+ */
+ getDebtStatusText(value) {
+ if (value < 40)
+ return { text: '安全', color: 'green' };
+ if (value < 60) return { text: '适中', color: 'gold' };
+ if (value < 70) return { text: '偏高', color: 'orange' };
+ return { text: '风险', color: 'red' };
},
itemClick(index) {
uni.navigateTo({
diff --git a/pagesStock/stockCenterDetails/stockCenterDetails.vue b/pagesStock/stockCenterDetails/stockCenterDetails.vue
index e4e6106..5b99617 100644
--- a/pagesStock/stockCenterDetails/stockCenterDetails.vue
+++ b/pagesStock/stockCenterDetails/stockCenterDetails.vue
@@ -175,7 +175,7 @@
-
+
@@ -186,13 +186,14 @@
-
+
-
+
@@ -334,7 +335,7 @@
-
-
+
+