|
@@ -25,17 +25,17 @@
|
25
|
25
|
</div>
|
26
|
26
|
</div>
|
27
|
27
|
</div>
|
28
|
|
- <div style="margin-top: 20px;">
|
|
28
|
+ <div style="margin-top: 20px;height: 82vh;">
|
29
|
29
|
<el-table
|
30
|
30
|
:row-style="{ color: '#303133' }"
|
31
|
31
|
:header-cell-style="{
|
32
|
|
- backgroundColor: '#409eff',
|
33
|
|
- color: 'rgb(235 237 239)',
|
34
|
|
- }"
|
|
32
|
+ backgroundColor: '#409eff',
|
|
33
|
+ color: 'rgb(235 237 239)',
|
|
34
|
+ }"
|
35
|
35
|
border
|
36
|
36
|
:fit="true"
|
37
|
37
|
:data="scheduleZone"
|
38
|
|
- :height="tableContainHeight"
|
|
38
|
+ height="calc(100% - 0px)"
|
39
|
39
|
ref="table"
|
40
|
40
|
style="table-layout: fixed;"
|
41
|
41
|
>
|
|
@@ -57,11 +57,9 @@
|
57
|
57
|
<template slot-scope="scope">
|
58
|
58
|
<div>
|
59
|
59
|
<el-popover ref="popover" placement="top"
|
60
|
|
- title=""
|
61
|
|
- width=""
|
62
|
|
- trigger="click"
|
63
|
|
- content=""
|
64
|
|
-
|
|
60
|
+ title=""width=""
|
|
61
|
+ trigger="click"content=""
|
|
62
|
+ popper-class="ellipsis-pop"
|
65
|
63
|
>
|
66
|
64
|
<div v-if="scope.row.Mon_M.patient_id !=''" >
|
67
|
65
|
<el-button @click='patientedit(scope.row.Mon_M)'>调班</el-button>
|
|
@@ -73,8 +71,7 @@
|
73
|
71
|
<!-- <schedule-item slot="reference" :schedule-detail="scope.row.Mon_M"></schedule-item> -->
|
74
|
72
|
</el-popover>
|
75
|
73
|
<schedule-item v-popover:popover :schedule-detail="scope.row.Mon_M"></schedule-item>
|
76
|
|
- <!-- <schedule-item class="elpopvers1" v-popover:popover :schedule-detail="scope.row.Mon_M"></schedule-item> -->
|
77
|
|
- <!-- v-popover:popover slot="reference" -->
|
|
74
|
+
|
78
|
75
|
</div>
|
79
|
76
|
</template>
|
80
|
77
|
</el-table-column>
|
|
@@ -84,6 +81,7 @@
|
84
|
81
|
<el-popover ref="popover" placement="top"
|
85
|
82
|
title="" width=""
|
86
|
83
|
trigger="click" content=""
|
|
84
|
+ popper-class="ellipsis-pop"
|
87
|
85
|
>
|
88
|
86
|
<div v-if="scope.row.Mon_A.patient_id !=''">
|
89
|
87
|
<el-button @click='patientedit(scope.row.Mon_A)'>调班</el-button>
|
|
@@ -93,7 +91,6 @@
|
93
|
91
|
<el-button @click='newappend(scope.row.Mon_A)'>新增</el-button>
|
94
|
92
|
</div>
|
95
|
93
|
</el-popover>
|
96
|
|
- <!-- v-popover:popover -->
|
97
|
94
|
<schedule-item v-popover:popover :schedule-detail="scope.row.Mon_A"></schedule-item>
|
98
|
95
|
</div>
|
99
|
96
|
</template>
|
|
@@ -102,21 +99,25 @@
|
102
|
99
|
<el-table-column prop="Mon_N" label="晚上" min-width="60" align="center">
|
103
|
100
|
<template slot-scope="scope">
|
104
|
101
|
<div>
|
105
|
|
- <el-popover ref="popover"
|
|
102
|
+ <el-popover
|
106
|
103
|
placement="top" title=""
|
107
|
|
- width="" trigger="click"
|
|
104
|
+ min-width="" trigger="click"
|
108
|
105
|
content=""
|
|
106
|
+ popper-class="ellipsis-pop"
|
|
107
|
+
|
109
|
108
|
>
|
110
|
109
|
<div v-if="scope.row.Mon_N.patient_id !=''">
|
|
110
|
+ <!-- <span @click='patientedit(scope.row.Mon_N)'>调班</span>
|
|
111
|
+ <span @click='delete_click(scope.row.Mon_N)' v-if="scope.row.Mon_N.stage==0">删除</span> -->
|
111
|
112
|
<el-button @click='patientedit(scope.row.Mon_N)'>调班</el-button>
|
112
|
113
|
<el-button @click="delete_click(scope.row.Mon_N)" v-if="scope.row.Mon_N.stage==0">删除</el-button>
|
113
|
114
|
</div>
|
114
|
|
- <div style="text-align: center;" v-if="scope.row.Mon_N.patient_id ==''">
|
|
115
|
+ <div style="text-align: center;" v-if="scope.row.Mon_N.patient_id ==0">
|
|
116
|
+ <!-- <span @click='newappend(scope.row.Mon_N)'>新增</span> -->
|
115
|
117
|
<el-button @click='newappend(scope.row.Mon_N)'>新增</el-button>
|
116
|
118
|
</div>
|
|
119
|
+ <schedule-item slot="reference" :schedule-detail="scope.row.Mon_N"></schedule-item>
|
117
|
120
|
</el-popover>
|
118
|
|
- <!-- v-popover:popover -->
|
119
|
|
- <schedule-item v-popover:popover :schedule-detail="scope.row.Mon_N"></schedule-item>
|
120
|
121
|
</div>
|
121
|
122
|
</template>
|
122
|
123
|
</el-table-column>
|
|
@@ -322,6 +323,9 @@
|
322
|
323
|
<div style="flex: 1;margin-right: 10px;">
|
323
|
324
|
患者:
|
324
|
325
|
<input type="text" v-model="add_arr.patient_add" onfocus="this.blur();" @click="clickhuanzhes2= !clickhuanzhes2" class="borders" >
|
|
326
|
+ <!-- <el-input type="text" size="mini" v-model="add_arr.patient_add" onfocus="this.blur();"
|
|
327
|
+ @click="clickhuanzhes2= !clickhuanzhes2" style="width: 120px;" >
|
|
328
|
+ </el-input> -->
|
325
|
329
|
</div>
|
326
|
330
|
<!-- 点击修改 :close-on-click-modal = 'false'-->
|
327
|
331
|
<el-dialog class="huanzhe_xiu"
|
|
@@ -329,16 +333,18 @@
|
329
|
333
|
:append-to-body = 'true'
|
330
|
334
|
|
331
|
335
|
:show-close="false"
|
332
|
|
- width="50%">
|
|
336
|
+ width="70%">
|
333
|
337
|
<div>
|
334
|
|
- <div class="listBox">
|
|
338
|
+ <div style="border-bottom: 1px solid #e5e5e5;">
|
335
|
339
|
<van-search v-model="schedulingVal2" @clear="onclear2"
|
336
|
340
|
@input="onUpdate2" placeholder="请输入搜索关键词" />
|
|
341
|
+ </div>
|
|
342
|
+ <div class="listBox">
|
337
|
343
|
<div v-for="(item,index) in huangxiu_arr" :key='index' @click="Select_click2(item)">
|
338
|
344
|
{{ item.name }}
|
339
|
345
|
</div>
|
340
|
346
|
</div>
|
341
|
|
- <div class="Cancelclass" @click="clickhuanzhes2 = !clickhuanzhes2">
|
|
347
|
+ <div class="Cancelclass" @click="clickhuanzhes2 = !clickhuanzhes2" >
|
342
|
348
|
取消
|
343
|
349
|
</div>
|
344
|
350
|
</div>
|
|
@@ -351,7 +357,7 @@
|
351
|
357
|
v-model="currentData.schedule_date"
|
352
|
358
|
type="date"
|
353
|
359
|
placeholder="选择日期"
|
354
|
|
- style="width: 150px;font-size: 14px;"
|
|
360
|
+ style="width: 70%;font-size: 14px;"
|
355
|
361
|
value-format="yyyy-MM-dd"
|
356
|
362
|
:clearable="false"
|
357
|
363
|
:editable = 'false'
|
|
@@ -512,7 +518,7 @@ export default{
|
512
|
518
|
add_loading:false,//新增的加载
|
513
|
519
|
edit_loading:false,//修改的加载
|
514
|
520
|
timeOutEvent:0,
|
515
|
|
- tableContainHeight:1000,
|
|
521
|
+ tableContainHeight:"calc(100% -20px)",
|
516
|
522
|
class_type: 0,
|
517
|
523
|
type: '全部班',
|
518
|
524
|
schedulingVal2:'',
|
|
@@ -610,6 +616,10 @@ export default{
|
610
|
616
|
|
611
|
617
|
},
|
612
|
618
|
methods:{
|
|
619
|
+ showPopver(){
|
|
620
|
+ console.log('1111111222222');
|
|
621
|
+
|
|
622
|
+ },
|
613
|
623
|
// 数据源
|
614
|
624
|
getlist () {
|
615
|
625
|
if (this.type == '全部班') {
|
|
@@ -654,12 +664,9 @@ export default{
|
654
|
664
|
name:params.name
|
655
|
665
|
}
|
656
|
666
|
fenqu_arr.push(fenquobj)
|
657
|
|
- console.log('444444',params.device.sort());
|
658
|
667
|
if(params.device.length>0){
|
659
|
668
|
|
660
|
669
|
params.device.forEach(function(device) {
|
661
|
|
- console.log('5555',device.sort)
|
662
|
|
- console.log();
|
663
|
670
|
var thisPa = {
|
664
|
671
|
area: params.name,
|
665
|
672
|
zone_id: params.id,
|
|
@@ -1495,17 +1502,16 @@ export default{
|
1495
|
1502
|
}
|
1496
|
1503
|
.patient_name{
|
1497
|
1504
|
padding: 6px 0;
|
1498
|
|
-
|
1499
|
1505
|
}
|
1500
|
1506
|
.el-dialog__wrapper{
|
1501
|
1507
|
/deep/.el-dialog__header {
|
1502
|
1508
|
padding: 20px 20px 10px !important;
|
1503
|
1509
|
background: #409EFE !important;
|
1504
|
1510
|
}
|
1505
|
|
- ::deep(.el-dialog__header){
|
1506
|
|
- padding: 20px 20px 10px !important;
|
1507
|
|
- background: #409EFE !important;
|
1508
|
|
- }
|
|
1511
|
+ // ::deep(.el-dialog__header){
|
|
1512
|
+ // padding: 20px 20px 10px !important;
|
|
1513
|
+ // background: #409EFE !important;
|
|
1514
|
+ // }
|
1509
|
1515
|
}
|
1510
|
1516
|
.xiugai2{
|
1511
|
1517
|
.toolOne {
|
|
@@ -1596,7 +1602,7 @@ export default{
|
1596
|
1602
|
>div{
|
1597
|
1603
|
padding: 1rem .625rem;
|
1598
|
1604
|
border-bottom: 1px solid #e5e5e5;
|
1599
|
|
- font-size: .875rem;
|
|
1605
|
+ font-size: .975rem;
|
1600
|
1606
|
color:#323233;
|
1601
|
1607
|
}
|
1602
|
1608
|
>ul li{
|
|
@@ -1614,9 +1620,16 @@ export default{
|
1614
|
1620
|
font-size: 14px;
|
1615
|
1621
|
.el-input__inner{
|
1616
|
1622
|
font-size: 14px;
|
|
1623
|
+ padding: 0 5px;
|
1617
|
1624
|
}
|
1618
|
1625
|
.el-input__prefix{
|
1619
|
1626
|
font-size: 14px;
|
|
1627
|
+ .el-icon-date:before {
|
|
1628
|
+ content: "";
|
|
1629
|
+ }
|
1620
|
1630
|
}
|
1621
|
1631
|
}
|
|
1632
|
+ .ellipsis-pop{
|
|
1633
|
+ min-width: 83px;
|
|
1634
|
+ }
|
1622
|
1635
|
</style>
|