huangyw пре 2 година
родитељ
комит
33dcf4ca31

+ 9 - 12
src/xt_pages/DepositManagement/print/printindex.vue Прегледај датотеку

@@ -17,31 +17,27 @@
17 17
               <div style="display: flex; padding: 0 30px">
18 18
                 <div style="display: flex">
19 19
                   <div>收款单位:</div>
20
-                  <span>{{name}}</span>
21
-                  <div
22
-                    style="min-width: 224px; border-bottom: 1px solid #000"
23
-                  ></div>
20
+                  <div style="min-width: 224px; border-bottom: 1px solid #000">
21
+                    <span>{{name}}</span>
22
+                  </div>
24 23
                 </div>
25 24
                 <div style="display: flex">
26 25
                   <div>收款方式:</div>
27
-                  <span>现金</span>
28 26
                   <div
29 27
                     style="min-width: 224px; border-bottom: 1px solid #000"
30
-                  ></div>
28
+                  ><span>现金</span>
29
+                  </div>
31 30
                 </div>
32 31
               </div>
33 32
               <div style="display: flex; padding: 0 30px">
34 33
                 <div>人民币:</div>
35
-                ¥{{money}}
36 34
                 <div
37 35
                   style="min-width: 225px; border-bottom: 1px solid #000"
38
-                ></div>
36
+                >¥{{money}}</div>
39 37
               </div>
40 38
               <div style="display: flex; padding: 0 30px">
41 39
                 <div>收款是由:</div>
42
-<!--                <span>{{ li }}</span>-->
43
-                <span>预交押金</span>
44
-                <div style="width: 86%; border-bottom: 1px solid #000"></div>
40
+                <div style="width: 86%; border-bottom: 1px solid #000"><span>预交押金</span></div>
45 41
               </div>
46 42
             </div>
47 43
           </div>
@@ -95,7 +91,7 @@ export default {
95 91
     },
96 92
     to_print() {
97 93
       const style =
98
-        '@media print {.dialysis-print-order{width:960px;margin:0 auto} .print h2{text-align: center;} .print p{width: 85%;text-align: right;} .content{width: 70%;height: 250px;border: 1px solid #000;margin: 20px auto;display: flex;flex-direction: column;justify-content: space-evenly;}';
94
+        '@media print {.dialysis-print-order{width:960px;margin:0 auto} .print h2{text-align: center;} .print p{width: 85%;text-align: right;} .content{width: 70%;height: 250px;border: 1px solid #000;margin: 20px auto;display: flex;flex-direction: column;justify-content: space-evenly;white-space: nowrap;}';
99 95
       printJS({
100 96
         printable: "dialysis-print-box",
101 97
         type: "html",
@@ -130,5 +126,6 @@ export default {
130 126
   display: flex;
131 127
   flex-direction: column;
132 128
   justify-content: space-evenly;
129
+  white-space: nowrap;
133 130
 }
134 131
 </style>

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

@@ -350,14 +350,21 @@
350 350
                                     .blood_access_part_id
351 351
                                 : 0
352 352
                           }}
353
-                          {{
353
+                          <!-- {{
354 354
                             record.assessment_before_dislysis &&
355 355
                             record.assessment_before_dislysis
356 356
                               .blood_access_part_opera_name
357 357
                               ? record.assessment_before_dislysis
358 358
                                   .blood_access_part_opera_name
359 359
                               : ""
360
+                          }} -->
361
+                          <span v-for="(item, index) in arrtwo" :key="index">
362
+                          {{
363
+                           record.blood_access_part_opera_id == item.id
364
+                         ? item.name
365
+                            : ""
360 366
                           }}
367
+                        </span>
361 368
                         </div>
362 369
                       </div>
363 370
                       <div class="inline_block" style="flex:1;">
@@ -1135,7 +1142,7 @@
1135 1142
                             执行人签名
1136 1143
                           </td>
1137 1144
                           <td style="font-size: 16px" width="10%">时间</td>
1138
-                          <td style="font-size: 16px" width="10%" v-if="org_id == 10223">核对者</td>
1145
+                          <td style="font-size: 16px" width="10%" v-if="org_id == 10223 ||org_id == 0||org_id == 4">核对者</td>
1139 1146
                         </tr>
1140 1147
                         <!-- <template v-for="group in doctor_advices" > -->
1141 1148
                         <tr
@@ -1143,54 +1150,51 @@
1143 1150
                           :key="advice_index"
1144 1151
                         >
1145 1152
                           <td height="35px">
1146
-                            <span v-if="advice[0].start_time">
1147
-                              {{ getTime(advice[0].start_time, "{h}:{i}") }}
1153
+                            <span v-if="advice.start_time">
1154
+                              {{ getTime(advice.start_time, "{h}:{i}") }}
1148 1155
                             </span>
1149
-                            <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
1150 1156
                           </td>
1157
+                          
1151 1158
                           <td
1152 1159
                             height="35px"
1153 1160
                             colspan="2"
1154 1161
                             class="advice-name"
1155 1162
                             style="padding-left:7px;"
1156 1163
                           >
1157
-                            <span v-if="advice[0].parent_id > 0">---></span>
1158
-                            <span>{{ advice[0].advice_name }}</span>
1159
-                            <span v-if=" advice[advice_index] && advice[0].advice_desc != undefined">
1160
-                               ({{ advice[0].advice_desc}}{{ advice[0].drug_spec_unit }} )
1164
+                            <span v-if="advice.parent_id > 0">---></span>
1165
+                            <span>{{ advice.advice_name }}</span>
1166
+                            <span v-if=" advice[advice_index] && advice.advice_desc != undefined">
1167
+                               ({{ advice.advice_desc}}{{ advice.drug_spec_unit }} )
1161 1168
                             </span>
1162
-                            <span v-if="advice[0].prescribing_number"
1163
-                              >&nbsp;&nbsp; {{ advice[0].prescribing_number
1164
-                              }}{{ advice[0].prescribing_number_unit }}</span
1169
+                            <span v-if="advice.prescribing_number"
1170
+                              >&nbsp;&nbsp; {{ advice.prescribing_number
1171
+                              }}{{ advice.prescribing_number_unit }}</span
1165 1172
                             >
1166
-                            <span v-if="advice[0].single_dose != 0">
1167
-                              {{ advice[0].single_dose
1168
-                              }}{{ advice[0].single_dose_unit }}</span
1173
+                            <span v-if="advice.single_dose != 0">
1174
+                              {{ advice.single_dose
1175
+                              }}{{ advice.single_dose_unit }}</span
1169 1176
                             >
1170 1177
                             <span
1171 1178
                               v-if="
1172
-                                advice[0].parent_id == 0 &&
1173
-                                  advice[0].children.length == 0
1179
+                                advice.parent_id == 0
1174 1180
                               "
1175
-                              >{{ advice[0].delivery_way }}</span
1181
+                              >{{ advice.delivery_way }}</span
1176 1182
                             >
1177 1183
                             <span
1178 1184
                               v-if="
1179
-                                advice[0].parent_id == 0 &&
1180
-                                  advice[0].children.length == 0
1185
+                                advice.parent_id == 0 
1181 1186
                               "
1182
-                              >{{ advice[0].execution_frequency }}</span
1187
+                              >{{ advice.execution_frequency }}</span
1183 1188
                             >
1184 1189
                             <span
1185 1190
                               v-if="
1186
-                                advice[0].parent_id == 0 &&
1187
-                                  advice[0].children &&
1188
-                                  advice[0].children.length == 0 &&
1189
-                                  advice[0].remark.length > 0
1191
+                                advice.parent_id ==0 &&
1192
+                                  advice.remark.length > 0
1190 1193
                               "
1191
-                              >({{ advice[0].remark }})</span
1194
+                              >({{ advice.remark }})</span
1192 1195
                             >
1193 1196
                           </td>
1197
+
1194 1198
                           <td height="35px">
1195 1199
                             <span
1196 1200
                               v-if="
@@ -1234,13 +1238,15 @@
1234 1238
                               style="height: 40px;"
1235 1239
                             />
1236 1240
                           </td>
1241
+
1242
+
1237 1243
                           <td height="35px">
1238
-                            <span v-if="advice[0].execution_time">{{
1239
-                              getTime(advice[0].execution_time, " {h}:{i}")
1244
+                            <span v-if="advice.execution_time">{{
1245
+                              getTime(advice.execution_time, " {h}:{i}")
1240 1246
                             }}</span>
1241 1247
                           </td>
1242 1248
 
1243
-                          <td height="35px" v-if="org_id == 10223">
1249
+                          <td height="35px" v-if="org_id == 10223||org_id == 0||org_id == 4">
1244 1250
                             <span
1245 1251
                               v-if="
1246 1252
                                 setAdminUserES(advice[0], 'checker') ==
@@ -2017,7 +2023,7 @@ export default {
2017 2023
       precaution_arr: [],
2018 2024
       intake_arr: [],
2019 2025
       nutrition_arr: [],
2020
-
2026
+      arrtwo: [],
2021 2027
       records: [
2022 2028
         // 模拟有多条数据
2023 2029
         // {
@@ -2079,6 +2085,84 @@ export default {
2079 2085
       "hemodialysis",
2080 2086
       "vascular_access_desc"
2081 2087
     );
2088
+    var arrtwo = [];
2089
+    for (let i = 0; i < bloodAccessParOpera.length; i++) {
2090
+      if (bloodAccessParOpera[i].name == "内瘘波动及震颤-存在") {
2091
+        bloodAccessParOpera[i].name = "存在";
2092
+        arr.push(bloodAccessParOpera[i]);
2093
+      }
2094
+      if (bloodAccessParOpera[i].name == "内瘘波动及震颤-减弱") {
2095
+        bloodAccessParOpera[i].name = "减弱";
2096
+        arr.push(bloodAccessParOpera[i]);
2097
+      }
2098
+      if (bloodAccessParOpera[i].name == "内瘘波动及震颤-消失") {
2099
+        bloodAccessParOpera[i].name = "消失";
2100
+        arr.push(bloodAccessParOpera[i]);
2101
+      }
2102
+      if (bloodAccessParOpera[i].name == "直穿") {
2103
+        arrtwo.push(bloodAccessParOpera[i]);
2104
+      }
2105
+      if (bloodAccessParOpera[i].name == "动脉直穿") {
2106
+        arrtwo.push(bloodAccessParOpera[i]);
2107
+      }
2108
+      if (bloodAccessParOpera[i].name == "动静脉直穿") {
2109
+        arrtwo.push(bloodAccessParOpera[i]);
2110
+      }
2111
+      if (bloodAccessParOpera[i].name == "带隧道带绦纶套股静脉导管") {
2112
+        arrtwo.push(bloodAccessParOpera[i]);
2113
+      }
2114
+      if (bloodAccessParOpera[i].name == "带隧道带绦纶套锁骨下静脉导管") {
2115
+        arrtwo.push(bloodAccessParOpera[i]);
2116
+      }
2117
+      if (bloodAccessParOpera[i].name == "带隧道带绦纶套颈内静脉导管") {
2118
+        arrtwo.push(bloodAccessParOpera[i]);
2119
+      }
2120
+      if (bloodAccessParOpera[i].name == "无绦纶套股静脉导管") {
2121
+        arrtwo.push(bloodAccessParOpera[i]);
2122
+      }
2123
+      if (bloodAccessParOpera[i].name == "无绦纶套锁骨下静脉导管") {
2124
+        arrtwo.push(bloodAccessParOpera[i]);
2125
+      }
2126
+      if (bloodAccessParOpera[i].name == "无绦纶套颈内静脉导管") {
2127
+        arrtwo.push(bloodAccessParOpera[i]);
2128
+      }
2129
+      if (bloodAccessParOpera[i].name == "直线型移植血管动静脉内瘘") {
2130
+        arrtwo.push(bloodAccessParOpera[i]);
2131
+      }
2132
+      if (bloodAccessParOpera[i].name == "自体动静脉内瘘") {
2133
+        arrtwo.push(bloodAccessParOpera[i]);
2134
+      }
2135
+      if (bloodAccessParOpera[i].name == "袢型移植血管动静脉内瘘") {
2136
+        arrtwo.push(bloodAccessParOpera[i]);
2137
+      }
2138
+      if (bloodAccessParOpera[i].name == "静脉直穿") {
2139
+        arrtwo.push(bloodAccessParOpera[i]);
2140
+      }
2141
+      if (bloodAccessParOpera[i].name == "AVG") {
2142
+        arrtwo.push(bloodAccessParOpera[i]);
2143
+      }
2144
+      if (bloodAccessParOpera[i].name == "自体内瘘") {
2145
+        arrtwo.push(bloodAccessParOpera[i]);
2146
+      }
2147
+      if (bloodAccessParOpera[i].name == "AVF") {
2148
+        arrtwo.push(bloodAccessParOpera[i]);
2149
+      }
2150
+      if (bloodAccessParOpera[i].name == "颈内静脉") {
2151
+        arrtwo.push(bloodAccessParOpera[i]);
2152
+      }
2153
+      if (bloodAccessParOpera[i].name == "股静脉") {
2154
+        arrtwo.push(bloodAccessParOpera[i]);
2155
+      }
2156
+      if (bloodAccessParOpera[i].name == "人造血管") {
2157
+        arrtwo.push(bloodAccessParOpera[i]);
2158
+      }
2159
+      if (bloodAccessParOpera[i].name == "移植血管") {
2160
+        arrtwo.push(bloodAccessParOpera[i]);
2161
+      }
2162
+      this.arrtwo = arrtwo;
2163
+    }
2164
+    console.log("arrtwo", arrtwo)
2165
+
2082 2166
     for (var key in bloodAccessParOpera) {
2083 2167
       this.bloodAccessParOpera[bloodAccessParOpera[key].id] =
2084 2168
         bloodAccessParOpera[key];
@@ -2117,8 +2201,10 @@ export default {
2117 2201
       .then(rs => {
2118 2202
         var resp = rs.data;
2119 2203
         if (resp.state == 1) {
2120
-          this.records = this.records.concat(resp.data.schedules);
2121
-          console.log("记录", this.records);
2204
+          // this.records = this.records.concat(resp.data.schedules);
2205
+          // console.log(rs,'rs')
2206
+          this.records = resp.data.schedules;
2207
+          console.log("记录this.records", this.records);
2122 2208
 
2123 2209
           for (const recordIndex in this.records) {
2124 2210
             var dlegh = 0;
@@ -2149,61 +2235,82 @@ export default {
2149 2235
             }
2150 2236
 
2151 2237
             var delghTwo = 0;
2238
+            console.log(this.records[recordIndex].advices,'长度')
2152 2239
             if (
2153 2240
               this.records[recordIndex].advices &&
2154
-              this.records[recordIndex].advices.length < 12
2241
+              this.records[recordIndex].advices.length < 6
2155 2242
             ) {
2156
-              delghTwo = 12 - this.records[recordIndex].advices.length;
2243
+              delghTwo = 6 - this.records[recordIndex].advices.length;
2157 2244
             } else {
2158 2245
               delghTwo = 0;
2159 2246
             }
2160 2247
 
2161 2248
             if (delghTwo > 0) {
2249
+              console.log(typeof this.records[recordIndex].advices,'typeof this.records[recordIndex].advices')
2162 2250
               if (
2163 2251
                 typeof this.records[recordIndex].advices === "undefined" ||
2164 2252
                 this.records[recordIndex].advices == null
2165 2253
               ) {
2166
-                this.records[recordIndex].advices = [];
2254
+                for (let index = 0; index < delghTwo; index++) {
2255
+                this.records[recordIndex].advices.push([]);
2256
+              }
2167 2257
               }
2168 2258
               for (let index = 0; index < delghTwo; index++) {
2169 2259
                 this.records[recordIndex].advices.push([]);
2170 2260
               }
2171 2261
             }
2172 2262
 
2173
-            var childMap = {};
2174
-            for (const index in this.records[recordIndex].advices) {
2175
-              if (this.records[recordIndex].advices[index].parent_id == 0) {
2176
-                continue;
2177
-              }
2178
-              if (
2179
-                !(
2180
-                  this.records[recordIndex].advices[index].parent_id in childMap
2181
-                )
2182
-              ) {
2183
-                childMap[
2184
-                  this.records[recordIndex].advices[index].parent_id
2185
-                ] = [];
2186
-              }
2187
-              childMap[this.records[recordIndex].advices[index].parent_id].push(
2188
-                this.records[recordIndex].advices[index]
2189
-              );
2190
-            }
2263
+            // var childMap = {};
2264
+            // for (const index in this.records[recordIndex].advices) {
2265
+            //   if (this.records[recordIndex].advices[index].parent_id == 0) {
2266
+            //     continue;
2267
+            //   }
2268
+            //   if (
2269
+            //     !(
2270
+            //       this.records[recordIndex].advices[index].parent_id in childMap
2271
+            //     )
2272
+            //   ) {
2273
+            //     childMap[
2274
+            //       this.records[recordIndex].advices[index].parent_id
2275
+            //     ] = [];
2276
+            //   }
2277
+            //   childMap[this.records[recordIndex].advices[index].parent_id].push(
2278
+            //     this.records[recordIndex].advices[index]
2279
+            //   );
2280
+            // }
2281
+            // console.log(childMap,'childMap')
2191 2282
 
2192
-            var advices = [];
2193
-            for (const index in this.records[recordIndex].advices) {
2194
-              if (this.records[recordIndex].advices[index].parent_id > 0) {
2195
-                continue;
2196
-              }
2197
-              var item = this.records[recordIndex].advices[index];
2198
-              if (item.id in childMap) {
2199
-                item.children = childMap[item.id];
2200
-                // advices.push(childMap[item.id]);
2201
-              } else {
2202
-                item.children = [];
2203
-              }
2204
-              advices.push(item);
2283
+            // var advices = [];
2284
+            // for (const index in this.records[recordIndex].advices) {
2285
+            //   if (this.records[recordIndex].advices[index].parent_id > 0) {
2286
+            //     continue;
2287
+            //   }
2288
+            //   var item = this.records[recordIndex].advices[index];
2289
+            //   if (item.id in childMap) {
2290
+            //     item.children = childMap[item.id];
2291
+            //     // advices.push(childMap[item.id]);
2292
+            //   } else {
2293
+            //     item.children = [];
2294
+            //   }
2295
+            //   advices.push(item);
2205 2296
               
2297
+            // }
2298
+
2299
+          console.log(" this.records[recordIndex].advices", this.records);
2300
+          this.operators = resp.data.medical_staffs;
2301
+          if (this.operators.length > 0) {
2302
+            var operatorsLen = this.operators.length;
2303
+            for (var index = 0; index < operatorsLen; index++) {
2304
+              this.$set(
2305
+                this.operatorMaps,
2306
+                this.operators[index].id,
2307
+                this.operators[index]
2308
+              );
2206 2309
             }
2310
+          }
2311
+          this.adminUser = resp.data.users;
2312
+          console.log("使用者", this.adminUser);
2313
+          this.loading = false;
2207 2314
 
2208 2315
             var leftAdvice = [];
2209 2316
             var rightAdvice = [];
@@ -2237,31 +2344,20 @@ export default {
2237 2344
             }
2238 2345
           }
2239 2346
 
2240
-          console.log(" this.records[recordIndex].advices", this.records);
2241
-          this.operators = resp.data.medical_staffs;
2242
-          if (this.operators.length > 0) {
2243
-            var operatorsLen = this.operators.length;
2244
-            for (var index = 0; index < operatorsLen; index++) {
2245
-              this.$set(
2246
-                this.operatorMaps,
2247
-                this.operators[index].id,
2248
-                this.operators[index]
2249
-              );
2250
-            }
2251
-          }
2252
-          this.adminUser = resp.data.users;
2253
-          console.log("使用者", this.adminUser);
2254
-          this.loading = false;
2255
-        } else {
2347
+         
2348
+        } 
2349
+        else {
2256 2350
           this.loading = false;
2257 2351
           this.$message.error(resp.msg);
2258 2352
         }
2259 2353
       })
2260 2354
       .catch(err => {
2261
-        this.$message.error(err);
2355
+        // this.$message.error(err);
2356
+        console.log(err)
2262 2357
       });
2263 2358
   },
2264 2359
   methods: {
2360
+
2265 2361
     getUnit: function(val) {
2266 2362
       if (val.assessment_after_dislysis == null) {
2267 2363
         return "";

+ 22 - 9
src/xt_pages/hospitalStation/recordPrint.vue Прегледај датотеку

@@ -13,7 +13,7 @@
13 13
 
14 14
      <div class="dialysisPage" style="padding-top: 40px">
15 15
       <printOne
16
-        v-if="org_id != 9671 && org_id!=9675"
16
+        v-if="org_id != 9675 && org_id != 9671 &&org_id != 0"
17 17
         ref="printOne"
18 18
         v-bind:childResponse="childResponse"
19 19
         :patient="patient"
@@ -22,7 +22,7 @@
22 22
         :patientid="patientid"
23 23
       ></printOne>
24 24
       <printTwo
25
-        v-if="org_id == 9671 || org_id == 9675"
25
+        v-if="org_id == 10217 || org_id == 0 ||org_id==9675||org_id==9671"
26 26
         ref="printTwo"
27 27
         v-bind:childResponse="childResponse"
28 28
         :patient="patient"
@@ -101,13 +101,26 @@ export default {
101 101
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
102 102
 
103 103
       const style =
104
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle div{width: 200px;}}';
105
-      printJS({
106
-        printable: "prescription-print",
107
-        type: "html",
108
-        style: style,
109
-        scanStyles: false
110
-      });
104
+        "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle div{width: 200px;}}";
105
+       const style1 =
106
+        "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
107
+      
108
+      
109
+      if (this.org_id != 10217 && this.org_id != 0) {
110
+        printJS({
111
+          printable: "prescription-print",
112
+          type: "html",
113
+          style: style,
114
+          scanStyles: false,
115
+        });
116
+      } else if (this.org_id == 10217 || this.org_id == 0) {
117
+        printJS({
118
+          printable: "prescription-print",
119
+          type: "html",
120
+          style: style1,
121
+          scanStyles: false,
122
+        });
123
+      }
111 124
     },
112 125
 
113 126
      //患者列表

+ 22 - 19
src/xt_pages/hospitalStation/recordTemplate/printTwo.vue Прегледај датотеку

@@ -2,7 +2,7 @@
2 2
   <div id="prescription-print">
3 3
     <div class="prescription-print">
4 4
       <div class="printTitle">{{ orgname }}血透中心病历</div>
5
-       <div class="record_Title">
5
+       <!-- <div class="record_Title">
6 6
             <div>姓名:{{patient.name?patient.name:''}}</div>
7 7
             <div>性别:
8 8
                 <span v-if="patient.gender == 1">男</span>
@@ -10,29 +10,29 @@
10 10
             </div>
11 11
             <div>年龄:{{patient.age?patient.age:''}}岁</div>
12 12
             <div>透析病历号:{{patient.id?patient.id:''}}</div>
13
-        </div>
13
+        </div> -->
14 14
       <div class="infoTitle" style="margin-top:20px;">
15
-        <div>姓名:{{ patient.name ? patient.name : "" }}</div>
16
-        <div>
17
-          家庭住址:{{ patient.home_address ? patient.home_address : "" }}
15
+        <div class="name_slot">姓名:{{ patient.name ? patient.name : "" }}</div>
16
+        <div class="address_slot">
17
+          家庭住址:{{ patient.home_address ? patient.home_address : "" }}深圳市南山区桃园街道新屋村东区三号楼303
18 18
         </div>
19 19
       </div>
20 20
       <div class="infoTitle">
21
-        <div>
21
+        <div class="name_slot">
22 22
           性别:
23 23
           <span v-if="patient.gender == 1">男</span>
24 24
           <span v-if="patient.gender == 2">女</span>
25 25
         </div>
26
-        <div>工作单位:{{patient.work_unit}}</div>
26
+        <div class="address_slot">工作单位:{{patient.work_unit}}</div>
27 27
        
28 28
       </div>
29 29
       <div class="infoTitle">
30
-        <div>出生日期:{{patient.id_card_no.slice(6,10)}}年{{ patient.id_card_no.slice(10,12) }}月{{patient.id_card_no.slice(12,14) }}日</div> 
31
-        <div>身份证号:{{patient.id_card_no}}</div>
30
+        <div class="name_slot">出生日期:{{patient.id_card_no.slice(6,10)}}年{{ patient.id_card_no.slice(10,12) }}月{{patient.id_card_no.slice(12,14) }}日</div> 
31
+        <div class="address_slot">身份证号:{{patient.id_card_no}}</div>
32 32
       </div>
33 33
       <div class="infoTitle">
34
-        <div>联系人:{{patient.contact_name}}</div>
35
-        <div>联系电话:{{ patient.phone ? patient.phone : "" }}</div>
34
+        <div class="name_slot">联系人:{{patient.contact_name}}</div>
35
+        <div class="address_slot">联系电话:{{ patient.phone ? patient.phone : "" }}</div>
36 36
       </div>
37 37
       <div class="otherInfo" style="border-bottom: 1px solid">
38 38
         <div>进入透析时间:{{getTime(patient.first_dialysis_date)}}</div>
@@ -40,7 +40,7 @@
40 40
       </div>
41 41
       <div class="infoTitle">
42 42
         <div style="width: 300px">原发病:{{history.primary_disease}}</div>
43
-        <div>确诊肾衰日期:{{getTime(patient.first_dialysis_date)}}</div>
43
+        <div class="address_slot">确诊肾衰日期:{{getTime(history.confirm_failure_date)}}</div>
44 44
       </div>
45 45
       <div class="otherInfo">
46 46
         <div>
@@ -52,7 +52,7 @@
52 52
         <div style="flex: 1"></div>
53 53
       </div>
54 54
       <div class="otherInfo" style="border-bottom: 1px solid">
55
-        <div>血管通路:{{getAccess(accessList.access_project)}}</div>
55
+        <div>血管通路:{{accessList.blood_access_part_opera_id}}</div>
56 56
         <div style="flex: 1"></div>
57 57
       </div>
58 58
 
@@ -88,16 +88,14 @@
88 88
         </div>
89 89
       </div>
90 90
 
91
-      <div class="otherInfo" style="min-height: 80px;">
91
+      <div class="otherInfo" style="min-height: 150px;">
92 92
         <div class="otherName">家族史:</div>
93 93
         <div style="flex: 1">
94
-          {{ history.family_history ? history.family_history : "" }}
94
+          {{ history.family_history ? history.family_history : "" }}啊实打实大苏打实打实
95 95
         </div>
96 96
       </div>
97
-
98
-      <div style="page-break-after: always; margin-top: 50px"></div>
99 97
     </div>
100
-
98
+<div style="page-break-after: always; margin-top: 50px"></div>
101 99
     <div class="prescription-print">
102 100
       <!-- <div class="printTitle">病历内容</div> -->
103 101
       <div class="recordTitle">
@@ -132,7 +130,7 @@
132 130
               手签:
133 131
             </div>
134 132
           </div>
135
-          <div style="text-align: center; letter-spacing: 3px">{{getTime(history.record_date)}}</div>
133
+          <div style="text-align: center; letter-spacing: 3px;padding-top:20px">{{getTime(history.record_date)}}</div>
136 134
         </div>
137 135
       </div>
138 136
     </div>
@@ -222,6 +220,7 @@ export default {
222 220
         if (response.data.state == 1) {
223 221
           var patient = response.data.data.patient;
224 222
           this.patient = patient;
223
+          console.log(this.patient,'this.patient')
225 224
           var history = response.data.data.history;
226 225
           this.history = history;
227 226
           var hispatient = response.data.data.hispatient;
@@ -316,6 +315,10 @@ export default {
316 315
 .infoTitle div {
317 316
   width: 200px;
318 317
 }
318
+
319
+.infoTitle .address_slot{width: 400px;} 
320
+.infoTitle .name_slot{width: 250px;}
321
+
319 322
 .otherInfo {
320 323
   display: flex;
321 324
   margin-top: 10px;

+ 15 - 5
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Прегледај датотеку

@@ -305,8 +305,10 @@
305 305
         class="centerDialog"
306 306
         width="600px"
307 307
         title="打印"
308
+        destroy-on-close
308 309
         :visible.sync="recordVisible">
309
-      <recordPrint :patientid="patientid" ref="recordPrint"></recordPrint>
310
+      <recordPrint :patientid="patientid" ref="recordPrint">
311
+    </recordPrint>
310 312
     </el-dialog>
311 313
 
312 314
   </div>
@@ -4596,9 +4598,10 @@ export default {
4596 4598
         }
4597 4599
         this.$refs.child.createCaseHistory()
4598 4600
       } else if (index == 2) {
4599
-        this.recordVisible = true
4600
-        this.$refs.recordPrint.show(this.patientid)
4601 4601
 
4602
+          this.recordVisible = true
4603
+        this.$refs.recordPrint.show(this.patientid)
4604
+        
4602 4605
         // this.$router.push('/outpatientDoctorStation/recordPrint?record='+this.record_date+"&patient_id="+this.patientid)
4603 4606
       } else if (index == 3) {
4604 4607
         var mode_status = this.$refs.saveRecordTemplate.mode_status
@@ -4948,6 +4951,10 @@ export default {
4948 4951
     }
4949 4952
   },
4950 4953
   created() {
4954
+    this.$nextTick(() => {
4955
+      
4956
+    })
4957
+    this.org_id = this.$store.getters.xt_user.template_info.org_id
4951 4958
     this.getInitData()
4952 4959
     var nowDate = new Date()
4953 4960
     var nowYear = nowDate.getFullYear()
@@ -4965,7 +4972,7 @@ export default {
4965 4972
     // this.other_sick = this.getDictionaryDataConfig('system', 'other_sick_history')
4966 4973
     let tableHeight = document.body.clientHeight - 263
4967 4974
     this.tableHeight = tableHeight
4968
-    this.org_id = this.$store.getters.xt_user.template_info.org_id
4975
+    
4969 4976
 
4970 4977
   },
4971 4978
 
@@ -4990,7 +4997,10 @@ export default {
4990 4997
           that.timer = false
4991 4998
         }, 400)
4992 4999
       }
4993
-    }
5000
+    },
5001
+    patientid: function (val) {
5002
+      console.log("val22332323", val);
5003
+    },
4994 5004
 
4995 5005
   }
4996 5006
 }

+ 13 - 9
src/xt_pages/outpatientDoctorStation/recordPrint.vue Прегледај датотеку

@@ -13,7 +13,7 @@
13 13
 
14 14
     <div class="dialysisPage" style="padding-top: 40px">
15 15
       <printOne
16
-        v-if="org_id != 9675 && org_id != 9671"
16
+        v-if="org_id != 9675 && org_id != 9671 && org_id != 0"
17 17
         ref="printOne"
18 18
         v-bind:childResponse="childResponse"
19 19
         :patient="patient"
@@ -22,7 +22,9 @@
22 22
         :patientid="patientid"
23 23
       ></printOne>
24 24
       <printTwo
25
-        v-if="org_id == 9671 || org_id == 9675"
25
+        v-if="
26
+          org_id == 10217 || org_id == 0 || org_id == 9675 || org_id == 9671
27
+        "
26 28
         ref="printTwo"
27 29
         v-bind:childResponse="childResponse"
28 30
         :patient="patient"
@@ -71,8 +73,11 @@ export default {
71 73
       org_id,
72 74
     };
73 75
   },
76
+
77
+
74 78
   methods: {
75 79
     show(val) {
80
+      console.log(val,'ooooooo')
76 81
       this.$refs.printOne.show(val);
77 82
       this.$refs.printTwo.show(val);
78 83
     },
@@ -104,10 +109,9 @@ export default {
104 109
 
105 110
       const style =
106 111
         "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle div{width: 200px;}}";
107
-       const style1 =
108
-        "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.infoTitle div{width: 300px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
109
-      
110
-      
112
+      const style1 =
113
+        "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;} .infoTitle div{width: 200px;} .infoTitle .address_slot{width: 400px;} .infoTitle .name_slot{width: 250px;}.otherInfo{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;justify-content: center;flex-direction: column;margin-top:10px;line-height: 24px;padding:0 10px;border-top: 1px solid;}.recordTitle div{width: 100%;text-align: center;} .recordTitle .recordContent{width: 100%;height: 150px;text-align: left;} .endInfo{display: flex;flex-direction: column;justify-content: end;margin-top: 10px;line-height: 24px;} .endInfo div{width: 300px;} .record_Title{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;} .record_Title div{width: 200px;}}";
114
+
111 115
       if (this.org_id != 10217 && this.org_id != 0) {
112 116
         printJS({
113 117
           printable: "prescription-print",
@@ -174,9 +178,9 @@ export default {
174 178
   created() {
175 179
     // this.getPatientList()
176 180
     this.org_id = this.$store.getters.xt_user.org.id;
177
-    console.log("=====", this.org_id);
178
-    this.$refs.printOne.show(this.patientid);
179
-    this.$refs.printTwo.show(this.patientid);
181
+    // console.log("=====", this.org_id);
182
+    // this.$refs.printOne.show(this.patientid);
183
+    // this.$refs.printTwo.show(this.patientid);
180 184
   },
181 185
   // computed:{
182 186
   //   filtedSchedules: function() {

+ 106 - 77
src/xt_pages/outpatientDoctorStation/recordTemplate/printTwo.vue Прегледај датотеку

@@ -2,7 +2,7 @@
2 2
   <div id="prescription-print">
3 3
     <div class="prescription-print">
4 4
       <div class="printTitle">{{ orgname }}血透中心病历</div>
5
-       <div class="record_Title">
5
+      <!-- <div class="record_Title">
6 6
             <div>姓名:{{patient.name?patient.name:''}}</div>
7 7
             <div>性别:
8 8
                 <span v-if="patient.gender == 1">男</span>
@@ -10,60 +10,71 @@
10 10
             </div>
11 11
             <div>年龄:{{patient.age?patient.age:''}}岁</div>
12 12
             <div>透析病历号:{{patient.id?patient.id:''}}</div>
13
+        </div> -->
14
+      <div class="infoTitle" style="margin-top: 20px">
15
+        <div class="name_slot">
16
+          姓名:{{ patient.name ? patient.name : "" }}
13 17
         </div>
14
-      <div class="infoTitle" style="margin-top:20px;">
15
-        <div>姓名:{{ patient.name ? patient.name : "" }}</div>
16
-        <div>
18
+        <div class="address_slot">
17 19
           家庭住址:{{ patient.home_address ? patient.home_address : "" }}
18 20
         </div>
19 21
       </div>
20 22
       <div class="infoTitle">
21
-        <div>
23
+        <div class="name_slot">
22 24
           性别:
23 25
           <span v-if="patient.gender == 1">男</span>
24 26
           <span v-if="patient.gender == 2">女</span>
25 27
         </div>
26
-        <div>工作单位:{{patient.work_unit}}</div>
27
-       
28
+        <div class="address_slot">工作单位:{{ patient.work_unit }}</div>
28 29
       </div>
29 30
       <div class="infoTitle">
30
-        <div>出生日期:{{patient.id_card_no.slice(6,10)}}年{{ patient.id_card_no.slice(10,12) }}月{{patient.id_card_no.slice(12,14) }}日</div> 
31
-        <div>身份证号:{{patient.id_card_no}}</div>
31
+        <div class="name_slot">
32
+          出生日期:{{ patient.id_card_no.slice(6, 10) }}年{{
33
+            patient.id_card_no.slice(10, 12)
34
+          }}月{{ patient.id_card_no.slice(12, 14) }}日
35
+        </div>
36
+        <div class="address_slot">身份证号:{{ patient.id_card_no }}</div>
32 37
       </div>
33 38
       <div class="infoTitle">
34
-        <div>联系人:{{patient.contact_name}}</div>
35
-        <div>联系电话:{{ patient.phone ? patient.phone : "" }}</div>
39
+        <div class="name_slot">联系人:{{ patient.contact_name }}</div>
40
+        <div class="address_slot">
41
+          联系电话:{{ patient.phone ? patient.phone : "" }}
42
+        </div>
36 43
       </div>
37 44
       <div class="otherInfo" style="border-bottom: 1px solid">
38
-        <div>进入透析时间:{{getTime(patient.first_dialysis_date)}}</div>
45
+        <div>进入透析时间:{{ getTime(patient.first_dialysis_date) }}</div>
39 46
         <div style="flex: 1"></div>
40 47
       </div>
41 48
       <div class="infoTitle">
42
-        <div style="width: 300px">原发病:{{history.primary_disease}}</div>
43
-        <div>确诊肾衰日期:{{getTime(patient.first_dialysis_date)}}</div>
49
+        <div style="width: 300px">原发病:{{ history.primary_disease }}</div>
50
+        <div class="address_slot">
51
+          确诊肾衰日期:{{ getTime(history.confirm_failure_date) }}
52
+        </div>
44 53
       </div>
45 54
       <div class="otherInfo">
46 55
         <div>
47
-          药物过敏史:{{ history.allergic_history ? history.allergic_history : "" }}
56
+          药物过敏史:{{
57
+            history.allergic_history ? history.allergic_history : ""
58
+          }}
48 59
         </div>
49 60
       </div>
50 61
       <div class="otherInfo">
51
-        <div>初始透析日期:{{getTime(patient.first_dialysis_date)}}</div>
62
+        <div>初始透析日期:{{ getTime(patient.first_dialysis_date) }}</div>
52 63
         <div style="flex: 1"></div>
53 64
       </div>
54 65
       <div class="otherInfo" style="border-bottom: 1px solid">
55
-        <div>血管通路:{{getAccess(accessList.access_project)}}</div>
66
+        <div>血管通路:{{ accessList.blood_access_part_opera_id }}</div>
56 67
         <div style="flex: 1"></div>
57 68
       </div>
58 69
 
59
-      <div class="otherInfo" style="min-height: 60px;">
70
+      <div class="otherInfo" style="min-height: 60px">
60 71
         <div class="otherName">主诉:</div>
61 72
         <div style="flex: 1">
62 73
           {{ history.chief_conplaint ? history.chief_conplaint : "" }}
63 74
         </div>
64 75
       </div>
65 76
 
66
-      <div class="otherInfo" style="min-height: 180px;">
77
+      <div class="otherInfo" style="min-height: 180px">
67 78
         <div class="otherName">现病史:</div>
68 79
         <div style="flex: 1">
69 80
           {{
@@ -74,52 +85,61 @@
74 85
         </div>
75 86
       </div>
76 87
 
77
-      <div class="otherInfo" style="min-height: 100px;">
88
+      <div class="otherInfo" style="min-height: 100px">
78 89
         <div class="otherName">既往史:</div>
79 90
         <div style="flex: 1">
80 91
           {{ history.past_history ? history.past_history : "" }}
81 92
         </div>
82 93
       </div>
83 94
 
84
-      <div class="otherInfo" style="min-height: 80px;">
95
+      <div class="otherInfo" style="min-height: 80px">
85 96
         <div class="otherName">个人史:</div>
86 97
         <div style="flex: 1">
87 98
           {{ history.personal_history ? history.personal_history : "" }}
88 99
         </div>
89 100
       </div>
90 101
 
91
-      <div class="otherInfo" style="min-height: 80px;">
102
+      <div class="otherInfo" style="min-height: 150px">
92 103
         <div class="otherName">家族史:</div>
93 104
         <div style="flex: 1">
94 105
           {{ history.family_history ? history.family_history : "" }}
95 106
         </div>
96 107
       </div>
97
-
98
-      <div style="page-break-after: always; margin-top: 50px"></div>
99 108
     </div>
100
-
109
+    <div style="page-break-after: always; margin-top: 50px"></div>
101 110
     <div class="prescription-print">
102 111
       <!-- <div class="printTitle">病历内容</div> -->
103 112
       <div class="recordTitle">
104 113
         <div>体格检查</div>
105
-        <div class="recordContent" style="height:250px;">
114
+        <div class="recordContent" style="height: 250px">
106 115
           <div>
107
-          <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
108
-          <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
109
-          <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
110
-          <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
116
+            <span
117
+              >体温:{{
118
+                history.temperature ? history.temperature + "℃" : "/"
119
+              }}</span
120
+            >
121
+            <span
122
+              >脉搏:{{ history.pulse ? history.pulse + "次/分" : "/" }}</span
123
+            >
124
+            <span
125
+              >呼吸:{{
126
+                history.breathing ? history.breathing + "次/分" : "/"
127
+              }}</span
128
+            >
129
+            <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
111 130
           </div>
112
-
113 131
         </div>
114 132
         <div></div>
115 133
       </div>
116 134
       <div class="recordTitle">
117 135
         <div>专科检查</div>
118
-        <div class="recordContent">{{history.special_inspection}}</div>
136
+        <div class="recordContent">{{ history.special_inspection }}</div>
119 137
       </div>
120 138
       <div class="recordTitle" style="border-bottom: 1px solid">
121 139
         <div>实验室及器械检查</div>
122
-        <div class="recordContent" style="height:250px;">{{history.lab_apparatus}}</div>
140
+        <div class="recordContent" style="height: 250px">
141
+          {{ history.lab_apparatus }}
142
+        </div>
123 143
       </div>
124 144
       <div style="display: flex; justify-content: end">
125 145
         <div class="endInfo">
@@ -127,12 +147,18 @@
127 147
             诊断:{{ history.diagnostic ? history.diagnostic : "" }}
128 148
           </div>
129 149
           <div style="display: flex">
130
-            <div>医师:{{getDoctor(history.doctor) ? getDoctor(history.doctor) : ""}}</div>
131 150
             <div>
132
-              手签:
151
+              医师:{{
152
+                getDoctor(history.doctor) ? getDoctor(history.doctor) : ""
153
+              }}
133 154
             </div>
155
+            <div>手签:</div>
156
+          </div>
157
+          <div
158
+            style="text-align: center; letter-spacing: 3px; padding-top: 20px"
159
+          >
160
+            {{ getTime(history.record_date) }}
134 161
           </div>
135
-          <div style="text-align: center; letter-spacing: 3px">{{getTime(history.record_date)}}</div>
136 162
         </div>
137 163
       </div>
138 164
     </div>
@@ -143,7 +169,7 @@ import { jsGetAge, uParseTime } from "@/utils/tools";
143 169
 
144 170
 import { getDataConfig } from "@/utils/data";
145 171
 import { getAllDoctorList, getPatientCaseHistory } from "@/api/project/project";
146
-import {getAccessList} from "@/api/patient"
172
+import { getAccessList } from "@/api/patient";
147 173
 export default {
148 174
   props: {
149 175
     patient: Object,
@@ -158,10 +184,12 @@ export default {
158 184
       orgname: "",
159 185
       history: {},
160 186
       printDate: "",
161
-      accessList:{},
162
-      blood_access_part_opera:[],
187
+      accessList: {},
188
+      blood_access_part_opera: [],
163 189
     };
164 190
   },
191
+
192
+
165 193
   methods: {
166 194
     getAge(patient) {
167 195
       var thisLen = patient.id_card_no.length;
@@ -200,7 +228,6 @@ export default {
200 228
 
201 229
           this.doctorList = doctor;
202 230
           var department = response.data.data.department;
203
-          console.log("department", department);
204 231
           this.departmentList = department;
205 232
         }
206 233
       });
@@ -226,9 +253,8 @@ export default {
226 253
           this.history = history;
227 254
           var hispatient = response.data.data.hispatient;
228 255
           this.hispatient = hispatient;
229
-          var accessList = response.data.data.accessList
230
-          console.log("accesslist2332323232",accessList)
231
-          this.accessList = accessList
256
+          var accessList = response.data.data.accessList;
257
+          this.accessList = accessList;
232 258
         }
233 259
       });
234 260
     },
@@ -242,38 +268,39 @@ export default {
242 268
       return name;
243 269
     },
244 270
     getTime(val) {
245
-      if(val < 0){
246
-        return ""
271
+      if (val < 0) {
272
+        return "";
247 273
       }
248
-      if(val == ""){
249
-      return ""
250
-      }else {
251
-      return uParseTime(val, '{y}-{m}-{d}')
274
+      if (val == "") {
275
+        return "";
276
+      } else {
277
+        return uParseTime(val, "{y}-{m}-{d}");
252 278
       }
253 279
     },
254
-    getAccessList(){
255
-      getAccessList().then(response=>{
256
-        if(response.data.state == 1){
257
-          var blood_access_part_opera = response.data.data.blood_access_part_opera
258
-          this.blood_access_part_opera = blood_access_part_opera
280
+    getAccessList() {
281
+      getAccessList().then((response) => {
282
+        if (response.data.state == 1) {
283
+          var blood_access_part_opera =
284
+            response.data.data.blood_access_part_opera;
285
+          this.blood_access_part_opera = blood_access_part_opera;
259 286
         }
260
-     })
287
+      });
261 288
     },
262
-    getAccess(id){
263
-      var name = ""
264
-      for(let i=0;i<this.blood_access_part_opera.length;i++){
265
-         if(id == this.blood_access_part_opera[i].value){
266
-             name = this.blood_access_part_opera[i].name
267
-         }
289
+    getAccess(id) {
290
+      var name = "";
291
+      for (let i = 0; i < this.blood_access_part_opera.length; i++) {
292
+        if (id == this.blood_access_part_opera[i].value) {
293
+          name = this.blood_access_part_opera[i].name;
294
+        }
268 295
       }
269
-      return name
270
-    }
296
+      return name;
297
+    },
271 298
   },
272 299
   created() {
273 300
     this.educationOptions = getDataConfig("patient", "education_types");
274 301
     this.getAllDoctorList();
275 302
     this.getPatientCaseHistory();
276
-    this.getAccessList()
303
+    this.getAccessList();
277 304
     var xtuser = this.$store.getters.xt_user;
278 305
     this.orgname = xtuser.org.org_name;
279 306
     var data = new Date();
@@ -281,12 +308,6 @@ export default {
281 308
       data.getMonth() < 9 ? "0" + (data.getMonth() + 1) : data.getMonth() + 1;
282 309
     var date = data.getDate() <= 9 ? "0" + data.getDate() : data.getDate();
283 310
     this.printDate = data.getFullYear() + "-" + month + "-" + date;
284
-
285
-  },
286
-  watch: {
287
-    patientid: function (val) {
288
-      console.log("val22332323", val);
289
-    },
290 311
   },
291 312
 };
292 313
 </script>
@@ -316,6 +337,14 @@ export default {
316 337
 .infoTitle div {
317 338
   width: 200px;
318 339
 }
340
+
341
+.infoTitle .address_slot {
342
+  width: 400px;
343
+}
344
+.infoTitle .name_slot {
345
+  width: 250px;
346
+}
347
+
319 348
 .otherInfo {
320 349
   display: flex;
321 350
   margin-top: 10px;
@@ -351,15 +380,15 @@ export default {
351 380
   text-align: left;
352 381
 }
353 382
 
354
-.record_Title{
355
-    display: flex;
356
-    margin-top:10px;
357
-    line-height: 24px;
358
-    padding:0 10px;
359
-    border-bottom: 2px solid #000;
383
+.record_Title {
384
+  display: flex;
385
+  margin-top: 10px;
386
+  line-height: 24px;
387
+  padding: 0 10px;
388
+  border-bottom: 2px solid #000;
360 389
 }
361 390
 
362
-.record_Title div{
391
+.record_Title div {
363 392
   width: 200px;
364 393
 }
365 394
 </style>