28169 1 ano atrás
pai
commit
84943d6c26

+ 1 - 1
build/cdn.json Ver arquivo

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "1.0.5"
2
+  "version": "1.0.6"
3 3
 }

+ 19 - 1
src/api/device.js Ver arquivo

@@ -265,7 +265,7 @@ export function updateNewAirDisinfect(data){
265 265
   
266 266
   return request({
267 267
     url:"/api/manage/updatenewairdisinfect",
268
-    method:post,
268
+    method:"post",
269 269
     data:data,
270 270
   })
271 271
 }
@@ -322,4 +322,22 @@ export function deleteObjectTableDisinfect(id,params){
322 322
     method:"get",
323 323
     params:params
324 324
   })
325
+}
326
+
327
+export function getAirDisinfectLongTime(params){
328
+  
329
+  return request({
330
+    url:"/api/manage/getairdisinfectionlongtime",
331
+    method:"get",
332
+    params:params
333
+  })
334
+}
335
+
336
+export function getObjectTableDisinfectLongTime(params){
337
+  
338
+  return request({
339
+    url:"/api/manage/getobjcttabledisinfectlongtime",
340
+    method:"get",
341
+    params:params,
342
+  })
325 343
 }

+ 145 - 48
src/xt_pages/device/airDisinfectTwo.vue Ver arquivo

@@ -28,7 +28,7 @@
28 28
           </div>
29 29
           <div style="float:right;margin-bottom:10px;">
30 30
             <el-button type="primary" @click="printCard">打印</el-button>
31
-            <el-button type="primary" @click="dialogFormVisible = true">新增</el-button>
31
+            <el-button type="primary" @click="AddCard">新增</el-button>
32 32
 
33 33
           </div>
34 34
           <div class="tab_air">
@@ -54,12 +54,7 @@
54 54
                 </el-table-column>
55 55
                 <el-table-column prop="date" label="责任人" align="center" min-width="50">
56 56
                     <template slot-scope="scope">
57
-                     <span v-if="setAdminUserES(scope.row.first_creator?scope.row.first_creator:scope.row.first_creator) == ''">
58 57
                         {{getName(scope.row.first_creator)}}
59
-                     </span>
60
-                    <span v-else>
61
-                        <img style="height:30px;" :src="setAdminUserES(scope.row.first_creator?scope.row.first_creator:scope.row.first_creator)" alt="" srcset="">
62
-                    </span>
63 58
 
64 59
                     </template>
65 60
                 </el-table-column>
@@ -76,13 +71,8 @@
76 71
                 </el-table-column>
77 72
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
78 73
                     <template slot-scope="scope">
79
-                        <!-- {{getName(scope.row.first_creator)}} -->
80
-                        <span v-if="setAdminUserES(scope.row.sencond_creator?scope.row.sencond_creator:scope.row.sencond_creator) == ''">
81 74
                         {{getName(scope.row.sencond_creator)}}
82
-                     </span>
83
-                    <span v-else>
84
-                        <img style="height:30px;" :src="setAdminUserES(scope.row.sencond_creator?scope.row.sencond_creator:scope.row.sencond_creator)" alt="" srcset="">
85
-                    </span>
75
+                   
86 76
                    </template>
87 77
                 </el-table-column>
88 78
 
@@ -98,13 +88,8 @@
98 88
                 </el-table-column>
99 89
                 <el-table-column prop="city" label="负责人" align="center" min-width="50">
100 90
                     <template slot-scope="scope">
101
-                        <!-- {{getName(scope.row.sencond_creator)}} -->
102
-                    <span v-if="setAdminUserES(scope.row.third_creator?scope.row.third_creator:scope.row.third_creator) == ''">
103 91
                         {{getName(scope.row.third_creator)}}
104
-                     </span>
105
-                    <span v-else>
106
-                        <img style="height:30px;" :src="setAdminUserES(scope.row.third_creator?scope.row.third_creator:scope.row.third_creator)" alt="" srcset="">
107
-                    </span>
92
+                    
108 93
                     </template>
109 94
                 </el-table-column>
110 95
 
@@ -115,13 +100,8 @@
115 100
                 </el-table-column>
116 101
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
117 102
                     <template slot-scope="scope">
118
-                        <!-- {{getName(scope.row.third_creator)}} -->
119
-                        <span v-if="setAdminUserES(scope.row.last_creator?scope.row.last_creator:scope.row.last_creator) == ''">
120
-                            {{getName(scope.row.third_creator)}}
121
-                        </span>
122
-                        <span v-else>
123
-                            <img style="height:30px;" :src="setAdminUserES(scope.row.last_creator?scope.row.last_creator:scope.row.last_creator)" alt="" srcset="">
124
-                        </span>
103
+                        {{getName(scope.row.last_creator)}}
104
+                        
125 105
                     </template>
126 106
                 </el-table-column>
127 107
                 <el-table-column prop="city" label="操作" align="center" min-width="150">
@@ -275,7 +255,7 @@
275 255
                   <el-form-item label="开始时间" label-width="110px">
276 256
                     <el-date-picker
277 257
                         type="datetime"
278
-                        format="yyyy-MM-dd HH:mm"
258
+                        format="yyyy-MM-dd HH:mm:ss"
279 259
                         value-format="yyyy-MM-dd HH:mm"
280 260
                         placeholder="选择时间"
281 261
                         v-model="form.sencond_start_time"
@@ -412,6 +392,7 @@
412 392
                         value-format="yyyy-MM-dd HH:mm"
413 393
                         placeholder="选择时间"
414 394
                         v-model="form.last_start_time"
395
+                        @change="laststarttime"
415 396
                         style="width:100%;"
416 397
                     ></el-date-picker>
417 398
                   </el-form-item>
@@ -422,6 +403,7 @@
422 403
                         value-format="yyyy-MM-dd HH:mm"
423 404
                         placeholder="选择时间"
424 405
                         v-model="form.last_end_time"
406
+                        @change="lastendtime"
425 407
                         style="width:100%;"
426 408
                     ></el-date-picker>
427 409
                   </el-form-item>
@@ -719,6 +701,7 @@
719 701
                         value-format="yyyy-MM-dd HH:mm"
720 702
                         placeholder="选择时间"
721 703
                         v-model="form.last_start_time"
704
+                        @change="laststarttime"
722 705
                         style="width:100%;"
723 706
                     ></el-date-picker>
724 707
                   </el-form-item>
@@ -729,6 +712,7 @@
729 712
                         value-format="yyyy-MM-dd HH:mm"
730 713
                         placeholder="选择时间"
731 714
                         v-model="form.last_end_time"
715
+                        @change="lastendtime"
732 716
                         style="width:100%;"
733 717
                     ></el-date-picker>
734 718
                   </el-form-item>
@@ -806,15 +790,43 @@
806 790
                                <td>{{getTimes(item.record_date) }}</td>
807 791
                                <td>{{ getTimeTwo(item.first_start_time)}} - {{ getTimeTwo(item.first_end_time) }}</td>
808 792
                                <td>{{item.first_total_time }}</td>
809
-                               <td>{{getName(item.first_creator)}}</td>
793
+                               <td>
794
+                                <span v-if="setAdminUserES(item.first_creator?item.last_creator:item.first_creator) == ''">
795
+                                   {{getName(item.first_creator)}}
796
+                                  </span>
797
+                                <span v-else>
798
+                                    <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
799
+                                </span>
800
+                               </td>
810 801
                                <td>{{ getTimeTwo(item.sencond_start_time)}} - {{ getTimeTwo(item.sencond_end_time) }}</td>
811 802
                                <td>{{item.sencond_total_time }}</td>
812
-                               <td>{{getName(item.sencond_creator)}}</td>
803
+                               <td>
804
+                                <span v-if="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator) == ''">
805
+                                   {{getName(item.sencond_creator)}}
806
+                                  </span>
807
+                                <span v-else>
808
+                                    <img style="height:30px;" :src="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator)" alt="" srcset="">
809
+                                </span>
810
+                               </td>
813 811
                                <td>{{getTimeTwo(item.last_start_time)}} - {{ getTimeTwo(item.last_end_time) }}</td>
814 812
                                <td>{{item.third_total_time }}</td>
815
-                               <td>{{getName(item.third_creator)}}</td>
813
+                               <td>
814
+                                <span v-if="setAdminUserES(item.third_creator?item.third_creator:item.third_creator) == ''">
815
+                                   {{getName(item.third_creator)}}
816
+                                  </span>
817
+                                <span v-else>
818
+                                    <img style="height:30px;" :src="setAdminUserES(item.third_creator?item.third_creator:item.third_creator)" alt="" srcset="">
819
+                                </span>
820
+                              </td>
816 821
                                <td> {{getTimeTwo(item.last_start_time)}} - {{ getTimeTwo(item.last_end_time) }}</td>
817
-                               <td>{{getName(item.last_creator)}}</td>
822
+                               <td>
823
+                                <span v-if="setAdminUserES(item.last_creator?item.last_creator:item.last_creator) == ''">
824
+                                   {{getName(item.last_creator)}}
825
+                                  </span>
826
+                                <span v-else>
827
+                                    <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
828
+                                </span>
829
+                               </td>
818 830
                             </tr>
819 831
                         </table>
820 832
                     </div>
@@ -828,7 +840,7 @@
828 840
   <script>
829 841
     import print from "print-js";
830 842
     import BreadCrumb from '@/xt_pages/components/bread-crumb'
831
-    import { getAllDoctorList,saveNewAirDisinfect,getNewAirDisinfectList,getNewAirDisinfectByIdList,updateAirDisinfect,deleteNewAirDisInfect} from "@/api/device"
843
+    import { getAllDoctorList,saveNewAirDisinfect,getNewAirDisinfectList,getNewAirDisinfectByIdList,updateNewAirDisinfect,deleteNewAirDisInfect,getAirDisinfectLongTime} from "@/api/device"
832 844
     import { uParseTime } from '@/utils/tools'
833 845
     const moment = require('moment')
834 846
     export default {
@@ -853,8 +865,8 @@
853 865
             first_disinfection_water:"",// 消毒液
854 866
             first_disinfection_methods:"",//消毒方式
855 867
             first_disinfection_time:'',//消毒时长
856
-            first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
857
-            first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
868
+            first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
869
+            first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
858 870
             first_total_time:"",//累计时间
859 871
             first_is_check:"1",//检验合格
860 872
             first_modifications:"",//修改标志
@@ -863,8 +875,8 @@
863 875
             sencond_disinfection_water:"",// 消毒液
864 876
             sencond_disinfection_methods:"",//消毒方式
865 877
             sencond_disinfection_time:"",//消毒时长
866
-            sencond_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
867
-            sencond_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
878
+            sencond_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
879
+            sencond_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
868 880
             sencond_total_time:"",//累计时间
869 881
             sencond_is_check:"1",//检验合格
870 882
             sencond_modifications:"",//修改标志
@@ -873,15 +885,16 @@
873 885
             third_disinfection_water:"",// 消毒液
874 886
             third_disinfection_methods:"",//消毒方式
875 887
             third_disinfection_time:'',//消毒时长
876
-            third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
877
-            third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
888
+            third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
889
+            third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
878 890
             third_total_time:"",//累计时间
879 891
             third_is_check:"1",//检验合格
880 892
             third_modifications:"",//修改标志
881 893
             third_creator:this.$store.getters.xt_user.user.id,//第一责任人
882 894
 
883
-            last_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
884
-            last_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
895
+            last_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
896
+            last_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
897
+            last_disinfection_time:"",//消毒时长
885 898
             last_total_time:"",//累计时间
886 899
             last_is_check:"1",//检验合格
887 900
             last_modifications:"",//修改标志
@@ -910,14 +923,22 @@
910 923
          { id: 5, name: "消毒湿巾" }
911 924
          ],
912 925
          DisinfectionMode: [
913
-            { id: 1, name: "化学消毒" },
914
-            { id: 2, name: "热消毒" },
915
-            { id: 3, name: "化学消毒+热消毒" }
926
+            { id: 1, name: "紫外线" },
927
+            { id: 2, name: "等离子" },
928
+            { id: 3, name: "臭氧" },
929
+            {id:4,name:"含氯剂喷洒500mg/L"},
930
+            {id:5,name:"含氯剂喷洒1000mg/L"},
931
+            {id:6,name:"通风"}
916 932
          ],
917 933
          operators: [],
918 934
          operatorMaps:{},
919 935
          firststart:'',
920 936
          firstend:'',
937
+
938
+         first_total_time:0,
939
+         sencond_total_time:0,
940
+         third_total_time:0,
941
+         last_total_time:0,
921 942
         }
922 943
       },
923 944
       created(){
@@ -955,9 +976,53 @@
955 976
             const time_interval = ((thirdend - thirdstart)/(60*60*1000)).toFixed(1)
956 977
             console.log('结束时间',time_interval);
957 978
             return time_interval
979
+        },
980
+        lastdisinfection_time(){
981
+            const lasttart= Date.parse(new Date(this.form.last_start_time))
982
+            console.log('开始时间',lasttart);
983
+            const lastend= Date.parse(new Date(this.form.last_end_time))
984
+            console.log('结束时间',lastend);
985
+            const time_interval = ((lastend - lasttart)/(60*60*1000)).toFixed(1)
986
+            console.log('结束时间',time_interval);
987
+            return time_interval    
958 988
         }
959 989
       },
960 990
       methods:{
991
+      AddCard(){
992
+        getAirDisinfectLongTime().then(response=>{
993
+          if(response.data.state == 1){
994
+            var list = response.data.data.list
995
+            console.log("累计2323322323我",list)
996
+            var first_total_time = 0
997
+            var sencond_total_time = 0
998
+            var third_total_time = 0
999
+            var last_total_time = 0
1000
+            if(list!=null && list.length>0){
1001
+               for(let i=0;i<list.length;i++){
1002
+                 first_total_time += parseFloat(list[i].first_total_time)
1003
+                 sencond_total_time +=parseFloat(list[i].sencond_total_time)
1004
+                 third_total_time +=parseFloat(list[i].third_total_time)
1005
+                 last_total_time +=parseFloat(list[i].last_total_time)
1006
+               }
1007
+            
1008
+           
1009
+            this.form.first_total_time = ""
1010
+            this.form.first_total_time = first_total_time
1011
+            this.first_total_time = first_total_time
1012
+            this.form.sencond_total_time = ""
1013
+            this.form.sencond_total_time = sencond_total_time
1014
+            this.sencond_total_time = sencond_total_time
1015
+            this.form.third_total_time =""
1016
+            this.form.third_total_time = third_total_time
1017
+            this.third_total_time = third_total_time
1018
+            this.form.last_total_time =""
1019
+            this.form.last_total_time = last_total_time
1020
+            this.last_total_time = last_total_time
1021
+            this.dialogFormVisible =  true
1022
+          }
1023
+         }
1024
+        })
1025
+      },
961 1026
       handleSizeChange(val) {
962 1027
         this.limit = val;
963 1028
         this.getNewAirDisinfectList()
@@ -1041,6 +1106,11 @@
1041 1106
                 }else{
1042 1107
                     this.form.last_modifications= 0
1043 1108
                 }
1109
+
1110
+                this.form.first_total_time = this.form.first_total_time.toString()
1111
+                this.form.sencond_total_time =this.form.sencond_total_time.toString()
1112
+                this.form.third_total_time = this.form.third_total_time.toString()
1113
+                this.form.last_total_time = this.form.last_total_time.toString()
1044 1114
               console.log("this232322323",this.form)
1045 1115
               saveNewAirDisinfect(this.form).then(response=>{
1046 1116
                  if(response.data.state == 1 ){
@@ -1187,7 +1257,7 @@
1187 1257
                     this.form.last_modifications= 0
1188 1258
                 }
1189 1259
 
1190
-              updateAirDisinfect(this.form).then(response=>{
1260
+                updateNewAirDisinfect(this.form).then(response=>{
1191 1261
                 if(response.data.state == 1){
1192 1262
                   var disinfect =  response.data.data.disinfect
1193 1263
                   this.editDialogFormVisible = false
@@ -1228,26 +1298,37 @@
1228 1298
             }, 1);
1229 1299
          },
1230 1300
          setAdminUserES(id) {
1301
+           
1231 1302
             if (id === 0) {
1232 1303
             return ''
1233 1304
             }
1234
-            if (id in this.operatorMaps) {
1305
+            var user_name = ""
1306
+            for(let i=0;i<this.operators.length;i++){
1307
+               if(id == this.operators[i].admin_user_id){
1308
+                  user_name = this.operators[i].url
1309
+               }
1310
+            }
1311
+            return user_name
1312
+            // if (id in this.operatorMaps) {
1235 1313
 
1236
-            return this.operatorMaps[id].url
1314
+            // return this.operatorMaps[id].url
1237 1315
 
1238
-            } else {
1239
-            return ''
1240
-            }
1316
+            // } else {
1317
+            // return ''
1318
+            // }
1241 1319
         },
1242 1320
       
1243 1321
         
1244 1322
         firststartime(val){
1245 1323
             this.form.first_start_time = val
1246 1324
             this.form.first_disinfection_time = this.firstdisinfection_time
1325
+           
1247 1326
         },
1248 1327
         firstendtime(val){
1249 1328
             this.form.first_disinfection_time = this.firstdisinfection_time
1250 1329
             this.form.first_end_time = val
1330
+           
1331
+            this.form.first_total_time = parseFloat(this.first_total_time ) + parseFloat(this.form.first_disinfection_time)
1251 1332
         },
1252 1333
         sencondstarttime(val){
1253 1334
             this.form.sencond_start_time = val
@@ -1256,15 +1337,31 @@
1256 1337
          sencondendtime(val){
1257 1338
             this.form.sencond_end_time = val
1258 1339
             this.form.sencond_disinfection_time = this.senconddisinfection_time
1340
+
1341
+            this.form.sencond_total_time = parseFloat(this.sencond_total_time ) + parseFloat(this.form.sencond_disinfection_time)
1259 1342
         },
1260 1343
         thirdstarttime(val){
1261 1344
             this.form.third_start_time = val
1262 1345
             this.form.third_disinfection_time = this.thirddisinfection_time
1346
+
1347
+          
1263 1348
         },
1264 1349
         thirdendtime(val){
1265 1350
             this.form.third_end_time = val
1266 1351
             this.form.third_disinfection_time = this.thirddisinfection_time
1352
+            this.form.third_total_time = parseFloat(this.third_total_time ) + parseFloat(this.form.third_disinfection_time)
1267 1353
         },
1354
+        laststarttime(val){
1355
+          this.form.last_start_time = val
1356
+          this.form.last_disinfection_time = this.lastdisinfection_time
1357
+        },
1358
+        lastendtime(val){
1359
+          this.form.last_end_time = val
1360
+          this.form.last_disinfection_time = this.lastdisinfection_time   
1361
+
1362
+          this.form.last_total_time = parseFloat(this.last_total_time ) + parseFloat(this.form.last_disinfection_time)
1363
+        }
1364
+
1268 1365
       },
1269 1366
 
1270 1367
     }

+ 312 - 60
src/xt_pages/device/objectTableDisinfectTwo.vue Ver arquivo

@@ -22,7 +22,7 @@
22 22
           </div>
23 23
           <div style="float:right;margin-bottom:10px;">
24 24
             <el-button type="primary" @click="printCard">打印</el-button>
25
-            <el-button type="primary" @click="dialogFormVisible = true">新增</el-button>
25
+            <el-button type="primary" @click="Add">新增</el-button>
26 26
 
27 27
           </div>
28 28
           <div class="tab_air">
@@ -45,6 +45,8 @@
45 45
                 <el-table-column prop="dwaiod" label="责任人" align="center" min-width="60">
46 46
                     <template slot-scope="scope">
47 47
                         {{getName(scope.row.first_creator)}}
48
+
49
+                     
48 50
                     </template>
49 51
                 </el-table-column>
50 52
 
@@ -56,6 +58,7 @@
56 58
                 <el-table-column prop="name" label="责任人" align="center" min-width="60">
57 59
                     <template slot-scope="scope">
58 60
                         {{getName(scope.row.sencond_creator)}}
61
+                       
59 62
                     </template>
60 63
                 </el-table-column>
61 64
 
@@ -67,6 +70,8 @@
67 70
                 <el-table-column prop="city" label="负责人" align="center" min-width="60">
68 71
                     <template slot-scope="scope">
69 72
                         {{getName(scope.row.third_creator)}}
73
+
74
+                   
70 75
                     </template>
71 76
                 </el-table-column>
72 77
 
@@ -78,6 +83,8 @@
78 83
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
79 84
                     <template slot-scope="scope">
80 85
                         {{getName(scope.row.fourth_creator)}}
86
+                    
87
+                  
81 88
                     </template>
82 89
                 </el-table-column>
83 90
 
@@ -89,6 +96,8 @@
89 96
                 <el-table-column prop="province" label="负责人" align="center" min-width="60">
90 97
                     <template slot-scope="scope">
91 98
                         {{getName(scope.row.last_creator)}}
99
+
100
+                    
92 101
                     </template>
93 102
                 </el-table-column>
94 103
                 <el-table-column prop="city" label="操作" align="center" min-width="100">
@@ -136,10 +145,26 @@
136 145
                   </div>
137 146
                   <div class="form_title"><span >湿化瓶</span></div>
138 147
                   <el-form-item label="消毒方式" label-width="110px">
139
-                      <el-input v-model="form.first_disinfection_methods"></el-input>
148
+                      <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
149
+                      <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
150
+                          <el-option
151
+                          v-for="(item,index) in DisinfectionMode"
152
+                          :key="index"
153
+                          :label="item.name"
154
+                          :value="item.name">
155
+                          </el-option>
156
+                      </el-select>
140 157
                   </el-form-item>
141 158
                   <el-form-item label="消毒液" label-width="110px">
142
-                      <el-input v-model="form.first_disinfection_water"></el-input>
159
+                      <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
160
+                      <el-select v-model="form.first_disinfection_water" placeholder="请选择">
161
+                          <el-option
162
+                          v-for="(item,index) in disInfectionWaterList"
163
+                          :key="index"
164
+                          :label="item.name"
165
+                          :value="item.name">
166
+                          </el-option>
167
+                      </el-select>
143 168
                   </el-form-item>
144 169
                   <el-form-item label="消毒时间(h)" label-width="110px">
145 170
                       <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
@@ -166,9 +191,9 @@
166 191
                         style="width:100%;"
167 192
                     ></el-date-picker>
168 193
                   </el-form-item>
169
-                  <el-form-item label="累计时间(h)" label-width="110px">
194
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
170 195
                       <el-input v-model= "form.first_total_time"  ></el-input>
171
-                  </el-form-item>
196
+                  </el-form-item> -->
172 197
                   <el-form-item label="检测合格" label-width="110px">
173 198
                       <div>
174 199
                           <el-radio v-model="form.first_is_check" label="1">是</el-radio>
@@ -198,10 +223,26 @@
198 223
 
199 224
                   <div class="form_title"><span >止血带</span></div>
200 225
                   <el-form-item label="消毒方式" label-width="110px">
201
-                      <el-input v-model="form.sencond_disinfection_methods"></el-input>
226
+                      <!-- <el-input v-model="form.sencond_disinfection_methods"></el-input> -->
227
+                      <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
228
+                          <el-option
229
+                          v-for="(item,index) in DisinfectionMode"
230
+                          :key="index"
231
+                          :label="item.name"
232
+                          :value="item.name">
233
+                          </el-option>
234
+                      </el-select>
202 235
                   </el-form-item>
203 236
                   <el-form-item label="消毒液" label-width="110px">
204
-                      <el-input v-model="form.sencond_disinfection_water"></el-input>
237
+                      <!-- <el-input v-model="form.sencond_disinfection_water"></el-input> -->
238
+                      <el-select v-model="form.sencond_disinfection_water" placeholder="请选择">
239
+                          <el-option
240
+                          v-for="(item,index) in disInfectionWaterList"
241
+                          :key="index"
242
+                          :label="item.name"
243
+                          :value="item.name">
244
+                          </el-option>
245
+                      </el-select>
205 246
                   </el-form-item>
206 247
                   <el-form-item label="消毒时间(h)" label-width="110px">
207 248
                       <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
@@ -228,9 +269,9 @@
228 269
                         style="width:100%;"
229 270
                     ></el-date-picker>
230 271
                   </el-form-item>
231
-                  <el-form-item label="累计时间(h)" label-width="110px">
272
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
232 273
                       <el-input v-model= "form.sencond_total_time"></el-input>
233
-                  </el-form-item>
274
+                  </el-form-item> -->
234 275
                   <el-form-item label="检测合格" label-width="110px">
235 276
                       <div>
236 277
                           <el-radio v-model="form.sencond_is_check" label="1">是</el-radio>
@@ -260,10 +301,26 @@
260 301
 
261 302
                   <div class="form_title"><span >医疗垃圾桶</span></div>
262 303
                   <el-form-item label="消毒方式" label-width="110px">
263
-                      <el-input v-model="form.third_disinfection_methods"></el-input>
304
+                      <!-- <el-input v-model="form.third_disinfection_methods"></el-input> -->
305
+                      <el-select v-model="form.third_disinfection_methods" placeholder="请选择">
306
+                          <el-option
307
+                          v-for="(item,index) in DisinfectionMode"
308
+                          :key="index"
309
+                          :label="item.name"
310
+                          :value="item.name">
311
+                          </el-option>
312
+                      </el-select>
264 313
                   </el-form-item>
265 314
                   <el-form-item label="消毒液" label-width="110px">
266
-                      <el-input v-model="form.third_disinfection_water"></el-input>
315
+                      <!-- <el-input v-model="form.third_disinfection_water"></el-input> -->
316
+                      <el-select v-model="form.third_disinfection_water" placeholder="请选择">
317
+                          <el-option
318
+                          v-for="(item,index) in disInfectionWaterList"
319
+                          :key="index"
320
+                          :label="item.name"
321
+                          :value="item.name">
322
+                          </el-option>
323
+                      </el-select>
267 324
                   </el-form-item>
268 325
                   <el-form-item label="消毒时间(h)" label-width="110px">
269 326
                       <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
@@ -290,9 +347,9 @@
290 347
                         style="width:100%;"
291 348
                     ></el-date-picker>
292 349
                   </el-form-item>
293
-                  <el-form-item label="累计时间(h)" label-width="110px">
350
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
294 351
                       <el-input v-model= "form.third_total_time"  ></el-input>
295
-                  </el-form-item>
352
+                  </el-form-item> -->
296 353
                   <el-form-item label="检测合格" label-width="110px" >
297 354
                       <div>
298 355
                           <el-radio v-model="form.third_is_check" label="1">是</el-radio>
@@ -322,10 +379,26 @@
322 379
 
323 380
                   <div class="form_title"><span >体温计</span></div>
324 381
                   <el-form-item label="消毒方式" label-width="110px">
325
-                      <el-input v-model="form.fourth_disinfection_methods"></el-input>
382
+                      <!-- <el-input v-model="form.fourth_disinfection_methods"></el-input> -->
383
+                      <el-select v-model="form.fourth_disinfection_methods" placeholder="请选择">
384
+                          <el-option
385
+                          v-for="(item,index) in DisinfectionMode"
386
+                          :key="index"
387
+                          :label="item.name"
388
+                          :value="item.name">
389
+                          </el-option>
390
+                      </el-select>
326 391
                   </el-form-item>
327 392
                   <el-form-item label="消毒液" label-width="110px">
328
-                      <el-input v-model="form.fourth_disinfection_water"></el-input>
393
+                      <!-- <el-input v-model="form.fourth_disinfection_water"></el-input> -->
394
+                      <el-select v-model="form.fourth_disinfection_water" placeholder="请选择">
395
+                          <el-option
396
+                          v-for="(item,index) in disInfectionWaterList"
397
+                          :key="index"
398
+                          :label="item.name"
399
+                          :value="item.name">
400
+                          </el-option>
401
+                      </el-select>
329 402
                   </el-form-item>
330 403
                   <el-form-item label="消毒时间(h)" label-width="110px">
331 404
                       <el-input v-model="form.fourth_disinfection_time " :disabled="true"></el-input>
@@ -352,9 +425,9 @@
352 425
                         style="width:100%;"
353 426
                     ></el-date-picker>
354 427
                   </el-form-item>
355
-                  <el-form-item label="累计时间(h)" label-width="110px">
428
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
356 429
                       <el-input v-model= "form.fourth_total_time"  ></el-input>
357
-                  </el-form-item>
430
+                  </el-form-item> -->
358 431
                   <el-form-item label="检测合格" label-width="110px">
359 432
                       <div>
360 433
                           <el-radio v-model="form.fourth_is_check" label="1">是</el-radio>
@@ -384,10 +457,26 @@
384 457
 
385 458
                   <div class="form_title"><span >体温枪</span></div>
386 459
                   <el-form-item label="消毒方式" label-width="110px">
387
-                      <el-input v-model="form.last_disinfection_methods"></el-input>
460
+                      <!-- <el-input v-model="form.last_disinfection_methods"></el-input> -->
461
+                      <el-select v-model="form.last_disinfection_methods" placeholder="请选择">
462
+                          <el-option
463
+                          v-for="(item,index) in DisinfectionMode"
464
+                          :key="index"
465
+                          :label="item.name"
466
+                          :value="item.name">
467
+                          </el-option>
468
+                      </el-select>
388 469
                   </el-form-item>
389 470
                   <el-form-item label="消毒液" label-width="110px">
390
-                      <el-input v-model="form.last_disinfection_water"></el-input>
471
+                      <!-- <el-input v-model="form.last_disinfection_water"></el-input> -->
472
+                      <el-select v-model="form.last_disinfection_water" placeholder="请选择">
473
+                          <el-option
474
+                          v-for="(item,index) in disInfectionWaterList"
475
+                          :key="index"
476
+                          :label="item.name"
477
+                          :value="item.name">
478
+                          </el-option>
479
+                      </el-select>
391 480
                   </el-form-item>
392 481
                   <el-form-item label="消毒时间(h)" label-width="110px">
393 482
                       <el-input v-model="form.last_disinfection_time " :disabled="true"></el-input>
@@ -414,9 +503,9 @@
414 503
                         style="width:100%;"
415 504
                     ></el-date-picker>
416 505
                   </el-form-item>
417
-                  <el-form-item label="累计时间(h)" label-width="110px">
506
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
418 507
                       <el-input v-model= "form.last_total_time"  ></el-input>
419
-                  </el-form-item>
508
+                  </el-form-item> -->
420 509
                   <el-form-item label="检测合格" label-width="110px">
421 510
                       <div>
422 511
                           <el-radio v-model="form.last_is_check" label="1">是</el-radio>
@@ -469,10 +558,26 @@
469 558
                   </div>
470 559
                   <div class="form_title"><span >湿化瓶</span></div>
471 560
                   <el-form-item label="消毒方式" label-width="110px">
472
-                      <el-input v-model="form.first_disinfection_methods"></el-input>
561
+                      <!-- <el-input v-model="form.first_disinfection_methods"></el-input> -->
562
+                      <el-select v-model="form.first_disinfection_methods" placeholder="请选择">
563
+                          <el-option
564
+                          v-for="(item,index) in DisinfectionMode"
565
+                          :key="index"
566
+                          :label="item.name"
567
+                          :value="item.name">
568
+                          </el-option>
569
+                      </el-select>
473 570
                   </el-form-item>
474 571
                   <el-form-item label="消毒液" label-width="110px">
475
-                      <el-input v-model="form.first_disinfection_water"></el-input>
572
+                      <!-- <el-input v-model="form.first_disinfection_water"></el-input> -->
573
+                      <el-select v-model="form.first_disinfection_water" placeholder="请选择">
574
+                          <el-option
575
+                          v-for="(item,index) in disInfectionWaterList"
576
+                          :key="index"
577
+                          :label="item.name"
578
+                          :value="item.name">
579
+                          </el-option>
580
+                      </el-select>
476 581
                   </el-form-item>
477 582
                   <el-form-item label="消毒时间(h)" label-width="110px">
478 583
                       <el-input v-model="form.first_disinfection_time " :disabled="true"></el-input>
@@ -499,9 +604,9 @@
499 604
                         style="width:100%;"
500 605
                     ></el-date-picker>
501 606
                   </el-form-item>
502
-                  <el-form-item label="累计时间(h)" label-width="110px">
607
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
503 608
                       <el-input v-model= "form.first_total_time"  ></el-input>
504
-                  </el-form-item>
609
+                  </el-form-item> -->
505 610
                   <el-form-item label="检测合格" label-width="110px">
506 611
                       <div>
507 612
                           <el-radio v-model="form.first_is_check" label="1">是</el-radio>
@@ -531,10 +636,26 @@
531 636
 
532 637
                   <div class="form_title"><span >止血带</span></div>
533 638
                   <el-form-item label="消毒方式" label-width="110px">
534
-                      <el-input v-model="form.sencond_disinfection_methods"></el-input>
639
+                      <!-- <el-input v-model="form.sencond_disinfection_methods"></el-input> -->
640
+                      <el-select v-model="form.sencond_disinfection_methods" placeholder="请选择">
641
+                          <el-option
642
+                          v-for="(item,index) in DisinfectionMode"
643
+                          :key="index"
644
+                          :label="item.name"
645
+                          :value="item.name">
646
+                          </el-option>
647
+                      </el-select>
535 648
                   </el-form-item>
536 649
                   <el-form-item label="消毒液" label-width="110px">
537
-                      <el-input v-model="form.sencond_disinfection_water"></el-input>
650
+                      <!-- <el-input v-model="form.sencond_disinfection_water"></el-input> -->
651
+                      <el-select v-model="form.sencond_disinfection_water" placeholder="请选择">
652
+                          <el-option
653
+                          v-for="(item,index) in disInfectionWaterList"
654
+                          :key="index"
655
+                          :label="item.name"
656
+                          :value="item.name">
657
+                          </el-option>
658
+                      </el-select>
538 659
                   </el-form-item>
539 660
                   <el-form-item label="消毒时间(h)" label-width="110px">
540 661
                       <el-input v-model="form.sencond_disinfection_time " :disabled="true"></el-input>
@@ -561,9 +682,9 @@
561 682
                         style="width:100%;"
562 683
                     ></el-date-picker>
563 684
                   </el-form-item>
564
-                  <el-form-item label="累计时间(h)" label-width="110px">
685
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
565 686
                       <el-input v-model= "form.sencond_total_time"></el-input>
566
-                  </el-form-item>
687
+                  </el-form-item> -->
567 688
                   <el-form-item label="检测合格" label-width="110px">
568 689
                       <div>
569 690
                           <el-radio v-model="form.sencond_is_check" label="1">是</el-radio>
@@ -593,10 +714,26 @@
593 714
 
594 715
                   <div class="form_title"><span >医疗垃圾桶</span></div>
595 716
                   <el-form-item label="消毒方式" label-width="110px">
596
-                      <el-input v-model="form.third_disinfection_methods"></el-input>
717
+                      <!-- <el-input v-model="form.third_disinfection_methods"></el-input> -->
718
+                      <el-select v-model="form.third_disinfection_methods" placeholder="请选择">
719
+                          <el-option
720
+                          v-for="(item,index) in DisinfectionMode"
721
+                          :key="index"
722
+                          :label="item.name"
723
+                          :value="item.name">
724
+                          </el-option>
725
+                      </el-select>
597 726
                   </el-form-item>
598 727
                   <el-form-item label="消毒液" label-width="110px">
599
-                      <el-input v-model="form.third_disinfection_water"></el-input>
728
+                      <!-- <el-input v-model="form.third_disinfection_water"></el-input> -->
729
+                      <el-select v-model="form.third_disinfection_water" placeholder="请选择">
730
+                          <el-option
731
+                          v-for="(item,index) in disInfectionWaterList"
732
+                          :key="index"
733
+                          :label="item.name"
734
+                          :value="item.name">
735
+                          </el-option>
736
+                      </el-select>
600 737
                   </el-form-item>
601 738
                   <el-form-item label="消毒时间(h)" label-width="110px">
602 739
                       <el-input v-model="form.third_disinfection_time " :disabled="true"></el-input>
@@ -623,9 +760,9 @@
623 760
                         style="width:100%;"
624 761
                     ></el-date-picker>
625 762
                   </el-form-item>
626
-                  <el-form-item label="累计时间(h)" label-width="110px">
763
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
627 764
                       <el-input v-model= "form.third_total_time"  ></el-input>
628
-                  </el-form-item>
765
+                  </el-form-item> -->
629 766
                   <el-form-item label="检测合格" label-width="110px" >
630 767
                       <div>
631 768
                           <el-radio v-model="form.third_is_check" label="1">是</el-radio>
@@ -655,10 +792,26 @@
655 792
 
656 793
                   <div class="form_title"><span >体温计</span></div>
657 794
                   <el-form-item label="消毒方式" label-width="110px">
658
-                      <el-input v-model="form.fourth_disinfection_methods"></el-input>
795
+                      <!-- <el-input v-model="form.fourth_disinfection_methods"></el-input> -->
796
+                      <el-select v-model="form.fourth_disinfection_methods" placeholder="请选择">
797
+                          <el-option
798
+                          v-for="(item,index) in DisinfectionMode"
799
+                          :key="index"
800
+                          :label="item.name"
801
+                          :value="item.name">
802
+                          </el-option>
803
+                      </el-select>
659 804
                   </el-form-item>
660 805
                   <el-form-item label="消毒液" label-width="110px">
661
-                      <el-input v-model="form.fourth_disinfection_water"></el-input>
806
+                      <!-- <el-input v-model="form.fourth_disinfection_water"></el-input> -->
807
+                      <el-select v-model="form.fourth_disinfection_water" placeholder="请选择">
808
+                          <el-option
809
+                          v-for="(item,index) in disInfectionWaterList"
810
+                          :key="index"
811
+                          :label="item.name"
812
+                          :value="item.name">
813
+                          </el-option>
814
+                      </el-select>
662 815
                   </el-form-item>
663 816
                   <el-form-item label="消毒时间(h)" label-width="110px">
664 817
                       <el-input v-model="form.fourth_disinfection_time " :disabled="true"></el-input>
@@ -685,9 +838,9 @@
685 838
                         style="width:100%;"
686 839
                     ></el-date-picker>
687 840
                   </el-form-item>
688
-                  <el-form-item label="累计时间(h)" label-width="110px">
841
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
689 842
                       <el-input v-model= "form.fourth_total_time"  ></el-input>
690
-                  </el-form-item>
843
+                  </el-form-item> -->
691 844
                   <el-form-item label="检测合格" label-width="110px">
692 845
                       <div>
693 846
                           <el-radio v-model="form.fourth_is_check" label="1">是</el-radio>
@@ -717,10 +870,26 @@
717 870
 
718 871
                   <div class="form_title"><span >体温枪</span></div>
719 872
                   <el-form-item label="消毒方式" label-width="110px">
720
-                      <el-input v-model="form.last_disinfection_methods"></el-input>
873
+                      <!-- <el-input v-model="form.last_disinfection_methods"></el-input> -->
874
+                      <el-select v-model="form.last_disinfection_methods" placeholder="请选择">
875
+                          <el-option
876
+                          v-for="(item,index) in DisinfectionMode"
877
+                          :key="index"
878
+                          :label="item.name"
879
+                          :value="item.name">
880
+                          </el-option>
881
+                      </el-select>
721 882
                   </el-form-item>
722 883
                   <el-form-item label="消毒液" label-width="110px">
723
-                      <el-input v-model="form.last_disinfection_water"></el-input>
884
+                      <!-- <el-input v-model="form.last_disinfection_water"></el-input> -->
885
+                      <el-select v-model="form.last_disinfection_water" placeholder="请选择">
886
+                          <el-option
887
+                          v-for="(item,index) in disInfectionWaterList"
888
+                          :key="index"
889
+                          :label="item.name"
890
+                          :value="item.name">
891
+                          </el-option>
892
+                      </el-select>
724 893
                   </el-form-item>
725 894
                   <el-form-item label="消毒时间(h)" label-width="110px">
726 895
                       <el-input v-model="form.last_disinfection_time " :disabled="true"></el-input>
@@ -747,9 +916,9 @@
747 916
                         style="width:100%;"
748 917
                     ></el-date-picker>
749 918
                   </el-form-item>
750
-                  <el-form-item label="累计时间(h)" label-width="110px">
919
+                  <!-- <el-form-item label="累计时间(h)" label-width="110px">
751 920
                       <el-input v-model= "form.last_total_time"  ></el-input>
752
-                  </el-form-item>
921
+                  </el-form-item> -->
753 922
                   <el-form-item label="检测合格" label-width="110px">
754 923
                       <div>
755 924
                           <el-radio v-model="form.last_is_check" label="1">是</el-radio>
@@ -821,15 +990,50 @@
821 990
                             <tr v-for="(item,index) in tableData" :key="index">
822 991
                                 <td>{{getTimes(item.record_date) }}</td>
823 992
                                 <td>{{item.first_total_time}}</td>
824
-                                <td>{{getName(item.first_creator)}}</td>
993
+                                <td>
994
+                                <span v-if="setAdminUserES(item.first_creator?item.last_creator:item.first_creator) == ''">
995
+                                   {{getName(item.first_creator)}}
996
+                                  </span>
997
+                                <span v-else>
998
+                                    <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
999
+                                </span>   
1000
+                                </td>
825 1001
                                 <td>{{item.sencond_total_time}}</td>
826
-                                <td>{{getName(item.sencond_creator)}}</td>
1002
+                                <td>
1003
+                                 <span v-if="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator) == ''">
1004
+                                   {{getName(item.sencond_creator)}}
1005
+                                  </span>
1006
+                                <span v-else>
1007
+                                    <img style="height:30px;" :src="setAdminUserES(item.sencond_creator?item.sencond_creator:item.sencond_creator)" alt="" srcset="">
1008
+                                </span>   
1009
+                                </td>
827 1010
                                 <td>{{getTimes(item.third_total_time) }}</td>
828
-                                <td>{{getName(item.third_creator) }}</td>
1011
+                                <td>
1012
+                                    <span v-if="setAdminUserES(item.third_creator?item.third_creator:item.third_creator) == ''">
1013
+                                   {{getName(item.third_creator)}}
1014
+                                  </span>
1015
+                                <span v-else>
1016
+                                    <img style="height:30px;" :src="setAdminUserES(item.third_creator?item.third_creator:item.third_creator)" alt="" srcset="">
1017
+                                </span>   
1018
+                                </td>
829 1019
                                 <td>{{ getTimes(item.fourth_total_time) }}</td>
830
-                                <td>{{getName(item.fourth_creator) }}</td>
1020
+                                <td>
1021
+                                    <span v-if="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator) == ''">
1022
+                                   {{getName(item.fourth_creator)}}
1023
+                                  </span>
1024
+                                <span v-else>
1025
+                                    <img style="height:30px;" :src="setAdminUserES(item.fourth_creator?item.fourth_creator:item.fourth_creator)" alt="" srcset="">
1026
+                                </span>   
1027
+                                </td>
831 1028
                                 <td>{{ getTimes(item.last_total_time) }}</td>
832
-                                <td>{{ getName(item.last_creator) }}</td>
1029
+                                <td>
1030
+                                    <span v-if="setAdminUserES(item.last_creator?item.last_creator:item.last_creator) == ''">
1031
+                                   {{getName(item.last_creator)}}
1032
+                                  </span>
1033
+                                <span v-else>
1034
+                                    <img style="height:30px;" :src="setAdminUserES(item.last_creator?item.last_creator:item.last_creator)" alt="" srcset="">
1035
+                                </span>   
1036
+                                </td>
833 1037
                               
834 1038
                             </tr>
835 1039
                          </table>   
@@ -851,7 +1055,8 @@
851 1055
         getObjectTableDisInfectList,
852 1056
         getObjectTableDisInfectByIdList,
853 1057
         updateObjectTableDisinfect, 
854
-        deleteObjectTableDisinfect
1058
+        deleteObjectTableDisinfect,
1059
+        getObjectTableDisinfectLongTime
855 1060
     } from "@/api/device"
856 1061
     import { uParseTime } from '@/utils/tools'
857 1062
     const moment = require('moment')
@@ -877,8 +1082,8 @@
877 1082
             first_disinfection_water:"",// 消毒液
878 1083
             first_disinfection_methods:"",//消毒方式
879 1084
             first_disinfection_time:"",//消毒时长
880
-            first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
881
-            first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
1085
+            first_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
1086
+            first_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
882 1087
             first_total_time:"",//累计时间
883 1088
             first_is_check:"1",//检验合格
884 1089
             first_modifications:"",//修改标志
@@ -887,8 +1092,8 @@
887 1092
             sencond_disinfection_water:"",// 消毒液
888 1093
             sencond_disinfection_methods:"",//消毒方式
889 1094
             sencond_disinfection_time:"",//消毒时长
890
-            sencond_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
891
-            sencond_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
1095
+            sencond_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
1096
+            sencond_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
892 1097
             sencond_total_time:"",//累计时间
893 1098
             sencond_is_check:"1",//检验合格
894 1099
             sencond_modifications:"",//修改标志
@@ -897,8 +1102,8 @@
897 1102
             third_disinfection_water:"",// 消毒液
898 1103
             third_disinfection_methods:"",//消毒方式
899 1104
             third_disinfection_time:"",//消毒时长
900
-            third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
901
-            third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
1105
+            third_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
1106
+            third_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
902 1107
             third_total_time:"",//累计时间
903 1108
             third_is_check:"1",//检验合格
904 1109
             third_modifications:"",//修改标志
@@ -907,8 +1112,8 @@
907 1112
             fourth_disinfection_water:"",// 消毒液
908 1113
             fourth_disinfection_methods:"",//消毒方式
909 1114
             fourth_disinfection_time:"",//消毒时长
910
-            fourth_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
911
-            fourth_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
1115
+            fourth_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
1116
+            fourth_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
912 1117
             fourth_total_time:"",//累计时间
913 1118
             fourth_is_check:"1",//检验合格
914 1119
             fourth_modifications:"",//修改标志
@@ -917,8 +1122,8 @@
917 1122
             last_disinfection_water:"",// 消毒液
918 1123
             last_disinfection_methods:"",//消毒方式
919 1124
             last_disinfection_time:"",//消毒时长
920
-            last_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//开始时间
921
-            last_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm:ss'),//结束时间
1125
+            last_start_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//开始时间
1126
+            last_end_time:moment(new Date()).format('YYYY-MM-DD HH:mm'),//结束时间
922 1127
             last_total_time:"",//累计时间
923 1128
             last_is_check:"1",//检验合格
924 1129
             last_modifications:"",//修改标志
@@ -941,6 +1146,26 @@
941 1146
          total:0,
942 1147
          tableData: [],
943 1148
          hiddenShow:false,
1149
+         disInfectionWaterList:[
1150
+         { id: 1, name: "0.22%季铵盐" },
1151
+         { id: 2, name: "500mg/l含氯消毒剂" },
1152
+         { id: 3, name: "1000mg/l含氯消毒剂" },
1153
+         { id: 4, name: "1500mg/l含氯消毒剂" },
1154
+         { id: 5, name: "消毒湿巾" }
1155
+         ],
1156
+         DisinfectionMode: [
1157
+            { id: 1, name: "擦拭" },
1158
+            { id: 2, name: "浸泡" },
1159
+            { id: 3, name: "喷洒" }
1160
+         ],
1161
+         operators: [],
1162
+         operatorMaps:{},
1163
+         first_total_time:0,
1164
+         sencond_total_time:0,
1165
+         third_total_time:0,
1166
+         fourth_total_time:0,
1167
+         last_total_time:0,
1168
+         
944 1169
         }
945 1170
       },
946 1171
       created(){
@@ -1024,6 +1249,7 @@
1024 1249
                var list = response.data.data.list
1025 1250
                console.log("list222222",list)
1026 1251
                this.docList = list
1252
+               this.operators = response.data.data.operators
1027 1253
             }
1028 1254
           })  
1029 1255
         },
@@ -1156,7 +1382,7 @@
1156 1382
 
1157 1383
               this.form.fourth_disinfection_water = list.third_disinfection_water?list.third_disinfection_water:""
1158 1384
               this.form.fourth_disinfection_methods = list.third_disinfection_methods?list.third_disinfection_methods:""
1159
-              this.form.fourth_disinfection_time = list.third_disinfection_time?list.third_disinfection_time:""
1385
+              this.form.fourth_disinfection_time = list.fourth_disinfection_time?list.fourth_disinfection_time:""
1160 1386
               this.form.fourth_start_time  =this.getTimeThree(list.third_start_time)
1161 1387
               this.form.fourth_end_time = this.getTimeThree(list.third_end_time)
1162 1388
               this.form.fourth_total_time = list.third_total_time? list.third_total_time:""
@@ -1300,8 +1526,34 @@
1300 1526
         lastendtime(val){
1301 1527
             this.form.last_end_time = val
1302 1528
             this.form.last_disinfection_time = this.lastdisinfection_time
1303
-        }
1304
-        
1529
+        },
1530
+        setAdminUserES(id) {
1531
+           
1532
+           if (id === 0) {
1533
+           return ''
1534
+           }
1535
+           var user_name = ""
1536
+           for(let i=0;i<this.operators.length;i++){
1537
+              if(id == this.operators[i].admin_user_id){
1538
+                 user_name = this.operators[i].url
1539
+              }
1540
+           }
1541
+           return user_name
1542
+           // if (id in this.operatorMaps) {
1543
+
1544
+           // return this.operatorMaps[id].url
1545
+
1546
+           // } else {
1547
+           // return ''
1548
+           // }
1549
+       },
1550
+       Add(){
1551
+        getObjectTableDisinfectLongTime().then(response=>{
1552
+           if(response.data.state == 1){
1553
+              this.dialogFormVisible = true
1554
+           }
1555
+        })
1556
+       }  
1305 1557
       }
1306 1558
     }
1307 1559
   </script>

+ 2 - 2
src/xt_pages/management/components/UserForm.vue Ver arquivo

@@ -684,7 +684,7 @@
684 684
               >桶
685 685
             </el-form-item>
686 686
             <span style="color:red" v-show="showone"
687
-              >您已个月未更换,请注意检测</span
687
+              >您已个月未更换,请注意检测</span
688 688
             >
689 689
           </el-col>
690 690
         </el-row>
@@ -750,7 +750,7 @@
750 750
             >
751 751
               <el-checkbox v-model="userform.clean">清洁:</el-checkbox>
752 752
               <span style="color:red" v-show="showone"
753
-                >您已个月未清洁,请检查</span
753
+                >您已个月未清洁,请检查</span
754 754
               >
755 755
             </el-form-item>
756 756
           </el-col>

+ 4 - 4
src/xt_pages/management/home.vue Ver arquivo

@@ -1157,7 +1157,7 @@
1157 1157
                                     <el-form-item style="visibility: hidden;" label="①机表"></el-form-item>
1158 1158
                                   </el-col>
1159 1159
                                   <el-col :span="10">
1160
-                                     <el-form-item label="消毒状态:" required prop="disinfection">
1160
+                                     <el-form-item label="消毒状态:">
1161 1161
                                         <el-select v-model="userform.disinfection" placeholder="请选择" >
1162 1162
                                            <el-option
1163 1163
                                             v-for="item in disinfection"
@@ -1213,7 +1213,7 @@
1213 1213
                                     <el-form-item style="visibility: hidden;" label="①机表"></el-form-item>
1214 1214
                                   </el-col>
1215 1215
                                    <el-col :span="10">
1216
-                                     <el-form-item label="消毒状态:" required prop="disinfection_status">
1216
+                                     <el-form-item label="消毒状态:">
1217 1217
                                         <el-select v-model="userform.disinfection_status" placeholder="请选择" >
1218 1218
                                            <el-option
1219 1219
                                             v-for="item in disinfection"
@@ -1290,7 +1290,7 @@
1290 1290
                                       <el-form-item label="规格:">
1291 1291
                                           <el-input style="width:100px" v-model="userform.norms"></el-input><span style="color:#606266;">桶</span>
1292 1292
                                       </el-form-item>
1293
-                                       <span class="warn" v-show="warnShow">您已个月未更换,请注意检测</span>
1293
+                                       <span class="warn" v-show="warnShow">您已个月未更换,请注意检测</span>
1294 1294
                                    </el-col>
1295 1295
                                 </el-row>
1296 1296
                                 <el-row>
@@ -1334,7 +1334,7 @@
1334 1334
                                    <el-col :span="8">
1335 1335
                                       <el-form-item label="空气滤网清洁:">
1336 1336
                                         <el-checkbox v-model="userform.clean">清洁</el-checkbox>
1337
-                                      <span class="warn" v-show="warnShowThree">您已个月未清洁,请检查</span>
1337
+                                      <span class="warn" v-show="warnShowThree">您已个月未清洁,请检查</span>
1338 1338
                                       </el-form-item>
1339 1339
                                      </el-col>
1340 1340
                                    <el-col :span="8">

+ 23 - 10
src/xt_pages/outpatientDoctorStation/template/printOne.vue Ver arquivo

@@ -126,7 +126,7 @@
126 126
           </div>
127 127
           <div style="text-align: center">(以下空白)</div>
128 128
         </div>
129
-        <div class="doctorBox" v-if="org_id != 10188">
129
+        <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
130 130
           <p v-if="org_id == 10217 || org_id == 0">
131 131
             医师:
132 132
             <span
@@ -154,15 +154,17 @@
154 154
           </p>
155 155
           <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
156 156
         </div>
157
-        <div class="doctorBoxtwo" v-if="org_id == 10188">
158
-          <p >审核、调配:</p>
159
-          <p style="margin-right: 43px">药师:</p>
160
-        </div>
161
-        <div class="doctorBox" v-if="org_id == 10188">
162
-          <p >核对、发药:</p>
157
+        
158
+        <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">
163 159
           <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
164 160
         </div>
165
-        <div class="actionBar" v-if="org_id != 10188">
161
+        <!-- <div class="doctorBoxtwo" v-if="org_id == 10188 || org_id == 0">
162
+          <p >审核、调配:</p>
163
+          <p >核对、发药:</p>
164
+          <p style="margin-right: 43px">药师:</p>
165
+        </div> -->
166
+
167
+        <div class="actionBar" v-if="org_id != 10188 && org_id != 0">
166 168
           <!-- <p>审核:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
167 169
                  <p>配对:</p>
168 170
                  <p>核对:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
@@ -183,8 +185,9 @@
183 185
           <!--            <p>药费:466.2元</p>-->
184 186
         </div>
185 187
         <div class="actionBar" v-else>
186
-
187
-          <p>
188
+          <p >审核、调配:</p>
189
+          <p >核对、发药:</p>
190
+          <p >
188 191
             药费:{{
189 192
               getTotalOne(item.id).toFixed(2)
190 193
                 ? getTotalOne(item.id).toFixed(2)
@@ -525,15 +528,25 @@ export default {
525 528
 .doctorBox {
526 529
   display: flex;
527 530
   justify-content: space-between;
531
+  // justify-self: end;
528 532
   padding: 0 10px;
529 533
   line-height: 24px;
530 534
   border-bottom: 2px solid #000;
531 535
 }
536
+.doctorBoxs{
537
+  width: 100%;
538
+  margin-right: 30px;
539
+  text-align: right;
540
+  padding: 0 10px;
541
+  line-height: 24px;
542
+  
543
+}
532 544
 .doctorBoxtwo {
533 545
   display: flex;
534 546
   justify-content: space-between;
535 547
   padding: 0 10px;
536 548
   line-height: 24px;
549
+
537 550
 }
538 551
 .actionBar {
539 552
   display: flex;

+ 1 - 1
src/xt_pages/outpatientTool/detailPrint.vue Ver arquivo

@@ -18,7 +18,7 @@
18 18
           <tr>
19 19
             <td>患者姓名:{{ patient.name }}</td>
20 20
             <td>性别:{{ patient.gender == 1 ? "男" : "女" }}</td>
21
-            <td>性别:{{patient.id_card_no}}</td>
21
+            <td>身份证:{{patient.id_card_no}}</td>
22 22
 
23 23
             <TD>年龄:{{ getAge(patient.id_card_no)?getAge(patient.id_card_no)+'岁':''}}</TD>
24 24
             <td>结算类别: