Browse Source

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

csx 5 years ago
parent
commit
95555176a1

+ 1 - 23
src/store/modules/xt_permission.js View File

@@ -47,28 +47,6 @@ function setupRouters(urls) {
47 47
     if (Object.prototype.toString.call(router.children) === '[object Array]') {
48 48
       router.hidden = true
49 49
       router.children.forEach(c_router => {
50
-        if(router.path == "/slow"){
51
-          if(IndexOf(urls, router.path) != -1){
52
-            router.hidden = false
53
-          }else{
54
-            router.hidden = true
55
-          }
56
-        }
57
-        if(router.path == "/scrm"){
58
-          if(IndexOf(urls, router.path) != -1){
59
-            router.hidden = false
60
-          }else{
61
-            router.hidden = true
62
-          }
63
-        }
64
-        if(router.path == "/shop"){
65
-          if(IndexOf(urls, router.path) != -1){
66
-            router.hidden = false
67
-          }else{
68
-            router.hidden = true
69
-          }
70
-        }
71
-
72 50
         // console.log(c_router.path)
73 51
         if (IndexOf(urls, c_router.path) !== -1) {
74 52
         // if (urls.indexOf(c_router.path) !== -1) {
@@ -79,7 +57,7 @@ function setupRouters(urls) {
79 57
           // console.log('router.children hide : ' + c_router.path)
80 58
           c_router.hidden = true
81 59
         }
82
-        
60
+
83 61
       })
84 62
     } else {
85 63
       router.hidden = true

+ 16 - 15
src/views/layout/components/Sidebar/SidebarItem.vue View File

@@ -8,7 +8,8 @@
8 8
       "
9 9
       @click="onClick(item)"
10 10
     >
11
-      <router-link v-if="!onlyOneChild.meta.other" :to="resolvePath(onlyOneChild.path)">
11
+      <!--v-if="!onlyOneChild.meta.other"-->
12
+      <router-link  :to="resolvePath(onlyOneChild.path)">
12 13
         <el-menu-item
13 14
           :index="resolvePath(onlyOneChild.path)"
14 15
           :class="{ 'submenu-title-noDropdown': !isNest }"
@@ -23,20 +24,20 @@
23 24
           >{{ generateTitle(onlyOneChild.meta.title) }}</span>
24 25
         </el-menu-item>
25 26
       </router-link>
26
-      <a v-else :href="onlyOneChild.path" target="_blank">
27
-        <el-menu-item
28
-          :index="resolvePath(onlyOneChild.path)"
29
-          :class="{ 'submenu-title-noDropdown': !isNest }"
30
-        >
31
-          <i v-if="onlyOneChild.name == 'slow'" class="icon iconfont icon-manbing-xuanzhong" style="margin-right:4px"></i>
32
-          <i v-if="onlyOneChild.name == 'scrm'" class="icon iconfont icon-pengyou" style="margin-right:4px"></i>
33
-          <i v-if="onlyOneChild.name == 'shop'" class="icon iconfont icon-service_fill" style="margin-right:4px"></i>
34
-          <span
35
-            v-if="onlyOneChild.meta && onlyOneChild.meta.title"
36
-            slot="title"
37
-          >{{ generateTitle(onlyOneChild.meta.title) }}</span>
38
-        </el-menu-item>
39
-      </a>
27
+      <!--<a v-else :href="onlyOneChild.path" target="_blank">-->
28
+        <!--<el-menu-item-->
29
+          <!--:index="resolvePath(onlyOneChild.path)"-->
30
+          <!--:class="{ 'submenu-title-noDropdown': !isNest }"-->
31
+        <!--&gt;-->
32
+          <!--<i v-if="onlyOneChild.name == 'slow'" class="icon iconfont icon-manbing-xuanzhong" style="margin-right:4px"></i>-->
33
+          <!--<i v-if="onlyOneChild.name == 'scrm'" class="icon iconfont icon-pengyou" style="margin-right:4px"></i>-->
34
+          <!--<i v-if="onlyOneChild.name == 'shop'" class="icon iconfont icon-service_fill" style="margin-right:4px"></i>-->
35
+          <!--<span-->
36
+            <!--v-if="onlyOneChild.meta && onlyOneChild.meta.title"-->
37
+            <!--slot="title"-->
38
+          <!--&gt;{{ generateTitle(onlyOneChild.meta.title) }}</span>-->
39
+        <!--</el-menu-item>-->
40
+      <!--</a>-->
40 41
     </div>
41 42
 
42 43
     <div v-else>

+ 2 - 2
src/views/layout/components/Sidebar/index.vue View File

@@ -37,7 +37,7 @@
37 37
         :index="index"
38 38
         @a="b"
39 39
       ></sidebar-item>
40
-     <!-- <el-menu-item v-if="this.$store.getters.xt_user.cdm_role_exist" index="100">
40
+ <el-menu-item v-if="this.$store.getters.xt_user.cdm_role_exist" index="100">
41 41
       <a :href="CDMWebsit()">
42 42
         <i class="icon iconfont icon-manbing-xuanzhong" style="margin-right:4px"></i>
43 43
         <span
@@ -60,7 +60,7 @@
60 60
             slot="title"
61 61
           >分销商城</span>
62 62
         </a>
63
-      </el-menu-item> -->
63
+      </el-menu-item>
64 64
     </el-menu>
65 65
 
66 66
   </el-scrollbar>

+ 3 - 3
src/xt_pages/dialysis/batch_print/batch_print_order.vue View File

@@ -1202,7 +1202,7 @@
1202 1202
                         <label-box
1203 1203
                           :isChecked="
1204 1204
                             record.assessment_after_dislysis.internal_fistula.indexOf(
1205
-                              '震颤-存在'
1205
+                              '存在'
1206 1206
                             ) > -1
1207 1207
                               ? true
1208 1208
                               : false
@@ -1212,7 +1212,7 @@
1212 1212
                         <label-box
1213 1213
                           :isChecked="
1214 1214
                             record.assessment_after_dislysis.internal_fistula.indexOf(
1215
-                              '震颤-减弱'
1215
+                              '减弱'
1216 1216
                             ) > -1
1217 1217
                               ? true
1218 1218
                               : false
@@ -1222,7 +1222,7 @@
1222 1222
                         <label-box
1223 1223
                           :isChecked="
1224 1224
                             record.assessment_after_dislysis.internal_fistula.indexOf(
1225
-                              '震颤-无'
1225
+                              '无'
1226 1226
                             ) > -1
1227 1227
                               ? true
1228 1228
                               : false

+ 6 - 6
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue View File

@@ -1863,7 +1863,7 @@
1863 1863
                         穿刺者:
1864 1864
                         <div
1865 1865
                           class="under_line"
1866
-                          style="width: 80px;text-align: left"
1866
+                          style="width: 70px;text-align: left"
1867 1867
                         >
1868 1868
                           <span
1869 1869
                             v-if="
@@ -1898,12 +1898,12 @@
1898 1898
                         &emsp;核对人:
1899 1899
                         <div
1900 1900
                           class="under_line"
1901
-                          style="width: 80px;text-align: left"
1901
+                          style="width: 70px;text-align: left"
1902 1902
                           v-if="record.dialysis_order == null"
1903 1903
                         ></div>
1904 1904
                         <div
1905 1905
                           class="under_line"
1906
-                          style="width: 80px;text-align: left"
1906
+                          style="width: 70px;text-align: left"
1907 1907
                           v-if="
1908 1908
                             record.dialysis_order != null &&
1909 1909
                               record.dialysis_order.start_nurse ==
@@ -1926,7 +1926,7 @@
1926 1926
                         </div>
1927 1927
                         <div
1928 1928
                           class="under_line"
1929
-                          style="width: 80px;text-align: left"
1929
+                          style="width: 70px;text-align: left"
1930 1930
                           v-if="
1931 1931
                             record.dialysis_order != null &&
1932 1932
                               record.dialysis_order.start_nurse ==
@@ -1947,7 +1947,7 @@
1947 1947
                         </div>
1948 1948
                         <div
1949 1949
                           class="under_line"
1950
-                          style="width: 80px;text-align: left"
1950
+                          style="width: 70px;text-align: left"
1951 1951
                           v-if="
1952 1952
                             record.dialysis_order != null &&
1953 1953
                               record.dialysis_order.start_nurse !=
@@ -2025,7 +2025,7 @@
2025 2025
                         收针者:
2026 2026
                         <div
2027 2027
                           class="under_line"
2028
-                          style="width: 80px;text-align: left"
2028
+                          style="width: 70px;text-align: left"
2029 2029
                         >
2030 2030
                           <span
2031 2031
                             v-if="

+ 5 - 5
src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue View File

@@ -1750,7 +1750,7 @@
1750 1750
                         穿刺者:
1751 1751
                         <div
1752 1752
                           class="under_line"
1753
-                          style="width: 80px;text-align: left"
1753
+                          style="width: 70px;text-align: left"
1754 1754
                         >
1755 1755
                           <span
1756 1756
                             v-if="
@@ -1785,7 +1785,7 @@
1785 1785
                         &emsp;核对人:
1786 1786
                         <div
1787 1787
                           class="under_line"
1788
-                          style="width: 80px;text-align: left"
1788
+                          style="width: 70px;text-align: left"
1789 1789
                           v-if="record.dialysis_order == null"
1790 1790
                         ></div>
1791 1791
                         <div
@@ -1813,7 +1813,7 @@
1813 1813
                         </div>
1814 1814
                         <div
1815 1815
                           class="under_line"
1816
-                          style="width: 80px;text-align: left"
1816
+                          style="width: 70px;text-align: left"
1817 1817
                           v-if="
1818 1818
                             record.dialysis_order != null &&
1819 1819
                               record.dialysis_order.start_nurse ==
@@ -1834,7 +1834,7 @@
1834 1834
                         </div>
1835 1835
                         <div
1836 1836
                           class="under_line"
1837
-                          style="width: 80px;text-align: left"
1837
+                          style="width: 70px;text-align: left"
1838 1838
                           v-if="
1839 1839
                             record.dialysis_order != null &&
1840 1840
                               record.dialysis_order.start_nurse !=
@@ -1910,7 +1910,7 @@
1910 1910
                         收针者:
1911 1911
                         <div
1912 1912
                           class="under_line"
1913
-                          style="width: 80px;text-align: left"
1913
+                          style="width: 70px;text-align: left"
1914 1914
                         >
1915 1915
                           <span
1916 1916
                             v-if="

+ 3 - 9
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -88,7 +88,7 @@
88 88
           >
89 89
         </div>
90 90
       </template>
91
-      <template v-if="org_template_info.template_id == 6">
91
+      <template v-if="org_template_info.template_id == 6 || org_template_info.template_id == 10">
92 92
         <el-button
93 93
           :loading="loading"
94 94
           size="small"
@@ -98,6 +98,7 @@
98 98
           >打印</el-button
99 99
         >
100 100
       </template>
101
+
101 102
       <template v-if="org_template_info.template_id == 7">
102 103
         <el-button
103 104
           :loading="loading"
@@ -393,7 +394,7 @@ export default {
393 394
           style: style2,
394 395
           scanStyles: false
395 396
         });
396
-      } else if (this.org_template_info.template_id == 6) {
397
+      } else if (this.org_template_info.template_id == 6 || this.org_template_info.template_id == 10) {
397 398
         printJS({
398 399
           printable: "dialysis-print-box-1",
399 400
           type: "html",
@@ -414,13 +415,6 @@ export default {
414 415
           style: style,
415 416
           scanStyles: false
416 417
         });
417
-      } else if (this.org_template_info.template_id == 10) {
418
-        printJS({
419
-          printable: "dialysis-print-box",
420
-          type: "html",
421
-          style: style,
422
-          scanStyles: false
423
-        });
424 418
       }
425 419
     },
426 420
     printThisOnePage() {

+ 9 - 10
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue View File

@@ -663,16 +663,15 @@
663 663
                 </td>
664 664
 
665 665
                 <td width="10"></td>
666
-                <td width="105">压迫后内瘘震颤:</td>
667
-                <td width="140">
668
-                  <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-存在')>-1?true:false"
669
-                               showValue='存在'></label-box>
670
-                    &nbsp;
671
-                    <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-减弱')>-1?true:false"
672
-                               showValue='减弱'></label-box>
673
-                    &nbsp;
674
-                    <label-box :isChecked="afterdialysis.internal_fistula.indexOf('震颤-无')>-1?true:false"
675
-                               showValue='无'></label-box>
666
+                <td width="105" colspan="2">压迫后内瘘震颤:
667
+                  <label-box :isChecked="afterdialysis.internal_fistula.indexOf('存在')>-1?true:false"
668
+                             showValue='存在'></label-box>
669
+                  &nbsp;
670
+                  <label-box :isChecked="afterdialysis.internal_fistula.indexOf('减弱')>-1?true:false"
671
+                             showValue='减弱'></label-box>
672
+                  &nbsp;
673
+                  <label-box :isChecked="afterdialysis.internal_fistula.indexOf('无')>-1?true:false"
674
+                             showValue='无'></label-box>
676 675
                 </td>
677 676
                 <td width="">
678 677
                 </td>

+ 19 - 19
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue View File

@@ -1184,38 +1184,38 @@
1184 1184
                   </div>
1185 1185
                   <div class="inline_block">
1186 1186
1187
-                    <label-box
1187
+                    <check-box
1188 1188
                       :isChecked="
1189 1189
                         afterdialysis.complication.indexOf('头晕') > -1
1190 1190
                           ? true
1191 1191
                           : false
1192 1192
                       "
1193
-                      showValue="头晕"
1194
-                    ></label-box>
1195
-                    <label-box
1193
+                      text="头晕"
1194
+                    ></check-box>
1195
+                    <check-box
1196 1196
                       :isChecked="
1197 1197
                         afterdialysis.complication.indexOf('头痛') > -1
1198 1198
                           ? true
1199 1199
                           : false
1200 1200
                       "
1201
-                      showValue="头痛"
1202
-                    ></label-box>
1203
-                    <label-box
1201
+                      text="头痛"
1202
+                    ></check-box>
1203
+                    <check-box
1204 1204
                       :isChecked="
1205 1205
                         afterdialysis.complication.indexOf('呕吐') > -1
1206 1206
                           ? true
1207 1207
                           : false
1208 1208
                       "
1209
-                      showValue="呕吐"
1210
-                    ></label-box>
1211
-                    <label-box
1209
+                      text="呕吐"
1210
+                    ></check-box>
1211
+                    <check-box
1212 1212
                       :isChecked="
1213 1213
                         afterdialysis.complication.indexOf('低血压') > -1
1214 1214
                           ? true
1215 1215
                           : false
1216 1216
                       "
1217
-                      showValue="低血压"
1218
-                    ></label-box>
1217
+                      text="低血压"
1218
+                    ></check-box>
1219 1219
1220 1220
                   </div>
1221 1221
                 </div>
@@ -1286,7 +1286,7 @@
1286 1286
                     责任护士:
1287 1287
                     <div
1288 1288
                       class="under_line"
1289
-                      style="width: 80px;text-align: left"
1289
+                      style="width: 70px;text-align: left"
1290 1290
                     >
1291 1291
                       <span
1292 1292
                         v-if="
@@ -1324,7 +1324,7 @@
1324 1324
                     穿刺者:
1325 1325
                     <div
1326 1326
                       class="under_line"
1327
-                      style="width: 80px;text-align: left"
1327
+                      style="width: 70px;text-align: left"
1328 1328
                     >
1329 1329
                       <span
1330 1330
                         v-if="
@@ -1361,7 +1361,7 @@
1361 1361
                     &emsp;核对人:
1362 1362
                     <div
1363 1363
                       class="under_line"
1364
-                      style="width: 80px;text-align: left"
1364
+                      style="width: 70px;text-align: left"
1365 1365
                       v-if="dialysisOrder == null"
1366 1366
                     >
1367 1367
                       <span
@@ -1383,7 +1383,7 @@
1383 1383
                     </div>
1384 1384
                     <div
1385 1385
                       class="under_line"
1386
-                      style="width: 80px;text-align: left"
1386
+                      style="width: 70px;text-align: left"
1387 1387
                       v-if="
1388 1388
                         dialysisOrder != null &&
1389 1389
                           dialysisOrder.start_nurse == check.modifier
@@ -1408,7 +1408,7 @@
1408 1408
                     </div>
1409 1409
                     <div
1410 1410
                       class="under_line"
1411
-                      style="width: 80px;text-align: left"
1411
+                      style="width: 70px;text-align: left"
1412 1412
                       v-if="
1413 1413
                         dialysisOrder != null &&
1414 1414
                           dialysisOrder.start_nurse == check.creater
@@ -1435,7 +1435,7 @@
1435 1435
                     </div>
1436 1436
                     <div
1437 1437
                       class="under_line"
1438
-                      style="width: 80px;text-align: left"
1438
+                      style="width: 70px;text-align: left"
1439 1439
                       v-if="
1440 1440
                         dialysisOrder != null &&
1441 1441
                           dialysisOrder.start_nurse != check.creater &&
@@ -1503,7 +1503,7 @@
1503 1503
                     &emsp;收针者:
1504 1504
                     <div
1505 1505
                       class="under_line"
1506
-                      style="width: 80px;text-align: left"
1506
+                      style="width: 70px;text-align: left"
1507 1507
                     >
1508 1508
                       <span
1509 1509
                         v-if="