|
@@ -39,7 +39,7 @@
|
39
|
39
|
</el-table-column>
|
40
|
40
|
<el-table-column prop="fenopda" :label="'湿化瓶'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
|
41
|
41
|
<template slot-scope="scope">
|
42
|
|
- {{scope.row.first_total_time}}
|
|
42
|
+ {{scope.row.first_total_time?scope.row.first_total_time:""}}
|
43
|
43
|
</template>
|
44
|
44
|
</el-table-column>
|
45
|
45
|
<el-table-column prop="dwaiod" label="责任人" align="center" min-width="60">
|
|
@@ -50,7 +50,7 @@
|
50
|
50
|
|
51
|
51
|
<el-table-column prop="date" :label="'止血带'+'\n'+'500mg/l含氯制剂'" align="center" min-width="60">
|
52
|
52
|
<template slot-scope="scope">
|
53
|
|
- {{scope.row.sencond_total_time}}
|
|
53
|
+ {{scope.row.sencond_total_time?scope.row.sencond_total_time:""}}
|
54
|
54
|
</template>
|
55
|
55
|
</el-table-column>
|
56
|
56
|
<el-table-column prop="name" label="责任人" align="center" min-width="60">
|
|
@@ -61,7 +61,7 @@
|
61
|
61
|
|
62
|
62
|
<el-table-column prop="province" :label="'医疗垃圾桶'+'\n'+'1000mg/l含氯制剂'" align="center" min-width="60">
|
63
|
63
|
<template slot-scope="scope">
|
64
|
|
- {{scope.row.third_total_time}}
|
|
64
|
+ {{scope.row.third_total_time?scope.row.third_total_time:""}}
|
65
|
65
|
</template>
|
66
|
66
|
</el-table-column>
|
67
|
67
|
<el-table-column prop="city" label="负责人" align="center" min-width="60">
|
|
@@ -72,7 +72,7 @@
|
72
|
72
|
|
73
|
73
|
<el-table-column prop="name" :label="'体温计'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
|
74
|
74
|
<template slot-scope="scope">
|
75
|
|
- {{scope.row.fourth_total_time}}
|
|
75
|
+ {{scope.row.fourth_total_time?scope.row.fourth_total_time:""}}
|
76
|
76
|
</template>
|
77
|
77
|
</el-table-column>
|
78
|
78
|
<el-table-column prop="province" label="负责人" align="center" min-width="60">
|
|
@@ -83,7 +83,7 @@
|
83
|
83
|
|
84
|
84
|
<el-table-column prop="city" :label="'体温枪'+'\n'+'75%酒精擦拭'" align="center" min-width="60">
|
85
|
85
|
<template slot-scope="scope">
|
86
|
|
- {{scope.row.fourth_total_time}}
|
|
86
|
+ {{scope.row.fourth_total_time?scope.row.fourth_total_time:""}}
|
87
|
87
|
</template>
|
88
|
88
|
</el-table-column>
|
89
|
89
|
<el-table-column prop="province" label="负责人" align="center" min-width="60">
|
|
@@ -976,16 +976,75 @@
|
976
|
976
|
saveObjectTableDisinfect(formName){
|
977
|
977
|
this.$refs[formName].validate((valid=>{
|
978
|
978
|
if(valid){
|
979
|
|
- this.form.first_is_check = parseInt(this.form.first_is_check)
|
980
|
|
- this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
|
981
|
|
- this.form.third_is_check = parseInt(this.form.third_is_check)
|
982
|
|
- this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
|
983
|
|
- this.form.last_is_check = parseInt(this.form.last_is_check)
|
|
979
|
+ if(this.form.first_is_check!=""){
|
|
980
|
+ this.form.first_is_check = parseInt(this.form.first_is_check)
|
|
981
|
+ }else{
|
|
982
|
+ this.form.first_is_check=0
|
|
983
|
+ }
|
|
984
|
+
|
|
985
|
+ if(this.form.sencond_is_check!=""){
|
|
986
|
+ this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
|
|
987
|
+ }else{
|
|
988
|
+ this.form.sencond_is_check=0
|
|
989
|
+ }
|
|
990
|
+
|
|
991
|
+ if(this.form.third_is_check!=""){
|
|
992
|
+ this.form.third_is_check = parseInt(this.form.third_is_check)
|
|
993
|
+ }else{
|
|
994
|
+ this.form.third_is_check = 0
|
|
995
|
+ }
|
|
996
|
+
|
|
997
|
+ if(this.form.fourth_is_check!=""){
|
|
998
|
+ this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
|
|
999
|
+ }else{
|
|
1000
|
+ this.form.fourth_is_check =0
|
|
1001
|
+ }
|
|
1002
|
+
|
|
1003
|
+ if(this.form.last_is_check!=""){
|
|
1004
|
+ this.form.last_is_check = parseInt(this.form.last_is_check)
|
|
1005
|
+ }else{
|
|
1006
|
+ this.form.last_is_check = 0
|
|
1007
|
+ }
|
|
1008
|
+
|
|
1009
|
+
|
|
1010
|
+ if(this.form.first_modifications!=""){
|
|
1011
|
+ this.form.first_modifications = parseInt(this.form.first_modifications)
|
|
1012
|
+ }else{
|
|
1013
|
+ this.form.first_modifications=0
|
|
1014
|
+ }
|
|
1015
|
+
|
|
1016
|
+ if(this.form.sencond_modifications!=""){
|
|
1017
|
+ this.form.sencond_modifications = parseInt(this.form.sencond_modifications)
|
|
1018
|
+ }else{
|
|
1019
|
+ this.form.sencond_modifications=0
|
|
1020
|
+ }
|
|
1021
|
+
|
|
1022
|
+ if(this.form.third_modifications!=""){
|
|
1023
|
+ this.form.third_modifications = parseInt(this.form.third_modifications)
|
|
1024
|
+ }else{
|
|
1025
|
+ this.form.third_modifications = 0
|
|
1026
|
+ }
|
|
1027
|
+
|
|
1028
|
+ if(this.form.fourth_modifications!=""){
|
|
1029
|
+ this.form.fourth_modifications = parseInt(this.form.fourth_modifications)
|
|
1030
|
+ }else{
|
|
1031
|
+ this.form.fourth_modifications =0
|
|
1032
|
+ }
|
|
1033
|
+
|
|
1034
|
+ if(this.form.last_modifications!=""){
|
|
1035
|
+ this.form.last_modifications = parseInt(this.form.last_modifications)
|
|
1036
|
+ }else{
|
|
1037
|
+ this.form.last_modifications = 0
|
|
1038
|
+ }
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
|
984
|
1042
|
saveObjectTableDisinfect(this.form).then(response=>{
|
985
|
1043
|
if(response.data.state == 1){
|
986
|
1044
|
var objectDisinfect = response.data.data.objectDisinfect
|
987
|
1045
|
this.$message.success("保存成功!")
|
988
|
1046
|
this.dialogFormVisible = false
|
|
1047
|
+ this.getObjectTableDisInfectList()
|
989
|
1048
|
}
|
990
|
1049
|
})
|
991
|
1050
|
}
|
|
@@ -1013,53 +1072,53 @@
|
1013
|
1072
|
console.log("list",list)
|
1014
|
1073
|
this.form.id = list.id
|
1015
|
1074
|
this.form.record_date = this.getTimes(list.record_date)
|
1016
|
|
- this.form.first_disinfection_water = list.first_disinfection_water
|
1017
|
|
- this.form.first_disinfection_methods = list.first_disinfection_methods
|
1018
|
|
- this.form.first_disinfection_time = list.first_disinfection_time
|
|
1075
|
+ this.form.first_disinfection_water = list.first_disinfection_water? list.first_disinfection_water:""
|
|
1076
|
+ this.form.first_disinfection_methods = list.first_disinfection_methods? list.first_disinfection_methods:""
|
|
1077
|
+ this.form.first_disinfection_time = list.first_disinfection_time?list.first_disinfection_time:""
|
1019
|
1078
|
this.form.first_start_time = this.getTimeThree(list.first_start_time)
|
1020
|
1079
|
this.form.first_end_time = this.getTimeThree(list.first_end_time)
|
1021
|
|
- this.form.first_total_time = list.first_total_time
|
|
1080
|
+ this.form.first_total_time = list.first_total_time?list.first_total_time:""
|
1022
|
1081
|
this.form.first_is_check = list.first_is_check.toString()
|
1023
|
|
- this.form.first_modifications = list.first_modifications
|
|
1082
|
+ this.form.first_modifications = list.first_modifications?list.first_modifications:""
|
1024
|
1083
|
this.form.first_creator = list.first_creator
|
1025
|
|
- this.form.sencond_disinfection_water = list.sencond_disinfection_water
|
1026
|
|
- this.form.sencond_disinfection_methods = list.sencond_disinfection_methods
|
1027
|
|
- this.form.sencond_disinfection_time = list.sencond_disinfection_time
|
|
1084
|
+ this.form.sencond_disinfection_water = list.sencond_disinfection_water?list.sencond_disinfection_water:""
|
|
1085
|
+ this.form.sencond_disinfection_methods = list.sencond_disinfection_methods?list.sencond_disinfection_methods:""
|
|
1086
|
+ this.form.sencond_disinfection_time = list.sencond_disinfection_time?list.sencond_disinfection_time:""
|
1028
|
1087
|
this.form.sencond_start_time = this.getTimeThree(list.sencond_start_time)
|
1029
|
1088
|
this.form.sencond_end_time = this.getTimeThree(list.sencond_end_time)
|
1030
|
|
- this.form.sencond_total_time = list.sencond_total_time
|
|
1089
|
+ this.form.sencond_total_time = list.sencond_total_time?list.sencond_total_time:""
|
1031
|
1090
|
this.form.sencond_is_check = list.sencond_is_check.toString()
|
1032
|
|
- this.form.sencond_modifications = list.sencond_modifications
|
|
1091
|
+ this.form.sencond_modifications = list.sencond_modifications?list.sencond_modifications:""
|
1033
|
1092
|
this.form.sencond_creator = list.sencond_creator
|
1034
|
|
- this.form.third_disinfection_water = list.third_disinfection_water
|
1035
|
|
- this.form.third_disinfection_methods = list.third_disinfection_methods
|
1036
|
|
- this.form.third_disinfection_time = list.third_disinfection_time
|
|
1093
|
+ this.form.third_disinfection_water = list.third_disinfection_water?list.third_disinfection_water:""
|
|
1094
|
+ this.form.third_disinfection_methods = list.third_disinfection_methods?list.third_disinfection_methods:""
|
|
1095
|
+ this.form.third_disinfection_time = list.third_disinfection_time?list.third_disinfection_time:""
|
1037
|
1096
|
this.form.third_start_time =this.getTimeThree(list.third_start_time)
|
1038
|
1097
|
this.form.third_end_time = this.getTimeThree(list.third_end_time)
|
1039
|
|
- this.form.third_total_time = list.third_total_time
|
|
1098
|
+ this.form.third_total_time = list.third_total_time?list.third_total_time:""
|
1040
|
1099
|
this.form.third_is_check = list.third_is_check.toString()
|
1041
|
|
- this.form.third_modifications = list.third_modifications
|
|
1100
|
+ this.form.third_modifications = list.third_modifications?list.third_modifications:""
|
1042
|
1101
|
this.form.third_creator = list.third_creator
|
1043
|
1102
|
|
1044
|
|
- this.form.fourth_disinfection_water = list.third_disinfection_water
|
1045
|
|
- this.form.fourth_disinfection_methods = list.third_disinfection_methods
|
1046
|
|
- this.form.fourth_disinfection_time = list.third_disinfection_time
|
|
1103
|
+ this.form.fourth_disinfection_water = list.third_disinfection_water?list.third_disinfection_water:""
|
|
1104
|
+ this.form.fourth_disinfection_methods = list.third_disinfection_methods?list.third_disinfection_methods:""
|
|
1105
|
+ this.form.fourth_disinfection_time = list.third_disinfection_time?list.third_disinfection_time:""
|
1047
|
1106
|
this.form.fourth_start_time =this.getTimeThree(list.third_start_time)
|
1048
|
1107
|
this.form.fourth_end_time = this.getTimeThree(list.third_end_time)
|
1049
|
|
- this.form.fourth_total_time = list.third_total_time
|
|
1108
|
+ this.form.fourth_total_time = list.third_total_time? list.third_total_time:""
|
1050
|
1109
|
this.form.fourth_is_check = list.third_is_check.toString()
|
1051
|
|
- this.form.fourth_modifications = list.third_modifications
|
|
1110
|
+ this.form.fourth_modifications = list.third_modifications?list.third_modifications:""
|
1052
|
1111
|
this.form.fourth_creator = list.third_creator
|
1053
|
1112
|
|
1054
|
1113
|
this.form.last_start_time = this.getTimeThree(list.last_start_time)
|
1055
|
1114
|
this.form.last_end_time = this.getTimeThree(list.last_end_time)
|
1056
|
|
- this.form.last_total_time = list.last_total_time
|
|
1115
|
+ this.form.last_total_time = list.last_total_time?list.last_total_time:""
|
1057
|
1116
|
this.form.last_is_check = list.last_is_check.toString()
|
1058
|
|
- this.form.last_modifications = list.last_modifications
|
|
1117
|
+ this.form.last_modifications = list.last_modifications?list.last_modifications:""
|
1059
|
1118
|
this.form.last_creator = list.last_creator
|
1060
|
|
- this.form.last_disinfection_water = list.last_disinfection_water
|
1061
|
|
- this.form.last_disinfection_methods = list.last_disinfection_methods
|
1062
|
|
- this.form.last_disinfection_time = list.last_disinfection_time
|
|
1119
|
+ this.form.last_disinfection_water = list.last_disinfection_water?list.last_disinfection_water:""
|
|
1120
|
+ this.form.last_disinfection_methods = list.last_disinfection_methods?list.last_disinfection_methods:""
|
|
1121
|
+ this.form.last_disinfection_time = list.last_disinfection_time?list.last_disinfection_time:""
|
1063
|
1122
|
this.editDialogFormVisible = true
|
1064
|
1123
|
}
|
1065
|
1124
|
})
|
|
@@ -1067,11 +1126,66 @@
|
1067
|
1126
|
updateObjectTableDisinfect(formName){
|
1068
|
1127
|
this.$refs[formName].validate((valid=>{
|
1069
|
1128
|
if(valid){
|
1070
|
|
- this.form.first_is_check = parseInt(this.form.first_is_check)
|
1071
|
|
- this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
|
1072
|
|
- this.form.third_is_check = parseInt(this.form.third_is_check)
|
1073
|
|
- this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
|
1074
|
|
- this.form.last_is_check = parseInt(this.form.last_is_check)
|
|
1129
|
+ if(this.form.first_is_check!=""){
|
|
1130
|
+ this.form.first_is_check = parseInt(this.form.first_is_check)
|
|
1131
|
+ }else{
|
|
1132
|
+ this.form.first_is_check=0
|
|
1133
|
+ }
|
|
1134
|
+
|
|
1135
|
+ if(this.form.sencond_is_check!=""){
|
|
1136
|
+ this.form.sencond_is_check = parseInt(this.form.sencond_is_check)
|
|
1137
|
+ }else{
|
|
1138
|
+ this.form.sencond_is_check=0
|
|
1139
|
+ }
|
|
1140
|
+
|
|
1141
|
+ if(this.form.third_is_check!=""){
|
|
1142
|
+ this.form.third_is_check = parseInt(this.form.third_is_check)
|
|
1143
|
+ }else{
|
|
1144
|
+ this.form.third_is_check = 0
|
|
1145
|
+ }
|
|
1146
|
+
|
|
1147
|
+ if(this.form.fourth_is_check!=""){
|
|
1148
|
+ this.form.fourth_is_check = parseInt(this.form.fourth_is_check)
|
|
1149
|
+ }else{
|
|
1150
|
+ this.form.fourth_is_check =0
|
|
1151
|
+ }
|
|
1152
|
+
|
|
1153
|
+ if(this.form.last_is_check!=""){
|
|
1154
|
+ this.form.last_is_check = parseInt(this.form.last_is_check)
|
|
1155
|
+ }else{
|
|
1156
|
+ this.form.last_is_check = 0
|
|
1157
|
+ }
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+ if(this.form.first_modifications!=""){
|
|
1161
|
+ this.form.first_modifications = parseInt(this.form.first_modifications)
|
|
1162
|
+ }else{
|
|
1163
|
+ this.form.first_modifications=0
|
|
1164
|
+ }
|
|
1165
|
+
|
|
1166
|
+ if(this.form.sencond_modifications!=""){
|
|
1167
|
+ this.form.sencond_modifications = parseInt(this.form.sencond_modifications)
|
|
1168
|
+ }else{
|
|
1169
|
+ this.form.sencond_modifications=0
|
|
1170
|
+ }
|
|
1171
|
+
|
|
1172
|
+ if(this.form.third_modifications!=""){
|
|
1173
|
+ this.form.third_modifications = parseInt(this.form.third_modifications)
|
|
1174
|
+ }else{
|
|
1175
|
+ this.form.third_modifications = 0
|
|
1176
|
+ }
|
|
1177
|
+
|
|
1178
|
+ if(this.form.fourth_modifications!=""){
|
|
1179
|
+ this.form.fourth_modifications = parseInt(this.form.fourth_modifications)
|
|
1180
|
+ }else{
|
|
1181
|
+ this.form.fourth_modifications =0
|
|
1182
|
+ }
|
|
1183
|
+
|
|
1184
|
+ if(this.form.last_modifications!=""){
|
|
1185
|
+ this.form.last_modifications = parseInt(this.form.last_modifications)
|
|
1186
|
+ }else{
|
|
1187
|
+ this.form.last_modifications = 0
|
|
1188
|
+ }
|
1075
|
1189
|
console.log("hhahdhfhahdf",this.form)
|
1076
|
1190
|
updateObjectTableDisinfect(this.form).then(response=>{
|
1077
|
1191
|
if(response.data.state == 1){
|