|
@@ -23,7 +23,7 @@
|
23
|
23
|
<div style="float:right;margin-bottom:10px;">
|
24
|
24
|
<el-button type="primary" @click="dialogFormVisible = true">打印</el-button>
|
25
|
25
|
<el-button type="primary" @click="dialogFormVisible = true">新增</el-button>
|
26
|
|
-
|
|
26
|
+
|
27
|
27
|
</div>
|
28
|
28
|
<div class="tab_air">
|
29
|
29
|
<el-table :data="tableData" :fit="true" stripe>
|
|
@@ -71,7 +71,7 @@
|
71
|
71
|
@current-change="handleCurrentChange" -->
|
72
|
72
|
</el-pagination>
|
73
|
73
|
</div>
|
74
|
|
-
|
|
74
|
+
|
75
|
75
|
<!-- 新增 -->
|
76
|
76
|
<el-dialog
|
77
|
77
|
class="centerDialog"
|
|
@@ -135,7 +135,7 @@
|
135
|
135
|
:value="item.id">
|
136
|
136
|
</el-option>
|
137
|
137
|
</el-select>
|
138
|
|
- </el-form-item>
|
|
138
|
+ </el-form-item>
|
139
|
139
|
<el-form-item label="责任人" label-width="110px" required prop="creator">
|
140
|
140
|
<el-select v-model="form.creator" placeholder="请选择">
|
141
|
141
|
<el-option
|
|
@@ -192,7 +192,7 @@
|
192
|
192
|
:value="item.id">
|
193
|
193
|
</el-option>
|
194
|
194
|
</el-select>
|
195
|
|
- </el-form-item>
|
|
195
|
+ </el-form-item>
|
196
|
196
|
<el-form-item label="责任人" label-width="110px" required prop="creator">
|
197
|
197
|
<el-select v-model="form.creator" placeholder="请选择">
|
198
|
198
|
<el-option
|
|
@@ -249,7 +249,7 @@
|
249
|
249
|
:value="item.id">
|
250
|
250
|
</el-option>
|
251
|
251
|
</el-select>
|
252
|
|
- </el-form-item>
|
|
252
|
+ </el-form-item>
|
253
|
253
|
<el-form-item label="责任人" label-width="110px" required prop="creator">
|
254
|
254
|
<el-select v-model="form.creator" placeholder="请选择">
|
255
|
255
|
<el-option
|
|
@@ -297,7 +297,7 @@
|
297
|
297
|
:value="item.id">
|
298
|
298
|
</el-option>
|
299
|
299
|
</el-select>
|
300
|
|
- </el-form-item>
|
|
300
|
+ </el-form-item>
|
301
|
301
|
<el-form-item label="责任人" label-width="110px" prop="creator">
|
302
|
302
|
<el-select v-model="form.creator" placeholder="请选择">
|
303
|
303
|
<el-option
|
|
@@ -308,14 +308,14 @@
|
308
|
308
|
</el-option>
|
309
|
309
|
</el-select>
|
310
|
310
|
</el-form-item>
|
311
|
|
-
|
|
311
|
+
|
312
|
312
|
</el-form>
|
313
|
313
|
<div slot="footer" class="dialog-footer">
|
314
|
314
|
<el-button @click="dialogFormVisible = false">取 消</el-button>
|
315
|
315
|
<el-button type="primary" @click="saveAirDisinfect('form')">保 存</el-button>
|
316
|
316
|
</div>
|
317
|
317
|
</el-dialog>
|
318
|
|
-
|
|
318
|
+
|
319
|
319
|
<!-- 编辑 -->
|
320
|
320
|
<el-dialog
|
321
|
321
|
class="centerDialog"
|
|
@@ -379,7 +379,7 @@
|
379
|
379
|
:value="item.id">
|
380
|
380
|
</el-option>
|
381
|
381
|
</el-select>
|
382
|
|
- </el-form-item>
|
|
382
|
+ </el-form-item>
|
383
|
383
|
<el-form-item label="责任人" label-width="110px" required prop="creator">
|
384
|
384
|
<el-select v-model="form.creator" placeholder="请选择">
|
385
|
385
|
<el-option
|
|
@@ -436,7 +436,7 @@
|
436
|
436
|
:value="item.id">
|
437
|
437
|
</el-option>
|
438
|
438
|
</el-select>
|
439
|
|
- </el-form-item>
|
|
439
|
+ </el-form-item>
|
440
|
440
|
<el-form-item label="责任人" label-width="110px" required prop="creator">
|
441
|
441
|
<el-select v-model="form.creator" placeholder="请选择">
|
442
|
442
|
<el-option
|
|
@@ -493,7 +493,7 @@
|
493
|
493
|
:value="item.id">
|
494
|
494
|
</el-option>
|
495
|
495
|
</el-select>
|
496
|
|
- </el-form-item>
|
|
496
|
+ </el-form-item>
|
497
|
497
|
<el-form-item label="责任人" label-width="110px" required prop="creator">
|
498
|
498
|
<el-select v-model="form.creator" placeholder="请选择">
|
499
|
499
|
<el-option
|
|
@@ -541,7 +541,7 @@
|
541
|
541
|
:value="item.id">
|
542
|
542
|
</el-option>
|
543
|
543
|
</el-select>
|
544
|
|
- </el-form-item>
|
|
544
|
+ </el-form-item>
|
545
|
545
|
<el-form-item label="责任人" label-width="110px" required prop="creator">
|
546
|
546
|
<el-select v-model="form.creator" placeholder="请选择">
|
547
|
547
|
<el-option
|
|
@@ -552,7 +552,7 @@
|
552
|
552
|
</el-option>
|
553
|
553
|
</el-select>
|
554
|
554
|
</el-form-item>
|
555
|
|
-
|
|
555
|
+
|
556
|
556
|
</el-form>
|
557
|
557
|
<div slot="footer" class="dialog-footer">
|
558
|
558
|
<el-button @click="editDialogFormVisible = false">取 消</el-button>
|
|
@@ -562,15 +562,15 @@
|
562
|
562
|
</div>
|
563
|
563
|
</div>
|
564
|
564
|
</template>
|
565
|
|
-
|
|
565
|
+
|
566
|
566
|
<script>
|
567
|
567
|
import BreadCrumb from '@/xt_pages/components/bread-crumb'
|
568
|
568
|
import { getAllDoctorList,
|
569
|
569
|
saveAirDisinfect,
|
570
|
|
- getAirList,
|
|
570
|
+ getAirList,
|
571
|
571
|
getAirDisinfectDetail,
|
572
|
572
|
updateAirDisinfect,
|
573
|
|
- deleteAirDisinfect
|
|
573
|
+ deleteAirDisinfect
|
574
|
574
|
} from "@/api/device"
|
575
|
575
|
import { uParseTime } from '@/utils/tools'
|
576
|
576
|
const moment = require('moment')
|
|
@@ -585,7 +585,7 @@
|
585
|
585
|
{ path: false, name: '院感管理' },
|
586
|
586
|
{ path: false, name: '透析室空气消毒记录表' }
|
587
|
587
|
],
|
588
|
|
-
|
|
588
|
+
|
589
|
589
|
dialogFormVisible:false,
|
590
|
590
|
editDialogFormVisible:false,
|
591
|
591
|
startvalue:'',
|
|
@@ -602,7 +602,7 @@
|
602
|
602
|
detection_result:"",
|
603
|
603
|
upload_time:"",
|
604
|
604
|
check_out:"1",
|
605
|
|
- modifications:"",
|
|
605
|
+ modifications:"",
|
606
|
606
|
start_time:new Date(2016, 9, 10, 18, 40),
|
607
|
607
|
end_time:new Date(2016, 9, 10, 18, 40),
|
608
|
608
|
},
|
|
@@ -610,7 +610,7 @@
|
610
|
610
|
docList:[],
|
611
|
611
|
options:[
|
612
|
612
|
{id:1,name:"正常"},
|
613
|
|
- {id:2,name:"撤销"}
|
|
613
|
+ {id:2,name:"撤销"}
|
614
|
614
|
],
|
615
|
615
|
airRules: {
|
616
|
616
|
created_time:[{required:true,message:"请选择创建时间",trigger:"blur"}],
|
|
@@ -624,7 +624,7 @@
|
624
|
624
|
limit:20,
|
625
|
625
|
page:1,
|
626
|
626
|
total:0,
|
627
|
|
-
|
|
627
|
+
|
628
|
628
|
tableData: [{
|
629
|
629
|
date: '2016-05-03',
|
630
|
630
|
name: '王小虎',
|
|
@@ -650,7 +650,7 @@
|
650
|
650
|
// console.log("list222222",list)
|
651
|
651
|
// this.docList = list
|
652
|
652
|
// }
|
653
|
|
- // })
|
|
653
|
+ // })
|
654
|
654
|
// },
|
655
|
655
|
// saveAirDisinfect(formName){
|
656
|
656
|
// this.$refs[formName].validate(valid=>{
|
|
@@ -670,7 +670,7 @@
|
670
|
670
|
// modifications:parseInt(this.form.modifications),
|
671
|
671
|
// }
|
672
|
672
|
// // console.log("params",params)
|
673
|
|
-
|
|
673
|
+
|
674
|
674
|
// saveAirDisinfect(params).then(response=>{
|
675
|
675
|
// if(response.data.state == 1){
|
676
|
676
|
// var list = response.data.data.list
|
|
@@ -691,9 +691,9 @@
|
691
|
691
|
// }
|
692
|
692
|
// })
|
693
|
693
|
// }
|
694
|
|
- // })
|
|
694
|
+ // })
|
695
|
695
|
// },
|
696
|
|
-
|
|
696
|
+
|
697
|
697
|
// getAirList(){
|
698
|
698
|
// var params = {
|
699
|
699
|
// limit:this.limit,
|
|
@@ -734,9 +734,9 @@
|
734
|
734
|
// this.limit =val
|
735
|
735
|
// this.getAirList()
|
736
|
736
|
// },
|
737
|
|
-
|
|
737
|
+
|
738
|
738
|
handleEdit(id){
|
739
|
|
-
|
|
739
|
+
|
740
|
740
|
this.editDialogFormVisible = true
|
741
|
741
|
// getAirDisinfectDetail(id).then(response=>{
|
742
|
742
|
// if(response.data.state ==1){
|
|
@@ -755,13 +755,13 @@
|
755
|
755
|
// this.form.upload_time = this.getTime(detail.upload_time)
|
756
|
756
|
// this.form.check_out = detail.check_out.toString()
|
757
|
757
|
// this.form.modifications = detail.modifications
|
758
|
|
-
|
|
758
|
+
|
759
|
759
|
// }
|
760
|
760
|
// })
|
761
|
761
|
},
|
762
|
|
-
|
|
762
|
+
|
763
|
763
|
// updateAirDisinfect(formName){
|
764
|
|
-
|
|
764
|
+
|
765
|
765
|
// this.$refs[formName].validate(valid=>{
|
766
|
766
|
// if(valid){
|
767
|
767
|
// var params = {
|
|
@@ -791,7 +791,7 @@
|
791
|
791
|
// }
|
792
|
792
|
// })
|
793
|
793
|
// },
|
794
|
|
-
|
|
794
|
+
|
795
|
795
|
// handleDelete(id,index) {
|
796
|
796
|
// this.$confirm('确认删除这条记录?', '删除记录', {
|
797
|
797
|
// confirmButtonText: '确定',
|
|
@@ -838,7 +838,7 @@
|
838
|
838
|
margin-bottom: 10px;
|
839
|
839
|
span{
|
840
|
840
|
font-size: 20px;
|
841
|
|
- font-weight: bold;
|
|
841
|
+ font-weight: bold;
|
842
|
842
|
}
|
843
|
843
|
}
|
844
|
844
|
}
|
|
@@ -854,7 +854,7 @@
|
854
|
854
|
// 斜杠表格
|
855
|
855
|
.el-table{
|
856
|
856
|
th{
|
857
|
|
- padding: 0px !important;
|
|
857
|
+ padding: 0px !important;
|
858
|
858
|
}
|
859
|
859
|
tr:first-of-type th:first-of-type div.cell {
|
860
|
860
|
text-align: right;/*上边文字靠右*/
|
|
@@ -944,12 +944,11 @@
|
944
|
944
|
// }
|
945
|
945
|
}
|
946
|
946
|
}
|
947
|
|
-
|
948
|
|
-
|
|
947
|
+
|
|
948
|
+
|
949
|
949
|
}
|
950
|
950
|
::-webkit-scrollbar{
|
951
|
951
|
height: 15px;
|
952
|
952
|
}
|
953
|
953
|
|
954
|
954
|
</style>
|
955
|
|
-
|