提交代码

This commit is contained in:
wangchengming 2025-08-18 10:20:07 +08:00
parent adcf8a8066
commit af87d06d5e
5 changed files with 209 additions and 16 deletions

View File

@ -0,0 +1,61 @@
--------------------------------------------------------------------------------
Profile of Requirements for LLP
--------------------------------------------------------------------------------
带电作业任职资格评价表
Legal references: ArbSchG, TRBS, BGV A3 §8, BGR A3, DIN VDE 0105-100 Kap. 6.3 ff., GUV - BGI8686
参考法规: 德国法规及标准 ArbSchG, TRBS, BGV A3 §8, BGR A3, DIN VDE 0105-100 Kap. 6.3 ff., GUV - BGI8686
Employee details /员工信息:
Surname:/姓: Forename:/ 名: ___________
Department:/部门: Employee no.:/ 工号: ___________
Current Qualification / 目前资质
--------------------------------------------------------------------------------
Work plan / 工作计划
Future work will be carried out in the following live line part work (LLP) areas:
未来将在以下带电作业(LLP)工作区域进行相关工作:
☐ Test bench 测试台
☐ Battery production line 电池生产线
☐ Battery technology 电池技术
☐ Vehicle technology 车辆技术
Validity / 有效期
The LLP qualification is valid with refresh training / exams after four years or up to a defined period of validity!
带电作业任职资格有效期为四年或直到规定的有效期限后经过重新培训/测试才有效!
Has specialist knowledge in the relevant area of electronics* 在相关的安全领域是否具备专家的知识
Can he/she assess the dangers and risks inherent in the work assigned?
他/她是否能够评估在被指派的工作中的危险和风险 ? ☐Yes ☐No
Does he/she have the knowledge to seek out the correct electrical equipment?
他/她是否有足够的知识选择正确的安全设备? ☐Yes ☐No
Does he/she possess the necessary background knowledge and experience to
conduct technical audits?
他/她是否有必要的背景知识和经验进行技术审核? ☐Yes ☐No
--------------------------------------------------------------------------------
Is the employee capable of performing LLP*:
--------------------------------------------------------------------------------
该员工是否有能力进行带电作业* ☐Yes ☐No
Comments*: (e.g. outstanding qualifications) 评价*: (例如 出色的资质, 推荐人评价)
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Place, date /地点, 日期 Signature of employee /员工签字
--------------------------------------------------------------------------------
Place, date /地点, 日期 Signature of supervisor /主管签字
--------------------------------------------------------------------------------
Place, date /地点, 日期 Signature of an expert (CESC or ESC) /电器安全专家签字(CESC或ESC)
--------------------------------------------------------------------------------
*To be completed by expert, skilled personnel (CESC or ESC) /* 需要由电器安全专家完成(CESC或ESC)

View File

@ -211,8 +211,17 @@
<el-form-item label="资质申请表单" prop="beforeCondition.qualificationForm">
<myFileUpload ref="qualificationFormRef"
@set-form-file="handleSetQualificationForm" />
<el-button class="downloadTemplateBtn" text
@click="downloadDocxTemplate(ruleForm.qualificationId)">下载模板</el-button>
<el-dropdown placement="bottom">
<el-button class="downloadTemplateBtnDrow" text>下载模板</el-button>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item
@click="downloadDocxTemplate('ESC')">下载ESC模板</el-dropdown-item>
<el-dropdown-item
@click="downloadDocxTemplate('CESC')">下载CESC模板</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</el-form-item>
</el-col>
</el-row>
@ -230,7 +239,7 @@
<el-col :span="12">
<el-form-item label="具备资质" prop="beforeCondition.hasQualified">
<el-checkbox-group v-model="ruleForm.beforeCondition.hasQualified"
@change="handleChoseQualification">
@change="handleChangeHasQualified">
<el-checkbox v-if="ruleForm.beforeCondition.batteryLine == 1" label="SH"
value="SH" />
<el-checkbox label="ES" value="ES" />
@ -254,6 +263,12 @@
placeholder="请选择急救证到期日期" style="width: 60%;" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.length > 0">
<el-form-item label="电工证" prop="beforeCondition.certificatePhoto">
<myFileUpload ref="certificatePhotoRef"
@set-form-file="handleSetCertificatePhoto" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.includes('SH')">
<el-form-item label="SH资质" prop="beforeCondition.shFile">
<myFileUpload ref="shFileRef" @set-form-file="handleSetShFile" />
@ -286,6 +301,8 @@
<el-form-item label="资质申请表单" prop="beforeCondition.qualificationForm">
<myFileUpload ref="qualificationFormRef"
@set-form-file="handleSetQualificationForm" />
<el-button class="downloadTemplateBtn" text
@click="downloadDocxTemplate(ruleForm.qualificationId)">下载模板</el-button>
</el-form-item>
</el-col>
</el-row>
@ -480,6 +497,10 @@ const downloadDocxTemplate = (tempLateType) => {
link.href = '/CESC任职资格表.docx'
link.download = 'CESC任职资格表.docx' //
}
if (tempLateType == 'LLP') {
link.href = '/附件 09_带电作业LLP任职资格表.docx'
link.download = '附件 09_带电作业LLP任职资格表.docx' //
}
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
@ -525,7 +546,14 @@ const getUserQualification = (_userId) => {
}).catch(() => {
})
}
// LLP
const handleChangeHasQualified = (value) => {
//
if (value.length > 1) {
ruleForm.value.beforeCondition.hasQualified = [value[value.length - 1]];
}
handleChoseQualification()
}
//
const handleChoseQualification = (val) => {
nextTick(() => {
@ -657,7 +685,7 @@ const handleCancel = () => {
}
const handleSubmit = () => {
proxy.$refs["ruleFormRef"].validate(valid => {
if (valid) {
if (valid) {
const submitForm = ruleForm.value
submitForm.beforeCondition = JSON.stringify(ruleForm.value.beforeCondition)
submitForm.node = 1
@ -802,6 +830,25 @@ const handleSubmit = () => {
color: #409eff !important;
}
.downloadTemplateBtnDrow {
width: 100px;
height: 36px;
font-family: Microsoft YaHei;
font-weight: 700;
font-size: 14px;
text-align: center;
color: #409eff !important;
background: transparent !important;
position: absolute;
top: -110px;
left: -36px;
}
.downloadTemplateBtnDrow:hover {
background: transparent !important;
color: #409eff !important;
}
.cancelApplyBtn {
width: 100px;
height: 36px;

View File

@ -210,8 +210,17 @@
<el-form-item label="资质申请表单" prop="beforeCondition.qualificationForm">
<myFileUpload ref="qualificationFormRef"
@set-form-file="handleSetQualificationForm" />
<el-button class="downloadTemplateBtn" text
@click="downloadDocxTemplate(ruleForm.qualificationId)">下载模板</el-button>
<el-dropdown placement="bottom">
<el-button class="downloadTemplateBtnDrow" text>下载模板</el-button>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item
@click="downloadDocxTemplate('ESC')">下载ESC模板</el-dropdown-item>
<el-dropdown-item
@click="downloadDocxTemplate('CESC')">下载CESC模板</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</el-form-item>
</el-col>
</el-row>
@ -229,7 +238,7 @@
<el-col :span="12">
<el-form-item label="具备资质" prop="beforeCondition.hasQualified">
<el-checkbox-group v-model="ruleForm.beforeCondition.hasQualified"
@change="handleChoseQualification">
@change="handleChangeHasQualified">
<el-checkbox v-if="ruleForm.beforeCondition.batteryLine == 1" label="SH"
value="SH" />
<el-checkbox label="ES" value="ES" />
@ -253,6 +262,12 @@
placeholder="请选择急救证到期日期" style="width: 60%;" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.length > 0">
<el-form-item label="电工证" prop="beforeCondition.certificatePhoto">
<myFileUpload ref="certificatePhotoRef"
@set-form-file="handleSetCertificatePhoto" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.includes('SH')">
<el-form-item label="SH资质" prop="beforeCondition.shFile">
<myFileUpload ref="shFileRef" @set-form-file="handleSetShFile" />
@ -285,6 +300,8 @@
<el-form-item label="资质申请表单" prop="beforeCondition.qualificationForm">
<myFileUpload ref="qualificationFormRef"
@set-form-file="handleSetQualificationForm" />
<el-button class="downloadTemplateBtn" text
@click="downloadDocxTemplate(ruleForm.qualificationId)">下载模板</el-button>
</el-form-item>
</el-col>
</el-row>
@ -562,6 +579,15 @@ const getQualificationInfo = (detailId, _node) => {
}
})
}
// LLP
const handleChangeHasQualified = (value) => {
//
if (value.length > 1) {
ruleForm.value.beforeCondition.hasQualified = [value[value.length - 1]];
}
handleChoseQualification()
}
//
const handleChoseQualification = (val) => {
nextTick(() => {
@ -702,6 +728,11 @@ const downloadDocxTemplate = (tempLateType) => {
link.href = '/CESC任职资格表.docx'
link.download = 'CESC任职资格表.docx' //
}
if (tempLateType == 'LLP') {
link.href = '/附件 09_带电作业LLP任职资格表.docx'
link.download = '附件 09_带电作业LLP任职资格表.docx' //
}
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
@ -876,6 +907,25 @@ const handleSubmit = () => {
color: #409eff !important;
}
.downloadTemplateBtnDrow {
width: 100px;
height: 36px;
font-family: Microsoft YaHei;
font-weight: 700;
font-size: 14px;
text-align: center;
color: #409eff !important;
background: transparent !important;
position: absolute;
top: -110px;
left: -36px;
}
.downloadTemplateBtnDrow:hover {
background: transparent !important;
color: #409eff !important;
}
.submitApplyBtn {
width: 100px;
height: 36px;

View File

@ -185,8 +185,17 @@
<el-col :span="8">
<el-form-item label="资质申请表单" prop="beforeCondition.qualificationForm">
<myFileUpload ref="qualificationFormRef" @set-form-file="handleSetQualificationForm" />
<el-button class="downloadTemplateBtn" text
@click="downloadDocxTemplate(ruleForm.qualificationId)">下载模板</el-button>
<el-dropdown placement="bottom">
<el-button class="downloadTemplateBtnDrow" text>下载模板</el-button>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item
@click="downloadDocxTemplate('ESC')">下载ESC模板</el-dropdown-item>
<el-dropdown-item
@click="downloadDocxTemplate('CESC')">下载CESC模板</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</el-form-item>
</el-col>
</el-row>
@ -203,7 +212,8 @@
</el-col>
<el-col :span="12">
<el-form-item label="具备资质" prop="beforeCondition.hasQualified">
<el-checkbox-group v-model="ruleForm.beforeCondition.hasQualified" @change="handleChoseQualification">
<el-checkbox-group v-model="ruleForm.beforeCondition.hasQualified"
@change="handleChangeHasQualified">
<el-checkbox v-if="ruleForm.beforeCondition.batteryLine == '1'" label="SH"
value="SH" />
<el-checkbox label="ES" value="ES" />
@ -225,6 +235,11 @@
format="YYYY-MM-DD" value-format="YYYY-MM-DD" placeholder="请选择急救证到期日期"
style="width: 100%;" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.length > 0">
<el-form-item label="电工证" prop="beforeCondition.certificatePhoto">
<myFileUpload ref="certificatePhotoRef" @set-form-file="handleSetCertificatePhoto" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.includes('SH')">
<el-form-item label="SH资质" prop="beforeCondition.shFile">
@ -236,7 +251,8 @@
<myFileUpload ref="esFileRef" @set-form-file="handleSetESFile" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.includes('ESC') || ruleForm.beforeCondition.hasQualified.includes('CESC')">
<el-col :span="8"
v-if="ruleForm.beforeCondition.hasQualified.includes('ESC') || ruleForm.beforeCondition.hasQualified.includes('CESC')">
<el-form-item label="ESC/CESC资质" prop="beforeCondition.escFile">
<myFileUpload ref="escFileRef" @set-form-file="handleSetESCFile" />
</el-form-item>
@ -255,6 +271,8 @@
<el-col :span="8">
<el-form-item label="资质申请表单" prop="beforeCondition.qualificationForm">
<myFileUpload ref="qualificationFormRef" @set-form-file="handleSetQualificationForm" />
<el-button class="downloadTemplateBtn" text
@click="downloadDocxTemplate(ruleForm.qualificationId)">下载模板</el-button>
</el-form-item>
</el-col>
</el-row>
@ -436,6 +454,10 @@ const downloadDocxTemplate = (tempLateType) => {
link.href = '/CESC任职资格表.docx'
link.download = 'CESC任职资格表.docx' //
}
if (tempLateType == 'LLP') {
link.href = '/附件 09_带电作业LLP任职资格表.docx'
link.download = '附件 09_带电作业LLP任职资格表.docx' //
}
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
@ -522,6 +544,14 @@ const handleChoseQualification = (val) => {
})
}
// LLP
const handleChangeHasQualified = (value) => {
//
if (value.length > 1) {
ruleForm.value.beforeCondition.hasQualified = [value[value.length - 1]];
}
handleChoseQualification()
}
//
const getUserInfos = () => {
getUserInfo().then(response => {
@ -681,6 +711,25 @@ const handleSubmit = () => {
color: #409eff !important;
}
.downloadTemplateBtnDrow {
width: 100px;
height: 36px;
font-family: Microsoft YaHei;
font-weight: 700;
font-size: 14px;
text-align: center;
color: #409eff !important;
background: transparent !important;
position: absolute;
top: -110px;
left: -36px;
}
.downloadTemplateBtnDrow:hover {
background: transparent !important;
color: #409eff !important;
}
.submitApplyBtn {
width: 100px;
height: 36px;

View File

@ -185,8 +185,17 @@
<el-col :span="8">
<el-form-item label="资质申请表单" prop="beforeCondition.qualificationForm">
<myFileUpload ref="qualificationFormRef" @set-form-file="handleSetQualificationForm" />
<el-button class="downloadTemplateBtn" text
@click="downloadDocxTemplate(ruleForm.qualificationId)">下载模板</el-button>
<el-dropdown placement="bottom">
<el-button class="downloadTemplateBtnDrow" text>下载模板</el-button>
<template #dropdown>
<el-dropdown-menu>
<el-dropdown-item
@click="downloadDocxTemplate('ESC')">下载ESC模板</el-dropdown-item>
<el-dropdown-item
@click="downloadDocxTemplate('CESC')">下载CESC模板</el-dropdown-item>
</el-dropdown-menu>
</template>
</el-dropdown>
</el-form-item>
</el-col>
</el-row>
@ -204,7 +213,7 @@
<el-col :span="12">
<el-form-item label="具备资质" prop="beforeCondition.hasQualified">
<el-checkbox-group v-model="ruleForm.beforeCondition.hasQualified"
@change="handleChoseQualification">
@change="handleChangeHasQualified">
<el-checkbox v-if="ruleForm.beforeCondition.batteryLine == '1'" label="SH"
value="SH" />
<el-checkbox label="ES" value="ES" />
@ -227,6 +236,11 @@
style="width: 100%;" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.length > 0">
<el-form-item label="电工证" prop="beforeCondition.certificatePhoto">
<myFileUpload ref="certificatePhotoRef" @set-form-file="handleSetCertificatePhoto" />
</el-form-item>
</el-col>
<el-col :span="8" v-if="ruleForm.beforeCondition.hasQualified.includes('SH')">
<el-form-item label="SH资质" prop="beforeCondition.shFile">
<myFileUpload ref="shFileRef" @set-form-file="handleSetShFile" />
@ -257,6 +271,8 @@
<el-col :span="8">
<el-form-item label="资质申请表单" prop="beforeCondition.qualificationForm">
<myFileUpload ref="qualificationFormRef" @set-form-file="handleSetQualificationForm" />
<el-button class="downloadTemplateBtn" text
@click="downloadDocxTemplate(ruleForm.qualificationId)">下载模板</el-button>
</el-form-item>
</el-col>
</el-row>
@ -345,7 +361,7 @@ const data = reactive({
],
esFile: [
{ required: true, message: 'ES资质不能为空', trigger: 'change' }
],
],
escFile: [
{ required: true, message: 'ESC/CESC资质不能为空', trigger: 'change' }
],
@ -492,6 +508,14 @@ const getQualificationInfo = (detailId, _node) => {
})
}
// LLP
const handleChangeHasQualified = (value) => {
//
if (value.length > 1) {
ruleForm.value.beforeCondition.hasQualified = [value[value.length - 1]];
}
handleChoseQualification()
}
//
const handleChoseQualification = (val) => {
nextTick(() => {
@ -620,6 +644,10 @@ const downloadDocxTemplate = (tempLateType) => {
link.href = '/CESC任职资格表.docx'
link.download = 'CESC任职资格表.docx' //
}
if (tempLateType == 'LLP') {
link.href = '/附件 09_带电作业LLP任职资格表.docx'
link.download = '附件 09_带电作业LLP任职资格表.docx' //
}
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
@ -722,6 +750,25 @@ defineExpose({
color: #409eff !important;
}
.downloadTemplateBtnDrow {
width: 100px;
height: 36px;
font-family: Microsoft YaHei;
font-weight: 700;
font-size: 14px;
text-align: center;
color: #409eff !important;
background: transparent !important;
position: absolute;
top: -110px;
left: -36px;
}
.downloadTemplateBtnDrow:hover {
background: transparent !important;
color: #409eff !important;
}
.submitApplyBtn {
width: 100px;
height: 36px;