Selaa lähdekoodia

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

XMLWAN 5 vuotta sitten
vanhempi
commit
80dcc66fc8

+ 0 - 1
src/router/modules/scrm.js Näytä tiedosto

@@ -4,7 +4,6 @@ export default {
4 4
   path: '/scrm',
5 5
   component: Layout,
6 6
   redirct: 'noredirect',
7
-//   hidden:true,
8 7
   children: [{
9 8
     path: process.env.SRCM_HOST,
10 9
     name: 'scrm',

+ 1 - 1
src/router/modules/slow.js Näytä tiedosto

@@ -5,7 +5,7 @@ export default {
5 5
   component: Layout,
6 6
   redirct: 'noredirect',
7 7
   children: [{
8
-    path: 'process.env.CDM_HOST',
8
+    path: process.env.CDM_HOST,
9 9
     name: 'slow',
10 10
     meta: {
11 11
       title: 'slow',

+ 26 - 3
src/store/modules/xt_permission.js Näytä tiedosto

@@ -41,12 +41,34 @@ function xt_filterAsyncRouter(routers) {
41 41
 }
42 42
 
43 43
 function setupRouters(urls) {
44
-  // console.log(urls)
44
+  console.log(urls)
45 45
   xt_asyncRouterMap.forEach(router => {
46
-    console.log(router)
46
+    // console.log(router)
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
+
50 72
         // console.log(c_router.path)
51 73
         if (IndexOf(urls, c_router.path) !== -1) {
52 74
         // if (urls.indexOf(c_router.path) !== -1) {
@@ -57,11 +79,12 @@ function setupRouters(urls) {
57 79
           // console.log('router.children hide : ' + c_router.path)
58 80
           c_router.hidden = true
59 81
         }
82
+        
60 83
       })
61 84
     } else {
62 85
       router.hidden = true
63 86
       if (IndexOf(urls, router.path) !== -1) {
64
-        console.log('router show : ' + router.path)
87
+        // console.log('router show : ' + router.path)
65 88
       // if (urls.indexOf(router.path) !== -1) {
66 89
         router.hidden = false
67 90
       }

+ 56 - 41
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue Näytä tiedosto

@@ -1763,49 +1763,64 @@
1763 1763
                           "
1764 1764
                         ></check-box>
1765 1765
                       </div>
1766
+                      <!--<div class="inline_block">-->
1767
+                        <!--透析器:-->
1768
+                        <!--<check-box-->
1769
+                          <!--text="0"-->
1770
+                          <!--:checked="-->
1771
+                            <!--isCheckBoxChecked(-->
1772
+                              <!--record.assessment_after_dislysis,-->
1773
+                              <!--'dialyzer',-->
1774
+                              <!--1-->
1775
+                            <!--)-->
1776
+                          <!--"-->
1777
+                        <!--&gt;</check-box>-->
1778
+                        <!--<check-box-->
1779
+                          <!--text="+"-->
1780
+                          <!--:checked="-->
1781
+                            <!--isCheckBoxChecked(-->
1782
+                              <!--record.assessment_after_dislysis,-->
1783
+                              <!--'dialyzer',-->
1784
+                              <!--2-->
1785
+                            <!--)-->
1786
+                          <!--"-->
1787
+                        <!--&gt;</check-box>-->
1788
+                        <!--<check-box-->
1789
+                          <!--text="++"-->
1790
+                          <!--:checked="-->
1791
+                            <!--isCheckBoxChecked(-->
1792
+                              <!--record.assessment_after_dislysis,-->
1793
+                              <!--'dialyzer',-->
1794
+                              <!--3-->
1795
+                            <!--)-->
1796
+                          <!--"-->
1797
+                        <!--&gt;</check-box>-->
1798
+                        <!--<check-box-->
1799
+                          <!--text="+++"-->
1800
+                          <!--:checked="-->
1801
+                            <!--isCheckBoxChecked(-->
1802
+                              <!--record.assessment_after_dislysis,-->
1803
+                              <!--'dialyzer',-->
1804
+                              <!--4-->
1805
+                            <!--)-->
1806
+                          <!--"-->
1807
+                        <!--&gt;</check-box>-->
1808
+                      <!--</div>-->
1766 1809
                       <div class="inline_block">
1767
-                        透析器:
1768
-                        <check-box
1769
-                          text="0"
1770
-                          :checked="
1771
-                            isCheckBoxChecked(
1772
-                              record.assessment_after_dislysis,
1773
-                              'dialyzer',
1774
-                              1
1775
-                            )
1776
-                          "
1777
-                        ></check-box>
1778
-                        <check-box
1779
-                          text="+"
1780
-                          :checked="
1781
-                            isCheckBoxChecked(
1782
-                              record.assessment_after_dislysis,
1783
-                              'dialyzer',
1784
-                              2
1785
-                            )
1786
-                          "
1787
-                        ></check-box>
1788
-                        <check-box
1789
-                          text="++"
1790
-                          :checked="
1791
-                            isCheckBoxChecked(
1792
-                              record.assessment_after_dislysis,
1793
-                              'dialyzer',
1794
-                              3
1795
-                            )
1796
-                          "
1797
-                        ></check-box>
1798
-                        <check-box
1799
-                          text="+++"
1800
-                          :checked="
1801
-                            isCheckBoxChecked(
1802
-                              record.assessment_after_dislysis,
1803
-                              'dialyzer',
1804
-                              4
1805
-                            )
1806
-                          "
1807
-                        ></check-box>
1810
+                        透析器凝血:
1811
+                        <div
1812
+                          class="under_line"
1813
+                          style="width: 100px;text-align: center"
1814
+                        >
1815
+                          {{
1816
+                          record.assessment_after_dislysis &&
1817
+                          record.assessment_after_dislysis.cruor
1818
+                          ? record.assessment_after_dislysis.cruor
1819
+                          : "/"
1820
+                          }}
1821
+                        </div>
1808 1822
                       </div>
1823
+
1809 1824
                     </div>
1810 1825
                   </td>
1811 1826
                 </tr>

+ 4 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue Näytä tiedosto

@@ -351,6 +351,10 @@ export default {
351 351
       const style2 =
352 352
         '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1050px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
353 353
 
354
+      // const style3 =
355
+      //   '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 16px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 16px;padding: 5px 5px;line-height: 18px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:950px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
356
+      //
357
+
354 358
       if (this.org_template_info.template_id == 1) {
355 359
         printJS({
356 360
           printable: "dialysis-print-box",