浏览代码

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 4 个月前
父节点
当前提交
7c1db780c9

+ 21 - 1
src/api/patient.js 查看文件

@@ -1221,4 +1221,24 @@ export function deletePatientDeathSummary(params){
1221 1221
     method:"get",
1222 1222
     params:params
1223 1223
   })
1224
-}
1224
+}
1225
+
1226
+
1227
+export function createNewSickHistoryRecord(data){
1228
+
1229
+  return request({
1230
+    url:"/api/patient/createnewsickhistoryrecord",
1231
+    method:"post",
1232
+    data:data,
1233
+  })
1234
+}
1235
+
1236
+export function getNewSickHistory(params){
1237
+
1238
+  return request({
1239
+    url:"/api/patient/getnewsickhistory",
1240
+    method:"get",
1241
+    params:params,
1242
+  })
1243
+}
1244
+

+ 4 - 0
src/main.js 查看文件

@@ -31,6 +31,10 @@ import './xt_permission'
31 31
 // import '../static/ueditor/lang/zh-cn/zh-cn.js'
32 32
 // import '../static/ueditor/ueditor.parse.min.js'
33 33
 // import './mock' // simulation data
34
+import '../static/ueditor/ueditor.config.js'
35
+import '../static/ueditor/ueditor.all.min.js'
36
+import '../static/ueditor/lang/zh-cn/zh-cn.js'
37
+import '../static/ueditor/ueditor.parse.min.js'
34 38
 import VueClipboard from 'vue-clipboard2'
35 39
 
36 40
 import * as filters from './filters' // global filters

+ 40 - 0
src/router/modules/patient.js 查看文件

@@ -139,6 +139,17 @@ export default {
139 139
       noCache: true
140 140
     }
141 141
   },
142
+  {//新
143
+    path: '/patients/inspection_new',
144
+    component: () => import('@/xt_pages/user/inspection_new'),
145
+    hidden: true,
146
+    is_menu: false,
147
+    name: 'Inspection',
148
+    meta: {
149
+      title: 'inspection',
150
+      noCache: true
151
+    }
152
+  },
142 153
   {
143 154
     path: '/patients/newInspection',
144 155
     component: () => import('@/xt_pages/user/lapsoInspection'),
@@ -213,6 +224,17 @@ export default {
213 224
       noCache: true
214 225
     }
215 226
   },
227
+  {//新
228
+    path: '/patients/course_new',
229
+    component: () => import('@/xt_pages/user/courseOfDisease_new'),
230
+    hidden: true,
231
+    is_menu: false,
232
+    name: 'CourseOfDiseaseManage',
233
+    meta: {
234
+      title: 'CourseOfDiseaseManage',
235
+      noCache: true
236
+    }
237
+  },
216 238
   {
217 239
       path: '/patients/sickhistory',
218 240
       component: () => import('@/xt_pages/user/sickHistory'),
@@ -221,6 +243,15 @@ export default {
221 243
       name: 'sickHistory',
222 244
       meta: { title: 'sickHistory', noCache: true }
223 245
   },
246
+  // 新
247
+  {
248
+    path: '/patients/sickHistory_new',
249
+    component: () => import('@/xt_pages/user/sickHistory_new'),
250
+    hidden: true,
251
+    is_menu: false,
252
+    name: 'sickHistory',
253
+    meta: { title: 'sickHistory', noCache: true }
254
+  },
224 255
   {
225 256
       path: '/patients/inspection_check',
226 257
       component: () => import('@/xt_pages/user/inspectionCheck'),
@@ -245,6 +276,15 @@ export default {
245 276
     name: 'physicalexamination',
246 277
     meta: { title: 'physicalexamination', noCache: true }
247 278
   },
279
+  // 新
280
+  {
281
+    path: '/patients/new_physicalexamination',
282
+    component: () => import('@/xt_pages/user/Physicalexamination_new'),
283
+    hidden: true,
284
+    is_menu: false,
285
+    name: 'physicalexamination',
286
+    meta: { title: 'physicalexamination', noCache: true }
287
+  },
248 288
   {
249 289
     path: '/patients/rescue',
250 290
     component: () => import('@/xt_pages/user/rescueRecord'),

+ 5 - 3
src/xt_pages/dialysis/PatientBox.vue 查看文件

@@ -26,9 +26,9 @@
26 26
                 {{ schedule.patient.name
27 27
                 }}<span class="yc" v-show="isAbnormal(schedule)">异常</span>
28 28
               </h3>
29
-              <span class="num"
30
-                >{{ genderText(schedule) }} | {{ getAge(schedule) }} 岁</span
31
-              >
29
+              <span class="num">
30
+                {{ genderText(schedule) }} | {{ getAge(schedule)>200 ? schedule.patient.age : getAge(schedule) }} 岁
31
+              </span>
32 32
               <div
33 33
                 style="
34 34
                   margin-left: 10px;
@@ -499,6 +499,8 @@ export default {
499 499
       // return nowYear - birthdayYear
500 500
     },
501 501
     getAge: function (val) {
502
+      console.log('1111111111222222',val);
503
+      
502 504
       var thisLen = val.patient.id_card_no.length;
503 505
       var birth = "";
504 506
       if (thisLen == 15) {

+ 19 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_eighty.vue 查看文件

@@ -1036,21 +1036,35 @@
1036 1036
                         <div class="under_line"
1037 1037
                           style="width: 50px; text-align: center"
1038 1038
                         >
1039
-                          {{
1039
+                          <!-- {{
1040 1040
                             record.assessment_after_dislysis.systolic_blood_pressure
1041 1041
                               ? record.assessment_after_dislysis.systolic_blood_pressure
1042 1042
                               : "/"
1043
-                          }}
1043
+                          }} -->
1044
+                          <span v-if="record.monitor_records.length>0">
1045
+                            {{ 
1046
+                              record.monitor_records[record.monitor_records.length-1].systolic_blood_pressure ?
1047
+                              record.monitor_records[record.monitor_records.length-1].systolic_blood_pressure :'/'
1048
+                            }}
1049
+                          </span>
1050
+                          <span v-else>/</span>
1044 1051
                         </div>
1045 1052
                         /
1046 1053
                         <div class="under_line"
1047 1054
                           style="width: 50px; text-align: center"
1048 1055
                         >
1049
-                          {{
1056
+                          <!-- {{
1050 1057
                              record.assessment_after_dislysis.diastolic_blood_pressure
1051 1058
                               ?  record.assessment_after_dislysis.diastolic_blood_pressure
1052 1059
                               : "/"
1053
-                          }}
1060
+                          }} -->
1061
+                          <span v-if="record.monitor_records.length>0">
1062
+                            {{ 
1063
+                              record.monitor_records[record.monitor_records.length-1].diastolic_blood_pressure ?
1064
+                              record.monitor_records[record.monitor_records.length-1].diastolic_blood_pressure : '/'
1065
+                            }}
1066
+                          </span>
1067
+                          <span v-else>/</span>
1054 1068
                         </div>
1055 1069
                         mmHg
1056 1070
                       </div>
@@ -1185,7 +1199,7 @@
1185 1199
                               : "/"
1186 1200
                           }}
1187 1201
                         </div>
1188
-                        kg
1202
+                        L
1189 1203
                       </div>
1190 1204
                     </div>
1191 1205
 

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seventyeight.vue 查看文件

@@ -1412,9 +1412,9 @@
1412 1412
                         </div>
1413 1413
                         min
1414 1414
                       </div>
1415
-                      <div class="inline_block" style="flex: 2">
1415
+                      <div class="inline_block" style="flex: 3">
1416 1416
                         透后宣教:
1417
-                        <div class="under_line" style="width: 60%; text-align: center">
1417
+                        <div class="under_line" style="width: 85%; text-align: left;white-space: normal;">
1418 1418
                           {{ record.summer ? record.summer.mission : '/' }}
1419 1419
                         </div>
1420 1420
                       </div>

+ 17 - 14
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 查看文件

@@ -387,7 +387,7 @@
387 387
                 org_id == 10599 || 
388 388
                 org_id == 10612 ||
389 389
                 org_id == 10617 ||
390
-                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090 || org_id ==10723 || org_id == 10721 || org_id ==10727) &&
390
+                org_id ==10580 || org_id ==10629 || org_id==10677 || org_id ==10667 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id ==10090 || org_id ==10723 || org_id == 10721 || org_id ==10727 || org_id == 10206) &&
391 391
                 org_id!=10387
392 392
             "
393 393
           >
@@ -458,7 +458,7 @@
458 458
               && org_id!=10432 && org_id!=10445
459 459
               && org_id!=10410 && org_id!=10495 &&
460 460
                org_id!=10485 && org_id!=10395 && org_id!=10375
461
-               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727)
461
+               && org_id!=10480  && org_id!=10551 && org_id!=10597 && org_id!=10599 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10697 && org_id!=10635  && org_id!=10702  && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727  && org_id!=10206)
462 462
               || org_id == 10387
463 463
             "
464 464
           >
@@ -529,7 +529,7 @@
529 529
                 org_id == 10410 ||
530 530
                 org_id == 10495  ||
531 531
                 org_id == 10395
532
-                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id ==10727)
532
+                || org_id == 10485 || org_id == 10375 || org_id ==10480 || org_id ==10551 || org_id ==10597 || org_id ==10599 || org_id ==10612 || org_id==10617 || org_id ==10580 || org_id ==10629 || org_id ==10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id ==10727 || org_id == 10206)
533 533
                 && org_id!=10387
534 534
             "
535 535
           >
@@ -584,7 +584,7 @@
584 584
               org_id!=10432 &&
585 585
               org_id!=10445 &&
586 586
               org_id!=10410 && org_id!=10495
587
-              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727) ||
587
+              && org_id!=10485 && org_id!=10395 && org_id!=10375 && org_id!=10480 && org_id!=10551 && org_id!=10597 && org_id!=10599&& org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10629 && org_id!=10677 && org_id!=10667 && org_id!=10693  && org_id!=10697  && org_id!=10635  && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206) ||
588 588
               org_id == 10387
589 589
             "
590 590
           >
@@ -797,7 +797,8 @@
797 797
                 org_id == 10340 ||
798 798
                 org_id == 10432 ||
799 799
                 org_id == 10445 ||
800
-                org_id == 10395 
800
+                org_id == 10395 ||
801
+                org_id == 10206
801 802
                 )
802 803
             "
803 804
           >
@@ -831,7 +832,8 @@
831 832
               org_id !=10340 &&
832 833
               org_id !=10432 &&
833 834
               org_id !=10445 && 
834
-              org_id!=10395 
835
+              org_id!=10395  &&
836
+              org_id!=10206
835 837
             "
836 838
           >
837 839
             <template slot-scope="scope">
@@ -1683,7 +1685,7 @@
1683 1685
                 org_id== 10432 ||
1684 1686
                 org_id== 10445 ||
1685 1687
                 org_id== 10410 ||
1686
-                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id == 10727) &&
1688
+                org_id == 10485 || org_id == 10375 || org_id == 10480 || org_id == 10551 || org_id ==10612 || org_id ==10580 || org_id ==10617 || org_id ==10667 || org_id == 10693 || org_id ==10697 || org_id ==10635 || org_id ==10702 || org_id == 10090 || org_id == 10723 || org_id == 10721 || org_id == 10727 || org_id == 10206) &&
1687 1689
                 org_id!=10387
1688 1690
             "
1689 1691
           >
@@ -1731,7 +1733,7 @@
1731 1733
               org_id!=10445 &&
1732 1734
               org_id!=10410 &&
1733 1735
               org_id!=10485 &&
1734
-              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727)
1736
+              org_id!=10375 &&  org_id!=10480 &&  org_id!=10551 && org_id!=10612 && org_id!=10617 && org_id!=10580 && org_id!=10667 && org_id!=10693 && org_id!=10697 && org_id!=10635 && org_id!=10702 && org_id!=10090 && org_id!=10723 && org_id!=10721 && org_id!=10727 && org_id!=10206)
1735 1737
               || org_id == 10387
1736 1738
             "
1737 1739
           >
@@ -1804,7 +1806,7 @@
1804 1806
                 org_id == 10599 ||
1805 1807
                 org_id ==10612 || 
1806 1808
                 org_id ==10617 || 
1807
-                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090 || org_id ==10723 || org_id == 10721 || org_id == 10727)
1809
+                org_id==10580 || org_id ==10629 || org_id == 10677 || org_id == 10667 || org_id == 10693 || org_id == 10697 || org_id == 10635 || org_id == 10702 || org_id == 10090 || org_id ==10723 || org_id == 10721 || org_id == 10727 || org_id ==10206)
1808 1810
                 && org_id!=10387 && org_id!=10694
1809 1811
             "
1810 1812
           >
@@ -1881,7 +1883,8 @@
1881 1883
               org_id!=10090 && 
1882 1884
               org_id!=10723 &&
1883 1885
               org_id!=10721 &&
1884
-              org_id!=10727
1886
+              org_id!=10727 &&
1887
+              org_id!=10206
1885 1888
               )
1886 1889
               || org_id == 10387 || org_id == 10694
1887 1890
             "
@@ -1947,7 +1950,7 @@
1947 1950
               org_id!=10395 &&
1948 1951
               org_id!=10617 &&
1949 1952
               org_id!=10677 &&
1950
-              org_id!=10721 && org_id!=10727)
1953
+              org_id!=10721 && org_id!=10727 && org_id!=10206)
1951 1954
               || org_id ==10558 || org_id==10598
1952 1955
             "
1953 1956
           >
@@ -1975,7 +1978,7 @@
1975 1978
                 org_id==10445 ||
1976 1979
                 org_id==10410 ||
1977 1980
                 org_id==10395 || 
1978
-                org_id==10617 || org_id==10677 || org_id == 10721 || org_id!=10727) && org_id !=10558 && org_id!=10598 && org_id!=10414
1981
+                org_id==10617 || org_id==10677 || org_id == 10721 || org_id==10727 || org_id==10206) && org_id !=10558 && org_id!=10598 && org_id!=10414
1979 1982
             "
1980 1983
           >
1981 1984
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
@@ -2000,7 +2003,7 @@
2000 2003
             :span="8"
2001 2004
             v-if="
2002 2005
               isShow('置换量') &&
2003
-              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id ==10551 || org_id ==10558 || org_id ==10346 || org_id ==10598 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id ==10644 || org_id == 10721 || org_id ==10727) &&
2006
+              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id ==10551 || org_id ==10558 || org_id ==10346 || org_id ==10598 || org_id == 10694 || org_id == 10697 || org_id ==10567 || org_id ==10644 || org_id == 10721 || org_id ==10727 || org_id ==10206) &&
2004 2007
               org_id != 9779 &&
2005 2008
               template_id != 11 &&
2006 2009
               template_id != 20 &&
@@ -2032,7 +2035,7 @@
2032 2035
                 org_id != 9919 &&
2033 2036
                 org_id != 10191 &&
2034 2037
                 org_id != 10551 &&
2035
-                template_id != 43 && org_id!=10558 && org_id!=10346 && org_id!=10598 && org_id!=10414 && org_id !=10694 && org_id != 10697&& org_id != 10567 && org_id!=10644) ||
2038
+                template_id != 43 && org_id!=10558 && org_id!=10346 && org_id!=10598 && org_id!=10414 && org_id !=10694 && org_id != 10697&& org_id != 10567 && org_id!=10644 && org_id!=10206) ||
2036 2039
                 org_id == 9779 ||
2037 2040
                 template_id == 11 ||
2038 2041
                 template_id == 20 ||

+ 6 - 6
src/xt_pages/dialysis/details/dialysisMonitoring.vue 查看文件

@@ -20,18 +20,18 @@
20 20
           <th v-if="isShow('血流量1')" width="92px">血流量(ml/min)</th>
21 21
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
22 22
           <th v-if="isShow('跨膜压1')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
23
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 " width="76px" > 超滤量(ml)</th>
24
-          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 &&  this.$store.getters.xt_user.template_info.org_id!=10721 && this.$store.getters.xt_user.template_info.org_id!=10727) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471"  width="76px"> 超滤量(L) </th>
23
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || template_id == 39 || template_id == 40  || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47 || template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || template_id == 53 || template_id == 54 || template_id == 56 || template_id == 60 || template_id == 65 || this.$store.getters.xt_user.template_info.org_id == 10340  || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10599 || this.$store.getters.xt_user.template_info.org_id == 10597  || this.$store.getters.xt_user.template_info.org_id == 10612  || this.$store.getters.xt_user.template_info.org_id == 10617  || this.$store.getters.xt_user.template_info.org_id == 10580  || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677  || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635  || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206) &&this.$store.getters.xt_user.template_info.org_id!=10387 &&this.$store.getters.xt_user.template_info.org_id!=10471 " width="76px" > 超滤量(ml)</th>
24
+          <th v-if=" isShow('超滤量') && (template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && template_id != 39 && template_id != 40  && template_id != 41 && template_id != 43 && template_id != 44 && template_id != 46  && template_id != 47 && template_id != 48 && template_id != 53  && template_id != 54  && template_id != 56  && template_id != 60 && template_id != 65 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 && this.$store.getters.xt_user.template_info.org_id!=10485  && this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10599  && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 &&  this.$store.getters.xt_user.template_info.org_id!=10721 && this.$store.getters.xt_user.template_info.org_id!=10727 && this.$store.getters.xt_user.template_info.org_id!=10206) || this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10471"  width="76px"> 超滤量(L) </th>
25 25
           <th v-if=" isShow('超滤量1')"  width="76px"> 超滤量(ml) </th>
26
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
-          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10721  && this.$store.getters.xt_user.template_info.org_id!=10727 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
26
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 65 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38 || template_id == 41 || template_id == 43 || template_id == 44 || template_id == 46 || template_id == 47  || template_id == 48  || template_id == 53 || template_id == 54 || template_id == 56  || template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10485 || this.$store.getters.xt_user.template_info.org_id == 10375 || this.$store.getters.xt_user.template_info.org_id == 10480 || this.$store.getters.xt_user.template_info.org_id == 10597 || this.$store.getters.xt_user.template_info.org_id == 10599  || this.$store.getters.xt_user.template_info.org_id == 10612 || this.$store.getters.xt_user.template_info.org_id == 10617 || this.$store.getters.xt_user.template_info.org_id == 10580 || this.$store.getters.xt_user.template_info.org_id == 10629 || this.$store.getters.xt_user.template_info.org_id == 10677 || this.$store.getters.xt_user.template_info.org_id == 10667 || this.$store.getters.xt_user.template_info.org_id == 10693 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10697 || this.$store.getters.xt_user.template_info.org_id == 10635 || this.$store.getters.xt_user.template_info.org_id == 10702 || this.$store.getters.xt_user.template_info.org_id == 10721 || this.$store.getters.xt_user.template_info.org_id == 10727 || this.$store.getters.xt_user.template_info.org_id == 10206) && this.$store.getters.xt_user.template_info.org_id!=10387" width="50px"> 超滤率 <br />(ml/h) </th>
27
+          <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && this.$store.getters.xt_user.template_info.org_id!=10445 && this.$store.getters.xt_user.template_info.org_id!=10410 &&this.$store.getters.xt_user.template_info.org_id!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 && this.$store.getters.xt_user.template_info.org_id!=10679 && this.$store.getters.xt_user.template_info.org_id!=10667 && this.$store.getters.xt_user.template_info.org_id!=10693 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10697 && this.$store.getters.xt_user.template_info.org_id!=10635 && this.$store.getters.xt_user.template_info.org_id!=10702 && this.$store.getters.xt_user.template_info.org_id!=10721  && this.$store.getters.xt_user.template_info.org_id!=10727  && this.$store.getters.xt_user.template_info.org_id!=10206 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
28 28
           <th v-if="isShow('超滤率2')" width="92px">超滤率(ml/h)</th>
29 29
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
30 30
           <th v-if="isShow('钠浓度1')" width="92px">钠浓度(mmol/L)</th>
31 31
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
32 32
           <th v-if="isShow('透析液温度1')" width="92px">透析液温度(℃)</th>
33
-          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id ==10617 || org_id==10677 || org_id==10702 || org_id==10721 || org_id ==10727) && org_id!=10558 && org_id!=10598 && org_id!=10414  " width="92px" > 置换率(ml/min) </th>
34
-          <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617  && org_id!=10677 && org_id !=10702 && org_id !=10721 && org_id !=10727) || org_id == 10558 || org_id ==10598 || org_id ==10414 " width="92px" > 置换率(L/h)  </th>
33
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id ==10617 || org_id==10677 || org_id==10702 || org_id==10721 || org_id ==10727 || org_id == 10206) && org_id!=10558 && org_id!=10598 && org_id!=10414  " width="92px" > 置换率(ml/min) </th>
34
+          <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617  && org_id!=10677 && org_id !=10702 && org_id !=10721 && org_id !=10727 && org_id !=10206) || org_id == 10558 || org_id ==10598 || org_id ==10414 " width="92px" > 置换率(L/h)  </th>
35 35
           <th v-if=" isShow('置换率1')" width="92px" > 置换率(ml/min) </th>
36 36
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
37 37
           <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 ) && org_id!=10558 && org_id!=10598  && org_id!=10414 && org_id!=10694 && org_id!=10697 && org_id!=10567 && org_id!=10644" width="92px"  > 置换量(ml)  </th>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue 查看文件

@@ -1244,9 +1244,9 @@
1244 1244
                       min
1245 1245
                     </div>
1246 1246
 
1247
-                    <div class="inline_block" style="flex: 2">
1247
+                    <div class="inline_block" style="flex: 3">
1248 1248
                       透后宣教:
1249
-                      <div class="under_line" style="width: 80%; text-align: center;white-space: normal;">
1249
+                      <div class="under_line" style="width: 85%; text-align: left;white-space: normal;">
1250 1250
                         {{ summary.mission ? summary.mission : '/' }}
1251 1251
                       </div>
1252 1252
                     </div>

+ 19 - 5
src/xt_pages/dialysis/template/DialysisPrintOrdereighty.vue 查看文件

@@ -876,22 +876,36 @@
876 876
                       <div class="under_line"
877 877
                         style="width: 50px; text-align: center"
878 878
                       >
879
-                        {{
879
+                        <!-- {{
880 880
                           afterdialysis.systolic_blood_pressure
881 881
                             ? afterdialysis.systolic_blood_pressure
882 882
                             : "/"
883
-                        }}
883
+                        }} -->
884
+                          <span v-if="monitors.length>0">
885
+                            {{ 
886
+                              monitors[monitors.length-1].systolic_blood_pressure ?
887
+                              monitors[monitors.length-1].systolic_blood_pressure :"/"
888
+                            }}
889
+                          </span>
890
+                           <span v-else>/</span>
884 891
                       </div>
885 892
                       /
886 893
                       <div
887 894
                         class="under_line"
888 895
                         style="width: 50px; text-align: center"
889 896
                       >
890
-                        {{
897
+                        <!-- {{
891 898
                           afterdialysis.diastolic_blood_pressure
892 899
                             ? afterdialysis.diastolic_blood_pressure
893 900
                             : "/"
894
-                        }}
901
+                        }} -->
902
+                        <span v-if="monitors.length>0">
903
+                          {{ 
904
+                            monitors[monitors.length-1].diastolic_blood_pressure ?
905
+                              monitors[monitors.length-1].diastolic_blood_pressure :"/"
906
+                          }}
907
+                        </span>
908
+                        <span v-else>/</span>
895 909
                       </div>
896 910
                       mmHg
897 911
                     </div>
@@ -1041,7 +1055,7 @@
1041 1055
                             : "/"
1042 1056
                         }}
1043 1057
                       </div>
1044
-                      kg
1058
+                      L
1045 1059
                     </div>
1046 1060
                   </div>
1047 1061
 

+ 18 - 18
src/xt_pages/dialysis/template/DialysisPrintOrdereightytwo.vue 查看文件

@@ -278,7 +278,7 @@
278 278
 
279 279
         <table class="print-table" border="1">
280 280
           <tr>
281
-            <td style="height:40px;line-height:40px">时间</td>
281
+            <td style="height:25px;line-height:25px">时间</td>
282 282
             <td>医嘱</td>
283 283
             <td>医师签名</td>
284 284
             <td>执行时间</td>
@@ -286,7 +286,7 @@
286 286
             <td>核对者签名</td>
287 287
           </tr>
288 288
           <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
289
-            <td style="height:35px;line-height:35px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
289
+            <td style="height:25px;line-height:25px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
290 290
             <td class="parent">
291 291
               <span v-if="advice.parent_id > 0">---></span>
292 292
               <span>{{ advice.advice_name }}</span>
@@ -305,9 +305,9 @@
305 305
               </span>
306 306
               <span
307 307
                 v-else
308
-                style="display:flex;align-items:center;justify-content:space-around;height:36px;"
308
+                style="display:flex;align-items:center;justify-content:space-around;height:25px;"
309 309
               >
310
-                <img style="height:30px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
310
+                <img style="height:25px;" :src="setAdminUserES(advice.advice_doctor)" alt srcset />
311 311
               </span>
312 312
             </td>
313 313
             <td>{{ getTime(advice.execution_time, "{y}-{m}-{d} {h}:{i}") }}</td>
@@ -319,16 +319,16 @@
319 319
               </span>
320 320
               <span
321 321
                 v-else
322
-                style="display:flex;align-items:center;justify-content:space-around;height:36px;"
322
+                style="display:flex;align-items:center;justify-content:space-around;height:25px;"
323 323
               >
324
-                <img style="height:30px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
324
+                <img style="height:25px;" :src="setAdminUserES(advice.execution_staff)" alt srcset />
325 325
               </span>
326 326
             </td>
327 327
             <td>
328 328
               <span v-if="setAdminUserES(advice.checker) == ''">
329 329
                 {{ getAdminUser(advice.checker) }}
330 330
               </span>
331
-              <span v-else style="display:flex;align-items:center;justify-content:space-around;height:36px;">
331
+              <span v-else style="display:flex;align-items:center;justify-content:space-around;height:30px;">
332 332
                 <img style="height:30px;" :src="setAdminUserES(advice.checker)" alt srcset />
333 333
               </span>
334 334
             </td>
@@ -1238,18 +1238,18 @@ export default {
1238 1238
             this.tableAdvice = tableAdvice
1239 1239
           }
1240 1240
 
1241
-          // if (tableAdvice.length >= 6 && tableAdvice.length <= 8) {
1242
-          //   const length = 6 - tableAdvice.length
1243
-          //   var obj = { advice_name: '', start_time: '' }
1244
-          //   for (i = 0; i < length; i++) {
1245
-          //     console.log(1)
1246
-          //     tableAdvice.push(obj)
1247
-          //   }
1241
+          if (tableAdvice.length >= 6 && tableAdvice.length <= 8) {
1242
+            const length = 6 - tableAdvice.length
1243
+            var obj = { advice_name: '', start_time: '' }
1244
+            for (i = 0; i < length; i++) {
1245
+              console.log(1)
1246
+              tableAdvice.push(obj)
1247
+            }
1248 1248
 
1249
-          //   this.tableAdvice = tableAdvice
1250
-          // }else{
1251
-          //   this.tableAdvice = tableAdvice
1252
-          // }
1249
+            this.tableAdvice = tableAdvice
1250
+          }else{
1251
+            this.tableAdvice = tableAdvice
1252
+          }
1253 1253
           this.afterdialysis = response.data.data.AssessmentAfterDislysis
1254 1254
           console.log('透后评估', this.afterdialysis)
1255 1255
           this.operators = response.data.data.operators

+ 20 - 20
src/xt_pages/stock/drugs/inventoryPrint.vue 查看文件

@@ -13,28 +13,28 @@
13 13
 
14 14
                 <table class="printTable" border="1">
15 15
                     <tr>
16
-                        <td>序号</td>
17
-                        <td>名称</td>
18
-                        <td>规格</td>
19
-                        <td>批号</td>
20
-                        <td>生产日期</td>
21
-                        <td>有效日期</td>
22
-                        <td>生产企业</td>
23
-                        <td>国药准字</td>
24
-                        <td>单位</td>
25
-                        <td>库存量</td>
16
+                        <td align="center">序号</td>
17
+                        <td align="center">名称</td>
18
+                        <td align="center">规格</td>
19
+                        <td align="center">批号</td>
20
+                        <td style="width: 100px;" align="center">生产日期</td>
21
+                        <td align="center">有效日期</td>
22
+                        <td align="center">生产企业</td>
23
+                        <td align="center">国药准字</td>
24
+                        <td align="center">单位</td>
25
+                        <td style="width:200px" align="center">库存量</td>
26 26
                     </tr>
27 27
                     <tr v-for="(item,index) in tableData" :key="index">
28
-                        <td>{{index+1}}</td>
29
-                        <td>{{item.drug_name}}</td>
30
-                        <td>{{item.specification_name}}</td>
31
-                        <td>{{item.batch_number}}</td>
32
-                        <td>{{getTime(item.product_date)}}</td>
33
-                        <td>{{getTime(item.expiry_date)}}</td>
34
-                        <td>{{getManufacturerName(item.manufacturer)}}</td>
35
-                        <td>{{item.number}}</td>
36
-                        <td>{{item.max_unit}}</td>
37
-                        <td></td>
28
+                        <td align="center">{{index+1}}</td>
29
+                        <td align="center">{{item.drug_name}}</td>
30
+                        <td align="center">{{item.specification_name}}</td>
31
+                        <td align="center">{{item.batch_number}}</td>
32
+                        <td align="center">{{getTime(item.product_date)}}</td>
33
+                        <td align="center">{{getTime(item.expiry_date)}}</td>
34
+                        <td align="center">{{getManufacturerName(item.manufacturer)}}</td>
35
+                        <td align="center">{{item.number}}</td>
36
+                        <td align="center">{{item.max_unit}}</td>
37
+                        <td align="center"></td>
38 38
                     </tr>
39 39
                 </table>
40 40
 

+ 20 - 20
src/xt_pages/stock/inventoryPrint.vue 查看文件

@@ -13,28 +13,28 @@
13 13
 
14 14
                 <table class="printTable" border="1">
15 15
                     <tr>
16
-                        <td>序号</td>
17
-                        <td>名称</td>
18
-                        <td>规格</td>
19
-                        <td>批号</td>
20
-                        <td>生产日期</td>
21
-                        <td>有效日期</td>
22
-                        <td>生产企业</td>
23
-                        <td>国药准字</td>
24
-                        <td>单位</td>
25
-                        <td>库存量</td>
16
+                        <td align="center">序号</td>
17
+                        <td align="center">名称</td>
18
+                        <td align="center">规格</td>
19
+                        <td align="center">批号</td>
20
+                        <td align="center">生产日期</td>
21
+                        <td align="center">有效日期</td>
22
+                        <td style="width: 100px;" align="center">生产企业</td>
23
+                        <td align="center">国药准字</td>
24
+                        <td align="center">单位</td>
25
+                        <td style="width:200px" align="center">库存量</td>
26 26
                     </tr>
27 27
                     <tr v-for="(item,index) in tableData" :key="index">
28
-                        <td>{{index+1}}</td>
29
-                        <td>{{item.good_name}}</td>
30
-                        <td>{{item.specification_name}}</td>
31
-                        <td>{{item.number}}</td>
32
-                        <td>{{getTime(item.product_date)}}</td>
33
-                        <td>{{getTime(item.expiry_date)}}</td>
34
-                        <td>{{getManufacturerName(item.manufacturer)}}</td>
35
-                        <td>{{item.remark}}</td>
36
-                        <td>{{item.packing_unit}}</td>
37
-                        <td></td>
28
+                        <td align="center">{{index+1}}</td>
29
+                        <td align="center">{{item.good_name}}</td>
30
+                        <td align="center">{{item.specification_name}}</td>
31
+                        <td align="center">{{item.number}}</td>
32
+                        <td align="center">{{getTime(item.product_date)}}</td>
33
+                        <td align="center">{{getTime(item.expiry_date)}}</td>
34
+                        <td align="center">{{getManufacturerName(item.manufacturer)}}</td>
35
+                        <td align="center">{{item.remark}}</td>
36
+                        <td align="center">{{item.packing_unit}}</td>
37
+                        <td align="center"></td>
38 38
                     </tr>
39 39
                 </table>
40 40
 

+ 1 - 1
src/xt_pages/stock/stockInOrderAdd.vue 查看文件

@@ -1052,7 +1052,7 @@
1052 1052
      },
1053 1053
      changeGoodCode(row,index){
1054 1054
         this.textarea=""
1055
-        this.textarea = row.drug_code
1055
+        this.textarea = row.good_code
1056 1056
         this.currentRow = row
1057 1057
         this.currentIndex =index
1058 1058
         this.dialogVisible = true

+ 1 - 1
src/xt_pages/stock/stockInOrderEdit.vue 查看文件

@@ -1053,7 +1053,7 @@ export default {
1053 1053
     },
1054 1054
     changeGoodCode(row,index){
1055 1055
         this.textarea=""
1056
-        this.textarea = row.drug_code
1056
+        this.textarea = row.good_code
1057 1057
         this.currentRow = row
1058 1058
         this.currentIndex =index
1059 1059
         this.dialogVisible = true

+ 25 - 9
src/xt_pages/stock/stockOutOrderAdd.vue 查看文件

@@ -718,6 +718,13 @@ export default {
718 718
           }
719 719
 
720 720
           for(let i=0;i<this.recordInfo.recordData.length;i++){
721
+          
722
+            if( this.recordInfo.recordData[i].count == 0){
723
+              this.$message.error("出库数量不能为空!")
724
+              this.loading = false
725
+              return
726
+            } 
727
+
721 728
              if(this.recordInfo.recordData[i].dealer == ""){
722 729
                 this.recordInfo.recordData[i].dealer = 0
723 730
              }
@@ -736,6 +743,8 @@ export default {
736 743
 
737 744
               this.recordInfo.recordData[i].count = this.recordInfo.recordData[i].count.toString()
738 745
 
746
+             
747
+
739 748
           }
740 749
 
741 750
           for(let i=0;i<this.recordInfo.recordData.length;i++){
@@ -795,10 +804,12 @@ export default {
795 804
             if (response.data.state == 0) {
796 805
               this.$message.error("库存不足")
797 806
               loading.close()
807
+              this.loading = false
798 808
               return false;
799 809
             } else {
800 810
                var msg = response.data.data.msg
801 811
                this.loading = false
812
+               loading.close()
802 813
                var good_name = response.data.data.good_name
803 814
                var specification_name = response.data.data.specification_name
804 815
                var storehose_name = response.data.data.storehose_name
@@ -821,12 +832,12 @@ export default {
821 832
                  var doctorList = response.data.data.doctorList
822 833
                  for(let i=0;i<warehouseOutInfoList.length;i++){
823 834
                     for(let j=0;j<manufacturerList.length;j++){
824
-                       if(warehouseOutInfoList[i].manufacturer_id == manufacturerList[i].id){
825
-                          warehouseOutInfoList[i].manufacturer_id = manufacturerList[i].manufacturer_name
835
+                       if(warehouseOutInfoList[i].manufacturer == manufacturerList[i].id){
836
+                          warehouseOutInfoList[i].manufacturer = manufacturerList[i].manufacturer_name
826 837
                        }
827 838
                     }
828 839
                     for(let z=0;z<dealerList.length;z++){
829
-                      if(warehouseOutInfoList[i].dealer_id == dealerList[z].id){
840
+                      if(warehouseOutInfoList[i].dealer == dealerList[z].id){
830 841
                          warehouseOutInfoList[i].dealer_id = dealerList[z].dealer_name
831 842
                       }
832 843
                     }
@@ -849,6 +860,8 @@ export default {
849 860
                  this.showCheck = true
850 861
                }
851 862
                loading.close()
863
+               this.loading = false
864
+               loading.close()
852 865
 
853 866
             }
854 867
           });
@@ -966,12 +979,12 @@ export default {
966 979
              this.recordInfo.recordData[i].dealer = val.dealer
967 980
             }
968 981
 
969
-            for(let i=0;i<this.recordInfo.recordData.length;i++){
970
-              this.recordInfo.recordData[i].warehouse_info_str = ""
971
-              for(let j=0;j<this.recordInfo.recordData[i].xt_warehouse_info.length;j++){
972
-                this.recordInfo.recordData[i].warehouse_info_str += "批次:"+this.recordInfo.recordData[i].xt_warehouse_info[j].number+" " + "剩余:"+this.recordInfo.recordData[i].xt_warehouse_info[j].stock_count+this.recordInfo.recordData[i].packing_unit +"\n"
973
-              }
974
-            }
982
+            // for(let i=0;i<this.recordInfo.recordData.length;i++){
983
+            //   this.recordInfo.recordData[i].warehouse_info_str = ""
984
+            //   for(let j=0;j<this.recordInfo.recordData[i].xt_warehouse_info.length;j++){
985
+            //     this.recordInfo.recordData[i].warehouse_info_str += "批次:"+this.recordInfo.recordData[i].xt_warehouse_info[j].number+" " + "剩余:"+this.recordInfo.recordData[i].xt_warehouse_info[j].stock_count+this.recordInfo.recordData[i].packing_unit +"\n"
986
+            //   }
987
+            // }
975 988
 
976 989
             console.log("日期我我我哦我",  this.recordInfo.recordData)
977 990
          }
@@ -1117,6 +1130,9 @@ export default {
1117 1130
     tempObj['register_number'] = ''
1118 1131
     tempObj['patient_id'] = 0
1119 1132
     tempObj["class_type"] = ""
1133
+    tempObj["product_date"] = ""
1134
+    tempObj["expiry_date"] = ""
1135
+    tempObj["count"] = ""
1120 1136
    
1121 1137
     this.recordInfo.recordData.push(tempObj);
1122 1138
     this.GetConfigInfo();

+ 1 - 0
src/xt_pages/stock/stockOutOrderEdit.vue 查看文件

@@ -430,6 +430,7 @@ import patient from '../../router/modules/patient'
430 430
         showReturnCheck:false,
431 431
         loading:false,
432 432
         patients:[],
433
+        classType:[{id:1,name:"上午"},{id:2,name:"下午"},{id:3,name:"晚上"}],
433 434
       }
434 435
     },
435 436
     methods: {

+ 18 - 12
src/xt_pages/user/components/PatientSidebar.vue 查看文件

@@ -41,12 +41,20 @@
41 41
       >
42 42
       </el-tree>
43 43
     </div>
44
-    <div class="patient-app-container " :style="{width:(treeKey!='3-4'&& treeKey!='3-5')?'100vw':''}">
44
+    <div class="patient-app-container " :style="{width:(treeKey=='3-3')?'100vw':''}">
45 45
       <span class="patient-name"
46 46
         >姓名:{{ currentPatient.name }} &nbsp;&nbsp; 性别:{{
47 47
           tranSex(currentPatient.gender)
48 48
         }}
49
-        &nbsp;&nbsp; 年龄:{{ getAge(currentPatient) }} &nbsp;&nbsp; 透析号:{{
49
+        &nbsp;&nbsp; 年龄:
50
+        <span v-if="getAge(currentPatient)>200">
51
+          {{ currentPatient.age }}
52
+        </span>
53
+        <span v-else>
54
+          {{ getAge(currentPatient) }}
55
+        </span>
56
+
57
+        &nbsp;&nbsp; 透析号:{{
50 58
           currentPatient.dialysis_no
51 59
         }}
52 60
       </span>
@@ -159,10 +167,10 @@ export default {
159 167
               name: '3-1',
160 168
               label: '病史'
161 169
             },
162
-            // {
163
-            //   name: '3-4',
164
-            //   label: '病史新'
165
-            // },
170
+            {
171
+              name: '3-4',
172
+              label: '病史新'
173
+            },
166 174
             {
167 175
               name: '3-2',
168 176
               label: '体格检查'
@@ -202,10 +210,10 @@ export default {
202 210
               name: '1-3',
203 211
               label: '肾科检验'
204 212
             },
205
-            // {
206
-            //   name: '4-2',
207
-            //   label: '肾科检验新'
208
-            // },
213
+            {
214
+              name: '4-2',
215
+              label: '肾科检验新'
216
+            },
209 217
             // {
210 218
             //   name: '4-12',
211 219
             //   label: '新版肾科检验'
@@ -599,8 +607,6 @@ export default {
599 607
        this.treeKey = this.defaultActive
600 608
 
601 609
     }
602
-
603
-
604 610
     this.getList()
605 611
   },
606 612
 

+ 31 - 21
src/xt_pages/user/inspection.vue 查看文件

@@ -148,13 +148,13 @@
148 148
                         <span v-else> {{ scope.row.value }}</span>
149 149
                       </span>
150 150
                       <span v-if="scope.row.range_type == 1">
151
-                        <span v-if="scope.row.value < parseFloat(scope.row.range_min) ">
151
+                        <span v-if="parseFloat(scope.row.value) < parseFloat(getrange(scope.row.range_min)) ">
152 152
                           {{ scope.row.value }} <span style="color: blue;" v-if="scope.row.value>0">↓</span>
153 153
                         </span>
154
-                        <span v-if="parseFloat(scope.row.range_min)<= parseFloat( scope.row.value) && parseFloat(scope.row.value)<= parseFloat(scope.row.range_max) ">
154
+                        <span v-if="parseFloat(getrange(scope.row.range_min))<= parseFloat( scope.row.value) && parseFloat(scope.row.value)<= parseFloat(getrange(scope.row.range_max)) ">
155 155
                           {{ scope.row.value }}
156 156
                         </span>
157
-                        <span v-if="parseFloat(scope.row.value) >parseFloat(scope.row.range_max) ">
157
+                        <span v-if="parseFloat(scope.row.value) >parseFloat(getrange(scope.row.range_max)) ">
158 158
                           {{ scope.row.value }} <span style="color: red;" v-if="scope.row.value>0">↑</span>
159 159
                         </span>
160 160
                         <span v-if ="scope.row.range_max ==''||scope.row.range_min ==''">
@@ -311,7 +311,7 @@
311 311
     </el-dialog>
312 312
 
313 313
 
314
-
314
+<!-- 新增 -->
315 315
     <el-dialog
316 316
       :title="formTitle"
317 317
       :visible.sync="dialogFormVisible"
@@ -693,6 +693,7 @@ export default {
693 693
             date: this.itemDate,
694 694
             project_id: this.project.project_id
695 695
           }
696
+          console.log('params',params);
696 697
           DeletePatientInspection(params).then(response => {
697 698
             if (response.data.state == 0) {
698 699
               this.$message.error(response.data.msg)
@@ -843,7 +844,7 @@ export default {
843 844
           }
844 845
 
845 846
         }
846
-        console.log(this.form.formItem)
847
+        console.log('11111',this.form.formItem)
847 848
         this.dialogFormVisible = true
848 849
 
849 850
       }
@@ -897,6 +898,8 @@ export default {
897 898
 
898 899
     },
899 900
     openNew() {
901
+      console.log('this.project',this.project);
902
+
900 903
       if (this.project == null) {
901 904
         this.$message.error('请先选择项目')
902 905
         return false
@@ -916,10 +919,10 @@ export default {
916 919
       for (var index in this.project.inspection_reference) {
917 920
         var item_id =0
918 921
         if(this.project.inspection_reference[index].item_id == 0){
919
-            item_id =  parseInt(this.project.inspection_reference[index].id) 
922
+            item_id =  parseInt(this.project.inspection_reference[index].id)
920 923
         }
921 924
         if(this.project.inspection_reference[index].item_id > 0){
922
-          item_id = parseInt(this.project.inspection_reference[index].item_id) 
925
+          item_id = parseInt(this.project.inspection_reference[index].item_id)
923 926
         }
924 927
         this.form.formItem.push({
925 928
           id: 0,
@@ -1031,7 +1034,7 @@ export default {
1031 1034
 
1032 1035
           console.log("this.form",this.form)
1033 1036
 
1034
-         
1037
+
1035 1038
           CreatePatientInspection(
1036 1039
             this.patientID,
1037 1040
             this.form,
@@ -1327,7 +1330,7 @@ export default {
1327 1330
             }
1328 1331
 
1329 1332
             this.inspections = response.data.data.inspections
1330
-            console.log("this.inpections",this.inspections)
1333
+            console.log("this.inpections",response.data.data)
1331 1334
             if (inspections == null) {
1332 1335
               this.inspections = []
1333 1336
               return false
@@ -1354,38 +1357,37 @@ export default {
1354 1357
 
1355 1358
               console.log("item=-----------------12",inspectionsMap[items[index].id],inspectionsMap[parseInt(items[index].item_id)])
1356 1359
               if (item.item_id > 0) {
1357
-                console.log('执行0',inspectionsMap[items[index].id]);
1358 1360
 
1359 1361
                 if (typeof(inspectionsMap[parseInt(items[index].item_id)])  == "undefined") {
1360 1362
                   if(this.org_id == 10121 || this.org_id ==10138 || this.org_id ==10278){
1361 1363
                     item.value = inspectionsMap[items[index].id].inspect_value
1362 1364
                     item.item_name = inspectionsMap[items[index].id].item_name
1363 1365
                   }else{
1364
-                    console.log('执行3',inspectionsMap,item);
1366
+                    console.log('执行1');
1367
+                    
1365 1368
                     if(this.org_id == 10702 || this.org_id == 0){
1366
-                      if(item.project_name == '血常规'|| item.project_name == '透后肾功能' || 
1367
-                          item.project_name == '肝功能' || item.project_name == '电解质' || item.project_name == '透前肾功能'
1369
+                      if(item.project_name == '血常规'|| item.project_name == '透后肾功能' ||
1370
+                          item.project_name == '肝功能' || item.project_name == '电解质' || item.project_name == '透前肾功能' ||
1371
+                          item.project_name == '传染病检查'
1368 1372
                         ){
1369
-                        console.log('11111',inspectionsMap[items[index].id].inspect_value);
1373
+
1370 1374
                         item.value = inspectionsMap[items[index].id].inspect_value.replace(/&lt;/g, "<").replace(/&gt;/g, ">")
1371 1375
                         item.item_name = inspectionsMap[items[index].id].item_name
1372 1376
                       }else{
1373
-                        
1374 1377
                         item.value = ''
1375 1378
                         item.item_name = ''
1376 1379
                       }
1377 1380
                     } else{
1381
+                      console.log('执行2');
1378 1382
                       item.value = ''
1379 1383
                       item.item_name = ''
1380 1384
                     }
1381 1385
                   }
1382 1386
                 } else {
1383
-                  console.log('执行1',inspectionsMap);
1387
+                  console.log('执行3',inspectionsMap[items[index].item_id].inspect_value);
1384 1388
                   item.value = inspectionsMap[items[index].item_id].inspect_value.replace(/&lt;/g, "<").replace(/&gt;/g, ">")
1385 1389
                   item.item_name = inspectionsMap[items[index].item_id].item_name
1386 1390
                 }
1387
-               
1388
-
1389 1391
                 if(this.org_id ==10191){
1390 1392
                   if(item.project_name == "乙肝定性(五项)"){
1391 1393
                     console.log("金阿迪发到付阿打发")
@@ -1397,7 +1399,7 @@ export default {
1397 1399
                 if(typeof(inspectionsMap[parseInt(items[index].id)])  == "undefined"){
1398 1400
                   continue
1399 1401
                 }
1400
-                console.log('执行2',inspectionsMap);
1402
+                console.log('执行4',inspectionsMap);
1401 1403
                 item.value = inspectionsMap[items[index].id].inspect_value
1402 1404
                 item.item_name = inspectionsMap[items[index].id].item_name
1403 1405
               }
@@ -1405,6 +1407,7 @@ export default {
1405 1407
               // item["inspect_type"] = inspectionsMap[items[index].id].inspect_type
1406 1408
               item.value_direction = ''
1407 1409
               if (item.range_type == 1) {
1410
+                console.log('执行5',parseFloat(item.value));
1408 1411
                 var value = parseFloat(item.value)
1409 1412
                 var range_min = parseFloat(item.range_min)
1410 1413
                 var range_max = parseFloat(item.range_max)
@@ -1432,7 +1435,6 @@ export default {
1432 1435
                 this.isPic = false
1433 1436
               }
1434 1437
 
1435
-
1436 1438
               console.log("woowwoow",this.isPic)
1437 1439
               console.log("isPicwowowow",this.items)
1438 1440
             }
@@ -1443,7 +1445,15 @@ export default {
1443 1445
       setTimeout(() => {
1444 1446
         this.itemLoading = false
1445 1447
       }, 1000)
1446
-    }
1448
+    },
1449
+    getrange(val){
1450
+      if(val !=''){
1451
+        return (val.replace(/[^\d.]/g, ''))*1;
1452
+      }else{
1453
+        return ''
1454
+      }
1455
+
1456
+    },
1447 1457
   },
1448 1458
   created() {
1449 1459
     const id = this.$route.query && this.$route.query.id

+ 48 - 29
src/xt_pages/user/inspection_new.vue 查看文件

@@ -657,10 +657,11 @@ export default {
657 657
             })
658 658
           }else{
659 659
             this.form.formItem.push({
660
-              id: this.list[index].id,
660
+              // id: this.list[index].item_id,
661
+              id: this.getid(this.list[index].item_id,row.inspect_date),
661 662
               project_id: this.list[index].project_id,
662 663
               project_name: this.list[index].project_name,
663
-              item_id: this.list[index].item_id,
664
+              item_id: (this.list[index].item_id)*1,
664 665
               item_name: this.list[index].item_name,
665 666
               range_type: this.list[index].range_type,
666 667
               value: this.getvalue(this.list[index].item_id,row.inspect_date) ,
@@ -738,7 +739,6 @@ export default {
738 739
           for (var index in this.form.formItem) {
739 740
             this.form.formItem[index].value = '' + this.form.formItem[index].value
740 741
           }
741
-
742 742
           EditPatientInspection(this.patientID, this.form, this.form.remind_cycle, this.form.inspect_date, this.form.project_id).then(response => {
743 743
             if (response.data.state == 1) {
744 744
               this.$notify({
@@ -747,8 +747,8 @@ export default {
747 747
                 type: 'success',
748 748
                 duration: 2000
749 749
               })
750
-              this.patient_info.remind_cycle =
751
-                response.data.data.remind_cycle
750
+              // this.patient_info.remind_cycle =
751
+              //   response.data.data.remind_cycle
752 752
               this.itemDate = this.form.inspect_date
753 753
               this.items = []
754 754
               var inspections = response.data.data.inspections
@@ -788,20 +788,23 @@ export default {
788 788
                   this.items.push(item)
789 789
                 }
790 790
               }
791
-
792
-              this.resetForm(formName)
793
-              this.dialogFormVisible = false
791
+              this.getchildlist(this.form.project_id)
792
+              // this.resetForm(formName)
793
+              
794 794
             } else {
795 795
               this.$message.error(response.data.msg)
796
+              // this.dialogFormVisible = false
796 797
               return false
797 798
             }
798 799
           })
799
-            .catch(v => {
800
-              this.$message.error(v)
801
-              return false
802
-            })
800
+            // .catch(v => {
801
+            //   this.$message.error(v)
802
+            //   return false
803
+            // })
803 804
           this.formLoading = false
804
-          return false
805
+          this.dialogFormVisible = false
806
+          
807
+          // return false
805 808
         } else {
806 809
           return false
807 810
         }
@@ -817,9 +820,6 @@ export default {
817 820
           }
818 821
           for (var index in this.form.formItem) {this.form.formItem[index].value ='' + this.form.formItem[index].value}
819 822
 
820
-          console.log("this.form",this.form)
821
-
822
-
823 823
           CreatePatientInspection(
824 824
             this.patientID,
825 825
             this.form,
@@ -833,9 +833,9 @@ export default {
833 833
                   duration: 2000
834 834
                 })
835 835
                 // this.form.remind_reycle = response.data.data.remind_reycc
836
-                this.patient_info.remind_cycle =
837
-                  response.data.data.remind_cycle
838
-                console.log(this.patient_info.remind_cycle)
836
+                // this.patient_info.remind_cycle =
837
+                //   response.data.data.remind_cycle
838
+                // console.log('this.patient_info.remind_cycle',this.patient_info.remind_cycle)
839 839
 
840 840
                 this.itemDate = this.form.inspect_date
841 841
                 this.items = []
@@ -883,25 +883,26 @@ export default {
883 883
                   }
884 884
                 }
885 885
 
886
-                this.resetForm(formName)
886
+                // this.resetForm(formName)
887 887
                 this.dialogFormVisible = false
888 888
 
889 889
                 this.queryParams.patient = this.patientID
890 890
                 this.queryParams.project_id = this.project.project_id
891 891
                 this.queryParams.page = 1
892 892
                 this.total = 0
893
-                this.fetchPatientInspections(this.queryParams)
893
+                this.getchildlist(this.project.project_id)
894 894
               } else {
895 895
                 this.$message.error(response.data.msg)
896 896
                 return false
897 897
               }
898 898
             })
899
-            .catch(v => {
900
-              this.$message.error(v)
901
-              return false
902
-            })
903
-          this.formLoading = false
904
-          return false
899
+            // .catch(v => {
900
+            //   this.$message.error(v)
901
+            //   return false
902
+            // })
903
+            // this.dialogFormVisible = false
904
+            this.formLoading = false
905
+          // return false
905 906
         } else {
906 907
           return false
907 908
         }
@@ -948,6 +949,8 @@ export default {
948 949
     //   this.$refs.singleTable.setCurrentRow(row)
949 950
     // },
950 951
     resetForm(formName) {
952
+      console.log('44444',formName);
953
+      
951 954
       this.$refs[formName].resetFields()
952 955
     },
953 956
     handleCurrentChange(row) {
@@ -1159,19 +1162,35 @@ export default {
1159 1162
 
1160 1163
     },
1161 1164
     getvalue(val,time){
1162
-      console.log();
1165
+      // console.log('val',this.items,val);
1163 1166
       const options = this.items
1164 1167
       for(let i in options){
1165 1168
         if( options[i].inspect_date == time){
1166 1169
           for(let j in options[i].Child){
1167 1170
             if(options[i].Child[j].item_id == val){
1168
-              console.log('options[i].inspect_value',options[i].inspect_value);
1171
+              // console.log('options[i].inspect_value',options[i].inspect_value);
1169 1172
               return options[i].Child[j].inspect_value
1170 1173
             }
1171 1174
 
1172 1175
           }
1173 1176
         }
1174 1177
 
1178
+      }
1179
+    },
1180
+    getid(val,time){
1181
+      // console.log('val',this.items,val);
1182
+      const options = this.items
1183
+      for(let i in options){
1184
+        if( options[i].inspect_date == time){
1185
+          for(let j in options[i].Child){
1186
+            if(options[i].Child[j].item_id == val){
1187
+              // console.log('options[i].inspect_value',options[i].inspect_value);
1188
+              return options[i].Child[j].id
1189
+            }
1190
+
1191
+          }
1192
+        }
1193
+
1175 1194
       }
1176 1195
     }
1177 1196
   },

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

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

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

@@ -427,7 +427,7 @@
427 427
               :to="'/patients/patient/' + scope.row.id"
428 428
               style="color:#409eff;width:100%;display:block;"
429 429
             >
430
-              <span v-if="scope.row.is_infectious == 1">{{ scope.row.name }}</span> 
430
+              <span v-if="scope.row.is_infectious == 1 || scope.row.is_infectious == 0">{{ scope.row.name }}</span> 
431 431
               <span v-if="scope.row.is_infectious == 2" style="color: red;">{{ scope.row.name }}</span> 
432 432
             </router-link
433 433
             >

+ 101 - 251
src/xt_pages/user/sickHistory_new.vue 查看文件

@@ -17,24 +17,25 @@
17 17
             </div>
18 18
             <div>
19 19
               <el-table class="table"
20
-                ref="phy_table"
20
+                ref="record_table"
21 21
                 :data="tableData"
22 22
                 :highlight-current-row="true"
23
-                @row-click="rowclick"
23
+                @current-change="getCurrentChange"
24 24
                 style="width: 100%">
25
-                <el-table-column
26
-                  prop="index"
27
-                  label="序号"
28
-                  width="50">
25
+                <el-table-column prop="index" label="序号" width="50" align="center">
26
+                   <template slot-scope="scope">
27
+                       {{ scope.$index + 1 }}
28
+                   </template>
29 29
                 </el-table-column>
30
-                <el-table-column
31
-                  prop="date"
32
-                  label="时间"
33
-                  width="">
30
+                <el-table-column prop="date" label="时间" width="" align="center">
31
+                    <template slot-scope="scope">
32
+                         {{ getTime(scope.row.record_time) }}
33
+                    </template>
34 34
                 </el-table-column>
35
-                <el-table-column
36
-                  prop="doctor"
37
-                  label="医生">
35
+                <el-table-column prop="doctor" label="医生" align="center">
36
+                  <template slot-scope="scope">
37
+                         {{ getDocName(scope.row.doctor_id) }}
38
+                  </template>
38 39
                 </el-table-column>
39 40
               </el-table>
40 41
             </div>
@@ -51,7 +52,7 @@
51 52
                   <el-button type="primary" size="small" @click="prints">打印</el-button>
52 53
                 </div>
53 54
                 <div v-if="add_index == 1">
54
-                  <el-button type="primary" size="small" @click="showSave">保存</el-button>
55
+                  <el-button type="primary" size="small" @click="createAction">保存2</el-button>
55 56
                   <el-button size="small" @click="showCancel">取消</el-button>
56 57
                 </div>
57 58
               </div>
@@ -60,7 +61,7 @@
60 61
               <div style="flex: 1;">
61 62
                 日期:
62 63
                 <el-date-picker
63
-                  v-model="history_date"
64
+                  v-model="start_time"
64 65
                   type="date"
65 66
                   :disabled="disabled"
66 67
                   style="width: 150px;"
@@ -93,12 +94,12 @@
93 94
             <div style="display: flex;">
94 95
               <div style="width: 30%;">
95 96
                 医生:
96
-                <el-select v-model="shen_yishen" placeholder="请选择" style="width: 120px;" :disabled="disabled">
97
+                <el-select v-model="admin_user_id" placeholder="请选择" style="width: 120px;" :disabled="disabled">
97 98
                   <el-option
98
-                    v-for="item in yishen_options"
99
-                    :key="item.value"
100
-                    :label="item.label"
101
-                    :value="item.value">
99
+                    v-for="item in doctorOptions"
100
+                    :key="item.id"
101
+                    :label="item.name"
102
+                    :value="item.id">
102 103
                   </el-option>
103 104
                 </el-select>
104 105
               </div>
@@ -112,13 +113,14 @@
112 113
                     :value="item.value">
113 114
                   </el-option>
114 115
                 </el-select>
116
+                <el-input v-if="shen_guomi == 2" v-model="guominyaowu_desc"></el-input>
115 117
               </div>
116 118
             </div>
117 119
 
118 120
             <div style="margin-top: 15px;">
119 121
               <span style="display: inline-block;border-left: 5px solid #3891f1f5;padding-left: 5px;margin-bottom: 5px;">详情</span>
120 122
               <keep-alive>
121
-                <ueditor ref="ue" :content="new_content" id="editor"></ueditor>
123
+                <ueditor ref="edit" :content="new_content" id="editor"></ueditor>
122 124
               </keep-alive>
123 125
             </div>
124 126
             <div style="text-align: right;margin-top:10px ;">
@@ -174,7 +176,7 @@
174 176
               <div class="Second_title">模板内容</div>
175 177
               <div style="">
176 178
                 <keep-alive>
177
-                  <ueditor ref="ue" :content="new_content" id="editor"></ueditor>
179
+                  <ueditor ref="editor" id="editors" v-bind:r_content="new_content"></ueditor>
178 180
                 </keep-alive>
179 181
               </div>
180 182
             </div>
@@ -196,156 +198,11 @@
196 198
 
197 199
 
198 200
 
199
-      <!-- </div> -->
200
-      <el-dialog title="新增病史记录" width="70%" top="5vh" :visible.sync="show_dialog">
201
-        <div>
202
-          <div class="new_record_form">
203
-            <div class="cell clearfix" style="margin-bottom: 20px;">
204
-              <label class="title"><span class="name">病程标题</span> : </label>
205
-              <el-input v-model="title" style="width: 150px"></el-input>
206
-
207
-              <label class="title" style="margin-left: 20px;"><span class="name">日期</span> : </label>
208
-              <el-date-picker v-model="sick_history_time" prefix-icon="el-icon-date" :editable="false"
209
-                              style="width: 150px;"
210
-                              type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
211
-                              value-format="yyyy-MM-dd "></el-date-picker>
212
-
213
-
214
-              <label class="title" style="margin-left: 20px;"><span class="name">肾移植史</span> : </label>
215
-              <el-select style="width: 150px;" v-model="is_shenyizhishi" placeholder="选择肾移植史" >
216
-                <el-option label="无" value="0"></el-option>
217
-                <el-option label="有" value="1"></el-option>
218
-              </el-select>
219
-            </div>
220
-
221
-            <div class="cell clearfix" style="margin-bottom: 20px;">
222
-
223
-              <label class="title" ><span class="name">腹膜透析史</span> : </label>
224
-              <el-select style="width: 150px;" v-model="is_fumotouxishi" placeholder="选择腹膜透析史" >
225
-                <el-option label="无" value="0"></el-option>
226
-                <el-option label="有" value="1"></el-option>
227
-              </el-select>
228
-
229
-              <label class="title" style="margin-left: 20px;"><span class="name">医生</span> : </label>
230
-              <el-select style="width: 100px;" v-model="doctor_id" placeholder="请选择医生">
231
-                <el-option v-for="(item,index) in doctorOptions" :label="item.name" :value="item.id" :key="index"></el-option>
232
-              </el-select>
233
-
234
-              <label class="title" style="margin-left: 20px;"><span class="name">过敏药物</span> : </label>
235
-              <el-select style="width: 100px;" v-model="is_guominyaowu" placeholder="选择过敏药物">
236
-                <el-option label="无" value="0"></el-option>
237
-                <el-option label="有" value="1"></el-option>
238
-                <el-option label="不详" value="2"></el-option>
239
-
240
-              </el-select>
241
-              <el-input v-if="is_guominyaowu == 1" v-model="guominyaowu_desc"></el-input>
242
-
243
-            </div>
244
-
245
-            <div class="cell clearfix" >
246
-              <label class="title"><span class="name">病史模版</span> : </label>
247
-              <el-select v-model="select_template" placeholder="选择病史模板" @change="didSelectTemplate">
248
-                <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
249
-                           :value="option.content"></el-option>
250
-              </el-select>
251
-            </div>
252
-
253
-            <div class="textarea_panel">
254
-              <keep-alive>
255
-                <editor ref="editor"
256
-                        id="editors"
257
-                        style="width: 100%"
258
-                        v-bind:r_content="new_content"
259
-                >
260
-                </editor>
261
-              </keep-alive>
262
-            </div>
263
-
264
-            <div style="text-align: right; padding-right: 0px; padding-top: 20px; padding-bottom: 10px;">
265
-              <el-button @click="show_dialog = false">取消</el-button>
266
-              <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary"
267
-                         @click="createAction" :loading="uploading_new_record">保存
268
-              </el-button>
269
-            </div>
270
-          </div>
271
-        </div>
272
-      </el-dialog>
273
-
274
-      <el-dialog title="修改病史记录" width="50%" top="5vh" :visible.sync="show_edit_dialog">
275
-        <div>
276
-          <div class="new_record_form">
277
-            <div class="cell clearfix" style="margin-bottom: 20px;">
278
-              <label class="title"><span class="name">病程标题</span> : </label>
279
-              <el-input v-model="edit_title" style="width: 150px"></el-input>
280
-
281
-              <label class="title" style="margin-left: 20px;"><span class="name">日期</span> : </label>
282
-              <el-date-picker v-model="edit_sick_history_time" prefix-icon="el-icon-date" :editable="false"
283
-                              style="width: 150px;"
284
-                              type="datetime" placeholder="选择日期时间" align="right" format="yyyy-MM-dd "
285
-                              value-format="yyyy-MM-dd "></el-date-picker>
286
-
287
-
288
-              <label class="title" style="margin-left: 20px;"><span class="name">肾移植史</span> : </label>
289
-              <el-select style="width: 150px;" v-model="edit_is_shenyizhishi" placeholder="选择肾移植史" >
290
-                <el-option label="无" value="0"></el-option>
291
-                <el-option label="有" value="1"></el-option>
292
-              </el-select>
293
-            </div>
294
-
295
-            <div class="cell clearfix" style="margin-bottom: 20px;">
296
-
297
-              <label class="title" ><span class="name">腹膜透析史</span> : </label>
298
-              <el-select style="width: 150px;" v-model="edit_is_fumotouxishi" placeholder="选择腹膜透析史" >
299
-                <el-option label="无" value="0"></el-option>
300
-                <el-option label="有" value="1"></el-option>
301
-              </el-select>
302
-
303
-              <label class="title" style="margin-left: 20px;"><span class="name">医生</span> : </label>
304
-              <el-select style="width: 100px;" v-model="edit_doctor_id" placeholder="请选择医生">
305
-                <el-option v-for="(item,index) in doctorOptions" :label="item.name" :value="item.id" :key="index"></el-option>
306
-              </el-select>
307
-
308
-              <label class="title" style="margin-left: 20px;"><span class="name">过敏药物</span> : </label>
309
-              <el-select style="width: 100px;" v-model="edit_is_guominyaowu" placeholder="选择过敏药物">
310
-                <el-option label="无" value="0"></el-option>
311
-                <el-option label="有" value="1"></el-option>
312
-              </el-select>
313
-              <el-input v-if="edit_is_guominyaowu == 1" v-model="edit_guominyaowu_desc"></el-input>
314
-
315
-            </div>
316
-
317
-            <div class="cell clearfix">
318
-              <label class="title"><span class="name">病史模版</span> : </label>
319
-              <el-select v-model="select_template" placeholder="选择病史模板" @change="didSelectTemplate">
320
-                <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
321
-                           :value="option.content"></el-option>
322
-              </el-select>
323
-            </div>
324
-
325
-            <div class="textarea_panel">
326
-              <keep-alive>
327
-                <editor ref="edit_neditor"
328
-                        id="editors"
329
-                        style="width: 100%"
330
-                        v-bind:r_content="edit_new_content"
331
-                >
332
-                </editor>
333
-              </keep-alive>
334
-            </div>
335
-
336
-
337
-            <div style="text-align: right; padding-right: 0px; padding-top: 20px; padding-bottom: 10px;">
338
-              <el-button @click="show_edit_dialog = false">取消</el-button>
339
-              <el-button type="primary"
340
-                         @click="modifyAction" :loading="uploading_new_record">保存
341
-              </el-button>
342
-            </div>
343
-          </div>
344
-        </div>
345
-      </el-dialog>
201
+     
202
+     
346 203
     </div>
347 204
   </div>
348
-  <!-- </div> -->
205
+ 
349 206
 </template>
350 207
 
351 208
 <script>
@@ -356,14 +213,15 @@ import ueditor from '@/components/Uedtior'
356 213
 import { fetchAllDoctorAndNurse } from "@/api/doctor";
357 214
  import print from 'print-js'
358 215
 import {
359
-  createSickHistoryRecord,
216
+  createNewSickHistoryRecord,
360 217
   deleteSickHistoryRecords,
361
-  GetSickHistoryRecords,
218
+  getNewSickHistory,
362 219
   ModifySickHistoryRecord,
220
+  getSickHistoryByPatient
363 221
 } from '@/api/patient'
364 222
 import { parseTime } from '@/utils'
365
-import BreadCrumb from '@/xt_pages/components/bread-crumb'
366
-
223
+import BreadCrumb from '@/xt_pages/components/bread-crumb' 
224
+import { uParseTime } from '@/utils/tools'
367 225
 export default {
368 226
   name: 'CourseOfDisease',
369 227
   components: {
@@ -402,7 +260,7 @@ export default {
402 260
       uploading_new_record: false,
403 261
       templates: this.$store.getters.configlist.sick_history,
404 262
       select_template:"",
405
-      new_content: '111111',
263
+      new_content: '',
406 264
       edit_new_content: '',
407 265
       edit_sick_history_time: '',
408 266
       selectingRows: [],
@@ -427,11 +285,15 @@ export default {
427 285
       yizhi_options:[{value:1,label:'无'},{value:2,label:'有'}],
428 286
       yishen_options:[],
429 287
       guomi_options:[{value:1,label:'无'},{value:2,label:'有'},{value:3,label:'不详'}],
430
-      tableData:[{index:1,date:'2024-11-12',doctor:'王启年'}],
288
+      tableData:[],
289
+      admin_user_id:"",
431 290
     }
432 291
   },
433 292
   created() {
293
+    this.admin_user_id = this.$store.getters.xt_user.user.id
294
+    
434 295
     this.patient_id = parseInt(this.$route.query.id)
296
+
435 297
     if (isNaN(this.patient_id) || this.patient_id <= 0) {
436 298
       this.$notify.error({
437 299
         title: '错误',
@@ -464,7 +326,7 @@ export default {
464 326
       '-' +
465 327
       (nowDay < 10 ? '0' + nowDay : nowDay)
466 328
 
467
-    this.requestSickHistory()
329
+    this.getlist()
468 330
     this.fetchAllDoctorAndNurse()
469 331
 
470 332
   },
@@ -476,6 +338,9 @@ export default {
476 338
     // },10)
477 339
   },
478 340
   methods: {
341
+    template_dele(){
342
+
343
+    },
479 344
     add_click(){
480 345
       this.disabled = false
481 346
       this.add_index = 1
@@ -529,29 +394,7 @@ export default {
529 394
         }
530 395
       });
531 396
     },
532
-    requestSickHistory: function() {
533
-      this.loading = true
534
-      let params = {
535
-        patient_id:this.patient_id,
536
-        start_time:this.start_time,
537
-        end_time:this.end_time,
538
-      }
539
-      GetSickHistoryRecords(params).then(rs => {
540
-        this.loading = false
541
-        var resp = rs.data
542
-        if (resp.state == 1) {
543
-          this.current_select_record = null
544
-          this.records = resp.data.records
545
-          this.doctors = resp.data.doctors
546
-          this.$refs.record_table.setCurrentRow(this.records[0])
547
-        } else {
548
-          this.$message.error(resp.msg)
549
-        }
550
-      }).catch(error => {
551
-        this.loading = false
552
-        this.$message.error(error)
553
-      })
554
-    },
397
+  
555 398
 
556 399
     didChangeCurrentRecord: function(record) {
557 400
       this.current_select_record = record
@@ -560,15 +403,6 @@ export default {
560 403
       var time = new Date(timestamp * 1000)
561 404
       return parseTime(time, '{y}-{m}-{d} {h}:{i}:{s}')
562 405
     },
563
-    doctorName: function(doctor_id) {
564
-      for (let index = 0; index < this.doctorOptions.length; index++) {
565
-        const doctor = this.doctorOptions[index]
566
-        if (doctor.id == doctor_id) {
567
-          return doctor.name
568
-        }
569
-      }
570
-      return ''
571
-    },
572 406
     modifyAction: function() {
573 407
       this.edit_new_content = this.$refs.edit_neditor.content
574 408
       if (this.edit_new_content.length == 0) {
@@ -577,16 +411,16 @@ export default {
577 411
       }
578 412
       this.uploading_new_record = true
579 413
       let params = {
580
-        id:this.edit_current_id,
414
+        id:this.id,
581 415
         patient_id: this.patient_id,
582
-        content: this.edit_new_content,
583
-        record_time: this.edit_sick_history_time + " 00:00:00",
584
-        title: this.edit_title,
585
-        is_shenyizhishi:this.edit_is_shenyizhishi,
586
-        is_fumotouxishi:this.edit_is_fumotouxishi,
587
-        is_guominyaowu:this.edit_is_guominyaowu,
588
-        guominyaowu_desc:this.edit_guominyaowu_desc,
589
-        doctor_id: this.edit_doctor_id
416
+        content: this.new_content,
417
+        record_time: this.sick_history_time +" 00:00:00",
418
+        title: this.title,
419
+        is_shenyizhishi:this.shen_yizhi,
420
+        is_fumotouxishi:this.shen_fumo,
421
+        is_guominyaowu:this.shen_guomi,
422
+        guominyaowu_desc:this.guominyaowu_desc,
423
+        doctor_id: this.admin_user_id
590 424
       }
591 425
 
592 426
       ModifySickHistoryRecord(params).then(rs => {
@@ -619,36 +453,30 @@ export default {
619 453
     },
620 454
 
621 455
     createAction: function() {
622
-      this.new_content = this.$refs.editor.content
456
+    
457
+      this.new_content = this.$refs.edit.contents
623 458
       if (this.new_content.length == 0) {
624 459
         this.$message.error('请填写病程内容')
625 460
         return
626 461
       }
627
-      this.uploading_new_record = true
628 462
       let params = {
629 463
         patient_id: this.patient_id,
630 464
         content: this.new_content,
631
-        record_time: this.sick_history_time +" 00:00:00",
465
+        record_time: this.start_time,
632 466
         title: this.title,
633
-        is_shenyizhishi:this.is_shenyizhishi,
634
-        is_fumotouxishi:this.is_fumotouxishi,
635
-        is_guominyaowu:this.is_guominyaowu,
467
+        is_shenyizhishi:this.shen_yizhi,
468
+        is_fumotouxishi:this.shen_fumo,
469
+        is_guominyaowu:this.shen_guomi,
636 470
         guominyaowu_desc:this.guominyaowu_desc,
637
-        doctor_id: this.doctor_id
471
+        doctor_id: this.admin_user_id
638 472
       }
639
-      createSickHistoryRecord(params).then(rs => {
640
-        this.uploading_new_record = false
641
-        this.$message.success("新增成功")
642
-        var resp = rs.data
643
-        if (resp.state == 1) {
644
-          this.records.unshift(resp.data.record)
645
-          this.show_dialog = false
646
-          this.new_content = ''
647
-          this.title = ''
648
-          this.$refs.record_table.setCurrentRow(this.records[0])
649
-        } else {
650
-          this.$message.error(resp.msg)
651
-        }
473
+      console.log("params-------------",params)
474
+      createNewSickHistoryRecord(params).then(response => {
475
+         if(response.data.state == 1){
476
+           var patientSickHistory = response.data.data.patientSickHistory
477
+           this.$message.success("保存成功!")
478
+           this.getlist()
479
+         }
652 480
 
653 481
       }).catch(error => {
654 482
         this.uploading_new_record = false
@@ -712,20 +540,8 @@ export default {
712 540
         this.loading = false
713 541
         this.$message.error(err)
714 542
       })
715
-    }, startTimeChange(val) {
716
-      this.requestSickHistory()
717
-    }, endTimeChange(val) {
718
-      this.requestSickHistory()
719 543
     },
720
-    showDialog(){
721
-      for(let i = 0; i < this.doctorOptions.length; i++){
722
-        if(this.doctorOptions[i].id == this.$store.getters.xt_user.user.id){
723
-          this.doctor_id =this.$store.getters.xt_user.user.id
724
-        }
725
-      }
726
-      this.show_dialog = true
727
-
728
-    },showEdit() {
544
+    showEdit() {
729 545
       if (this.table_current_index == -1) {
730 546
         this.$message.error('请选择要修改的病程内容')
731 547
         return
@@ -760,6 +576,40 @@ export default {
760 576
         return
761 577
       }
762 578
       this.$router.push({ path: "/sickhistory/print?ids="+this.ids+"&patient_id="+this.patient_id});
579
+    },
580
+    getlist(){
581
+       var params = {
582
+        patient_id:this.patient_id
583
+       }
584
+      getNewSickHistory(params).then(response=>{
585
+        if(response.data.state ==1 ){
586
+          var list = response.data.data.list
587
+          this.tableData = list
588
+          this.$refs.record_table.setCurrentRow(this.tableData[0])
589
+        } 
590
+      })
591
+    },
592
+    getDocName(admin_user_id){
593
+      var user_name = ""
594
+      for(let i=0;i<this.doctorOptions.length;i++){
595
+        if(admin_user_id == this.doctorOptions[i].id){
596
+             user_name = this.doctorOptions[i].name
597
+        }
598
+      }
599
+      return user_name
600
+    },
601
+    getTime (time) {
602
+      return uParseTime(time, '{y}-{m}-{d}')
603
+    },
604
+    getCurrentChange(val){
605
+       console.log("VAL---------------",val)
606
+      this.record_time = this.getTime(val.record_time)
607
+      this.id = val.id
608
+      this.content = val.content
609
+      this.guominyaowu_desc = val.hypersusceptibility_desc
610
+
611
+      this.is_fumotouxishi = val.is_fumo_dialysis_history
612
+      this.is_hypersusceptibility  = val.is_shenyizhi_history
763 613
     }
764 614
   }
765 615
 }

文件差异内容过多而无法显示
+ 29357 - 29153
static/ueditor/ueditor.all.js


文件差异内容过多而无法显示
+ 1 - 1
static/ueditor/ueditor.all.min.js


+ 3 - 3
static/ueditor/ueditor.config.js 查看文件

@@ -229,9 +229,9 @@
229 229
         //]
230 230
 
231 231
         //打开右键菜单功能
232
-        //,enableContextMenu: true
232
+        // ,enableContextMenu: true
233 233
         //右键菜单的内容,可以参考plugins/contextmenu.js里边的默认菜单的例子,label留空支持国际化,否则以此配置为准
234
-        //,contextMenu:[
234
+        // ,contextMenu:[
235 235
         //    {
236 236
         //        label:'',       //显示的名称
237 237
         //        cmdName:'selectall',//执行的command命令,当点击这个右键菜单时
@@ -241,7 +241,7 @@
241 241
         //            //this.ui._dialogs['inserttableDialog'].open();
242 242
         //        }
243 243
         //    }
244
-        //]
244
+        // ]
245 245
 
246 246
         //快捷菜单
247 247
         //,shortcutMenu:["fontfamily", "fontsize", "bold", "italic", "underline", "forecolor", "backcolor", "insertorderedlist", "insertunorderedlist"]

文件差异内容过多而无法显示
+ 878 - 1
static/ueditor/ueditor.parse.min.js