XMLWAN 4 gadus atpakaļ
vecāks
revīzija
f58a9988fb

+ 7 - 7
src/api/drug/drug.js Parādīt failu

@@ -276,11 +276,11 @@ export function getPatientDetail(id,params){
276 276
    })
277 277
 }
278 278
 
279
-// export function toSeachPatient(params){
279
+export function getSelfStockQuery(params){
280 280
    
281
-//    return request({
282
-//       url:"/api/drug/toseachpatient",
283
-//       methods:"Get",
284
-//       params:params
285
-//    })
286
-// }
281
+   return request({
282
+      url:"/api/drug/getselfstockquery",
283
+      methods:"get",
284
+      params:params
285
+   })
286
+}

+ 16 - 0
src/router/modules/selfPreparedMedicine.js Parādīt failu

@@ -12,6 +12,14 @@ export default {
12 12
     isChild: true
13 13
   },
14 14
   children: [
15
+    {
16
+      path: '/stock/selfstockquery',
17
+      component: () => import('@/xt_pages/stock/selfPreparedMedicine/stockquery'),
18
+      name: 'stockquery',
19
+      meta: { title: '库存查询', noCache: true } 
20
+
21
+    },
22
+
15 23
     {
16 24
         path: '/stock/selfPreparedMedicineIndex',
17 25
         component: () => import('@/xt_pages/stock/selfPreparedMedicine/index'),
@@ -46,5 +54,13 @@ export default {
46 54
       is_menu: false,
47 55
       meta: { title: 'stockprint', noCache: true }
48 56
      },
57
+     {
58
+       path:"/stock/selfstockprint",
59
+       component:()=>import('@/xt_pages/stock/selfStockPrint'),
60
+       name:'selfStockQuery',
61
+       hidden:true,
62
+       is_menu:false,
63
+       meta:{title:'selfStockPrint',noCache:true}
64
+     }
49 65
   ]
50 66
 }

+ 7 - 4
src/utils/tools.js Parādīt failu

@@ -153,10 +153,10 @@ export function uParseTime(time, cFormat) {
153 153
 }
154 154
 
155 155
 export function calculateAnticoagulantZL(type, shouji, shichang, weichi) {
156
-  // console.log(type)
157
-  // console.log('首剂', shouji)
158
-  // console.log('总量', shichang)
159
-  // console.log('维持', weichi)
156
+  console.log('类型',type)
157
+  console.log('首剂', shouji)
158
+  console.log('总量', shichang)
159
+  console.log('维持', weichi)
160 160
 
161 161
   var t = 0.5
162 162
   if (type == 1) {
@@ -177,6 +177,9 @@ export function calculateAnticoagulantZL(type, shouji, shichang, weichi) {
177 177
 }
178 178
 
179 179
 
180
+
181
+
182
+
180 183
 export function formatDate (date, format) {
181 184
   if (/(y+)/.test(format)) {
182 185
       format= format.replace(RegExp.$1, (date.getFullYear() + '').substr(4 - RegExp.$1.length));

+ 29 - 1
src/xt_pages/dialysis/details/assessmentBefore.vue Parādīt failu

@@ -308,6 +308,31 @@
308 308
           <span class="content">{{ this.record.special_treatment}}</span>
309 309
           <span class="unit"></span>
310 310
         </li>
311
+        
312
+        <li v-if="isShow('血栓')">
313
+          <label>血栓: </label>
314
+          <span class="content" v-if="this.record.thromubus_type == 1">有</span>
315
+          <span class="content" v-if="this.record.thromubus_type == 2">无</span>
316
+          <span class="unit"></span>
317
+        </li>
318
+
319
+         <li v-if="isShow('血栓')">
320
+          <label>导管AV端约为(cm): </label>
321
+          <span class="content">{{this.record.thrombus_av}}</span>
322
+          <span class="unit"></span>
323
+        </li>
324
+       
325
+        <li v-if="isShow('血栓')">
326
+          <label>导管A端约(cm): </label>
327
+          <span class="content">{{this.record.thromubus_a}}</span>
328
+          <span class="unit"></span>
329
+        </li>
330
+
331
+         <li v-if="isShow('血栓')">
332
+          <label>导管V端约(cm): </label>
333
+          <span class="content">{{this.record.thromubus_v}}</span>
334
+          <span class="unit"></span>
335
+        </li>
311 336
       </ul>
312 337
     </div>
313 338
     <div class="note">
@@ -334,7 +359,11 @@ export default {
334 359
       type: Object
335 360
     }
336 361
   },
362
+  created(){
363
+    console.log("血栓22222",this.record)
364
+  },
337 365
   computed: {
366
+   
338 367
     weight_before: function() {
339 368
       if (this.record.id == 0) {
340 369
         return '-'
@@ -382,7 +411,6 @@ export default {
382 411
         return '-'
383 412
       }
384 413
       return this.record.catheter
385
-      console.log('导管', this.record.catheter)
386 414
     },
387 415
 
388 416
     temperature: function() {

+ 45 - 31
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue Parādīt failu

@@ -301,6 +301,36 @@
301 301
             </el-form-item>
302 302
           </el-col>
303 303
 
304
+
305
+
306
+           <el-col :span="8">
307
+            <el-form-item label="血栓:" v-if="isShow('血栓')">
308
+              <el-select v-model="assessmentBeforeDislysis.thromubus_type" @change="changeThrombus">
309
+                <el-option :key="0" label="请选择" :value="0"></el-option>
310
+                <el-option label="有" value="1"></el-option>
311
+                <el-option label="无" value="2"></el-option>
312
+              </el-select>
313
+            </el-form-item>
314
+          </el-col>
315
+          
316
+          <el-col :span="8">
317
+            <el-form-item label="导管AV端约为(cm):" v-show="thrombuShow" label-width="200px">
318
+              <el-input v-model="assessmentBeforeDislysis.thrombus_av" style="width:150px"></el-input>
319
+            </el-form-item>
320
+          </el-col>
321
+
322
+          <el-col :span="8">
323
+            <el-form-item label="导管A端约(cm):" v-show="thrombuShow">
324
+              <el-input v-model="assessmentBeforeDislysis.thromubus_a" style="width:150px"></el-input>
325
+            </el-form-item>
326
+          </el-col>
327
+
328
+          <el-col :span="8">
329
+            <el-form-item label="导管V端约(cm):" v-show="thrombuShow">
330
+              <el-input v-model="assessmentBeforeDislysis.thromubus_v" style="width:150px"></el-input>
331
+            </el-form-item>
332
+          </el-col>
333
+
304 334
           <el-col :span="8" v-if="isShow('皮肤')">
305 335
             <el-form-item label="皮肤: ">
306 336
               <!-- <el-select v-model="assessmentBeforeDislysis.skin">
@@ -518,33 +548,7 @@
518 548
 
519 549
          
520 550
 
521
-          <el-col :span="8">
522
-            <el-form-item label="血栓:" v-if="isShow('血栓')">
523
-              <el-select v-model="assessmentBeforeDislysis.thromubus_type" @change="changeThrombus">
524
-                <el-option :key="0" label="请选择" :value="0"></el-option>
525
-                <el-option label="有" value="1"></el-option>
526
-                <el-option label="无" value="2"></el-option>
527
-              </el-select>
528
-            </el-form-item>
529
-          </el-col>
530
-          
531
-          <el-col :span="8">
532
-            <el-form-item label="导管AV端(cm):" v-show="thrombuShow">
533
-              <el-input v-model="assessmentBeforeDislysis.thrombus_av" style="width:150px"></el-input>
534
-            </el-form-item>
535
-          </el-col>
536
-
537
-          <el-col :span="8">
538
-            <el-form-item label="导管A端(cm):" v-show="thrombuShow">
539
-              <el-input v-model="assessmentBeforeDislysis.thromubus_a" style="width:150px"></el-input>
540
-            </el-form-item>
541
-          </el-col>
542
-
543
-          <el-col :span="8">
544
-            <el-form-item label="导管V端(cm):" v-show="thrombuShow">
545
-              <el-input v-model="assessmentBeforeDislysis.thromubus_v" style="width:150px"></el-input>
546
-            </el-form-item>
547
-          </el-col>
551
+         
548 552
       
549 553
         </el-row>
550 554
 
@@ -758,12 +762,15 @@
758 762
       },
759 763
       show(assessment, lastDryWeightDislysis,last_predialysis_evaluation) {
760 764
         this.lastPredialysisEvaluation = last_predialysis_evaluation
761
-        if(this.lastPredialysisEvaluation.thromubus_type == 1){
765
+       
766
+       
767
+        console.log("获取上次数据",this.lastPredialysisEvaluation)
768
+        if(this.lastPredialysisEvaluation != null) {
769
+         if(this.lastPredialysisEvaluation.thromubus_type == 1){
762 770
           this.assessmentBeforeDislysis.thromubus_type = this.lastPredialysisEvaluation.thromubus_type.toString()
763 771
            this.thrombuShow = true
764 772
         }
765
-        console.log("获取上次数据",this.lastPredialysisEvaluation)
766
-        if(this.lastPredialysisEvaluation != null) {
773
+
767 774
           if (this.lastPredialysisEvaluation.is_hemorrhage == 1) {
768 775
             this.lastPredialysisEvaluation.is_hemorrhage = "1"
769 776
           }
@@ -832,6 +839,8 @@
832 839
           }
833 840
 
834 841
         } else {
842
+         
843
+     
835 844
           this.assessmentBeforeDislysis.dry_weight = this.predialysis_evaluation['dry_weight']
836 845
           this.weight_adjust.weight = this.predialysis_evaluation['dry_weight']
837 846
         }
@@ -1169,7 +1178,7 @@
1169 1178
         }).then(res => {
1170 1179
           // console.log(res)
1171 1180
           // console.log('透前', this.patient_prop)
1172
-           console.log('透前', this.assessment)
1181
+          
1173 1182
           if (res.data.state == 0) {
1174 1183
             this.hasPermission = false
1175 1184
           } else if (res.data.state == 1) {
@@ -1254,6 +1263,11 @@
1254 1263
 
1255 1264
       },
1256 1265
       'predialysis_evaluation.id': function() {
1266
+         
1267
+       if(this.predialysis_evaluation.thromubus_type == 1){
1268
+             this.predialysis_evaluation.thromubus_type = this.predialysis_evaluation.thromubus_type.toString()
1269
+             this.thrombuShow = true
1270
+        }
1257 1271
 
1258 1272
         if (this.predialysis_evaluation.id > 0) {
1259 1273
           for (var index in this.assessmentBeforeDislysis) {

+ 1 - 4
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Parādīt failu

@@ -3237,10 +3237,7 @@
3237 3237
           parseFloat(dialysis_duration_hour) +
3238 3238
           parseFloat(dialysis_duration_minute) / 60
3239 3239
 
3240
-        this.dialysisPrescription.anticoagulant_zongliang = calculateAnticoagulantZL(
3241
-          1,
3242
-          this.dialysisPrescription.anticoagulant_shouji,
3243
-          duration,
3240
+        this.dialysisPrescription.anticoagulant_zongliang = calculateAnticoagulantZL(1,this.dialysisPrescription.anticoagulant_shouji,duration,
3244 3241
           this.dialysisPrescription.anticoagulant_weichi
3245 3242
         )
3246 3243
         if (isNaN(this.dialysisPrescription.anticoagulant_zongliang)) {

+ 49 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue Parādīt failu

@@ -419,6 +419,55 @@
419 419
                   </tr>
420 420
                 </tbody>
421 421
               </table>
422
+
423
+              <table class="table-box">
424
+                <tbody>
425
+                  <tr>
426
+                    <td width="70"></td>
427
+                    <td width="50">血栓:</td>
428
+                    <td width="90">
429
+                      <div>
430
+                        <label-box :isChecked="predialysis.thromubus_type == 1?true:false" showValue="有"></label-box>
431
+                        &nbsp;
432
+                        <label-box :isChecked="predialysis.thromubus_type == 2?true:false" showValue="无"></label-box>
433
+                        &nbsp;
434
+                      </div>
435
+                    </td>
436
+                    <td width="10">(</td>
437
+                    <td width="70">导管AV端各约</td>
438
+                    <td width="50">
439
+                      <div class="under-line">
440
+                        &nbsp;
441
+                        <span>
442
+                            {{ predialysis.thrombus_av ? predialysis.thrombus_av : '' }}
443
+                        </span>
444
+                      </div>
445
+                    </td>
446
+                    <td width="10">cm</td>
447
+                    <td width="30">A端约</td>
448
+                     <td width="50">
449
+                      <div class="under-line">
450
+                        &nbsp;
451
+                        <span>
452
+                            {{ predialysis.thromubus_a ? predialysis.thromubus_a : '' }}
453
+                        </span>
454
+                      </div>
455
+                    </td>
456
+                    <td width="10">cm</td>
457
+                    <td width="50">V端约</td>
458
+                     <td width="50">
459
+                      <div class="under-line">
460
+                        &nbsp;
461
+                        <span>
462
+                            {{ predialysis.thromubus_v ? predialysis.thromubus_v : '' }}
463
+                        </span>
464
+                      </div>
465
+                    </td>
466
+                    <td width="10">cm</td>
467
+                    <td width="10">)</td>
468
+                  </tr>
469
+                </tbody>
470
+              </table>
422 471
               <table >
423 472
                 <tbody>
424 473
                   <tr class="table-box">