|
@@ -773,12 +773,12 @@
|
773
|
773
|
{{scope.row.classtime}}
|
774
|
774
|
</template>
|
775
|
775
|
</el-table-column>
|
776
|
|
- <el-table-column label="机表消毒方式" align="center" min-width="110px" >
|
|
776
|
+ <el-table-column label="机表(床单元、床旁桌)消毒方式" align="center" min-width="110px" >
|
777
|
777
|
<template slot-scope="scope">
|
778
|
778
|
{{scope.row.way}}
|
779
|
779
|
</template>
|
780
|
780
|
</el-table-column>
|
781
|
|
- <el-table-column label="机表消毒液" align="center" min-width="100px" >
|
|
781
|
+ <el-table-column label="机表(床单元、床旁桌)消毒液" align="center" min-width="100px" >
|
782
|
782
|
<template slot-scope="scope">
|
783
|
783
|
{{scope.row.machine_disinfectant}}
|
784
|
784
|
</template>
|
|
@@ -792,6 +792,14 @@
|
792
|
792
|
<template slot-scope="scope">
|
793
|
793
|
{{scope.row.disinfectant}}
|
794
|
794
|
</template>
|
|
795
|
+ </el-table-column>
|
|
796
|
+ <el-table-column label="床单位更换" align="center" min-width="100px" >
|
|
797
|
+ <template slot-scope="scope">
|
|
798
|
+ <span v-if="scope.row.bed_way ==0">/</span>
|
|
799
|
+ <span v-if="scope.row.bed_way ==1">床单</span>
|
|
800
|
+ <span v-if="scope.row.bed_way ==2">被套</span>
|
|
801
|
+ <span v-if="scope.row.bed_way ==3">枕套</span>
|
|
802
|
+ </template>
|
795
|
803
|
</el-table-column>
|
796
|
804
|
<el-table-column label="消毒时长/min" align="center" min-width="60px" >
|
797
|
805
|
<template slot-scope="scope">
|
|
@@ -863,12 +871,12 @@
|
863
|
871
|
{{scope.row.classtime}}
|
864
|
872
|
</template>
|
865
|
873
|
</el-table-column>
|
866
|
|
- <el-table-column label="基表消毒方式" align="center" min-width="110px" >
|
|
874
|
+ <el-table-column label="基表(床单元、床旁桌)消毒方式" align="center" min-width="110px" >
|
867
|
875
|
<template slot-scope="scope">
|
868
|
876
|
{{scope.row.way}}
|
869
|
877
|
</template>
|
870
|
878
|
</el-table-column>
|
871
|
|
- <el-table-column label="基表消毒液" align="center" min-width="100px" >
|
|
879
|
+ <el-table-column label="基表(床单元、床旁桌)消毒液" align="center" min-width="100px" >
|
872
|
880
|
<template slot-scope="scope">
|
873
|
881
|
{{scope.row.machine_disinfectant}}
|
874
|
882
|
</template>
|
|
@@ -882,6 +890,15 @@
|
882
|
890
|
<template slot-scope="scope">
|
883
|
891
|
{{scope.row.disinfectan_way}}
|
884
|
892
|
</template>
|
|
893
|
+ </el-table-column>
|
|
894
|
+ <el-table-column label="床单位更换" align="center" min-width="100px" >
|
|
895
|
+ <template slot-scope="scope">
|
|
896
|
+
|
|
897
|
+ <span v-if="scope.row.bed_way ==0">/</span>
|
|
898
|
+ <span v-if="scope.row.bed_way ==1">床单</span>
|
|
899
|
+ <span v-if="scope.row.bed_way ==2">被套</span>
|
|
900
|
+ <span v-if="scope.row.bed_way ==3">枕套</span>
|
|
901
|
+ </template>
|
885
|
902
|
</el-table-column>
|
886
|
903
|
<el-table-column label="消毒时长/min" align="center" min-width="60px" >
|
887
|
904
|
<template slot-scope="scope">
|
|
@@ -930,7 +947,7 @@
|
930
|
947
|
<el-tabs type="border-card" v-model="activeNameThree" @tab-click="handleClick">
|
931
|
948
|
<el-tab-pane label="新增使用登记" name="first">
|
932
|
949
|
|
933
|
|
- <el-form :model="userform" ref="userform" :rules="userRules">
|
|
950
|
+ <el-form :model="userform" ref="userform" :rules="userRules" v-if="device_type == 1">
|
934
|
951
|
<el-row>
|
935
|
952
|
<el-col :span="8">
|
936
|
953
|
<el-form-item label="日期:" required prop="date" class="st">
|
|
@@ -1348,9 +1365,13 @@
|
1348
|
1365
|
</el-row>
|
1349
|
1366
|
</el-form>
|
1350
|
1367
|
|
|
1368
|
+ <water-form ref="waterForm" v-if="device_type == 2" :equimentid="equimentid"></water-form>
|
|
1369
|
+
|
1351
|
1370
|
</el-tab-pane>
|
1352
|
|
- <el-tab-pane label="使用登记列表" name="second">
|
1353
|
|
- <user-form ref="userForm" :userdata="userdata"></user-form>
|
|
1371
|
+
|
|
1372
|
+ <el-tab-pane label="使用登记列表" name="second" >
|
|
1373
|
+ <user-form ref="userForm" :userdata="userdata" v-if="device_type == 1"></user-form>
|
|
1374
|
+ <water-form-list ref="waterFormList" v-if="device_type == 2" :equimentid="equimentid"></water-form-list>
|
1354
|
1375
|
</el-tab-pane>
|
1355
|
1376
|
</el-tabs>
|
1356
|
1377
|
</div>
|
|
@@ -2649,6 +2670,8 @@
|
2649
|
2670
|
import QualityForm from './components/QualityForm'
|
2650
|
2671
|
import RepairForm from './components/RepairForm'
|
2651
|
2672
|
import RemanderForm from './components/RemanderForm'
|
|
2673
|
+ import WaterForm from './components/WaterForm'
|
|
2674
|
+ import WaterFormList from './components/WaterFormList.vue'
|
2652
|
2675
|
import { parseTime } from '@/utils'
|
2653
|
2676
|
import { getFileExtension } from '@/utils/tools'
|
2654
|
2677
|
import { PostSearch } from '@/api/patient'
|
|
@@ -2665,7 +2688,9 @@ export default {
|
2665
|
2688
|
UserForm,
|
2666
|
2689
|
QualityForm,
|
2667
|
2690
|
RepairForm,
|
2668
|
|
- RemanderForm
|
|
2691
|
+ RemanderForm,
|
|
2692
|
+ WaterForm,
|
|
2693
|
+ WaterFormList
|
2669
|
2694
|
},
|
2670
|
2695
|
data() {
|
2671
|
2696
|
return {
|
|
@@ -3356,7 +3381,7 @@ export default {
|
3356
|
3381
|
this.tabIndex = index
|
3357
|
3382
|
},
|
3358
|
3383
|
handleCurrentChange(val) {
|
3359
|
|
- console.log("val-------------------------",val)
|
|
3384
|
+ console.log("val232323232323------",val)
|
3360
|
3385
|
// 通过设备型号区分质量控制
|
3361
|
3386
|
this.device_type = val.device_type
|
3362
|
3387
|
this.unitType = val.unit_type
|
|
@@ -4948,7 +4973,7 @@ export default {
|
4948
|
4973
|
if (total === '') {
|
4949
|
4974
|
this.userform.user_total = ''
|
4950
|
4975
|
}
|
4951
|
|
- this.userform.user_total = total
|
|
4976
|
+ // this.userform.user_total = total
|
4952
|
4977
|
} else {
|
4953
|
4978
|
this.$message.error('数据返回失败')
|
4954
|
4979
|
}
|
|
@@ -4980,8 +5005,9 @@ export default {
|
4980
|
5005
|
getTimeBeteen(id, todayTime).then(response => {
|
4981
|
5006
|
if (response.data.state === 1) {
|
4982
|
5007
|
var timedata = response.data.data.timeData
|
|
5008
|
+ // console.log("timedata----------------------",timedata)
|
4983
|
5009
|
if (timedata.length === 0) {
|
4984
|
|
- this.warnShow = true
|
|
5010
|
+ this.warnShow = false
|
4985
|
5011
|
}
|
4986
|
5012
|
if (timedata.length !== 0) {
|
4987
|
5013
|
this.warnShow = false
|
|
@@ -5077,7 +5103,7 @@ export default {
|
5077
|
5103
|
if(addmacher.user_total == ''){
|
5078
|
5104
|
addmacher.user_total = 0
|
5079
|
5105
|
}
|
5080
|
|
- this.userform.user_total = count[0].Total + parseInt(addmacher.user_total)
|
|
5106
|
+ // this.userform.user_total = count[0].Total + parseInt(addmacher.user_total)
|
5081
|
5107
|
}
|
5082
|
5108
|
})
|
5083
|
5109
|
},
|