diff --git a/src/components/FecrHeader.vue b/src/components/FecrHeader.vue index d07085d..b0be017 100644 --- a/src/components/FecrHeader.vue +++ b/src/components/FecrHeader.vue @@ -10,7 +10,7 @@ :value="item.label" > - 当前路径:当前位置:
@@ -18,74 +18,102 @@ export default { }, methods: { initLine() { - var chart = this.$echarts.init(document.getElementById("line_new"), "shine"); + var chart = this.$echarts.init( + document.getElementById("line_new"), + "shine" + ); var option = { - xAxis: { - type: "category", - boundaryGap: false, - data: this.data.x, - axisLine: { - lineStyle: { - color: "#ACACAC", + color: ["#80FFA5", "#00DDFF", "#37A2FF", "#FF0087", "#FFBF00"], + + tooltip: { + trigger: "axis", + axisPointer: { + type: "cross", + label: { + backgroundColor: "#6a7985", }, }, - axisLabel: { - show: true, - textStyle: { - color: "#B5B5B5", //更改坐标轴文字颜色 - fontSize: 12, //更改坐标轴文字大小 - }, - }, - axisTick: { - //轴刻度,在xAxis或yAxis根下 - show: false, - }, }, - yAxis: { - type: "value", - axisLine: { - show: false, - }, - max: this.data["满分"], - axisLabel: { - show: true, - textStyle: { - color: "#B5B5B5", //更改坐标轴文字颜色 - fontSize: 12, //更改坐标轴文字大小 - }, - }, - axisTick: { - //轴刻度,在xAxis或yAxis根下 - show: false, + legend: { + data: ["营业收入增长率", "总资产增长率"], + }, + toolbox: { + feature: { + saveAsImage: {}, }, }, + grid: { + left: "3%", + right: "4%", + bottom: "3%", + containLabel: true, + }, + xAxis: [ + { + type: "category", + boundaryGap: false, + data: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], + }, + ], + yAxis: [ + { + type: "value", + }, + ], series: [ { - data: this.data.y, + name: "营业收入增长率", type: "line", + stack: "Total", smooth: true, - areaStyle: { - normal: { - color: new this.$echarts.graphic.LinearGradient( - 0, - 0, - 0, - 1, //4个参数用于配置渐变色的起止位置, 这4个参数依次对应右/下/左/上四个方位. 而0 0 0 1则代表渐变色从正上方开始 - [ - { offset: 0, color: "rgba(64,123,252,0.5)" }, - { offset: 1, color: "#fff" }, - ] //数组, 用于配置颜色的渐变过程. 每一项为一个对象, 包含offset和color两个参数. offset的范围是0 ~ 1, 用于表示位置 - ), - }, - }, lineStyle: { - normal: { - color: "#4A8AF0", - }, + width: 0, }, - itemStyle: { - borderColor: "#5380E6", + showSymbol: false, + areaStyle: { + opacity: 0.8, + color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: "rgb(128, 255, 165)", + }, + { + offset: 1, + color: "rgb(1, 191, 236)", + }, + ]), }, + emphasis: { + focus: "series", + }, + data: [140, 232, 101, 264, 90, 340, 250], + }, + { + name: "总资产增长率", + type: "line", + stack: "Total", + smooth: true, + lineStyle: { + width: 0, + }, + showSymbol: false, + areaStyle: { + opacity: 0.8, + color: new this.$echarts.graphic.LinearGradient(0, 0, 0, 1, [ + { + offset: 0, + color: "rgb(0, 221, 255)", + }, + { + offset: 1, + color: "rgb(77, 119, 255)", + }, + ]), + }, + emphasis: { + focus: "series", + }, + data: [120, 282, 111, 234, 220, 340, 310], }, ], }; @@ -101,7 +129,7 @@ export default { \ No newline at end of file diff --git a/src/view/company/stepCreditAppraisal.vue b/src/view/company/stepCreditAppraisal.vue index 0c52503..cb351f0 100644 --- a/src/view/company/stepCreditAppraisal.vue +++ b/src/view/company/stepCreditAppraisal.vue @@ -6,7 +6,29 @@ 综合信用指标表现 - + + 总得分 + + {{ index }} + + + + 成长能力 + + 历史级别 - 综合信用分析 + 综合信用分析 - + + + 盈利能力 + + {{ index }} + + + + 资产质量 + + {{index}} + + 指标评价 @@ -52,13 +109,12 @@ - +
- 共{{ numPages }}页 取 消 @@ -73,9 +129,10 @@ import pdf from "vue-pdf"; import { JsonPost, BlobGet } from "@/api/api"; import FecrTable from "@/components/FecrTable"; import FecrRadar from "@/components/FecrRadar"; +import FecrLineNew from "@/components/FecrLineNew"; export default { - components: { pdf, FecrTable, FecrRadar }, + components: { pdf, FecrTable, FecrRadar,FecrLineNew }, data() { return { data: {}, @@ -88,6 +145,35 @@ export default { dialog: false, file: "", numPages: "", + score: { + ESG: 50, + 财务指标: 80, + 风险指标: 90, + }, + 成长能力: { + 营业收入增加率: { + 2018: 400, + 2019: 500, + 2020: 600, + 2021: 700, + }, + 总资产增长率: { + 2018: 300, + 2019: 400, + 2020: 500, + 2021: 600, + }, + }, + 盈利能力: { + 总资产报酬率: 40, + 净资产收益率: 80, + }, + 资产质量: { + 应收账款周转率: 75, + 存货周转率: 75, + 总资产周转率: 75, + 资产负债率: 75 + }, }; }, @@ -193,4 +279,19 @@ export default { height: calc(100% - 180px); overflow: auto; } + +.left { + .el-progress { + width: 100%; + + ::v-deep &__text { + font-family: "SRL"; + margin-left: 20px; + } + } +} + +::v-deep .el-progress__text { + font-family: "SRL"; +} \ No newline at end of file diff --git a/src/view/userInfo/account.vue b/src/view/userInfo/account.vue index e1de781..a2a50c1 100644 --- a/src/view/userInfo/account.vue +++ b/src/view/userInfo/account.vue @@ -1,28 +1,31 @@