瀏覽代碼

11月20 结算单

yq1 14 小時之前
父節點
當前提交
6d501a33b6

+ 23 - 6
src/xt_pages/user/components/PatientSidebar.vue 查看文件

@@ -41,7 +41,7 @@
41 41
       >
42 42
       </el-tree>
43 43
     </div>
44
-    <div class="patient-app-container ">
44
+    <div class="patient-app-container " :style="{width:(treeKey!='3-4'&& treeKey!='3-5')?'100vw':''}">
45 45
       <span class="patient-name"
46 46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
47 47
           tranSex(currentPatient.gender)
@@ -159,14 +159,22 @@ export default {
159 159
               name: '3-1',
160 160
               label: '病史'
161 161
             },
162
+            {
163
+              name: '3-4',
164
+              label: '病史新'
165
+            },
162 166
             {
163 167
               name: '3-2',
164 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 179
               name: '1-11',
172 180
               label: '首次病程记录'
@@ -194,6 +202,10 @@ export default {
194 202
               name: '1-3',
195 203
               label: '肾科检验'
196 204
             },
205
+            {
206
+              name: '4-2',
207
+              label: '肾科检验新'
208
+            },
197 209
             // {
198 210
             //   name: '4-12',
199 211
             //   label: '新版肾科检验'
@@ -353,9 +365,14 @@ export default {
353 365
 
354 366
       } else if(name == '3-3'){
355 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 372
       } else if(name == '4-1'){
358 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 376
       } else if(name == '4-3'){
360 377
         this.$router.push({path:'/patients/ktv?id='+this.id})
361 378
       }else if(name == '4-12'){

+ 11 - 5
src/xt_pages/user/components/PatientSidebar_new.vue 查看文件

@@ -41,7 +41,7 @@
41 41
       >
42 42
       </el-tree>
43 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 45
       <span class="patient-name"
46 46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
47 47
           tranSex(currentPatient.gender)
@@ -159,10 +159,10 @@ export default {
159 159
               name: '3-1',
160 160
               label: '病史'
161 161
             },
162
-            // {
163
-            //   name: '3-4',
164
-            //   label: '病史新'
165
-            // },
162
+            {
163
+              name: '3-4',
164
+              label: '病史新'
165
+            },
166 166
             {
167 167
               name: '3-2',
168 168
               label: '体格检查'
@@ -171,6 +171,10 @@ export default {
171 171
             //   name: '3-3',
172 172
             //   label: '体格检查新'
173 173
             // },
174
+            {
175
+              name: '3-5',
176
+              label: '病程记录新'
177
+            },
174 178
             {
175 179
               name: '1-11',
176 180
               label: '首次病程记录'
@@ -353,6 +357,8 @@ export default {
353 357
         this.$router.push({path:'/patients/new_physicalexamination?id='+this.id})
354 358
       } else if(name == '3-4'){
355 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 362
       } else if(name == '4-1'){
357 363
         this.$router.push({path:'/patients/inspection_check?id='+this.id})
358 364
       } else if(name == '4-3'){

文件差異過大導致無法顯示
+ 1201 - 0
src/xt_pages/user/inspection_new.vue


+ 1 - 2
src/xt_pages/user/patientInfo.vue 查看文件

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

+ 145 - 47
src/xt_pages/user/sickHistory_new.vue 查看文件

@@ -1,7 +1,7 @@
1 1
 <template>
2 2
   <div class="patient-container">
3 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 5
     <!-- <div class="app-container"> -->
6 6
     <div v-loading="loading">
7 7
       <div class="patient-app-container advice-container app-container">
@@ -115,16 +115,87 @@
115 115
               </div>
116 116
             </div>
117 117
 
118
-            <div style="margin-top: 30px;">
118
+            <div style="margin-top: 15px;">
119 119
               <span style="display: inline-block;border-left: 5px solid #3891f1f5;padding-left: 5px;margin-bottom: 5px;">详情</span>
120 120
               <keep-alive>
121 121
                 <ueditor ref="ue" :content="new_content" id="editor"></ueditor>
122 122
               </keep-alive>
123 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 129
           </div>
125 130
         </div>
126 131
 
127 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 199
       <!-- </div> -->
129 200
       <el-dialog title="新增病史记录" width="70%" top="5vh" :visible.sync="show_dialog">
130 201
         <div>
@@ -274,7 +345,6 @@
274 345
       </el-dialog>
275 346
     </div>
276 347
   </div>
277
-
278 348
   <!-- </div> -->
279 349
 </template>
280 350
 
@@ -350,6 +420,10 @@ export default {
350 420
       shen_fumo:'',
351 421
       shen_yishen:'',
352 422
       shen_guomi:'',
423
+      template_name:'',
424
+      template_dialog:false,
425
+      library_dialog:false,
426
+
353 427
       yizhi_options:[{value:1,label:'无'},{value:2,label:'有'}],
354 428
       yishen_options:[],
355 429
       guomi_options:[{value:1,label:'无'},{value:2,label:'有'},{value:3,label:'不详'}],
@@ -394,21 +468,29 @@ export default {
394 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 478
   methods: {
398 479
     add_click(){
399 480
       this.disabled = false
400 481
       this.add_index = 1
401 482
     },
402 483
     showSave(){
403
-      // this.disabled = true
484
+      this.disabled = true
404 485
       this.add_index = 0
405 486
     },
406 487
     showCancel(){
488
+      this.disabled = true
407 489
       this.add_index = 0
408 490
     },
409 491
     rowclick(row,column, eventc){
410 492
       console.log('row',row);
411
-      // this.edit_index = row.index
493
+      this.edit_index = row.index
412 494
     },
413 495
     template_click(){
414 496
       console.log('this.add_index',this.add_index);
@@ -684,56 +766,64 @@ export default {
684 766
 </script>
685 767
 
686 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 825
 </style>
736
-<style>
826
+<style lang="scss">
737 827
 .el-table td,
738 828
 .el-table th.is-leaf,
739 829
 .el-table--border,
@@ -745,4 +835,12 @@ export default {
745 835
 .el-table::before {
746 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 846
 </style>