|
@@ -16,7 +16,7 @@
|
16
|
16
|
<el-button size="small" type="danger" @click="deleteAction">删除</el-button>
|
17
|
17
|
</span>
|
18
|
18
|
</div>
|
19
|
|
-
|
|
19
|
+
|
20
|
20
|
<div class="cell clearfix">
|
21
|
21
|
<label class="title"><span class="name">日期查询</span> : </label>
|
22
|
22
|
<el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
|
|
@@ -59,29 +59,29 @@
|
59
|
59
|
</el-col>
|
60
|
60
|
<el-col :span="14">
|
61
|
61
|
<div class="record_content_panel">
|
62
|
|
- <div style="background-color:rgb(245, 247, 250)" class="title">出院小结内容</div>
|
|
62
|
+ <div style="background-color:rgb(245, 247, 250)" class="title">首次病程内容</div>
|
63
|
63
|
<div style="padding:10px;border-bottom:1px solid #DCDFE6;word-break: break-all;word-wrap: break-word">标题:
|
64
|
64
|
{{hosDetail.title}}
|
65
|
65
|
</div>
|
66
|
|
-
|
67
|
|
-
|
68
|
|
- <div
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+ <div
|
69
|
69
|
style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;
|
70
|
70
|
word-break: break-all;word-wrap: break-word">
|
71
|
71
|
记录医师:
|
72
|
72
|
{{getDoctor(hosDetail.doctor)}}
|
73
|
73
|
</div>
|
74
|
|
-
|
75
|
|
-
|
76
|
|
-
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
77
|
77
|
<div style="padding:10px;
|
78
|
78
|
border-bottom:1px solid #DCDFE6;line-height:20px;
|
79
|
79
|
word-break: break-all;word-wrap: break-word">主诉内容:
|
80
|
|
- <span v-html="hosDetail.main_content"></span>
|
|
80
|
+ <span v-html="hosDetail.main_content"></span>
|
81
|
81
|
</div>
|
82
|
82
|
<div style="padding:10px;border-bottom:1px solid #DCDFE6;line-height:20px;
|
83
|
83
|
word-break: break-all;word-wrap: break-word">病例特点:
|
84
|
|
- <span v-html="hosDetail.patient_case"></span>
|
|
84
|
+ <span v-html="hosDetail.patient_case"></span>
|
85
|
85
|
<div>
|
86
|
86
|
<div v-for="item in hosDetail.template_inspection_content">
|
87
|
87
|
<p style="font-weight: bold;margin: 10px 0;">{{ item.project_name }} 检查日期:{{getTime(item.arr[0].inspect_date)}}</p>
|
|
@@ -116,15 +116,15 @@
|
116
|
116
|
word-break: break-all;word-wrap: break-word">诊疗计划:
|
117
|
117
|
<span v-html="hosDetail.treatment_plan"></span>
|
118
|
118
|
</div>
|
119
|
|
-
|
|
119
|
+
|
120
|
120
|
</div>
|
121
|
121
|
</el-col>
|
122
|
122
|
</el-row>
|
123
|
123
|
</div>
|
124
|
124
|
</div>
|
125
|
125
|
|
126
|
|
-
|
127
|
|
-
|
|
126
|
+
|
|
127
|
+
|
128
|
128
|
<el-dialog title="新增首次病程记录" width="60%" top="5vh" :visible.sync="show_dialog">
|
129
|
129
|
<div>
|
130
|
130
|
<div class="new_record_form">
|
|
@@ -141,25 +141,25 @@
|
141
|
141
|
:value="item.admin_user_id">
|
142
|
142
|
</el-option>
|
143
|
143
|
</el-select>
|
144
|
|
-
|
|
144
|
+
|
145
|
145
|
<label class="title"><span class="name">记录日期</span> : </label>
|
146
|
146
|
<el-date-picker v-model="form.record_date"
|
147
|
|
- prefix-icon="el-icon-date"
|
|
147
|
+ prefix-icon="el-icon-date"
|
148
|
148
|
style="width: 200px;"
|
149
|
149
|
type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm"
|
150
|
150
|
value-format="yyyy-MM-dd HH:mm">
|
151
|
|
- </el-date-picker>
|
|
151
|
+ </el-date-picker>
|
152
|
152
|
</div>
|
153
|
|
-
|
154
|
|
-
|
155
|
|
-
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
|
156
|
156
|
<div class="cell clearfix" style="margin-top:10px">
|
157
|
157
|
<label class="title"><span class="name">主诉内容</span> : </label>
|
158
|
158
|
<el-select v-model="form.main_content_id" placeholder="可选择病程模板" @change="changeMainContent">
|
159
|
159
|
<el-option v-for="(option, index) in mainContentList" :key="index" :label="option.title"
|
160
|
160
|
:value="option.content"></el-option>
|
161
|
161
|
</el-select>
|
162
|
|
-
|
|
162
|
+
|
163
|
163
|
<div class="textarea_panel">
|
164
|
164
|
<keep-alive>
|
165
|
165
|
<editor ref="editor"
|
|
@@ -177,7 +177,7 @@
|
177
|
177
|
</el-select>
|
178
|
178
|
|
179
|
179
|
<el-button type="primary" @click="toInspection">选择检验检查</el-button>
|
180
|
|
-
|
|
180
|
+
|
181
|
181
|
<div class="textarea_panel">
|
182
|
182
|
<keep-alive>
|
183
|
183
|
<editor ref="editorOne"
|
|
@@ -211,7 +211,7 @@
|
211
|
211
|
<el-option v-for="(option, index) in tentativeDiagnosisList" :key="index" :label="option.title"
|
212
|
212
|
:value="option.content"></el-option>
|
213
|
213
|
</el-select>
|
214
|
|
-
|
|
214
|
+
|
215
|
215
|
<div class="textarea_panel">
|
216
|
216
|
<keep-alive>
|
217
|
217
|
<editor ref="editorTwo"
|
|
@@ -227,7 +227,7 @@
|
227
|
227
|
<el-option v-for="(option, index) in diagnosticBasisList" :key="index" :label="option.title"
|
228
|
228
|
:value="option.content"></el-option>
|
229
|
229
|
</el-select>
|
230
|
|
-
|
|
230
|
+
|
231
|
231
|
<div class="textarea_panel">
|
232
|
232
|
<keep-alive>
|
233
|
233
|
<editor ref="editorThree"
|
|
@@ -243,7 +243,7 @@
|
243
|
243
|
<el-option v-for="(option, index) in differentialDiagnosisList" :key="index" :label="option.title"
|
244
|
244
|
:value="option.content"></el-option>
|
245
|
245
|
</el-select>
|
246
|
|
-
|
|
246
|
+
|
247
|
247
|
<div class="textarea_panel">
|
248
|
248
|
<keep-alive>
|
249
|
249
|
<editor ref="editorFour"
|
|
@@ -259,7 +259,7 @@
|
259
|
259
|
<el-option v-for="(option, index) in treateMentList" :key="index" :label="option.title"
|
260
|
260
|
:value="option.content"></el-option>
|
261
|
261
|
</el-select>
|
262
|
|
-
|
|
262
|
+
|
263
|
263
|
<div class="textarea_panel">
|
264
|
264
|
<keep-alive>
|
265
|
265
|
<editor ref="editorFive"
|
|
@@ -271,7 +271,7 @@
|
271
|
271
|
</div>
|
272
|
272
|
</div>
|
273
|
273
|
|
274
|
|
-
|
|
274
|
+
|
275
|
275
|
<div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
|
276
|
276
|
<el-button @click="show_dialog = false">取消</el-button>
|
277
|
277
|
<el-button type="primary"
|
|
@@ -281,7 +281,7 @@
|
281
|
281
|
</div>
|
282
|
282
|
</div>
|
283
|
283
|
</el-dialog>
|
284
|
|
-
|
|
284
|
+
|
285
|
285
|
<el-dialog title="编辑首次病程记录" width="60%" top="5vh" :visible.sync="edit_show_dialog">
|
286
|
286
|
<div>
|
287
|
287
|
<div class="new_record_form">
|
|
@@ -298,16 +298,16 @@
|
298
|
298
|
:value="item.admin_user_id">
|
299
|
299
|
</el-option>
|
300
|
300
|
</el-select>
|
301
|
|
-
|
|
301
|
+
|
302
|
302
|
<label class="title"><span class="name">记录日期</span> : </label>
|
303
|
303
|
<el-date-picker v-model="form.record_date"
|
304
|
|
- prefix-icon="el-icon-date"
|
|
304
|
+ prefix-icon="el-icon-date"
|
305
|
305
|
style="width: 200px;"
|
306
|
306
|
type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd HH:mm"
|
307
|
307
|
value-format="yyyy-MM-dd HH:mm">
|
308
|
|
- </el-date-picker>
|
|
308
|
+ </el-date-picker>
|
|
309
|
+
|
309
|
310
|
|
310
|
|
-
|
311
|
311
|
</div>
|
312
|
312
|
|
313
|
313
|
<div class="cell clearfix" style="margin-top:10px">
|
|
@@ -316,7 +316,7 @@
|
316
|
316
|
<el-option v-for="(option, index) in mainContentList" :key="index" :label="option.title"
|
317
|
317
|
:value="option.content"></el-option>
|
318
|
318
|
</el-select>
|
319
|
|
-
|
|
319
|
+
|
320
|
320
|
<div class="textarea_panel">
|
321
|
321
|
<keep-alive>
|
322
|
322
|
<editor ref="editorTen"
|
|
@@ -366,7 +366,7 @@
|
366
|
366
|
<el-option v-for="(option, index) in tentativeDiagnosisList" :key="index" :label="option.title"
|
367
|
367
|
:value="option.content"></el-option>
|
368
|
368
|
</el-select>
|
369
|
|
-
|
|
369
|
+
|
370
|
370
|
<div class="textarea_panel">
|
371
|
371
|
<keep-alive>
|
372
|
372
|
<editor ref="editorTenTwo"
|
|
@@ -382,7 +382,7 @@
|
382
|
382
|
<el-option v-for="(option, index) in diagnosticBasisList" :key="index" :label="option.title"
|
383
|
383
|
:value="option.content"></el-option>
|
384
|
384
|
</el-select>
|
385
|
|
-
|
|
385
|
+
|
386
|
386
|
<div class="textarea_panel">
|
387
|
387
|
<keep-alive>
|
388
|
388
|
<editor ref="editorTenThree"
|
|
@@ -398,7 +398,7 @@
|
398
|
398
|
<el-option v-for="(option, index) in differentialDiagnosisList" :key="index" :label="option.title"
|
399
|
399
|
:value="option.content"></el-option>
|
400
|
400
|
</el-select>
|
401
|
|
-
|
|
401
|
+
|
402
|
402
|
<div class="textarea_panel">
|
403
|
403
|
<keep-alive>
|
404
|
404
|
<editor ref="editorTenFour"
|
|
@@ -414,7 +414,7 @@
|
414
|
414
|
<el-option v-for="(option, index) in treateMentList" :key="index" :label="option.title"
|
415
|
415
|
:value="option.content"></el-option>
|
416
|
416
|
</el-select>
|
417
|
|
-
|
|
417
|
+
|
418
|
418
|
<div class="textarea_panel">
|
419
|
419
|
<keep-alive>
|
420
|
420
|
<editor ref="editorTenFive"
|
|
@@ -477,7 +477,7 @@
|
477
|
477
|
value-format="yyyy-MM">
|
478
|
478
|
</el-date-picker>
|
479
|
479
|
</el-form-item>
|
480
|
|
-
|
|
480
|
+
|
481
|
481
|
</div>
|
482
|
482
|
</el-form-item>
|
483
|
483
|
</el-row>
|
|
@@ -497,7 +497,7 @@
|
497
|
497
|
@current-change="changeCurrentRecord"
|
498
|
498
|
@selection-change="selectionChangeOne"
|
499
|
499
|
:row-class-name="tableRow"
|
500
|
|
-
|
|
500
|
+
|
501
|
501
|
>
|
502
|
502
|
<el-table-column type="selection" width="60" align="center"></el-table-column>
|
503
|
503
|
<el-table-column label="检验项目" align="center">
|
|
@@ -514,7 +514,7 @@
|
514
|
514
|
color: '#606266'
|
515
|
515
|
}"
|
516
|
516
|
:row-style="{ color: '#303133' }" :data="tableData"
|
517
|
|
- border highlight-current-row
|
|
517
|
+ border highlight-current-row
|
518
|
518
|
:row-class-name="tableRow"
|
519
|
519
|
|
520
|
520
|
>
|
|
@@ -677,10 +677,10 @@
|
677
|
677
|
}
|
678
|
678
|
},
|
679
|
679
|
created() {
|
680
|
|
-
|
|
680
|
+
|
681
|
681
|
this.patient_id = this.$route.params && this.$route.params.id
|
682
|
|
-
|
683
|
|
-
|
|
682
|
+
|
|
683
|
+
|
684
|
684
|
var now = new Date()
|
685
|
685
|
this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
|
686
|
686
|
|
|
@@ -706,7 +706,7 @@
|
706
|
706
|
'-' +
|
707
|
707
|
(nowDay < 10 ? '0' + nowDay : nowDay)
|
708
|
708
|
this.other_start_time = nowYear +'-' +(nowMonth < 10 ? '0' + nowMonth : nowMonth) +'-' + (nowDay < 10 ? '0' + nowDay : nowDay)
|
709
|
|
-
|
|
709
|
+
|
710
|
710
|
this.getAllDoctorList()
|
711
|
711
|
this.getlist()
|
712
|
712
|
this.getInspectionMajor()
|
|
@@ -730,7 +730,7 @@
|
730
|
730
|
},
|
731
|
731
|
|
732
|
732
|
startTimeChange(val){
|
733
|
|
-
|
|
733
|
+
|
734
|
734
|
this.start_time = val
|
735
|
735
|
this.getlist()
|
736
|
736
|
},
|
|
@@ -745,10 +745,10 @@
|
745
|
745
|
|
746
|
746
|
},
|
747
|
747
|
changeCurrentRecordTwo(row){
|
748
|
|
-
|
|
748
|
+
|
749
|
749
|
this.form.id = 0
|
750
|
750
|
if(row!=null){
|
751
|
|
- this.form.id = row.id
|
|
751
|
+ this.form.id = row.id
|
752
|
752
|
this.getFirstDetail(row.id)
|
753
|
753
|
}
|
754
|
754
|
},
|
|
@@ -776,7 +776,7 @@
|
776
|
776
|
var ids = arr.join(",")
|
777
|
777
|
this.ids = ids
|
778
|
778
|
},
|
779
|
|
-
|
|
779
|
+
|
780
|
780
|
changeMainContent(content){
|
781
|
781
|
this.form.main_content = content
|
782
|
782
|
},
|
|
@@ -795,9 +795,9 @@
|
795
|
795
|
changeTreateMentContent(content){
|
796
|
796
|
this.form.treatment_plan = content
|
797
|
797
|
},
|
798
|
|
-
|
|
798
|
+
|
799
|
799
|
createAction(){
|
800
|
|
-
|
|
800
|
+
|
801
|
801
|
if(this.form.doctor == ""){
|
802
|
802
|
this.form.doctor = 0
|
803
|
803
|
}
|
|
@@ -820,17 +820,17 @@
|
820
|
820
|
doctor:this.form.doctor,
|
821
|
821
|
project_id:this.projectStr,
|
822
|
822
|
inspect_date:this.projectIndate,
|
823
|
|
-
|
|
823
|
+
|
824
|
824
|
}
|
825
|
825
|
if(params.project_id == undefined){
|
826
|
826
|
params.project_id = ""
|
827
|
827
|
}
|
828
|
828
|
console.log("params",params)
|
829
|
|
-
|
|
829
|
+
|
830
|
830
|
createFirstDisease(params).then(response=>{
|
831
|
831
|
if(response.data.state == 1){
|
832
|
832
|
var list = response.data.data.firstDisease
|
833
|
|
-
|
|
833
|
+
|
834
|
834
|
this.$message.success("保存成功!")
|
835
|
835
|
this.show_dialog = false
|
836
|
836
|
this.getlist()
|
|
@@ -884,7 +884,7 @@
|
884
|
884
|
var inspectlist = response.data.data.inspectlist
|
885
|
885
|
let arr = this.unique(inspectlist,'project_name')
|
886
|
886
|
this.hosDetail.template_inspection_content = arr
|
887
|
|
-
|
|
887
|
+
|
888
|
888
|
console.log("内容233323232323223",this.hosDetail)
|
889
|
889
|
}
|
890
|
890
|
})
|
|
@@ -921,7 +921,7 @@
|
921
|
921
|
this.getHospitalSummaryDetailOne(this.form.id)
|
922
|
922
|
},
|
923
|
923
|
updateAction(){
|
924
|
|
-
|
|
924
|
+
|
925
|
925
|
if(this.form.doctor == ""){
|
926
|
926
|
this.form.doctor = 0
|
927
|
927
|
}
|
|
@@ -957,7 +957,7 @@
|
957
|
957
|
if(this.$refs.editorTenTwo.content == ""){
|
958
|
958
|
tentative_diagnosis = this.hosDetail.tentative_diagnosis
|
959
|
959
|
}else{
|
960
|
|
- tentative_diagnosis = this.$refs.editorTenTwo.content
|
|
960
|
+ tentative_diagnosis = this.$refs.editorTenTwo.content
|
961
|
961
|
}
|
962
|
962
|
|
963
|
963
|
if(this.$refs.editorTenThree.content == ""){
|
|
@@ -977,7 +977,7 @@
|
977
|
977
|
}else{
|
978
|
978
|
treatment_plan = this.$refs.editorTenFive.content
|
979
|
979
|
}
|
980
|
|
-
|
|
980
|
+
|
981
|
981
|
var params = {
|
982
|
982
|
id:this.form.detai_id,
|
983
|
983
|
patient_id:parseInt(this.patient_id),
|
|
@@ -1004,7 +1004,7 @@
|
1004
|
1004
|
// this.$refs.monthlyPlanTable.setCurrentRow(detail)
|
1005
|
1005
|
this.getlist()
|
1006
|
1006
|
}
|
1007
|
|
- })
|
|
1007
|
+ })
|
1008
|
1008
|
},
|
1009
|
1009
|
deleteAction(){
|
1010
|
1010
|
if(this.ids.length == 0){
|
|
@@ -1029,7 +1029,7 @@
|
1029
|
1029
|
}
|
1030
|
1030
|
})
|
1031
|
1031
|
}).catch(() => {
|
1032
|
|
- })
|
|
1032
|
+ })
|
1033
|
1033
|
},
|
1034
|
1034
|
addAction(){
|
1035
|
1035
|
this.form.title = ""
|
|
@@ -1039,7 +1039,7 @@
|
1039
|
1039
|
this.form.diagnostic_basis = ""
|
1040
|
1040
|
this.form.differential_diagnosis = ""
|
1041
|
1041
|
this.form.treatment_plan = ""
|
1042
|
|
-
|
|
1042
|
+
|
1043
|
1043
|
this.show_dialog = true
|
1044
|
1044
|
},
|
1045
|
1045
|
toInspection(){
|
|
@@ -1135,7 +1135,7 @@
|
1135
|
1135
|
}
|
1136
|
1136
|
getInitDataList(params).then(response=>{
|
1137
|
1137
|
if(response.data.state == 1){
|
1138
|
|
-
|
|
1138
|
+
|
1139
|
1139
|
var modelist = response.data.data.modelist
|
1140
|
1140
|
console.log("modelist",modelist)
|
1141
|
1141
|
var docList = response.data.data.docList
|
|
@@ -1191,10 +1191,10 @@
|
1191
|
1191
|
if(response.data.state == 1){
|
1192
|
1192
|
var list = response.data.data.list
|
1193
|
1193
|
let arr = this.unique(list,'project_name')
|
1194
|
|
-
|
|
1194
|
+
|
1195
|
1195
|
this.form.patient_case_one = arr
|
1196
|
1196
|
this.dialogVisibleInspection = false
|
1197
|
|
-
|
|
1197
|
+
|
1198
|
1198
|
console.log("2323232owowowowowow",this.form.id)
|
1199
|
1199
|
}
|
1200
|
1200
|
})
|
|
@@ -1232,8 +1232,8 @@
|
1232
|
1232
|
})
|
1233
|
1233
|
}
|
1234
|
1234
|
},
|
1235
|
|
-
|
1236
|
|
-
|
|
1235
|
+
|
|
1236
|
+
|
1237
|
1237
|
}
|
1238
|
1238
|
</script>
|
1239
|
1239
|
|