添加每一项的分数统计并修改样式
This commit is contained in:
@ -257,8 +257,9 @@
|
||||
class="mb0"
|
||||
>
|
||||
<el-input-number
|
||||
:min="0"
|
||||
v-model="formA.totalEmployee"
|
||||
size="small"
|
||||
size="mini"
|
||||
></el-input-number>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -269,8 +270,9 @@
|
||||
class="mb0"
|
||||
>
|
||||
<el-input-number
|
||||
:min="0"
|
||||
v-model="formA.scienceEmployee"
|
||||
size="small"
|
||||
size="mini"
|
||||
></el-input-number>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
@ -314,8 +316,9 @@
|
||||
label="自主研发的Ⅰ类(发明专利、植物新品种、国家新药、集成电路布图等)数量:"
|
||||
>
|
||||
<el-input-number
|
||||
:min="0"
|
||||
v-model="formA.propertyNumI"
|
||||
size="small"
|
||||
size="mini"
|
||||
></el-input-number>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
@ -323,8 +326,9 @@
|
||||
label="自主研发的Ⅱ类(实用新型专利、外观设计专利、软件著作权等(不含商标))数量:"
|
||||
>
|
||||
<el-input-number
|
||||
:min="0"
|
||||
v-model="formA.propertyNumII"
|
||||
size="small"
|
||||
size="mini"
|
||||
></el-input-number>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
@ -345,7 +349,7 @@
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<p>六、组织管理水平(多选)</p>
|
||||
<p>六、研究开发组织管理水平(多选)</p>
|
||||
<el-form-item prop="management">
|
||||
<el-checkbox-group v-model="formA.management" @change="changeBox">
|
||||
<el-checkbox label="1">
|
||||
@ -396,6 +400,17 @@
|
||||
formA.score >= 71 ? '' : '不'
|
||||
}}符合高企认定条件!此评分为平台智能估算分,仅供参考,实际评分以政府实际打分为准!
|
||||
</p>
|
||||
<ul style="font-size: 16px;line-height: 1.5">
|
||||
<li>
|
||||
知识产权:{{
|
||||
formA.hasStandard ? (isAdd == 30 ? isAdd : isAdd + 2) : isAdd
|
||||
}}分
|
||||
</li>
|
||||
<li>科技成果转化能力:{{ twoAdd }}分</li>
|
||||
<li>研究开发组织管理水平:{{ threeAdd }}分</li>
|
||||
<li>净资产增长率赋值:{{ fourOneAdd }}分</li>
|
||||
<li>销售收入增长率赋值:{{ fourTwoAdd }}分</li>
|
||||
</ul>
|
||||
<section v-if="formA.badSeason.length">
|
||||
<p style="font-size:16px;font-weight: bold">
|
||||
平台建议:
|
||||
@ -525,7 +540,11 @@ export default {
|
||||
// total_income: '',
|
||||
// skill_income: '',
|
||||
tableData: [],
|
||||
isAdd: 0, // 控制是否添加附加分
|
||||
isAdd: 0, // 控制是否添加附加分 第一个加分项
|
||||
twoAdd: 0, // 第二个加分项
|
||||
threeAdd: 0, // 第三个加分项
|
||||
fourOneAdd: 0, // 净资产增长率赋值分
|
||||
fourTwoAdd: 0, // 销售收入增长率赋值分
|
||||
rulesA: {
|
||||
companyName: [
|
||||
{ required: true, message: '请输入企业全称', trigger: 'blur' }
|
||||
@ -731,22 +750,29 @@ export default {
|
||||
// 2 年均成果转换得分
|
||||
if (yearAch >= 5) {
|
||||
this.formA.score += 30;
|
||||
this.twoAdd += 30;
|
||||
} else if (yearAch >= 4) {
|
||||
this.formA.score += 24;
|
||||
this.twoAdd += 24;
|
||||
} else if (yearAch >= 3) {
|
||||
this.formA.score += 18;
|
||||
this.twoAdd += 18;
|
||||
} else if (yearAch >= 2) {
|
||||
this.formA.score += 12;
|
||||
this.twoAdd += 12;
|
||||
} else if (yearAch >= 1) {
|
||||
this.formA.score += 6;
|
||||
this.twoAdd += 6;
|
||||
}
|
||||
// 3 研发组织管理水平
|
||||
this.formA.management.map(item => {
|
||||
if (item == 1 || item == 2) {
|
||||
this.formA.score += 6;
|
||||
this.threeAdd += 6;
|
||||
}
|
||||
if (item == 3 || item == 4) {
|
||||
this.formA.score += 4;
|
||||
this.threeAdd += 4;
|
||||
}
|
||||
});
|
||||
// sale_income 销售收入
|
||||
@ -839,25 +865,35 @@ export default {
|
||||
console.log(salesRate);
|
||||
if (assetsRate >= 35) {
|
||||
this.formA.score += 10;
|
||||
this.fourOneAdd += 10;
|
||||
} else if (assetsRate >= 25) {
|
||||
this.formA.score += 8;
|
||||
this.fourOneAdd += 8;
|
||||
} else if (assetsRate >= 15) {
|
||||
this.formA.score += 6;
|
||||
this.fourOneAdd += 6;
|
||||
} else if (assetsRate >= 5) {
|
||||
this.formA.score += 4;
|
||||
this.fourOneAdd += 4;
|
||||
} else if (assetsRate > 0) {
|
||||
this.formA.score += 2;
|
||||
this.fourOneAdd += 2;
|
||||
}
|
||||
if (salesRate >= 35) {
|
||||
this.formA.score += 10;
|
||||
this.fourTwoAdd += 10;
|
||||
} else if (salesRate >= 25) {
|
||||
this.formA.score += 8;
|
||||
this.fourTwoAdd += 8;
|
||||
} else if (salesRate >= 15) {
|
||||
this.formA.score += 6;
|
||||
this.fourTwoAdd += 6;
|
||||
} else if (salesRate >= 5) {
|
||||
this.formA.score += 4;
|
||||
this.fourTwoAdd += 4;
|
||||
} else if (salesRate > 0) {
|
||||
this.formA.score += 2;
|
||||
this.fourTwoAdd += 2;
|
||||
}
|
||||
|
||||
this.dialogVisible = true;
|
||||
@ -880,6 +916,10 @@ export default {
|
||||
this.dialogVisible = false;
|
||||
this.formA.score = 0;
|
||||
this.isAdd = 0;
|
||||
this.twoAdd = 0;
|
||||
this.threeAdd = 0;
|
||||
this.fourOneAdd = 0;
|
||||
this.fourTwoAdd = 0;
|
||||
this.formA.badSeason = [];
|
||||
}
|
||||
},
|
||||
@ -922,11 +962,9 @@ export default {
|
||||
// margin: 5px 0;
|
||||
}
|
||||
}
|
||||
// /deep/.el-form-item__label {
|
||||
// font-size: 16px;
|
||||
// color: #606266;
|
||||
// font-weight: 700;
|
||||
// }
|
||||
/deep/.el-form-item__label {
|
||||
// line-height: 30px;
|
||||
}
|
||||
/deep/.el-checkbox__label {
|
||||
font-size: 14px;
|
||||
color: #606266;
|
||||
|
Reference in New Issue
Block a user