See999 пре 5 година
родитељ
комит
ba05d6e9fd

+ 16 - 4
src/router/modules/dialysis.js Прегледај датотеку

@@ -16,7 +16,7 @@ export default {
16 16
       name: '透析记录',
17 17
       meta: {
18 18
         title: '透析记录',
19
-        noCache: true,
19
+        noCache: true
20 20
 
21 21
       }
22 22
     },
@@ -26,7 +26,7 @@ export default {
26 26
       name: 'watch',
27 27
       meta: {
28 28
         title: 'watch',
29
-        noCache: true,
29
+        noCache: true
30 30
 
31 31
       }
32 32
     },
@@ -36,7 +36,7 @@ export default {
36 36
       name: '数据看板',
37 37
       meta: {
38 38
         title: '数据看板',
39
-        noCache: true,
39
+        noCache: true
40 40
 
41 41
       }
42 42
     },
@@ -165,6 +165,18 @@ export default {
165 165
         noCache: true
166 166
       }
167 167
     },
168
+    {
169
+      path: '/dialysis/print/batch/nine',
170
+      component: () =>
171
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_nine'),
172
+      hidden: true,
173
+      is_menu: false,
174
+      name: 'dialysis_batch_nine',
175
+      meta: {
176
+        title: '批量打印',
177
+        noCache: true
178
+      }
179
+    },
168 180
     {
169 181
       path: '/dialysis/print/batch/otherone',
170 182
       component: () => import('@/xt_pages/dialysis/batch_print/batch_print_order_other_one'),
@@ -205,7 +217,7 @@ export default {
205 217
         title: '批量打印',
206 218
         noCache: true
207 219
       }
208
-    },
220
+    }
209 221
 
210 222
   ]
211 223
 }

+ 20 - 30
src/store/modules/data.js Прегледај датотеку

@@ -9,41 +9,31 @@ const data = {
9 9
   mutations: {
10 10
     SET_CONFIGLIST: (state, configlist) => {
11 11
       state.configlist = configlist
12
-    },
12
+    }
13 13
 
14 14
   },
15 15
 
16 16
   actions: {
17 17
     VerifyConfigList({ commit, state }) {
18 18
       return new Promise((resolve, reject) => {
19
-        var configlist = getDataConfigList()
20
-
21
-        // console.log('configLIST数据:', configlist)
22
-        if (configlist != null && configlist.length > 0) {
23
-          var infoJSON = JSON.parse(configlist)
24
-          // console.log('configLISt数据:', infoJSON)
25
-          commit('SET_CONFIGLIST', infoJSON)
26
-          resolve()
27
-        } else {
28
-            getConfigList().then(response => {
29
-              if (!response.data) { // 由于mockjs 不支持自定义状态码只能这样hack
30
-                reject('error')
31
-              }
32
-              const list = response.data.data
33
-              // console.log('请求返回的数据:', list)
34
-              if (list) { // 验证返回的configlist是否是一个非空数组
35
-                // console.log('转换的configlist为:', list.configlist)
36
-                console.log('转换的configlist为:', list.configlist)
37
-                commit('SET_CONFIGLIST', list.configlist)
38
-                setDataConfigList(JSON.stringify(list.configlist))
39
-                resolve()
40
-              } else {
41
-                reject('getInfo: configlist must be a non-null array !')
42
-              }
43
-            }).catch(error => {
44
-              reject(error)
45
-            })
46
-        }
19
+        getConfigList().then(response => {
20
+          if (!response.data) { // 由于mockjs 不支持自定义状态码只能这样hack
21
+            reject('error')
22
+          }
23
+          const list = response.data.data
24
+          // console.log('请求返回的数据:', list)
25
+          if (list) { // 验证返回的configlist是否是一个非空数组
26
+            // console.log('转换的configlist为:', list.configlist)
27
+            console.log('转换的configlist为:', list.configlist)
28
+            commit('SET_CONFIGLIST', list.configlist)
29
+            setDataConfigList(JSON.stringify(list.configlist))
30
+            resolve()
31
+          } else {
32
+            reject('getInfo: configlist must be a non-null array !')
33
+          }
34
+        }).catch(error => {
35
+          reject(error)
36
+        })
47 37
       })
48 38
     },
49 39
     updateConfigList({ commit }, configArr) {
@@ -138,7 +128,7 @@ const data = {
138 128
         setDataConfigList(JSON.stringify(infoJSON))
139 129
         resolve()
140 130
       })
141
-    },
131
+    }
142 132
 
143 133
   }
144 134
 }

+ 1 - 1
src/store/modules/xt_permission.js Прегледај датотеку

@@ -81,7 +81,7 @@ function setupRouters(urls) {
81 81
           // console.log('router.children hide : ' + c_router.path)
82 82
           c_router.hidden = true
83 83
         }
84
-        
84
+
85 85
       })
86 86
     } else {
87 87
       router.hidden = true

+ 2 - 2
src/views/layout/components/Sidebar/index.vue Прегледај датотеку

@@ -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 Прегледај датотеку

@@ -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

Разлика између датотеке није приказан због своје велике величине
+ 3066 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue


+ 65 - 50
src/xt_pages/dialysis/batch_print/batch_print_order_other.vue Прегледај датотеку

@@ -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>
@@ -1848,7 +1863,7 @@
1848 1863
                         穿刺者:
1849 1864
                         <div
1850 1865
                           class="under_line"
1851
-                          style="width: 80px;text-align: left"
1866
+                          style="width: 70px;text-align: left"
1852 1867
                         >
1853 1868
                           <span
1854 1869
                             v-if="
@@ -1883,12 +1898,12 @@
1883 1898
                         &emsp;核对人:
1884 1899
                         <div
1885 1900
                           class="under_line"
1886
-                          style="width: 80px;text-align: left"
1901
+                          style="width: 70px;text-align: left"
1887 1902
                           v-if="record.dialysis_order == null"
1888 1903
                         ></div>
1889 1904
                         <div
1890 1905
                           class="under_line"
1891
-                          style="width: 80px;text-align: left"
1906
+                          style="width: 70px;text-align: left"
1892 1907
                           v-if="
1893 1908
                             record.dialysis_order != null &&
1894 1909
                               record.dialysis_order.start_nurse ==
@@ -1911,7 +1926,7 @@
1911 1926
                         </div>
1912 1927
                         <div
1913 1928
                           class="under_line"
1914
-                          style="width: 80px;text-align: left"
1929
+                          style="width: 70px;text-align: left"
1915 1930
                           v-if="
1916 1931
                             record.dialysis_order != null &&
1917 1932
                               record.dialysis_order.start_nurse ==
@@ -1932,7 +1947,7 @@
1932 1947
                         </div>
1933 1948
                         <div
1934 1949
                           class="under_line"
1935
-                          style="width: 80px;text-align: left"
1950
+                          style="width: 70px;text-align: left"
1936 1951
                           v-if="
1937 1952
                             record.dialysis_order != null &&
1938 1953
                               record.dialysis_order.start_nurse !=
@@ -1959,7 +1974,7 @@
1959 1974
                         &emsp;核对时间:
1960 1975
                         <div
1961 1976
                           class="under_line"
1962
-                          style="width: 180px;text-align: left"
1977
+                          style="width: 200px;text-align: left"
1963 1978
                           v-if="record.check == null"
1964 1979
                         >
1965 1980
                           <!--{{getTime(check.check_time,'{y}年{m}月{d}日 {h}时{i}分')}}-->
@@ -1967,7 +1982,7 @@
1967 1982
 
1968 1983
                         <div
1969 1984
                           class="under_line"
1970
-                          style="width: 180px;text-align: left"
1985
+                          style="width: 200px;text-align: left"
1971 1986
                           v-if="
1972 1987
                             record.check != null &&
1973 1988
                               record.check.first_check_time <
@@ -1984,7 +1999,7 @@
1984 1999
 
1985 2000
                         <div
1986 2001
                           class="under_line"
1987
-                          style="width: 180px;text-align: left"
2002
+                          style="width: 200px;text-align: left"
1988 2003
                           v-if="
1989 2004
                             record.check != null &&
1990 2005
                               record.check.check_time <
@@ -2010,7 +2025,7 @@
2010 2025
                         收针者:
2011 2026
                         <div
2012 2027
                           class="under_line"
2013
-                          style="width: 80px;text-align: left"
2028
+                          style="width: 70px;text-align: left"
2014 2029
                         >
2015 2030
                           <span
2016 2031
                             v-if="

+ 8 - 8
src/xt_pages/dialysis/batch_print/batch_print_order_other_one.vue Прегледај датотеку

@@ -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 !=
@@ -1861,14 +1861,14 @@
1861 1861
                         &emsp;核对时间:
1862 1862
                         <div
1863 1863
                           class="under_line"
1864
-                          style="width: 180px;text-align: left"
1864
+                          style="width: 200px;text-align: left"
1865 1865
                           v-if="record.check == null"
1866 1866
                         >
1867 1867
                           <!--{{getTime(check.check_time,'{y}年{m}月{d}日 {h}时{i}分')}}-->
1868 1868
                         </div>
1869 1869
                         <div
1870 1870
                           class="under_line"
1871
-                          style="width: 180px;text-align: left"
1871
+                          style="width: 200px;text-align: left"
1872 1872
                           v-if="
1873 1873
                             record.check != null &&
1874 1874
                               record.check.first_check_time <
@@ -1884,7 +1884,7 @@
1884 1884
                         </div>
1885 1885
                         <div
1886 1886
                           class="under_line"
1887
-                          style="width: 180px;text-align: left"
1887
+                          style="width: 200px;text-align: left"
1888 1888
                           v-if="
1889 1889
                             record.check != null &&
1890 1890
                               record.check.check_time <
@@ -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="

+ 12 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue Прегледај датотеку

@@ -120,6 +120,16 @@
120 120
           >批量打印</el-button
121 121
         >
122 122
       </template>
123
+      <template v-if="this.template_id == 9">
124
+        <el-button
125
+          size="small"
126
+          icon="el-icon-printer"
127
+          :disabled="selecting_schs.length == 0"
128
+          @click="batchPrintAction"
129
+          type="primary"
130
+          >批量打印</el-button
131
+        >
132
+      </template>
123 133
     </div>
124 134
     <div class="app-container">
125 135
       <!-- <div class="filter-container">
@@ -579,6 +589,8 @@ export default {
579 589
         this.$router.push({ path: "/dialysis/print/batch/seven" });
580 590
       } else if (this.template_id == 8) {
581 591
         this.$router.push({ path: "/dialysis/print/batch/eight" });
592
+      } else if (this.template_id == 9) {
593
+        this.$router.push({ path: "/dialysis/print/batch/nine" });
582 594
       }
583 595
     },
584 596
     batchPrintActionOne: function() {

+ 43 - 8
src/xt_pages/dialysis/dialysisPrintOrder.vue Прегледај датотеку

@@ -12,7 +12,12 @@
12 12
           >打印</el-button
13 13
         >
14 14
       </template>
15
-      <template v-if=" org_template_info.template_id == 2 || org_template_info.template_id == 0  " >
15
+      <template
16
+        v-if="
17
+          org_template_info.template_id == 2 ||
18
+            org_template_info.template_id == 0
19
+        "
20
+      >
16 21
         <div>
17 22
           <el-button
18 23
             :loading="loading"
@@ -88,7 +93,12 @@
88 93
           >
89 94
         </div>
90 95
       </template>
91
-      <template v-if="org_template_info.template_id == 6">
96
+      <template
97
+        v-if="
98
+          org_template_info.template_id == 6 ||
99
+            org_template_info.template_id == 10
100
+        "
101
+      >
92 102
         <el-button
93 103
           :loading="loading"
94 104
           size="small"
@@ -98,6 +108,7 @@
98 108
           >打印</el-button
99 109
         >
100 110
       </template>
111
+
101 112
       <template v-if="org_template_info.template_id == 7">
102 113
         <el-button
103 114
           :loading="loading"
@@ -118,6 +129,16 @@
118 129
           >打印</el-button
119 130
         >
120 131
       </template>
132
+      <template v-if="org_template_info.template_id == 9">
133
+        <el-button
134
+          :loading="loading"
135
+          size="small"
136
+          icon="el-icon-printer"
137
+          @click="printThisPage"
138
+          type="primary"
139
+          >打印</el-button
140
+        >
141
+      </template>
121 142
     </div>
122 143
     <div class="app-container ">
123 144
       <!--<div class="order-print-btn"-->
@@ -185,8 +206,12 @@
185 206
         v-bind:childResponse="childResponse"
186 207
         v-if="org_template_info.template_id == 10"
187 208
       ></DialysisPrintOrderTen>
209
+      <DialysisPrintOrder
188 210
 
189
-
211
+      <!--<DialysisPrintOrderNine-->
212
+        <!--v-bind:childResponse="childResponse"-->
213
+        <!--v-if="org_template_info.template_id == 9"-->
214
+      <!--&gt;</DialysisPrintOrderNine>-->
190 215
     </div>
191 216
   </div>
192 217
 </template>
@@ -206,7 +231,7 @@ import DialysisPrintOrderSix from "./template/DialysisPrintOrderSix";
206 231
 import DialysisPrintOrderSeven from "./template/DialysisPrintOrderSeven";
207 232
 import DialysisPrintOrderEight from "./template/DialysisPrintOrderEight";
208 233
 import print from "print-js";
209
-import DialysisPrintOrderTen from './template/DialysisPrintOrderTen'
234
+import DialysisPrintOrderTen from "./template/DialysisPrintOrderTen";
210 235
 
211 236
 export default {
212 237
   name: "dialysisPrintOrder",
@@ -220,7 +245,7 @@ export default {
220 245
     DialysisPrintOrderSix,
221 246
     DialysisPrintOrderSeven,
222 247
     DialysisPrintOrderEight,
223
-
248
+    DialysisPrintOrderNine,
224 249
     LabelBox,
225 250
     BreadCrumb
226 251
   },
@@ -351,6 +376,13 @@ export default {
351 376
       const style2 =
352 377
         '@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 378
 
379
+      // const style3 =
380
+      //   '@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;}';
381
+      //
382
+
383
+      const style5 =
384
+        '@media print {.dialysis-print-order {width: 960px; margin: 0 auto;}.dialysis-print-order .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.dialysis-print-order .order-title {  margin: auto;  font-weight: 600;  text-align: center;  font-size: 22px;  padding: 10px 20px 0px 20px;}.dialysis-print-order .table-box {  width: 100%;  line-height: 18px;  font-size: 14px;}.dialysis-print-order .print-table {  width: 100%;  text-align: center;  border-collapse: collapse;  line-height: 40px;  font-size: 14px;}.dialysis-print-order .print-table-no {  width: 100%;  text-align: center;  border-collapse: collapse;  font-size: 14px;}.dialysis-print-order .under-line {  border-bottom: 1px solid #999;  width: 95%;  text-align: center;  margin-left: 2px;}.dialysis-print-order .title-box {  text-align: center;  font-size: 16px;}.dialysis-print-order .radio-lebel-box {  font-weight: 400;  cursor: pointer;}.dialysis-print-order .radio-no {  opacity: 0;  outline: none;  position: absolute;  margin: 0;  width: 0;  height: 0;  z-index: -1;}.dialysis-print-order .radio-inner {  white-space: nowrap;  cursor: pointer;  outline: none;  display: inline-block;  line-height: 1;  position: relative;  vertical-align: middle;}.dialysis-print-order .radio-fang {  display: inline-block;  position: relative;  border: 1px solid #000;  box-sizing: border-box;  width: 14px;  height: 14px;  background-color: #fff;  z-index: 1;  transition: border-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46),    background-color 0.25s cubic-bezier(0.71, -0.46, 0.29, 1.46);}.dialysis-print-order .is-checked-radio::after {  content: "√";  font-size: 15px;}.dialysis-print-order .print-table-no tr td {  padding: 8px 5px;  line-height: 25px;}.dialysis-print-order .print-table tr td {  padding: 1px 1px;  /*line-height: 25px;*/}.es-img {  height: 25px;}.advice-name {  text-align: left;}.advice-children {  display: flex;}.title-box-pro {  border: 0 #fff;  line-height: 25px;  height: 25px;  text-align: left;  padding-left: 10px !important;}.title-box-pro-tr {  border: 0 #fff;}.text-align-left {  text-align: left !important;  padding-left: 10px !important;  font-size: 14px !important;  line-height: 25px;}.print-table-tr-new td {line-height: 20px !important;}.border-top-solid {border: solid 1px #000;}.print-template-two tr {line-height: 30px;}}';
385
+
354 386
       if (this.org_template_info.template_id == 1) {
355 387
         printJS({
356 388
           printable: "dialysis-print-box",
@@ -389,7 +421,10 @@ export default {
389 421
           style: style2,
390 422
           scanStyles: false
391 423
         });
392
-      } else if (this.org_template_info.template_id == 6) {
424
+      } else if (
425
+        this.org_template_info.template_id == 6 ||
426
+        this.org_template_info.template_id == 10
427
+      ) {
393 428
         printJS({
394 429
           printable: "dialysis-print-box-1",
395 430
           type: "html",
@@ -410,11 +445,11 @@ export default {
410 445
           style: style,
411 446
           scanStyles: false
412 447
         });
413
-      } else if (this.org_template_info.template_id == 10) {
448
+      } else if (this.org_template_info.template_id == 9) {
414 449
         printJS({
415 450
           printable: "dialysis-print-box",
416 451
           type: "html",
417
-          style: style,
452
+          style: style5,
418 453
           scanStyles: false
419 454
         });
420 455
       }

Разлика између датотеке није приказан због своје велике величине
+ 3053 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderNine.vue


+ 10 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderOne.vue Прегледај датотеку

@@ -663,18 +663,17 @@
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
-                <td width="">
676
+                <td>
678 677
                 </td>
679 678
               </tr>
680 679
               </tbody>

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Прегледај датотеку

@@ -1546,7 +1546,7 @@
1546 1546
                   透析器凝血:
1547 1547
                   <div
1548 1548
                     class="under_line"
1549
-                    style="width:200px;text-align:center;"
1549
+                    style="width:170px;text-align:center;white-space: normal;"
1550 1550
                   >
1551 1551
                     {{ afterdialysis.cruor ? afterdialysis.cruor : '/' }}
1552 1552
                   </div>

+ 78 - 14
src/xt_pages/dialysis/template/dialysisPrintOrderFive.vue Прегледај датотеку

@@ -602,25 +602,87 @@
602 602
               <div class="row" style="padding: 2px 0;line-height:19px;">
603 603
                 <div class="inline_block">
604 604
                   内瘘震颤和血管杂音:
605
-                  <check-box text="存在" :checked="afterdialysis.tremor_noise==1?true:false"></check-box>
606
-                  <check-box text="减弱" :checked="afterdialysis.tremor_noise==2?true:false"></check-box>
607
-                  <check-box text="不存在" :checked="afterdialysis.tremor_noise==3?true:false"></check-box>
605
+                  <check-box
606
+                    text="正常"
607
+                    :checked="
608
+                        afterdialysis.internal_fistula.indexOf('正常') > -1
609
+                          ? true
610
+                          : false
611
+                      "
612
+                  ></check-box>
613
+                  <check-box
614
+                    text="减弱"
615
+                    :checked="
616
+                        afterdialysis.internal_fistula.indexOf('减弱') > -1
617
+                          ? true
618
+                          : false
619
+                      "
620
+                  ></check-box>
621
+                  <check-box
622
+                    text="不存在"
623
+                    :checked="
624
+                        afterdialysis.internal_fistula.indexOf('不存在') > -1
625
+                          ? true
626
+                          : false
627
+                      "
628
+                  ></check-box>
608 629
                 </div>
609 630
                 <div class="inline_block">
610 631
                   &emsp;失衡综合症:
611
-                  <check-box text="无" :checked="afterdialysis.disequilibrium_syndrome==1?true:false"></check-box>
612
-                  <check-box text="有" :checked="afterdialysis.disequilibrium_syndrome==2?true:false"></check-box>
632
+                  <check-box
633
+                    text="无"
634
+                    :checked="
635
+                       afterdialysis.complication.indexOf('无') > -1
636
+                          ? true
637
+                          : false
638
+                      "
639
+                  ></check-box>
640
+                  <check-box
641
+                    text="有"
642
+                    :checked="
643
+                        afterdialysis.complication.indexOf('头晕') > -1 ||
644
+                          afterdialysis.complication.indexOf('头痛') > -1||
645
+                            afterdialysis.complication.indexOf('呕吐') > -1||
646
+                              afterdialysis.complication.indexOf('低血压') > -1
647
+                          ? true
648
+                          : false
649
+                      "
650
+                  ></check-box>
613 651
                 </div>
614 652
                 <div class="inline_block">
615 653
616
-                  <check-box text="头晕"
617
-                             :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('头晕')>-1?true:false"></check-box>
618
-                  <check-box text="头痛"
619
-                             :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('头痛')>-1?true:false"></check-box>
620
-                  <check-box text="呕吐"
621
-                             :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('呕吐')>-1?true:false"></check-box>
622
-                  <check-box text="低血压"
623
-                             :checked="afterdialysis.disequilibrium_syndrome_option.indexOf('低血压')>-1?true:false"></check-box>
654
+                  <check-box
655
+                    :isChecked="
656
+                        afterdialysis.complication.indexOf('头晕') > -1
657
+                          ? true
658
+                          : false
659
+                      "
660
+                    text="头晕"
661
+                  ></check-box>
662
+                  <check-box
663
+                    :isChecked="
664
+                        afterdialysis.complication.indexOf('头痛') > -1
665
+                          ? true
666
+                          : false
667
+                      "
668
+                    text="头痛"
669
+                  ></check-box>
670
+                  <check-box
671
+                    :isChecked="
672
+                        afterdialysis.complication.indexOf('呕吐') > -1
673
+                          ? true
674
+                          : false
675
+                      "
676
+                    text="呕吐"
677
+                  ></check-box>
678
+                  <check-box
679
+                    :isChecked="
680
+                        afterdialysis.complication.indexOf('低血压') > -1
681
+                          ? true
682
+                          : false
683
+                      "
684
+                    text="低血压"
685
+                  ></check-box>
624 686
625 687
                 </div>
626 688
               </div>
@@ -643,7 +705,9 @@
643 705
                 </div>
644 706
                 <div class="inline_block">
645 707
                   透析器:
646
-                  <check-box text="0" :checked="afterdialysis.dialyzer == 1?true:false"></check-box>
708
+                  <check-box text="0" :checked=" afterdialysis.dialyzer.indexOf('透析器-0度') > -1
709
+                          ? true
710
+                          : false"></check-box>
647 711
                   <check-box text="+" :checked="afterdialysis.dialyzer == 2?true:false"></check-box>
648 712
                   <check-box text="++" :checked="afterdialysis.dialyzer == 3?true:false"></check-box>
649 713
                   <check-box text="+++" :checked="afterdialysis.dialyzer == 4?true:false"></check-box>

Разлика између датотеке није приказан због своје велике величине
+ 3053 - 0
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue


+ 22 - 22
src/xt_pages/dialysis/template/dialysisPrintOrderTwo.vue Прегледај датотеку

@@ -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 &&
@@ -1464,7 +1464,7 @@
1464 1464
                     &emsp;核对时间:
1465 1465
                     <div
1466 1466
                       class="under_line"
1467
-                      style="width: 200px;text-align: left"
1467
+                      style="width: 210px;text-align: left"
1468 1468
                       v-if="check == null"
1469 1469
                     >
1470 1470
                       <!--{{getTime(check.check_time,'{y}年{m}月{d}日 {h}时{i}分')}}-->
@@ -1472,7 +1472,7 @@
1472 1472
 
1473 1473
                     <div
1474 1474
                       class="under_line"
1475
-                      style="width: 200px;text-align: left"
1475
+                      style="width: 210px;text-align: left"
1476 1476
                       v-if="
1477 1477
                         check != null &&
1478 1478
                           check.first_check_time < check.check_time
@@ -1485,7 +1485,7 @@
1485 1485
 
1486 1486
                     <div
1487 1487
                       class="under_line"
1488
-                      style="width: 200px;text-align: left"
1488
+                      style="width: 210px;text-align: left"
1489 1489
                       v-if="
1490 1490
                         check != null &&
1491 1491
                           check.check_time < check.first_check_time
@@ -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="