|
@@ -17,7 +17,15 @@
|
17
|
17
|
type="primary"
|
18
|
18
|
@click="next"
|
19
|
19
|
>下一位</el-button
|
20
|
|
- >
|
|
20
|
+ >
|
|
21
|
+
|
|
22
|
+ <el-button
|
|
23
|
+ size="small"
|
|
24
|
+ type="primary"
|
|
25
|
+ @click="history_click"
|
|
26
|
+
|
|
27
|
+ >透析历史</el-button>
|
|
28
|
+
|
21
|
29
|
<el-button
|
22
|
30
|
size="small"
|
23
|
31
|
type="primary"
|
|
@@ -846,13 +854,13 @@
|
846
|
854
|
<template
|
847
|
855
|
slot="dateCell"
|
848
|
856
|
slot-scope="{date, data}">
|
849
|
|
- <P v-if="data.day.split('-').slice(1).join('-')=='11-27'"
|
|
857
|
+ <P v-if="data.day.split('-').slice(1).join('-')=='03-06'"
|
850
|
858
|
style="background: red;color: white;text-align: center;">
|
851
|
859
|
HD
|
852
|
860
|
</P>
|
853
|
861
|
<p :class="data.isSelected ? 'is-selected' : ''" style="text-align: center;">
|
854
|
862
|
{{ data.day.split('-').slice(2).join('-') }} {{ data.isSelected ? '✔️' : ''}}<br/>
|
855
|
|
- <span v-if="data.day.split('-').slice(1).join('-')=='11-27'">上午 门诊</span>
|
|
863
|
+ <span v-if="data.day.split('-').slice(1).join('-')=='03-06'">上午 门诊</span>
|
856
|
864
|
</p>
|
857
|
865
|
|
858
|
866
|
</template>
|
|
@@ -861,7 +869,7 @@
|
861
|
869
|
</div>
|
862
|
870
|
</el-dialog>
|
863
|
871
|
</div>
|
864
|
|
-
|
|
872
|
+ <!-- 右侧内容 -->
|
865
|
873
|
<div style="width:75%" v-show="!showView">
|
866
|
874
|
<!-- <div v-if="Refresh"> -->
|
867
|
875
|
<div style="margin-left:60px;color:#34495e">
|
|
@@ -1183,6 +1191,47 @@
|
1183
|
1191
|
|
1184
|
1192
|
</div>
|
1185
|
1193
|
</div>
|
|
1194
|
+
|
|
1195
|
+ <!-- 透析历史 -->
|
|
1196
|
+ <el-dialog class="history"
|
|
1197
|
+ :title="'患者信息(姓名:'+patient.name+'、透析号:'+patient.dialysis_no +')' "
|
|
1198
|
+ :visible.sync="historyclick"
|
|
1199
|
+ width="50%"
|
|
1200
|
+ >
|
|
1201
|
+ <div>
|
|
1202
|
+ <div >
|
|
1203
|
+ 透析频率:
|
|
1204
|
+ <div class="touxipl"></div>
|
|
1205
|
+ </div>
|
|
1206
|
+ <div style="margin: 20px 0;">
|
|
1207
|
+ <div style="border-left: 2px solid #409eff;color: #409eff;padding: 0 10px;">
|
|
1208
|
+ <span>已排详情</span>
|
|
1209
|
+ </div>
|
|
1210
|
+ <div>
|
|
1211
|
+ <el-calendar v-model="time_value">
|
|
1212
|
+ <template
|
|
1213
|
+ slot="dateCell"
|
|
1214
|
+ slot-scope="{date, data}">
|
|
1215
|
+ <P v-if="data.day.split('-').slice(1).join('-')=='03-06'"
|
|
1216
|
+ style="background: red;color: white;text-align: center;">
|
|
1217
|
+ HD
|
|
1218
|
+ </P>
|
|
1219
|
+ <p :class="data.isSelected ? 'is-selected' : ''" style="text-align: center;">
|
|
1220
|
+ {{ data.day.split('-').slice(2).join('-') }} {{ data.isSelected ? '✔️' : ''}}<br/>
|
|
1221
|
+ <span v-if="data.day.split('-').slice(1).join('-')=='03-06'">上午 门诊</span>
|
|
1222
|
+ </p>
|
|
1223
|
+
|
|
1224
|
+ </template>
|
|
1225
|
+ </el-calendar>
|
|
1226
|
+ </div>
|
|
1227
|
+
|
|
1228
|
+ </div>
|
|
1229
|
+ </div>
|
|
1230
|
+ <!-- <span slot="footer" class="dialog-footer">
|
|
1231
|
+ <el-button @click="historyclick = false">取 消</el-button>
|
|
1232
|
+ <el-button type="primary" @click="historyclick = false">确 定</el-button>
|
|
1233
|
+ </span> -->
|
|
1234
|
+ </el-dialog>
|
1186
|
1235
|
</div>
|
1187
|
1236
|
</template>
|
1188
|
1237
|
|
|
@@ -1359,6 +1408,8 @@ export default {
|
1359
|
1408
|
Dialysis_patient:'',
|
1360
|
1409
|
Refresh:true,
|
1361
|
1410
|
norefresh:true,
|
|
1411
|
+ historyclick:false,
|
|
1412
|
+ time_value:new Date()
|
1362
|
1413
|
}
|
1363
|
1414
|
},
|
1364
|
1415
|
created() {
|
|
@@ -2862,6 +2913,10 @@ export default {
|
2862
|
2913
|
}
|
2863
|
2914
|
}
|
2864
|
2915
|
return name
|
|
2916
|
+ },
|
|
2917
|
+ // 透析历史
|
|
2918
|
+ history_click(){
|
|
2919
|
+ this.historyclick =true
|
2865
|
2920
|
}
|
2866
|
2921
|
|
2867
|
2922
|
}
|
|
@@ -2989,6 +3044,13 @@ export default {
|
2989
|
3044
|
color: #fff;
|
2990
|
3045
|
}
|
2991
|
3046
|
}
|
|
3047
|
+.history{
|
|
3048
|
+ .touxipl{
|
|
3049
|
+ display: inline-block;
|
|
3050
|
+ width: 60%;
|
|
3051
|
+ border-bottom:1px solid gray;
|
|
3052
|
+ }
|
|
3053
|
+}
|
2992
|
3054
|
</style>
|
2993
|
3055
|
|
2994
|
3056
|
<style lang="scss">
|
|
@@ -3015,4 +3077,27 @@ export default {
|
3015
|
3077
|
padding: 0;
|
3016
|
3078
|
}
|
3017
|
3079
|
}
|
|
3080
|
+.history{
|
|
3081
|
+ .el-dialog{
|
|
3082
|
+ .el-dialog__header{
|
|
3083
|
+ padding: 10px 10px 10px;
|
|
3084
|
+ background-color: #409eff;
|
|
3085
|
+ .el-dialog__title{
|
|
3086
|
+ color: white;
|
|
3087
|
+ font-size: 15px;
|
|
3088
|
+ }
|
|
3089
|
+ .el-dialog__headerbtn{
|
|
3090
|
+ position: absolute;
|
|
3091
|
+ top: 12px;
|
|
3092
|
+ right: 20px;
|
|
3093
|
+ .el-dialog__close{
|
|
3094
|
+ color: white;
|
|
3095
|
+ }
|
|
3096
|
+ }
|
|
3097
|
+ }
|
|
3098
|
+ .el-dialog__body{
|
|
3099
|
+ padding: 15px 10px
|
|
3100
|
+ }
|
|
3101
|
+ }
|
|
3102
|
+}
|
3018
|
3103
|
</style>
|