删除写死数据,评分结果页的改造

This commit is contained in:
熊丽君
2021-11-03 18:16:17 +08:00
parent 375966032e
commit 63c1de5026

View File

@ -383,11 +383,26 @@
<el-dialog <el-dialog
title="提示" title="提示"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
:show-close="false"
:close-on-click-modal="false" :close-on-click-modal="false"
:before-close="hidenDialog"
width="30%" width="30%"
> >
<p style="font-size:16px"> <section v-if="formA.badSeason.length">
<div style="font-size:16px;font-weight: bold;margin-bottom:15px">
您有以下选项未通过门槛要求
</div>
<div
style="font-size:16px;line-height: 1.5"
v-for="(item, index) in formA.badSeason"
:key="index"
>
{{ index + 1 }}{{ item }}
</div>
</section>
<div style="font-size:16px;font-weight: bold;margin-top:30px">
创新指标得分
</div>
<p style="font-size:16px;margin:0">
您的创新指标得分 您的创新指标得分
<span <span
:style="{ :style="{
@ -411,18 +426,6 @@
<li>净资产增长率赋值{{ fourOneAdd }}</li> <li>净资产增长率赋值{{ fourOneAdd }}</li>
<li>销售收入增长率赋值{{ fourTwoAdd }}</li> <li>销售收入增长率赋值{{ fourTwoAdd }}</li>
</ul> </ul>
<section v-if="formA.badSeason.length">
<p style="font-size:16px;font-weight: bold">
平台建议
</p>
<p
style="font-size:16px"
v-for="(item, index) in formA.badSeason"
:key="index"
>
{{ index + 1 }}{{ item }}
</p>
</section>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button type="primary" @click="hidenDialog">重新评估</el-button> <el-button type="primary" @click="hidenDialog">重新评估</el-button>
<router-link <router-link
@ -447,38 +450,38 @@ const dataList = [
{ {
id: 1, id: 1,
years: '第一年', years: '第一年',
total_income: '100', total_income: '',
skill_income: '70', skill_income: '',
sale_income: '1000', sale_income: '',
r_d_expenses: '200', r_d_expenses: '',
net_assets: '100', net_assets: '',
achievements: '10' achievements: ''
}, },
{ {
id: 2, id: 2,
years: '第二年', years: '第二年',
total_income: '100', total_income: '',
skill_income: '70', skill_income: '',
sale_income: '1500', sale_income: '',
r_d_expenses: '200', r_d_expenses: '',
net_assets: '1200', net_assets: '',
achievements: '10' achievements: ''
}, },
{ {
id: 3, id: 3,
years: '第三年', years: '第三年',
total_income: '100', total_income: '',
skill_income: '70', skill_income: '',
sale_income: '2000', sale_income: '',
r_d_expenses: '200', r_d_expenses: '',
net_assets: '150', net_assets: '',
achievements: '10' achievements: ''
} }
]; ];
export default { export default {
data() { data() {
return { return {
dialogVisible: true, dialogVisible: false,
myYear: new Date().getFullYear(), // 当前年份 myYear: new Date().getFullYear(), // 当前年份
strShow: 0, strShow: 0,
str: '', str: '',
@ -525,8 +528,8 @@ export default {
regTime: '', regTime: '',
territoryId: '', territoryId: '',
hasIntellectualProperty: 0, hasIntellectualProperty: 0,
totalEmployee: 100, totalEmployee: 0,
scienceEmployee: 20, scienceEmployee: 0,
hasBad: 0, hasBad: 0,
propertyMode: 6, propertyMode: 6,
supportLevel: 0, supportLevel: 0,