zhouwenxuan
2023-11-10 4f97657270b7aef0d3b7a6b25ea2b4adb07a77c7
src/views/analyse/assessApply/components/reportDialog.vue
@@ -149,12 +149,26 @@
                    </tr>
                    <tr class="m-color b-font required" style="text-align: center">实验和实验项目综合风险等级评定</tr>
                    <tr>
                      <td class="m-color" style="width: 100%">
                      <td class="m-color" style="width: 100%;height: 65px">
                        <el-radio-group :disabled="reportDialogState.disabled"  v-model="reportDialogState.reportForm.assessLevel">
                          <el-radio :label="1">重大风险(一级)</el-radio>
                          <el-radio :label="2">较大风险(二级)</el-radio>
                          <el-radio :label="3">一般风险(三级)</el-radio>
                          <el-radio :label="4">低风险(四级)</el-radio>
                            <div style="display: flex;justify-content: center">
                                <div style="display: flex;flex-direction: column">
                                    <el-radio :label="1">重大风险(一级)</el-radio>
                                    <el-tag v-if="reportDialogState.reportForm.assessLevel == 1" class="tag-style tag-bg1" />
                                </div>
                                <div style="display: flex;flex-direction: column">
                                    <el-radio :label="2">较大风险(二级)</el-radio>
                                    <el-tag v-if="reportDialogState.reportForm.assessLevel == 2" class="tag-style tag-bg2"  />
                                </div>
                                <div style="display: flex;flex-direction: column">
                                    <el-radio :label="3">一般风险(三级)</el-radio>
                                    <el-tag v-if="reportDialogState.reportForm.assessLevel == 3" class="tag-style tag-bg3"  />
                                </div>
                                <div style="display: flex;flex-direction: column">
                                    <el-radio :label="4">低风险(四级)</el-radio>
                                    <el-tag v-if="reportDialogState.reportForm.assessLevel == 4" style="width: 43px;margin-left: 20px;" class="tag-bg4" />
                                </div>
                            </div>
                        </el-radio-group>
                      </td>
                    </tr>
@@ -575,7 +589,22 @@
.m-color {
    color: #0c4995;
}
.tag-style{
    width: 58px;
    margin-left: 20px;
}
.tag-bg1 {
    background: rgba(255,0,0,0.5);
}
.tag-bg2 {
    background: rgba(248,82,8,0.5);
}
.tag-bg3 {
    background: rgba(247,255,0,0.5);
}
.tag-bg4 {
    background: rgba(0,112,192,0.5);
}
.roomSelect{
  ::v-deep(.el-popper){
    .el-select-dropdown__item{
@@ -621,6 +650,9 @@
    display: flex;
    justify-content: center;
}
:deep(.el-tag){
    border: none;
}
</style>