Browse Source

11月20 结算单

yq1 14 hours ago
parent
commit
6d501a33b6

+ 23 - 6
src/xt_pages/user/components/PatientSidebar.vue View File

41
       >
41
       >
42
       </el-tree>
42
       </el-tree>
43
     </div>
43
     </div>
44
-    <div class="patient-app-container ">
44
+    <div class="patient-app-container " :style="{width:(treeKey!='3-4'&& treeKey!='3-5')?'100vw':''}">
45
       <span class="patient-name"
45
       <span class="patient-name"
46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
47
           tranSex(currentPatient.gender)
47
           tranSex(currentPatient.gender)
159
               name: '3-1',
159
               name: '3-1',
160
               label: '病史'
160
               label: '病史'
161
             },
161
             },
162
+            {
163
+              name: '3-4',
164
+              label: '病史新'
165
+            },
162
             {
166
             {
163
               name: '3-2',
167
               name: '3-2',
164
               label: '体格检查'
168
               label: '体格检查'
165
             },
169
             },
166
-            // {
167
-            //   name: '3-3',
168
-            //   label: '体格检查新'
169
-            // },
170
+            {
171
+              name: '3-3',
172
+              label: '体格检查新'
173
+            },
174
+            {
175
+              name: '3-5',
176
+              label: '病程记录新'
177
+            },
170
             {
178
             {
171
               name: '1-11',
179
               name: '1-11',
172
               label: '首次病程记录'
180
               label: '首次病程记录'
194
               name: '1-3',
202
               name: '1-3',
195
               label: '肾科检验'
203
               label: '肾科检验'
196
             },
204
             },
205
+            {
206
+              name: '4-2',
207
+              label: '肾科检验新'
208
+            },
197
             // {
209
             // {
198
             //   name: '4-12',
210
             //   name: '4-12',
199
             //   label: '新版肾科检验'
211
             //   label: '新版肾科检验'
353
 
365
 
354
       } else if(name == '3-3'){
366
       } else if(name == '3-3'){
355
         this.$router.push({path:'/patients/new_physicalexamination?id='+this.id})
367
         this.$router.push({path:'/patients/new_physicalexamination?id='+this.id})
356
-
368
+      } else if(name == '3-4'){
369
+        this.$router.push({ path: '/patients/sickHistory_new?id='+ this.id })
370
+      } else if(name == '3-5'){
371
+        this.$router.push({ path: '/patients/course_new?id='+ this.id })
357
       } else if(name == '4-1'){
372
       } else if(name == '4-1'){
358
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
373
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
374
+      } else if (name == '4-2') {
375
+        this.$router.push({ path: '/patients/inspection_new?id=' + this.id })
359
       } else if(name == '4-3'){
376
       } else if(name == '4-3'){
360
         this.$router.push({path:'/patients/ktv?id='+this.id})
377
         this.$router.push({path:'/patients/ktv?id='+this.id})
361
       }else if(name == '4-12'){
378
       }else if(name == '4-12'){

+ 11 - 5
src/xt_pages/user/components/PatientSidebar_new.vue View File

41
       >
41
       >
42
       </el-tree>
42
       </el-tree>
43
     </div>
43
     </div>
44
-    <div class="patient-app-container" :style="{width:treeKey!='3-4' ?'100vw':''}">
44
+    <div class="patient-app-container" :style="{width:(treeKey!='3-4'&& treeKey!='3-5')?'100vw':''}">
45
       <span class="patient-name"
45
       <span class="patient-name"
46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
47
           tranSex(currentPatient.gender)
47
           tranSex(currentPatient.gender)
159
               name: '3-1',
159
               name: '3-1',
160
               label: '病史'
160
               label: '病史'
161
             },
161
             },
162
-            // {
163
-            //   name: '3-4',
164
-            //   label: '病史新'
165
-            // },
162
+            {
163
+              name: '3-4',
164
+              label: '病史新'
165
+            },
166
             {
166
             {
167
               name: '3-2',
167
               name: '3-2',
168
               label: '体格检查'
168
               label: '体格检查'
171
             //   name: '3-3',
171
             //   name: '3-3',
172
             //   label: '体格检查新'
172
             //   label: '体格检查新'
173
             // },
173
             // },
174
+            {
175
+              name: '3-5',
176
+              label: '病程记录新'
177
+            },
174
             {
178
             {
175
               name: '1-11',
179
               name: '1-11',
176
               label: '首次病程记录'
180
               label: '首次病程记录'
353
         this.$router.push({path:'/patients/new_physicalexamination?id='+this.id})
357
         this.$router.push({path:'/patients/new_physicalexamination?id='+this.id})
354
       } else if(name == '3-4'){
358
       } else if(name == '3-4'){
355
         this.$router.push({ path: '/patients/sickHistory_new?id='+ this.id })
359
         this.$router.push({ path: '/patients/sickHistory_new?id='+ this.id })
360
+      } else if(name == '3-5'){
361
+        this.$router.push({ path: '/patients/course_new?id='+ this.id })
356
       } else if(name == '4-1'){
362
       } else if(name == '4-1'){
357
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
363
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
358
       } else if(name == '4-3'){
364
       } else if(name == '4-3'){

File diff suppressed because it is too large
+ 1201 - 0
src/xt_pages/user/inspection_new.vue


+ 1 - 2
src/xt_pages/user/patientInfo.vue View File

1
 
1
 
2
 <template>
2
 <template>
3
   <div class="patient-container">
3
   <div class="patient-container">
4
-  <patient-sidebar :id="patientID" v-if="org_id!=0&&org_id!=10702"></patient-sidebar>
4
+  <patient-sidebar :id="patientID"></patient-sidebar>
5
    <!-- <PatientSidebar_new :id="patientID"></PatientSidebar_new> -->
5
    <!-- <PatientSidebar_new :id="patientID"></PatientSidebar_new> -->
6
-   <PatientSidebar_ord :id="patientID" v-if="org_id ==0 || org_id == 10702"></PatientSidebar_ord>
7
   <patient-detail :is-edit='true' :class='panelClass' v-on:tran-patient-info="patientInfo=$event"></patient-detail>
6
   <patient-detail :is-edit='true' :class='panelClass' v-on:tran-patient-info="patientInfo=$event"></patient-detail>
8
   </div>
7
   </div>
9
 </template>
8
 </template>

+ 145 - 47
src/xt_pages/user/sickHistory_new.vue View File

1
 <template>
1
 <template>
2
   <div class="patient-container">
2
   <div class="patient-container">
3
     <!-- <patient-sidebar :id="patient_id" defaultActive="3-1"></patient-sidebar> -->
3
     <!-- <patient-sidebar :id="patient_id" defaultActive="3-1"></patient-sidebar> -->
4
-        <PatientSidebar_new :id="patient_id" defaultActive="3-4"></PatientSidebar_new>
4
+        <PatientSidebar :id="patient_id" defaultActive="3-4"></PatientSidebar>
5
     <!-- <div class="app-container"> -->
5
     <!-- <div class="app-container"> -->
6
     <div v-loading="loading">
6
     <div v-loading="loading">
7
       <div class="patient-app-container advice-container app-container">
7
       <div class="patient-app-container advice-container app-container">
115
               </div>
115
               </div>
116
             </div>
116
             </div>
117
 
117
 
118
-            <div style="margin-top: 30px;">
118
+            <div style="margin-top: 15px;">
119
               <span style="display: inline-block;border-left: 5px solid #3891f1f5;padding-left: 5px;margin-bottom: 5px;">详情</span>
119
               <span style="display: inline-block;border-left: 5px solid #3891f1f5;padding-left: 5px;margin-bottom: 5px;">详情</span>
120
               <keep-alive>
120
               <keep-alive>
121
                 <ueditor ref="ue" :content="new_content" id="editor"></ueditor>
121
                 <ueditor ref="ue" :content="new_content" id="editor"></ueditor>
122
               </keep-alive>
122
               </keep-alive>
123
             </div>
123
             </div>
124
+            <div style="text-align: right;margin-top:10px ;">
125
+              <el-button type="primary" size="small" @click="template_click">
126
+                {{ add_index == 0 ? '设置模板' : '模板库' }}
127
+              </el-button>
128
+            </div>
124
           </div>
129
           </div>
125
         </div>
130
         </div>
126
 
131
 
127
       </div>
132
       </div>
133
+      <el-dialog
134
+        title="设置模板"
135
+        :visible.sync="template_dialog"
136
+        width="20%"
137
+        center>
138
+        <div>
139
+          模板名称:
140
+          <el-input v-model="template_name" placeholder="请输入内容" style="width: 160px;"></el-input>
141
+        </div>
142
+        <span slot="footer" class="dialog-footer">
143
+          <el-button @click="template_dialog = false">取 消</el-button>
144
+          <el-button type="primary" @click="template_save">确 定</el-button>
145
+        </span>
146
+      </el-dialog>
147
+      <el-dialog
148
+        title="模板库"
149
+        :visible.sync="library_dialog"
150
+        width="70%"
151
+        class="lirary"
152
+        >
153
+        <div>
154
+          <div style="display: flex;">
155
+            <div style="width: 27%;">
156
+              <el-table
157
+                :data="tableData"
158
+                :highlight-current-row="true"
159
+                @row-click="rowclick"
160
+                style="width: 100%">
161
+                <el-table-column
162
+                  prop="index"
163
+                  label="序号"
164
+                  width="">
165
+                </el-table-column>
166
+                <el-table-column
167
+                  prop="name"
168
+                  label="模板名称"
169
+                  width="">
170
+                </el-table-column>
171
+              </el-table>
172
+            </div>
173
+            <div style="width: 72%;margin-left: 10px;">
174
+              <div class="Second_title">模板内容</div>
175
+              <div style="">
176
+                <keep-alive>
177
+                  <ueditor ref="ue" :content="new_content" id="editor"></ueditor>
178
+                </keep-alive>
179
+              </div>
180
+            </div>
181
+          </div>
182
+        </div>
183
+        <span slot="footer" class="dialog-footer" style="text-align: center;">
184
+          <el-button type="danger" @click="template_dele">删除模板</el-button>
185
+          <el-button type="primary" @click="template_save">保存模板</el-button>
186
+          <el-button type="primary" @click="template_save">应用</el-button>
187
+          <el-button @click="library_dialog = false">取消</el-button>
188
+        </span>
189
+      </el-dialog>
190
+
191
+
192
+
193
+
194
+
195
+
196
+
197
+
198
+
128
       <!-- </div> -->
199
       <!-- </div> -->
129
       <el-dialog title="新增病史记录" width="70%" top="5vh" :visible.sync="show_dialog">
200
       <el-dialog title="新增病史记录" width="70%" top="5vh" :visible.sync="show_dialog">
130
         <div>
201
         <div>
274
       </el-dialog>
345
       </el-dialog>
275
     </div>
346
     </div>
276
   </div>
347
   </div>
277
-
278
   <!-- </div> -->
348
   <!-- </div> -->
279
 </template>
349
 </template>
280
 
350
 
350
       shen_fumo:'',
420
       shen_fumo:'',
351
       shen_yishen:'',
421
       shen_yishen:'',
352
       shen_guomi:'',
422
       shen_guomi:'',
423
+      template_name:'',
424
+      template_dialog:false,
425
+      library_dialog:false,
426
+
353
       yizhi_options:[{value:1,label:'无'},{value:2,label:'有'}],
427
       yizhi_options:[{value:1,label:'无'},{value:2,label:'有'}],
354
       yishen_options:[],
428
       yishen_options:[],
355
       guomi_options:[{value:1,label:'无'},{value:2,label:'有'},{value:3,label:'不详'}],
429
       guomi_options:[{value:1,label:'无'},{value:2,label:'有'},{value:3,label:'不详'}],
394
     this.fetchAllDoctorAndNurse()
468
     this.fetchAllDoctorAndNurse()
395
 
469
 
396
   },
470
   },
471
+  mounted(){
472
+    // setTimeout(()=>{
473
+      // console.log('1111222',this.new_content);
474
+
475
+    //   this.$refs.ue.parent.setDisabled()
476
+    // },10)
477
+  },
397
   methods: {
478
   methods: {
398
     add_click(){
479
     add_click(){
399
       this.disabled = false
480
       this.disabled = false
400
       this.add_index = 1
481
       this.add_index = 1
401
     },
482
     },
402
     showSave(){
483
     showSave(){
403
-      // this.disabled = true
484
+      this.disabled = true
404
       this.add_index = 0
485
       this.add_index = 0
405
     },
486
     },
406
     showCancel(){
487
     showCancel(){
488
+      this.disabled = true
407
       this.add_index = 0
489
       this.add_index = 0
408
     },
490
     },
409
     rowclick(row,column, eventc){
491
     rowclick(row,column, eventc){
410
       console.log('row',row);
492
       console.log('row',row);
411
-      // this.edit_index = row.index
493
+      this.edit_index = row.index
412
     },
494
     },
413
     template_click(){
495
     template_click(){
414
       console.log('this.add_index',this.add_index);
496
       console.log('this.add_index',this.add_index);
684
 </script>
766
 </script>
685
 
767
 
686
 <style rel="stylesheet/css" lang="scss" scoped>
768
 <style rel="stylesheet/css" lang="scss" scoped>
687
-.container {
688
-  margin-left: 180px;
689
-  padding: 20px;
690
-  background: #fff;
691
-  min-height: calc(100vh - 173px);
692
-  margin-bottom: 15px;
693
-
694
-.record {
695
-  padding-top: 20px;
696
-}
769
+  .container {
770
+    margin-left: 180px;
771
+    padding: 20px;
772
+    background: #fff;
773
+    min-height: calc(100vh - 173px);
774
+    margin-bottom: 15px;
775
+
776
+  .record {
777
+    padding-top: 20px;
778
+  }
697
 
779
 
698
-}
699
-.record_content_panel {
700
-  border-width: 1px;
701
-  border-style: solid;
702
-  border-color: #ebeef5;
703
-  min-height: 200px;
704
-
705
-.title {
706
-  font-size: 14px;
707
-  font-weight: 500;
708
-  color: #909399;
709
-  line-height: 44px;
710
-  height: 44px;
711
-  text-align: center;
712
-  border-bottom-width: 1px;
713
-  border-bottom-style: solid;
714
-  border-bottom-color: #ebeef5;
715
-}
780
+  }
781
+  .record_content_panel {
782
+    border-width: 1px;
783
+    border-style: solid;
784
+    border-color: #ebeef5;
785
+    min-height: 200px;
786
+
787
+  .title {
788
+    font-size: 14px;
789
+    font-weight: 500;
790
+    color: #909399;
791
+    line-height: 44px;
792
+    height: 44px;
793
+    text-align: center;
794
+    border-bottom-width: 1px;
795
+    border-bottom-style: solid;
796
+    border-bottom-color: #ebeef5;
797
+  }
716
 
798
 
717
-.content {
718
-  padding: 12px 15px;
719
-  font-size: 15px;
720
-  color: gray;
721
-  line-height: 22px;
722
-}
799
+  .content {
800
+    padding: 12px 15px;
801
+    font-size: 15px;
802
+    color: gray;
803
+    line-height: 22px;
804
+  }
723
 
805
 
724
-}
806
+  }
725
 
807
 
726
-.new_record_form {
808
+  .new_record_form {
727
 
809
 
728
-/*/ / padding: 10 px, 25 px;*/
810
+  /*/ / padding: 10 px, 25 px;*/
729
 
811
 
730
-.textarea_panel {
731
-  margin-top: 10px;
732
-}
812
+  .textarea_panel {
813
+    margin-top: 10px;
814
+  }
733
 
815
 
734
-}
816
+  }
817
+  .Second_title{
818
+    border-left: 5px solid #3891f1f5;
819
+    text-align: left;
820
+    padding-left: 5px;
821
+    // margin-left: 10px;
822
+    margin-bottom: 5px;
823
+    font-size: 16px;
824
+  }
735
 </style>
825
 </style>
736
-<style>
826
+<style lang="scss">
737
 .el-table td,
827
 .el-table td,
738
 .el-table th.is-leaf,
828
 .el-table th.is-leaf,
739
 .el-table--border,
829
 .el-table--border,
745
 .el-table::before {
835
 .el-table::before {
746
   background-color: #d0d3da;
836
   background-color: #d0d3da;
747
 }
837
 }
838
+.lirary{
839
+    .el-dialog__body{
840
+      padding: 0px 20px !important;
841
+    }
842
+    .el-dialog__footer{
843
+      text-align: center;
844
+    }
845
+  }
748
 </style>
846
 </style>