// 临床试验风险 低风险6-15,中风险16-25,高风险>25
// 知识产权风险 低风险4,中风险10,高风险16
// 人员意外风险 低风险5,中风险18,高风险16
// 资产风险 低风险10,中风险11-20,高风险21-31
this.resultParameters = {
arr: [
{ text: '临床试验风险', max: 35, value: clinicalTrialRisk, level: clinicalTrialRisk > 25 ? '高风险' : clinicalTrialRisk <= 15 ? '低风险' : '中风险' },
{ text: '知识产权风险', max: 16, value: intellectualPropertyRisk, level: intellectualPropertyRisk === 16 ? '高风险' : intellectualPropertyRisk === 4 ? '低风险' : '中风险' },
{ text: '资产损失风险', max: 31, value: assetRrisk, level: assetRrisk >= 21 ? '高风险' : assetRrisk <= 10 ? '低风险' : '中风险' },
{ text: '人员意外风险', max: 16, value: personnelAccidentRisk, level: personnelAccidentRisk <= 16 && personnelAccidentRisk >= 13 ? '高风险' : personnelAccidentRisk <= 5 ? '低风险' : '中风险' }
],
company: this.ruleForm.company,
industry: this.ruleForm.industry
}
const totalScore = this.resultParameters.arr.reduce((a, b) => a + b.value, 0)
this.resultParameters.totalScore = totalScore
// 分值划分风险等级
// 17-35 ,风险低 ,抗风险能力强
// 36-55 ,风险中 ,抗风险能力一般
// 56-75 ,风险高 ,抗风险能力弱
// 76-100,风险非常高,抗风险能力较差
if (totalScore >= 17 && totalScore <= 35) {
this.resultParameters.riskTip = '风险低'
this.resultParameters.riskType = 'lowRisk'
this.resultParameters.riskTip2 = '风险低,抗风险能力强'
} else if (totalScore >= 36 && totalScore <= 55) {
this.resultParameters.riskTip = '风险中'
this.resultParameters.riskType = 'middleRisk'
this.resultParameters.riskTip2 = '风险中,抗风险能力一般'
} else if (totalScore >= 56 && totalScore <= 75) {
this.resultParameters.riskTip = '风险高'
this.resultParameters.riskType = 'heightRisk'
this.resultParameters.riskTip2 = '风险高,抗风险能力弱'
} else if (totalScore >= 76 && totalScore <= 100) {
this.resultParameters.riskTip = '风险非常高'
// this.resultParameters.riskTip = '风险高'
this.resultParameters.riskType = 'veryHeightRisk'
this.resultParameters.riskTip2 = '风险非常高,抗风险能力较差'
}
// 文案推送
// 临床试验风险
var clinicalTrialRiskArticle = {
height: {
type: 'clinicalTrialRisk',
title: '临床试验风险',
riskType: 'height',
insuranceProducts: '药物临床试验责任保险、医疗器械临床试验责任保险',
productIntroduction: [
{
prdtitle: '药物临床试验责任保险',
ScopeOfResponsibility: '药物不良反应/三者损伤/法律费用',
SalesSituation: '同行已购买此产品',
num: 1000
},
{
prdtitle: '医疗器械临床试验责任保险',
ScopeOfResponsibility: '不良反应或器械缺陷导致的受试者损伤/法律费用',
SalesSituation: '同行已购买此产品',
num: 1000
}
],
Copywriting: '您的企业临床试验风险高!建议加强试验设施源头质量监管、严格执行临床试验标准、加强试验相关人员伦理道德风险和法律风险意识培训教育,并配置相关风险保障产品!'
},
middle: {
type: 'clinicalTrialRisk',
title: '临床试验风险',
riskType: 'middle',
insuranceProducts: '药物临床试验责任保险、医疗器械临床试验责任保险',
productIntroduction: [],
Copywriting: '您的企业临床试验风险中等,建议加强试验程序监管,加强试验相关人员伦理道德风险和法律风险意识培训教育,并配置相关风险保障产品!'
},
low: {
type: 'clinicalTrialRisk',
title: '临床试验风险',
riskType: 'low',
insuranceProducts: '',
productIntroduction: [],
Copywriting: '您的企业临床试验风险较低,抗风险能力强,请继续保持!'
}
}
// 知识产权风险
var intellectualPropertyRiskArticle = {
height: {
riskType: 'height',
type: 'intellectualPropertyRisk',
title: '知识产权风险',
insuranceProducts: '专利被侵权损失保险',
productIntroduction: [
{
prdtitle: '专利被侵权损失保险',
ScopeOfResponsibility: '维权调查诉讼费用/抗辩费用',
SalesSituation: '同行已购买此产品',
num: 500
}
],
Copywriting: '您的企业知识产权风险高!建议重视知识产权保护,引入专业法律团队,定期开展内部法律风险审查和员工法律合规意识培训教育!并配置相关保障产品!'
},
middle: {
type: 'intellectualPropertyRisk',
title: '知识产权风险',
riskType: 'middle',
insuranceProducts: '专利被侵权损失保险',
productIntroduction: [],
Copywriting: '您的企业知识产权风险中等,建议重视知识产权保护,定期开展内部法律风险审查和员工法律合规意识培训教育!并配置相关保障产品!'
},
low: {
type: 'intellectualPropertyRisk',
title: '知识产权风险',
riskType: 'low',
insuranceProducts: '',
productIntroduction: [],
Copywriting: '您的企业知识产权风险较低,抗风险能力强,请继续保持!'
}
}
// 资产损失风险
var assetRriskArticle = {
height: {
riskType: 'height',
type: 'assetRrisk',
title: '资产损失风险',
insuranceProducts: '企业保、财产一切险',
productIntroduction: [
{
prdtitle: '企业保',
ScopeOfResponsibility: '企业财产/存货/顾客意外/员工工商/营业中断',
SalesSituation: '同行已购买此产品',
num: '1W'
},
{
prdtitle: '财产一切险',
ScopeOfResponsibility: '自然灾害损失/意外事故损失',
SalesSituation: '同行已购买此产品',
num: '1000'
}
],
Copywriting: '您的企业资产风险高!建议配置专门人力开展资产安全定期巡查,建立资产风险处置应急方案,并配置相关风险保障产品!'
},
middle: {
type: 'assetRrisk',
title: '资产损失风险',
riskType: 'middle',
insuranceProducts: '企业保、财产一切险',
productIntroduction: [],
Copywriting: '您的企业资产风险中等,建议定期开展资产安全巡查,并配置相关风险保障产品!'
},
low: {
riskType: 'low',
type: 'assetRrisk',
title: '资产损失风险',
insuranceProducts: '企业保',
productIntroduction: [],
Copywriting: '您的企业资产风险较低,抗风险能力强,请继续保持!'
}
}
// 人员意外风险
var personnelAccidentRiskArticle = {
height: {
riskType: 'height',
title: '人员意外风险',
type: 'personnelAccidentRisk',
insuranceProducts: '雇主安心保、团体意外险',
productIntroduction: [
{
prdtitle: '雇主安心保',
ScopeOfResponsibility: '员工工伤/职业病/误工费/公司责任等',
SalesSituation: '同行已购买此产品',
num: 1000
},
{
prdtitle: '团体意外险',
ScopeOfResponsibility: '员工意外伤害',
SalesSituation: '同行已购买此产品',
num: '10W'
}
],
Copywriting: '您的企业人员意外风险高!建议定期开展员工风险意识培训和考核,定期排查工作场所安全隐患,配置应急设备,并为高风险人员购买相关保障产品!'
},
middle: {
title: '人员意外风险',
type: 'personnelAccidentRisk',
riskType: 'middle',
insuranceProducts: '雇主安心保、团体意外险',
productIntroduction: [],
Copywriting: '您的企业人员意外风险中等,建议加强员工风险意识培训,排查工作场所安全隐患,并为风险暴露人员配置相关风险保障产品!'
},
low: {
title: '人员意外风险',
type: 'personnelAccidentRisk',
riskType: 'low',
insuranceProducts: '',
productIntroduction: [],
Copywriting: '您的企业人员意外风险较低,抗风险能力强,请继续保持!'
}
}
var recommend = []
// 临床试验风险 低风险6-15,中风险16-25,高风险>25
// if (clinicalTrialRisk > 25) {
// recommend[0] = clinicalTrialRiskArticle['height']
// } else if (clinicalTrialRisk <= 25 && clinicalTrialRisk >= 16) {
// recommend[0] = clinicalTrialRiskArticle['middle']
// } else if (clinicalTrialRisk <= 15 && clinicalTrialRisk >= 6) {
// recommend[0] = clinicalTrialRiskArticle['low']
// }
if (clinicalTrialRisk <= 15 && clinicalTrialRisk >= 6) {
recommend.push(clinicalTrialRiskArticle['low'])
} else if (clinicalTrialRisk <= 25 && clinicalTrialRisk >= 16) {
// recommend[0] = clinicalTrialRiskArticle['middle']
recommend.push(clinicalTrialRiskArticle['middle'])
} else if (clinicalTrialRisk > 25) {
// recommend[0] = clinicalTrialRiskArticle['height']
recommend.push(clinicalTrialRiskArticle['height'])
}
// 人员意外风险 低风险5,中风险18,高风险13-16
if (personnelAccidentRisk <= 16 && personnelAccidentRisk >= 13) {
// recommend[1] = personnelAccidentRiskArticle['height']
recommend.push(personnelAccidentRiskArticle['height'])
} else if (personnelAccidentRisk === 8) {
// recommend[1] = personnelAccidentRiskArticle['middle']
recommend.push(personnelAccidentRiskArticle['middle'])
} else if (personnelAccidentRisk === 5) {
// recommend[1] = personnelAccidentRiskArticle['low']
recommend.push(personnelAccidentRiskArticle['low'])
}
// 资产损失风险 低风险0-10,中风险11-20,高风险21-31
if (assetRrisk <= 10) {
// recommend[2] = assetRriskArticle['low']
recommend.push(assetRriskArticle['low'])
} else if (assetRrisk >= 11 && assetRrisk <= 20) {
// recommend[2] = assetRriskArticle['middle']
recommend.push(assetRriskArticle['middle'])
} else if (assetRrisk >= 21 && assetRrisk <= 31) {
// recommend[2] = assetRriskArticle['height']
recommend.push(assetRriskArticle['height'])
}
// 知识产权风险 低风险4,中风险10,高风险16
if (intellectualPropertyRisk === 16) {
// recommend[3] = intellectualPropertyRiskArticle['height']
recommend.push(intellectualPropertyRiskArticle['height'])
} else if (intellectualPropertyRisk === 10) {
// recommend[3] = intellectualPropertyRiskArticle['middle']
recommend.push(intellectualPropertyRiskArticle['middle'])
} else if (intellectualPropertyRisk === 4) {
// recommend[3] = intellectualPropertyRiskArticle['low']
recommend.push(intellectualPropertyRiskArticle['low'])
}
// console.log(recommend)
this.resultParameters.recommend = recommend
// 题目
var industryData = [
// { label: '光通信', value: '光通信' },
// { label: '激光', value: '激光' },
// { label: '集成电路', value: '集成电路' },
// { label: '显示面板', value: '显示面板' },
// { label: '高端装备制造', value: '高端装备制造' },
// { label: '智能电动汽车', value: '智能电动汽车' },
// { label: '生物大健康', value: '生物大健康' },
// { label: '软件信息', value: '软件信息' },
// { label: '现代农业', value: '现代农业' }
{ label: '生物大健康', value: '生物大健康' }
]
var QuestionsData = [
{
type: 'single',
title: '您的企业有多少员工?(仅统计与企业有正式劳动关系的员工人数)',
typetip: '单选',
onRuleForm: '1212',
option: [
{
tip: '1-100人',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 5
},
{
tip: '101-200人',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 8
},
{
tip: '201-300人',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 8
},
{
tip: '超过300人',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 8
}
]
},
{
type: 'multiple',
title: '您的企业业务范围涉及了以下哪些领域?(多选)',
typetip: '多选',
onRuleForm: '12123',
option: [
{
tip: '药品、医疗器械研发',
clinicalTrialRisk: 8,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '医疗服务',
clinicalTrialRisk: 2,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '药品、医疗器械生产',
clinicalTrialRisk: 5,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 8
},
{
tip: '医疗软件开发服务',
clinicalTrialRisk: 2,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '医疗产品销售',
clinicalTrialRisk: 2,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '以上都不是',
clinicalTrialRisk: 2,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
}
]
},
{
type: 'single',
title: '您的企业过去是否开展过临床试验项目?(不包括正在进行中的项目)',
typetip: '选择',
onRuleForm: '121234',
option: [
{
tip: '是',
clinicalTrialRisk: 8,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '否',
clinicalTrialRisk: 2,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
}
]
},
{
type: 'single',
title: '您的企业是否有正在进行中或者准备申报的临床试验项目?',
typetip: '选择',
onRuleForm: '1212346',
option: [
{
tip: '是',
clinicalTrialRisk: 8,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '否',
clinicalTrialRisk: 2,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
}
]
},
{
type: 'single',
title:
'您的企业拥有多少项三年以内的专利权?(指由国务院专利行政部门授予专利权予以登记和公告,自公告之日起至今不超过3年时间)',
typetip: '选择',
onRuleForm: '12123463',
option: [
{
tip: '超过20项',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 8,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '11-20项',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 8,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '1-10项',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 8,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '0项',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 2,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
}
]
},
{
type: 'single',
title:
'您的企业是否遭遇过知识产权被侵害事?(包括过去被侵害事件和现在正在遭受的侵害。此处知识产权包括专利权、商标权、著作权)',
typetip: '选择',
onRuleForm: '121234634',
option: [
{
tip: '是',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 8,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
},
{
tip: '否',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 2,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0
}
]
},
{
type: 'multiple',
title:
'您的企业主要拥有以下哪些类型的资产?(包括自有资产和租赁资产)(多选)',
typetip: '多选',
onRuleForm: '1212346346',
option: [
{
tip: '门店、工厂、写字楼等房屋建筑',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 8,
choice: false,
personnelAccidentRisk: 0,
imgs: 'answer_pic1'
},
{
tip: '电脑、机器等生产办公设备',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 8,
choice: false,
personnelAccidentRisk: 0,
imgs: 'answer_pic2'
},
{
tip: '原材料、仓储货物等',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 8,
choice: false,
personnelAccidentRisk: 0,
imgs: 'answer_pic3'
},
{
tip: '小客车、货车等车辆',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 2,
choice: false,
personnelAccidentRisk: 0,
imgs: 'answer_pic4'
},
{
tip: '商标、著作、专利等',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 5,
choice: false,
personnelAccidentRisk: 0,
imgs: 'answer_pic5'
},
{
tip: '以上均不是',
clinicalTrialRisk: 0,
intellectualPropertyRisk: 0,
assetRrisk: 0,
choice: false,
personnelAccidentRisk: 0,
imgs: ''
}
]
}
]
console