From fabfb747cc25acc85993d133821ceb19532cab0b Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 21 五月 2025 14:55:31 +0800 Subject: [PATCH] 修改 --- src/views/analyse/assessApply/components/reportDialog.vue | 40 +++++++++++++++++++++++++++++++++++++--- 1 files changed, 37 insertions(+), 3 deletions(-) diff --git a/src/views/analyse/assessApply/components/reportDialog.vue b/src/views/analyse/assessApply/components/reportDialog.vue index 8f2e3a2..5f53c12 100644 --- a/src/views/analyse/assessApply/components/reportDialog.vue +++ b/src/views/analyse/assessApply/components/reportDialog.vue @@ -128,7 +128,7 @@ <!-- <el-radio :label="7">激光安全</el-radio>--> <!-- <el-radio :label="8">其他安全</el-radio>--> <!-- </el-radio-group>--> - <el-checkbox-group disabled> + <el-checkbox-group disabled class="checkTip"> <el-checkbox v-for="item in reportDialogState.reportForm.riskSourceType" :label="item.riskSourceType" :checked="item.status==1?true:false"/> </el-checkbox-group> </td> @@ -152,7 +152,7 @@ <tr class="m-color b-font required" style="text-align: center">实验和实验项目综合风险等级评定</tr> <tr> <td class="m-color" style="width: 100%;height: 65px"> - <el-radio-group :disabled="reportDialogState.disabled" v-model="reportDialogState.reportForm.assessLevel"> + <el-radio-group :disabled="reportDialogState.disabled" v-model="reportDialogState.reportForm.assessLevel" class="checkTip"> <div style="display: flex;justify-content: center"> <div style="display: flex;flex-direction: column"> <el-radio :label="1">重大风险(一级)</el-radio> @@ -196,7 +196,8 @@ <!-- </td>--> </tr> <tr v-if="reportDialogState.reportForm.person?.length>0" class="m-color b-font" style="text-align: center">审批内容</tr> - <template v-if="reportDialogState.reportForm.person?.length>0" v-for="item in reportDialogState.reportForm.person"> + <template v-if="reportDialogState.reportForm.person?.length > 0"> + <template v-for="item in reportDialogState.reportForm.person"> <tr> <td class="w-25 m-color">{{item.approveStage}}</td> <td class="w-25">{{item.approvePerson}}</td> @@ -210,6 +211,7 @@ </td> </tr> </template> + </template> </table> </el-form> <template #footer> @@ -758,3 +760,35 @@ </style> +<style> +.checkTip{ + .is-disabled{ + .el-checkbox__label{ + color: #606266 !important + } + .el-radio__label{ + color: #606266 !important + } + &.is-checked{ + .el-checkbox__label{ + color: #409eff !important + } + .el-radio__label{ + color: #409eff !important + } + .el-checkbox__inner{ + background-color: #409eff; + &::after{ + border-color: #fff !important + } + } + .el-radio__inner{ + background-color: #409eff !important; + &::after{ + background-color: #fff !important + } + } + } + } +} +</style> \ No newline at end of file -- Gitblit v1.9.2