|
|
@@ -13,7 +13,7 @@
|
|
|
>
|
|
|
<div class="contain">
|
|
|
<div class="main">
|
|
|
- <el-form ref="form" :model="form" label-width="120px">
|
|
|
+ <el-form ref="form" :model="form" label-width="130px">
|
|
|
<el-row>
|
|
|
<el-col :span="12">
|
|
|
<el-form-item label="部门:">
|
|
|
@@ -147,7 +147,7 @@
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
- <el-col :span="12">
|
|
|
+ <el-col :span="12" v-if="lei_xing_!='12-紫外灯消毒'">
|
|
|
<el-form-item label="监控设备:">
|
|
|
<ibps-link-data
|
|
|
v-model="form.deviceno2_"
|
|
|
@@ -169,8 +169,8 @@
|
|
|
<el-col :span="12">
|
|
|
<el-form-item
|
|
|
v-if="shouldRequired('deviceno1_')"
|
|
|
- label="被控设备/设施编号:"
|
|
|
- label-width="140"
|
|
|
+ label="被控设备/设施编号"
|
|
|
+
|
|
|
>
|
|
|
<template slot="label">
|
|
|
<span class="required">被控设备/设施编号:</span>
|
|
|
@@ -192,7 +192,7 @@
|
|
|
<el-form-item
|
|
|
v-else
|
|
|
label="被控设备/设施编号:"
|
|
|
- label-width="140"
|
|
|
+
|
|
|
>
|
|
|
<ibps-link-data
|
|
|
v-model="form.deviceno1_"
|
|
|
@@ -209,11 +209,11 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col v-show="form.deviceno1_" :span="12">
|
|
|
+ <el-col v-show="form.deviceno1_||lei_xing_=='12-紫外灯消毒'" :span="12">
|
|
|
<el-form-item
|
|
|
v-if="shouldRequired('devicename1_')"
|
|
|
label="被控设备/设施名称:"
|
|
|
- label-width="140"
|
|
|
+
|
|
|
>
|
|
|
<template slot="label">
|
|
|
<span>被控设备/设施名称</span>
|
|
|
@@ -229,8 +229,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item
|
|
|
v-else
|
|
|
- label="被控设备/设施名称:"
|
|
|
- label-width="140"
|
|
|
+ :label="lei_xing_!='12-紫外灯消毒'?'被控设备/设施名称:':'紫外灯/设备名:'"
|
|
|
>
|
|
|
<el-input
|
|
|
v-model="form.devicename1_"
|
|
|
@@ -242,7 +241,7 @@
|
|
|
</el-row>
|
|
|
<el-row v-if="shouldShowColumn('deviceno3_')">
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="被控试剂/耗材:" label-width="140">
|
|
|
+ <el-form-item label="被控试剂/耗材:" >
|
|
|
<template slot="label">
|
|
|
<span class="required">被控试剂/耗材:</span>
|
|
|
</template>
|
|
|
@@ -262,7 +261,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col v-show="form.deviceno1_" :span="12">
|
|
|
- <el-form-item label="试剂/耗材名称:" label-width="140">
|
|
|
+ <el-form-item label="试剂/耗材名称:" >
|
|
|
<template slot="label">
|
|
|
<span>试剂/耗材名称</span>
|
|
|
<el-tooltip
|
|
|
@@ -586,7 +585,7 @@ export default {
|
|
|
{ label: '按需监测', value: '按需' }
|
|
|
],
|
|
|
config: {},
|
|
|
- quYuLeiXingList:['06-每日安全检查','15-日常防护消毒']
|
|
|
+ quYuLeiXingList:['06-每日安全检查','15-日常防护消毒','12-紫外灯消毒']
|
|
|
}
|
|
|
},
|
|
|
computed: {
|
|
|
@@ -881,7 +880,7 @@ export default {
|
|
|
) {
|
|
|
throw new Error('监测岗位信息缺失!')
|
|
|
}
|
|
|
- if (this.shouldRequired('deviceno1_') && this.form.deviceno1_ === '') {
|
|
|
+ if (this.shouldRequired('deviceno1_') && this.form.deviceno1_ === ''&&this.lei_xing_!='12-紫外灯消毒') {
|
|
|
throw new Error('请先选择设备或试剂耗材!')
|
|
|
}
|
|
|
if (this.shouldRequired('fang_jian_') && this.form.fang_jian_ === '') {
|