This commit is contained in:
xuyucheng 2022-02-10 17:00:30 +08:00
parent 051e0f71c8
commit a237752f7b
10 changed files with 591 additions and 14653 deletions

15110
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@
"core-js": "^3.6.5",
"echarts": "^4.9.0",
"element-china-area-data": "^5.0.2",
"element-ui": "^2.15.1",
"element-ui": "^2.15.6",
"jsencrypt": "^3.1.0",
"vue": "^2.6.11",
"vue-monoplasty-slide-verify": "^1.1.3",

View File

@ -14,7 +14,7 @@
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled.
Please enable it to continue.</strong>
Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->

View File

@ -10,13 +10,28 @@
.left {
width: calc(100% - 10px);
margin-bottom: 20px;
span {
font-weight: bolder;
font-size: 14px;
}
}
.right {
width: calc(100% - 10px);
margin: 0 0 20px 8px;
span {
font-weight: bolder;
font-size: 14px;
}
}
.top {
margin-top: 20px;
}
::v-deep .el-progress__text {
font-family: "SR" !important;
font-weight: bolder;
}

View File

@ -14,12 +14,12 @@ export default {
return {
color: [
{
head: "rgb(128, 255, 165)",
foot: "rgb(1, 191, 236)",
head: "rgb(255, 0, 135)",
foot: "rgb(135, 0, 157)",
},
{
head: "rgb(0, 221, 255)",
foot: "rgb(77, 119, 255)",
head: "rgb(255, 191, 0)",
foot: "rgb(224, 62, 76)",
},
{
head: "rgb(55, 162, 255)",
@ -77,6 +77,12 @@ export default {
yAxis: [
{
type: "value",
axisTick:{
show:false
},
axisLine:{
show:false
}
},
],
series: Object.keys(this.data).map((key, index) => {

View File

@ -74,9 +74,15 @@
style="margin-left: 20px; font-size: 14px"
>{{ child.label }}</span
>
<span style="margin-left: 60px">{{
child.desc !== undefined ? child.desc : "无描述性内容"
}}</span>
<p
style="
font-family: 'SRL';
font-size: 13px;
box-sizing: border-box;
"
>
{{ child.desc !== undefined ? child.desc : "无描述性内容" }}
</p>
</el-collapse-item>
</el-collapse-item>
</el-collapse>
@ -212,7 +218,6 @@ export default {
mounted() {
this.$nextTick(() => {
this.init();
});
},
@ -233,8 +238,12 @@ export default {
data: {
handler(val) {
this.$emit("mode", val);
this.visible = ![undefined,null,[]].includes(this.data["行业选择"]) ? true : false;
[undefined,null,[]].includes(this.data["行业选择"])? this.$emit("getSaveState", false):this.$emit("getSaveState", true)
this.visible = ![undefined, null, []].includes(this.data["行业选择"])
? true
: false;
[undefined, null, []].includes(this.data["行业选择"])
? this.$emit("getSaveState", false)
: this.$emit("getSaveState", true);
},
immediate: true,
deep: true,
@ -272,10 +281,19 @@ p {
}
::v-deep .el-collapse-item__content {
padding-bottom: 10px;
padding-bottom: 0px;
}
::v-deep .el-dialog__title {
font-size: 14px !important;
}
::v-deep .el-dialog {
height: 80%;
&__body {
height: calc(100% - 185px);
overflow: auto;
}
}
</style>

View File

@ -22,7 +22,7 @@
</el-row>
<el-card class="box-card" shadow="never">
<div style="height: calc(100% - 150px)">
<el-empty description="暂无服务" v-if="data.length == 0"></el-empty>
<el-empty description="暂无服务" v-if="data.length === 0"/>
<fecr-table :data="data" :columns="columns" v-else>
<template slot="report" slot-scope="{ url }">
<el-button
@ -159,7 +159,7 @@ export default {
init() {
get("/input/rating_records").then((res) => {
this.data = res.result;
this.columns = Object.keys(this.data[0]).map((item) => {
this.data.length === 0 ? null : this.columns = Object.keys(this.data[0]).map((item) => {
return { prop: item, label: item };
});
});

View File

@ -18,19 +18,25 @@
:key="index"
type="flex"
justify="space-between"
style="margin: 5%; width: 90%"
style="margin: 5%; width: 90%;align-items:center"
v-else
>
<el-col :span="2"
><span>{{ index }}</span></el-col
>
<el-col :span="22"
<el-col :span="18"
><el-progress
:percentage="Number(item.substring(0, item.length - 1))"
color="#7DD9DD"
:format="format"
:color="
Number(item.substring(0, item.length - 1)) > 0
? '#1989fa'
: '#F56C6C'
"
:show-text="false"
></el-progress></el-col
></el-row>
><el-col :span="3"
><span :style="{color: Number(item.substring(0, item.length - 1)) > 0 ? '#1989fa' : '#F56C6C',fontFamily:'SR'}">{{ item }}</span></el-col
></el-row>
</el-card>
<el-card class="left">
<span>成长能力</span>
@ -80,18 +86,22 @@
:key="index"
type="flex"
justify="space-between"
style="margin: 5%; width: 90%"
style="margin: 5%; width: 90%;align-items:center"
v-else
>
<el-col :span="3"
><span>{{ index }}</span></el-col
>
<el-col :span="21"
<el-col :span="18"
><el-progress
:percentage="item"
color="#7DD9DD"
:percentage="Math.abs(item)"
:color="item > 0 ? '#1989fa' : '#F56C6C'"
:show-text="false"
></el-progress></el-col
></el-row>
><el-col :span="2"
><span :style="{color:item > 0 ? '#1989fa' : '#F56C6C',fontFamily:'SR'}">{{ item + "%" }}</span></el-col
></el-row
>
</el-card>
<el-card class="right">
<span>资产质量</span>

View File

@ -10,6 +10,7 @@
type="dashboard"
:percentage="data['风险分数']"
:format="format"
:color="data['风险分数']>50?'#ff9300':'#1989fa'"
></el-progress
><span>高风险</span>
</el-row>
@ -24,20 +25,20 @@
><span>{{ data[item] }}</span></el-col
>
</el-row>
<el-row>
<p>自身风险</p>
<el-row class="left-risk">
<span>自身风险</span>
<fecr-table
:data="ownRiskData"
:columns="column"
class="top"
></fecr-table>
<p>经营风险</p>
<span>经营风险</span>
<fecr-table
:data="businessRiskData"
:columns="column"
class="top"
></fecr-table>
<p>变更记录</p>
<span>变更记录</span>
<fecr-table
:data="changeRecordData"
:columns="column"
@ -48,7 +49,7 @@
</el-col>
<el-col :span="12">
<el-card class="right" style="height: auto">
<p>周边风险</p>
<span>周边风险</span>
<fecr-table
:data="sideRiskData"
:columns="sideRiskColumn"
@ -192,4 +193,10 @@ export default {
.last:nth-child(5) {
border-bottom: 0.25px solid #707070;
}
.left-risk{
span{
margin-top:20px
}
}
</style>

View File

@ -2,16 +2,15 @@
<el-container>
<fecr-header />
<el-main>
<el-carousel :autoplay="false">
<el-carousel-item v-for="item in imgs" :key="item">
<!-- <el-carousel :autoplay="false">
<el-carousel-item v-for="item in imgs" :key="item"> -->
<el-image
:src="item.src"
:src="imgs[0].src"
@click="toRouter(item.path)"
style="width: 100%; height: 100%"
ref="carouselImage"
style="margin: 0 1.5% 20px 1.5%;"
></el-image>
</el-carousel-item>
</el-carousel>
<!-- </el-carousel-item>
</el-carousel> -->
<abstract @getPage="getPage" />
</el-main>
</el-container>
@ -59,12 +58,11 @@ export default {
.el-carousel {
margin: 0 1.5% 20px 1.5%;
height: calc(100% - 240px);
z-index: 0 !important;
// height: calc(100% - 240px);
cursor: pointer;
::v-deep .el-carousel__container {
height: 100% !important;
height: 100% ;
}
::v-deep .el-carousel__indicators {