This commit is contained in:
xuyucheng 2022-03-07 16:50:43 +08:00
parent ff170f9d04
commit c53dda5a92
7 changed files with 44 additions and 44 deletions

View File

@ -150,6 +150,3 @@ input[type="number"] {
} }
} }
::v-deep .el-input__inner{
font-family: 'SRL' !important;
}

View File

@ -74,6 +74,8 @@
].option" ].option"
:key="index" :key="index"
:label="item.index" :label="item.index"
:disabled="checkDisabled[index]"
@change="checkChange(questionnaire[selectedIndex].children[opt].answer)"
>{{ item.index }}.{{ item.label }}</el-checkbox >{{ item.index }}.{{ item.label }}</el-checkbox
> >
</el-checkbox-group> </el-checkbox-group>
@ -129,6 +131,7 @@ export default {
opt: 0, opt: 0,
label: "环境", label: "环境",
labelGather: ["环境", "社会责任", "公司治理"], labelGather: ["环境", "社会责任", "公司治理"],
checkDisabled: [false,false,false,false,false,false,false]
}; };
}, },
@ -169,6 +172,16 @@ export default {
}); });
}, },
checkChange(e){
if(e.indexOf('G') === -1 && e.length !== 0){
return this.checkDisabled = [false,false,false,false,false,false,true]
}else if(e.indexOf('G') !== -1){
return this.checkDisabled = [true,true,true,true,true,true,false]
}else{
return this.checkDisabled = [false,false,false,false,false,false,false]
}
},
// //
nextQuestion() { nextQuestion() {
this.opt < this.questionnaire[this.selectedIndex].children.length - 1 this.opt < this.questionnaire[this.selectedIndex].children.length - 1

View File

@ -24,12 +24,12 @@
</el-form-item> </el-form-item>
<el-row type="flex" justify="space-between"> <el-row type="flex" justify="space-between">
<el-form-item <el-form-item
v-for="(item, index) in data['公司收入']" v-for="(item, index) in data['公司当年收入(万元)']"
:key="index" :key="index"
:label="index + '公司收入(万元)'" :label="index + '公司收入(万元)'"
> >
<el-input <el-input
v-model.number="data['公司收入'][index]" v-model.number="data['公司当年收入(万元)'][index]"
type="number" type="number"
placeholder="营业收入" placeholder="营业收入"
></el-input> ></el-input>
@ -129,12 +129,7 @@
</div> </div>
</el-card> </el-card>
<el-button <el-button type="primary" class="submit" @click="save">
type="primary"
class="submit"
@click="save"
>
暂存数据 暂存数据
</el-button> </el-button>
</el-main> </el-main>
@ -178,7 +173,7 @@ export default {
企业名称: "", 企业名称: "",
评价年度: "", 评价年度: "",
所属行业: null, 所属行业: null,
公司收入: {}, "公司当年收入(万元)": {},
环境问卷: { 环境问卷: {
近三年公司数据: [], 近三年公司数据: [],
其他类型问卷: [], 其他类型问卷: [],
@ -335,7 +330,7 @@ export default {
function isScrollEnd() { function isScrollEnd() {
stop = document.documentElement.scrollTop || document.body.scrollTop; stop = document.documentElement.scrollTop || document.body.scrollTop;
if (stop === start) { if (stop === start) {
that.submitShow = false that.submitShow = false;
} }
} }
}); });
@ -419,7 +414,7 @@ export default {
}, },
backDataIncome(val) { backDataIncome(val) {
this.data["公司收入"] = val; this.data["公司当年收入(万元)"] = val;
}, },
backDataEnvironment(val) { backDataEnvironment(val) {
@ -485,9 +480,10 @@ export default {
handler(val) { handler(val) {
const state = []; const state = [];
this.submitStatus = !val["所属行业"] ? true : false; this.submitStatus = !val["所属行业"] ? true : false;
Object.keys(val["公司收入"]).forEach((key) => { console.log(val)
Object.keys(val["公司当年收入(万元)"]).forEach((key) => {
state.push( state.push(
!val["公司收入"][key] && val["公司收入"][key] !== "" ? true : false !val["公司当年收入(万元)"][key] && val["公司当年收入(万元)"][key] !== "" ? true : false
); );
}); });
const array = ["环境问卷", "社会问卷", "治理问卷"]; const array = ["环境问卷", "社会问卷", "治理问卷"];
@ -505,6 +501,8 @@ export default {
this.submitStatus = state.every((item) => { this.submitStatus = state.every((item) => {
return !item; return !item;
}); });
console.log(this.submitStatus);
}, },
// immediate: true, // immediate: true,
deep: true, deep: true,

View File

@ -45,13 +45,13 @@
</fecr-table> </fecr-table>
</div> </div>
</el-card> </el-card>
<el-row style="margin-top: 40px"> <el-row style="margin-top: 40px" >
<el-col :span="24" v-for="(item, index) in serveData" :key="index"> <el-col :span="24">
<el-button @click="visible = true">{{ item.title }}</el-button> <el-card shadow="never"><el-button @click="visible = true" >点击进入企业综合信用等级评价<i class="el-icon-right" style="margin-left:10px"></i></el-button></el-card>
</el-col> </el-col>
</el-row> </el-row>
<el-row type="flex" justify="start"> <el-row type="flex" justify="start" style="margin-top: 40px">
<el-button @click="EsgVisible = true">中小企业ESG评价</el-button> <el-card shadow="never"><el-button @click="EsgVisible = true">点击进入企业ESG等级评价<i class="el-icon-right" style="margin-left:10px"></i></el-button></el-card>
</el-row> </el-row>
<el-dialog :visible.sync="visible" title="服务类型" top="10vh"> <el-dialog :visible.sync="visible" title="服务类型" top="10vh">
<el-card class="box-card" shadow="never" style="border: none"> <el-card class="box-card" shadow="never" style="border: none">
@ -80,13 +80,6 @@
><div class="badge"></div> ><div class="badge"></div>
{{ ele }}</span {{ ele }}</span
> >
<p>使用须知</p>
<span
v-for="(ele, i) in serveData[0].agreement"
:key="i + ','"
class="block"
><el-checkbox></el-checkbox>{{ ele }}</span
>
</el-card> </el-card>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="visible = false"> </el-button> <el-button @click="visible = false"> </el-button>
@ -128,16 +121,16 @@ export default {
{ {
title: "行业综合信用评价", title: "行业综合信用评价",
summarize: summarize:
"企业综合信用评价 对企业在经营和管理过程中执行国家相关法律、法规、标准及政策,履行社会责任,信守社会承诺 及经济偿还意愿、能力和表现进行综合分析和评价的活动。", "行业综合信用评价的核心是向投资者揭示被评对象的违约风险。远东资信采用宏观与微观相结合、定性与定量相结合的方法从企业的基本信用素质、ESG分析、财务分析、企业风险四个维度判断被评对象未来的偿债能力和偿债意愿并最终确定其信用等级",
company: [ company: [
"有信贷需求额企业", "有上市需求的企业",
"有企业形象需求", "有发债需求的企业",
"xxxxx", "有贷款需求的企业",
"xxxxx", "有改善财务表现需求的企业",
"xxxxx", "有绿色可持续发展需求的企业",
"有改善内部控制和风险管理需求的企业"
], ],
data: ["需要企业自行填报财务数据", "需要填报经营数据"], data: ["需要企业自行填报财务数据", "需要填报经营数据"],
agreement: ["xxx数据协议", "xxx隐私协议"],
}, },
], ],
EsgContent: [ EsgContent: [
@ -277,7 +270,7 @@ span {
} }
::v-deep .el-dialog__body { ::v-deep .el-dialog__body {
height: calc(100% - 180px); height: calc(100% - 200px);
overflow: auto; overflow: auto;
} }

View File

@ -6,7 +6,6 @@
<div class="service-words"> <div class="service-words">
数字化综合信用等级评价是指远东资信评估有限公司简称远东资信通过数字化的方式对影响经济主体或者债务融资工具的信用风险因素进行分析就其偿债能力偿债意愿以及经营状况作出综合评价并通过预先定义的信用等级符号进行表示 数字化综合信用等级评价是指远东资信评估有限公司简称远东资信通过数字化的方式对影响经济主体或者债务融资工具的信用风险因素进行分析就其偿债能力偿债意愿以及经营状况作出综合评价并通过预先定义的信用等级符号进行表示
受评企业长期综合信用等级分三等九级AAAAAABBBBBBCCCCCC除AAA级CCC级()以下等级外每一个信用等级可用+-符号进行微调表示略高或略低于本等级<span 受评企业长期综合信用等级分三等九级AAAAAABBBBBBCCCCCC除AAA级CCC级()以下等级外每一个信用等级可用+-符号进行微调表示略高或略低于本等级<span
@click="introduce"
class="more" class="more"
>More...</span >More...</span
> >

View File

@ -11,7 +11,7 @@
></el-image> ></el-image>
<!-- </el-carousel-item> <!-- </el-carousel-item>
</el-carousel> --> </el-carousel> -->
<abstract @getPage="getPage" /> <abstract/>
</el-main> </el-main>
</el-container> </el-container>
</template> </template>

View File

@ -243,15 +243,15 @@ export default {
font-size: 14px; font-size: 14px;
} }
::v-deep .el-form-item__label{ ::v-deep .el-form-item__label {
font-family: 'SRL'; font-family: "SRL";
} }
::v-deep .el-input__inner{ ::v-deep .el-input__inner {
font-family: 'SRL'; font-family: "SRL";
} }
::v-deep .el-form-item__error{ ::v-deep .el-form-item__error {
font-family: 'SRL'; font-family: "SRL";
} }
</style> </style>