Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 5 months ago
parent
commit
216dc1be66

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

129
         <!-- <i class="el-icon-question"></i>
129
         <!-- <i class="el-icon-question"></i>
130
         <a href="https://sso.kuyicloud.com/help" target="_blank">帮助中心</a> -->
130
         <a href="https://sso.kuyicloud.com/help" target="_blank">帮助中心</a> -->
131
        <div class="fixedBox">
131
        <div class="fixedBox">
132
-         <div class="fixed-item" @mouseover="mouseOver" @mouseleave="leave">
132
+         <div class="fixed-item" @mouseover="mouseOver" @mouseleave="leave" v-if="org_id!=0 && org_id!=10635">
133
           <i class="el-icon-chat-line-round"></i>
133
           <i class="el-icon-chat-line-round"></i>
134
            <div class="fixed-text">联系客户经理</div>
134
            <div class="fixed-text">联系客户经理</div>
135
             <div class="fixed-wrap" v-show="wrap1">
135
             <div class="fixed-wrap" v-show="wrap1">
143
              </div>
143
              </div>
144
             </div>
144
             </div>
145
           </div>
145
           </div>
146
-          <div class="fixed-item" @mouseover="mouseOver1" @mouseleave="leave1">
146
+          <div class="fixed-item" @mouseover="mouseOver1" @mouseleave="leave1" v-if="org_id!=0 && org_id!=10635">
147
            <i class="el-icon-full-screen"></i>
147
            <i class="el-icon-full-screen"></i>
148
             <div class="fixed-text">微信联系</div>
148
             <div class="fixed-text">微信联系</div>
149
             <div class="fixed-wrap" v-show="wrap2">
149
             <div class="fixed-wrap" v-show="wrap2">

+ 53 - 8
src/xt_pages/Pharmacy/DrugDispensing.vue View File

261
             </el-table-column>
261
             </el-table-column>
262
             <el-table-column label="药品追溯码" width="162" align="center">
262
             <el-table-column label="药品追溯码" width="162" align="center">
263
               <template slot-scope="scope">
263
               <template slot-scope="scope">
264
-                 <el-input style="width: 100;" v-model="scope.row.DrugCode" @input="changeDrugCode(scope.row.ID,scope.row.data_sources,scope.row.DrugCode)"></el-input>
264
+                <div @click="getDrugCode(scope.row.ID,scope.row.data_sources,scope.row.DrugCode,scope.$index)"><el-input style="width: 100;" v-model="scope.row.DrugCode"></el-input></div> 
265
               </template>
265
               </template>
266
             </el-table-column>
266
             </el-table-column>
267
             <el-table-column
267
             <el-table-column
428
           <el-button type="primary" @click="SaveSetting">保 存</el-button>
428
           <el-button type="primary" @click="SaveSetting">保 存</el-button>
429
         </span>
429
         </span>
430
       </el-dialog>
430
       </el-dialog>
431
+
432
+      <el-dialog
433
+        title="药品追溯码"
434
+        :visible.sync="dialogVisibleOne"
435
+         width="40%">
436
+       <span>
437
+        <el-input
438
+          @input="changeText"
439
+          type="textarea"
440
+          placeholder="请输入内容"
441
+          v-model="textarea"
442
+          :rows="10"
443
+        >
444
+        </el-input>
445
+      </span>
446
+      <span slot="footer" class="dialog-footer">
447
+        <el-button @click="dialogVisibleOne = false">取 消</el-button>
448
+        <el-button type="primary" @click="saveTextArea()">确 定</el-button>
449
+      </span>
450
+      </el-dialog>
431
     </div>
451
     </div>
432
 
452
 
433
     <drug-print
453
     <drug-print
508
       deliveryway: "全部", //给药途径
528
       deliveryway: "全部", //给药途径
509
       total: "", //合计
529
       total: "", //合计
510
       select_total: "",
530
       select_total: "",
531
+      dialogVisibleOne:false,
532
+      textarea:"",
533
+      id:0,
534
+      is_source:0,
535
+      drug_code:0,
536
+      currentRow:{},
537
+      currentIndex:0,
511
     };
538
     };
512
   },
539
   },
513
 
540
 
514
   methods: {
541
   methods: {
515
-    changeDrugCode(id,DataSources,drug_code){
516
-       var is_source =0
542
+    getDrugCode(id,DataSources,DrugCode,index){
543
+      this.id = id 
544
+      var is_source =0
517
        if (DataSources == "his处方"){
545
        if (DataSources == "his处方"){
518
         is_source = 1
546
         is_source = 1
519
        }
547
        }
520
        if (DataSources == "临时医嘱"){
548
        if (DataSources == "临时医嘱"){
521
          is_source = 2
549
          is_source = 2
522
        }
550
        }
551
+       this.is_source = is_source
552
+       this.textarea = DrugCode
553
+       this.currentIndex = index
554
+       this.dialogVisibleOne = true
555
+
556
+    },
557
+    saveTextArea(){
558
+      
523
        var params = {
559
        var params = {
524
-        id:id,
525
-        data_source:is_source,
526
-        drug_code:drug_code,
560
+        id:this.id,
561
+        data_source:this.is_source,
562
+        drug_code:this.textarea,
527
        }
563
        }
528
        console.log("paramss",params)
564
        console.log("paramss",params)
529
       
565
       
530
       changeDrugCode(params).then(response=>{
566
       changeDrugCode(params).then(response=>{
531
          if(response.data.state == 1){
567
          if(response.data.state == 1){
532
             this.$message.success("保存成功!")
568
             this.$message.success("保存成功!")
569
+            for(let i=0;i<this.tableData.length;i++){
570
+             if(this.currentIndex == i){
571
+                this.tableData[i].DrugCode = this.textarea
572
+             }
573
+            }
574
+            this.dialogVisibleOne = false
533
          }
575
          }
534
       })
576
       })
535
-    
536
-
577
+    },
578
+    changeText(){
579
+      var textarea = ""
580
+      textarea += this.textarea + ","
581
+      this.textarea = textarea
537
     },
582
     },
538
     tt() {},
583
     tt() {},
539
     async fun3() {
584
     async fun3() {

+ 54 - 8
src/xt_pages/Pharmacy/PatientDispensing.vue View File

228
             </el-table-column>
228
             </el-table-column>
229
             <el-table-column label="药品追溯码" width="162" align="center">
229
             <el-table-column label="药品追溯码" width="162" align="center">
230
               <template slot-scope="scope">
230
               <template slot-scope="scope">
231
-                 <el-input style="width: 100;" v-model="scope.row.DrugCode" @input="changeDrugCode(scope.row.ID,scope.row.DataSources,scope.row.DrugCode)"></el-input>
231
+                <div @click="getDrugCode(scope.row.ID,scope.row.DataSources,scope.row.DrugCode,scope.$index)"><el-input style="width: 100;" v-model="scope.row.DrugCode"></el-input></div> 
232
               </template>
232
               </template>
233
             </el-table-column>
233
             </el-table-column>
234
             <el-table-column label="开立医生" width="150" align="center">
234
             <el-table-column label="开立医生" width="150" align="center">
281
           <el-button type="primary" @click="SaveSetting">保 存</el-button>
281
           <el-button type="primary" @click="SaveSetting">保 存</el-button>
282
         </span>
282
         </span>
283
       </el-dialog>
283
       </el-dialog>
284
+
285
+      <el-dialog
286
+        title="药品追溯码"
287
+        :visible.sync="dialogVisibleOne"
288
+         width="40%">
289
+       <span>
290
+        <el-input
291
+          @input="changeText"
292
+          type="textarea"
293
+          placeholder="请输入内容"
294
+          v-model="textarea"
295
+          :rows="10"
296
+        >
297
+        </el-input>
298
+      </span>
299
+      <span slot="footer" class="dialog-footer">
300
+        <el-button @click="dialogVisibleOne = false">取 消</el-button>
301
+        <el-button type="primary" @click="saveTextArea()">确 定</el-button>
302
+      </span>
303
+      </el-dialog>
284
     </div>
304
     </div>
285
 
305
 
286
     <patient-print
306
     <patient-print
361
       doctors:[],
381
       doctors:[],
362
       diagnosearr:[],
382
       diagnosearr:[],
363
       diagnosis:'',
383
       diagnosis:'',
384
+      dialogVisibleOne:false,
385
+      textarea:"",
386
+      id:0,
387
+      is_source:0,
388
+      drug_code:0,
389
+      currentRow:{},
390
+      currentIndex:0,
391
+
364
     };
392
     };
365
   },
393
   },
366
   watch: {},
394
   watch: {},
743
         if (response.data.state == 1) {
771
         if (response.data.state == 1) {
744
           var config = response.data.data.config;
772
           var config = response.data.data.config;
745
           this.$message.success("保存成功!");
773
           this.$message.success("保存成功!");
774
+         
746
           this.dialogVisible = false;
775
           this.dialogVisible = false;
747
         }
776
         }
748
       });
777
       });
802
        }
831
        }
803
        return spc
832
        return spc
804
     },
833
     },
805
-    changeDrugCode(id,DataSources,drug_code){
806
-       var is_source =0
834
+    getDrugCode(id,DataSources,DrugCode,index){
835
+      this.id = id 
836
+      var is_source =0
807
        if (DataSources == "his处方"){
837
        if (DataSources == "his处方"){
808
         is_source = 1
838
         is_source = 1
809
        }
839
        }
810
        if (DataSources == "临时医嘱"){
840
        if (DataSources == "临时医嘱"){
811
          is_source = 2
841
          is_source = 2
812
        }
842
        }
843
+       this.is_source = is_source
844
+       this.textarea = DrugCode
845
+       this.currentIndex = index
846
+       this.dialogVisibleOne = true
847
+
848
+    },
849
+    saveTextArea(){
813
        var params = {
850
        var params = {
814
-        id:id,
815
-        data_source:is_source,
816
-        drug_code:drug_code,
851
+        id:this.id,
852
+        data_source:this.is_source,
853
+        drug_code:this.textarea,
817
        }
854
        }
818
        console.log("paramss",params)
855
        console.log("paramss",params)
819
       changeDrugCode(params).then(response=>{
856
       changeDrugCode(params).then(response=>{
820
          if(response.data.state == 1){
857
          if(response.data.state == 1){
821
             this.$message.success("保存成功!")
858
             this.$message.success("保存成功!")
859
+            for(let i=0;i<this.tableData.length;i++){
860
+             if(this.currentIndex == i){
861
+                this.tableData[i].DrugCode = this.textarea
862
+             }
863
+            }
864
+            this.dialogVisibleOne = false
822
          }
865
          }
823
       })
866
       })
824
-    
825
-
867
+    },
868
+    changeText(){
869
+      var textarea = ""
870
+      textarea += this.textarea + ","
871
+      this.textarea = textarea
826
     }
872
     }
827
   },
873
   },
828
 };
874
 };

+ 7 - 5
src/xt_pages/dialysis/details/consumable/dialysisGather.vue View File

218
              </template>
218
              </template>
219
           </el-table-column>
219
           </el-table-column>
220
 
220
 
221
-          <el-table-column align="center" label="封管液" v-if="gatherSetting.tube==1">
222
-             <template slot-scope="scope">
223
-               <span v-if="getBloodAccessOption(scope.row.dialysis_prescription.blood_access).indexOf('导管')!==-1">1</span>
224
-             </template>
225
-          </el-table-column>
221
+         
226
           
222
           
227
   
223
   
228
           <el-table-column align="center" label="钾"  v-if="gatherSetting.kalium==1">
224
           <el-table-column align="center" label="钾"  v-if="gatherSetting.kalium==1">
253
              </template>
249
              </template>
254
           </el-table-column>
250
           </el-table-column>
255
 
251
 
252
+          <el-table-column align="center" label="封管液" v-if="gatherSetting.tube==1">
253
+             <template slot-scope="scope">
254
+               <span v-if="getBloodAccessOption(scope.row.dialysis_prescription.blood_access).indexOf('导管')!==-1">1</span>
255
+             </template>
256
+          </el-table-column>
257
+
256
           <el-table-column align="center" label="尿激酶" v-if="gatherSetting.niaojimei == 1">
258
           <el-table-column align="center" label="尿激酶" v-if="gatherSetting.niaojimei == 1">
257
              <template slot-scope="scope">
259
              <template slot-scope="scope">
258
                <span v-if="scope.row.schedule_date <= timenow">{{ scope.row.advice_spc_two }}</span>
260
                <span v-if="scope.row.schedule_date <= timenow">{{ scope.row.advice_spc_two }}</span>

+ 9 - 8
src/xt_pages/dialysis/details/consumable/dialysisGatherPrint.vue View File

26
                 <thead>
26
                 <thead>
27
                 <tr>
27
                 <tr>
28
                   <td width="60" v-if="gatherSetting.index_number == 1">序号</td>
28
                   <td width="60" v-if="gatherSetting.index_number == 1">序号</td>
29
-                  <td width="200" v-if="org_id == 0 || org_id ==10683">备注</td>
29
+                 
30
                   <td width="100"  v-if="gatherSetting.name==1">姓名</td>
30
                   <td width="100"  v-if="gatherSetting.name==1">姓名</td>
31
                   <td width="100"  v-if="gatherSetting.dialysis_no==1">透析号</td>
31
                   <td width="100"  v-if="gatherSetting.dialysis_no==1">透析号</td>
32
                   <td width="100"  v-if="gatherSetting.admission_number==1">住院(门诊)号</td>
32
                   <td width="100"  v-if="gatherSetting.admission_number==1">住院(门诊)号</td>
36
                   <td width="100"  v-if="gatherSetting.dialysis_strainer ==1">滤过器</td>
36
                   <td width="100"  v-if="gatherSetting.dialysis_strainer ==1">滤过器</td>
37
                   <td width="100"  v-if="gatherSetting.change_nurse ==1">换药包/穿刺针</td>
37
                   <td width="100"  v-if="gatherSetting.change_nurse ==1">换药包/穿刺针</td>
38
                   <td width="100"  v-if="gatherSetting.puncture_needle ==1">穿刺针</td>
38
                   <td width="100"  v-if="gatherSetting.puncture_needle ==1">穿刺针</td>
39
-                  <td width="100" v-if="gatherSetting.anticoagulant==1">抗凝剂(首剂)(维持)(总量)</td>
40
-                  <td width="200" v-if="gatherSetting.tube==1">封管液</td>
39
+                  <td width="600" v-if="gatherSetting.anticoagulant==1">抗凝剂(首剂)(维持)(总量)</td>
40
+                
41
                   <td width="100" v-if="gatherSetting.kalium==1">钾</td>
41
                   <td width="100" v-if="gatherSetting.kalium==1">钾</td>
42
                   <td width="100"  v-if="gatherSetting.calcium==1">钙</td>
42
                   <td width="100"  v-if="gatherSetting.calcium==1">钙</td>
43
                   <td width="100" v-if="gatherSetting.cuhong == 1">促红素</td>
43
                   <td width="100" v-if="gatherSetting.cuhong == 1">促红素</td>
44
                   <td width="100"  v-if="gatherSetting.zuoka == 1">左卡</td>
44
                   <td width="100"  v-if="gatherSetting.zuoka == 1">左卡</td>
45
                   <td width="100" v-if="gatherSetting.niaojimei == 1">尿激酶</td>
45
                   <td width="100" v-if="gatherSetting.niaojimei == 1">尿激酶</td>
46
                   <td width="100" v-if="gatherSetting.putaosuangai == 1">葡萄糖酸钙</td>
46
                   <td width="100" v-if="gatherSetting.putaosuangai == 1">葡萄糖酸钙</td>
47
-
47
+                  <td width="200" v-if="gatherSetting.tube==1">封管液</td>
48
                   <td width="100" v-if="org_id == 0 || org_id ==10683">肝素钠</td>
48
                   <td width="100" v-if="org_id == 0 || org_id ==10683">肝素钠</td>
49
                  
49
                  
50
                 </tr>
50
                 </tr>
51
                 </thead>
51
                 </thead>
52
                 <tbody>
52
                 <tbody>
53
                  <tr v-for="(item,i) in list" :key="i">
53
                  <tr v-for="(item,i) in list" :key="i">
54
-                  <td width="100" v-if="org_id == 0 || org_id ==10683"> </td>
54
+                
55
                    <td width="60" v-if="gatherSetting.index_number == 1">{{ i+1 }}</td>
55
                    <td width="60" v-if="gatherSetting.index_number == 1">{{ i+1 }}</td>
56
                   <td width="100"  v-if="gatherSetting.name==1">
56
                   <td width="100"  v-if="gatherSetting.name==1">
57
                     {{item.patient.name}}
57
                     {{item.patient.name}}
164
                       <span v-if="item.dialysis_solution.anticoagulant_zongliang > 0">({{item.dialysis_solution.anticoagulant_zongliang}})</span>
164
                       <span v-if="item.dialysis_solution.anticoagulant_zongliang > 0">({{item.dialysis_solution.anticoagulant_zongliang}})</span>
165
                     </span>
165
                     </span>
166
                  </td>
166
                  </td>
167
-                  <td width="200" v-if="gatherSetting.tube==1">
168
-                    <span v-if="getBloodAccessOption(item.dialysis_prescription.blood_access).indexOf('导管')!==-1">1</span>
169
-                  </td>
167
+                  
170
                   <td width="100" v-if="gatherSetting.kalium==1">
168
                   <td width="100" v-if="gatherSetting.kalium==1">
171
                     <span v-if="item.dialysis_prescription.kalium>0">{{item.dialysis_prescription.kalium}}</span>
169
                     <span v-if="item.dialysis_prescription.kalium>0">{{item.dialysis_prescription.kalium}}</span>
172
                  </td>
170
                  </td>
189
                     <span v-if="item.schedule_date<=timenow">  {{ item.advice_spc_three }}</span>
187
                     <span v-if="item.schedule_date<=timenow">  {{ item.advice_spc_three }}</span>
190
                     <span v-if="item.schedule_date>timenow">{{ getLongAdviceThree(item.long_doctor_advice,item.schedule_date) }}</span>
188
                     <span v-if="item.schedule_date>timenow">{{ getLongAdviceThree(item.long_doctor_advice,item.schedule_date) }}</span>
191
                  </td>
189
                  </td>
190
+                 <td width="200" v-if="gatherSetting.tube==1">
191
+                    <span v-if="getBloodAccessOption(item.dialysis_prescription.blood_access).indexOf('导管')!==-1">1</span>
192
+                  </td>
192
                  <td width="100" v-if="org_id == 0 || org_id ==10683">
193
                  <td width="100" v-if="org_id == 0 || org_id ==10683">
193
                   <span v-if="item.schedule_date<=timenow">  {{ item.advice_spc_four }}</span>
194
                   <span v-if="item.schedule_date<=timenow">  {{ item.advice_spc_four }}</span>
194
                   <span v-if="item.schedule_date>timenow">{{ getLongAdviceFour(item.long_doctor_advice,item.schedule_date) }}</span>
195
                   <span v-if="item.schedule_date>timenow">{{ getLongAdviceFour(item.long_doctor_advice,item.schedule_date) }}</span>

+ 131 - 7
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

273
            </template>
273
            </template>
274
         </el-table-column>
274
         </el-table-column>
275
 
275
 
276
-        <el-table-column align="center" label="封管液" v-if="dialysisSett.blood_access==1 && org_id!=10629">
276
+        <el-table-column align="center" label="封管液" v-if="dialysisSett.sealing_fluid_dispose==1">
277
            <template slot-scope="scope">
277
            <template slot-scope="scope">
278
              <span v-if="getBloodAccessOption(scope.row.dialysis_solution.blood_access).indexOf('导管')!==-1">1</span>
278
              <span v-if="getBloodAccessOption(scope.row.dialysis_solution.blood_access).indexOf('导管')!==-1">1</span>
279
            </template>
279
            </template>
280
         </el-table-column>
280
         </el-table-column>
281
 
281
 
282
-        <el-table-column align="center" label="促红" v-if="org_id!=10599 && org_id!=10629">
282
+        <el-table-column align="center" label="促红" v-if="dialysisSett.cuhong_set == 1">
283
            <template slot-scope="scope">
283
            <template slot-scope="scope">
284
               {{ scope.row.advice_spc }}
284
               {{ scope.row.advice_spc }}
285
            </template>
285
            </template>
286
         </el-table-column>
286
         </el-table-column>
287
 
287
 
288
-        <el-table-column align="center" label="左卡" v-if="org_id!=10599 && org_id!=10629">
288
+        <el-table-column align="center" label="左卡" v-if="dialysisSett.zuoka_set == 1">
289
            <template slot-scope="scope">
289
            <template slot-scope="scope">
290
               {{ scope.row.advice_spc_one }}
290
               {{ scope.row.advice_spc_one }}
291
            </template>
291
            </template>
292
         </el-table-column>
292
         </el-table-column>
293
 
293
 
294
-        <el-table-column align="center" label="低分子" v-if="org_id!=10599 && org_id!=10629">
294
+        <el-table-column align="center" label="低分子" v-if="dialysisSett.difenzi_set == 1">
295
            <template slot-scope="scope">
295
            <template slot-scope="scope">
296
               {{ scope.row.advice_spc_two }}
296
               {{ scope.row.advice_spc_two }}
297
            </template>
297
            </template>
298
         </el-table-column>
298
         </el-table-column>
299
 
299
 
300
-        <el-table-column align="center" label="肝素钠" v-if="org_id!=10599 && org_id!=10629">
300
+        <el-table-column align="center" label="肝素钠" v-if="dialysisSett.gansuna_set == 1">
301
            <template slot-scope="scope">
301
            <template slot-scope="scope">
302
               {{ scope.row.advice_spc_three }}
302
               {{ scope.row.advice_spc_three }}
303
            </template>
303
            </template>
304
         </el-table-column>
304
         </el-table-column>
305
 
305
 
306
-        <el-table-column align="center" label="蔗糖铁" v-if="org_id!=10599 && org_id!=10629">
306
+        <el-table-column align="center" label="蔗糖铁" v-if="dialysisSett.zhetangtie == 1">
307
            <template slot-scope="scope">
307
            <template slot-scope="scope">
308
               {{ scope.row.advice_spc_four }}
308
               {{ scope.row.advice_spc_four }}
309
            </template>
309
            </template>
310
         </el-table-column>
310
         </el-table-column>
311
 
311
 
312
-        <el-table-column align="center" label="尿激酶" v-if="org_id!=10599 && org_id!=10629">
312
+        <el-table-column align="center" label="尿激酶" v-if="dialysisSett.niaojimei_set == 1">
313
            <template slot-scope="scope">
313
            <template slot-scope="scope">
314
               {{ scope.row.advice_spc_five }}
314
               {{ scope.row.advice_spc_five }}
315
            </template>
315
            </template>
366
            <el-checkbox v-model="sodium" label="钠"></el-checkbox>
366
            <el-checkbox v-model="sodium" label="钠"></el-checkbox>
367
            <el-checkbox v-model="calcium" label="钙"></el-checkbox>
367
            <el-checkbox v-model="calcium" label="钙"></el-checkbox>
368
            <el-checkbox v-model="blood_access" label="血管通路"></el-checkbox>
368
            <el-checkbox v-model="blood_access" label="血管通路"></el-checkbox>
369
+
370
+           <el-checkbox v-model="cuhong" label="促红"></el-checkbox>
371
+           <el-checkbox v-model="zuoka" label="左卡"></el-checkbox>
372
+           <el-checkbox v-model="difenzi" label="低分子"></el-checkbox>
373
+           <el-checkbox v-model="gansuna" label="肝素钠"></el-checkbox>
374
+           <el-checkbox v-model="zhetangtie" label="蔗糖铁"></el-checkbox>
375
+           <el-checkbox v-model="niaojimei" label="尿激酶"></el-checkbox>
369
         </span>
376
         </span>
370
         <span slot="footer" class="dialog-footer">
377
         <span slot="footer" class="dialog-footer">
371
           <el-button @click="dialogVisible = false">取 消</el-button>
378
           <el-button @click="dialogVisible = false">取 消</el-button>
519
   import {getRemindPrintList,saveRemindPrint} from '@/api/schedule'
526
   import {getRemindPrintList,saveRemindPrint} from '@/api/schedule'
520
   import { getDataConfig } from '@/utils/data'
527
   import { getDataConfig } from '@/utils/data'
521
   import store from "@/store";
528
   import store from "@/store";
529
+import dialysis from '../../../../router/modules/dialysis';
522
   const moment = require('moment')
530
   const moment = require('moment')
523
   export default {
531
   export default {
524
     components: {
532
     components: {
621
         anticoagulant: false,
629
         anticoagulant: false,
622
         anticoagulant_zongliang: false,
630
         anticoagulant_zongliang: false,
623
         doctor_advice: false,
631
         doctor_advice: false,
632
+        cuhong:false,
633
+        zuoka:false,
634
+        difenzi:false,
635
+        gansuna:false,
636
+        zhetangtie:false,
637
+        niaojimei:false,
624
         displace_liqui_part_option:[],
638
         displace_liqui_part_option:[],
625
         ids:"",
639
         ids:"",
626
         form: {
640
         form: {
1232
          if(id ==37){
1246
          if(id ==37){
1233
            mode_name ="HDF1000"
1247
            mode_name ="HDF1000"
1234
          }
1248
          }
1249
+         if(id ==38){
1250
+           mode_name ="HDF80"
1251
+         }
1252
+         if(id ==39){
1253
+           mode_name ="HF16"
1254
+         }
1255
+         if(id ==40){
1256
+           mode_name ="HD(无肝素)"
1257
+         }
1258
+         if(id ==41){
1259
+           mode_name ="HDF17H"
1260
+         }
1261
+
1262
+         if(id ==42){
1263
+           mode_name ="HD."
1264
+         }
1235
         
1265
         
1236
          return mode_name
1266
          return mode_name
1237
       },
1267
       },
1633
             }else{
1663
             }else{
1634
               this.displace_liqui_part = false
1664
               this.displace_liqui_part = false
1635
             }
1665
             }
1666
+
1667
+            if(dialysisSett.cuhong_set == 1){
1668
+               this.cuhong = true
1669
+            }else{
1670
+               this.cuhong = false
1671
+            }
1672
+
1673
+            if(dialysisSett.zuoka_set == 1){
1674
+               this.zuoka = true
1675
+            }else{
1676
+               this.zuoka = false
1677
+            }
1678
+
1679
+            if(dialysisSett.difenzi_set == 1){
1680
+               this.difenzi = true
1681
+            }else{
1682
+               this.difenzi = false
1683
+            }
1684
+
1685
+            if(dialysisSett.gansuna_set == 1){
1686
+               this.gansuna = true
1687
+            }else{
1688
+               this.gansuna = false
1689
+            }
1690
+
1691
+            if(dialysisSett.zhetangtie_set == 1){
1692
+               this.zhetangtie = true
1693
+            }else{
1694
+               this.zhetangtie = false
1695
+            }
1696
+
1697
+            if(dialysisSett.niaojimei_set == 1){
1698
+               this.niaojimei = true
1699
+            }else{
1700
+               this.niaojimei = false
1701
+            }
1702
+
1703
+
1636
           }
1704
           }
1637
      
1705
      
1638
         }
1706
         }
1667
        var blood_access_set =0
1735
        var blood_access_set =0
1668
        var dialyzer_perfusion_apparatus_set =0
1736
        var dialyzer_perfusion_apparatus_set =0
1669
        var displace_liqui_part_set =0
1737
        var displace_liqui_part_set =0
1738
+        
1739
+       var cuhong_set = 0
1740
+       var zuoka_set =0
1741
+       var difenzi_set =0
1742
+       var gansuna_set =0
1743
+       var zhetangtie_set =0
1744
+       var niaojimei_set =0
1745
+
1746
+       if(this.cuhong == false){
1747
+          cuhong_set = 2
1748
+       }
1749
+       if(this.cuhong == true){
1750
+          cuhong_set = 1
1751
+       }
1752
+
1753
+       if(this.zuoka == false){
1754
+          zuoka_set = 2
1755
+       }
1756
+       if(this.zuoka == true){
1757
+          zuoka_set = 1
1758
+       }
1759
+
1760
+       if(this.difenzi == false){
1761
+          difenzi_set = 2
1762
+       }
1670
        
1763
        
1764
+       if(this.difenzi == true){
1765
+          difenzi_set = 1
1766
+       }
1767
+
1768
+       if(this.gansuna == false){
1769
+          gansuna_set = 2
1770
+       }
1771
+       if(this.gansuna == true){
1772
+          gansuna_set = 1
1773
+       }
1774
+
1775
+       if(this.zhetangtie == false){
1776
+          zhetangtie_set = 2
1777
+       }
1778
+       if(this.zhetangtie == true){
1779
+          zhetangtie_set = 1
1780
+       }
1781
+
1782
+       if(this.niaojimei == false){
1783
+          niaojimei_set = 2
1784
+       }
1785
+       if(this.niaojimei == true){
1786
+          niaojimei_set = 1
1787
+       }
1788
+      
1671
        if(this.sodium == false){
1789
        if(this.sodium == false){
1672
          sodium_set = 2
1790
          sodium_set = 2
1673
        }
1791
        }
1865
           blood_access_set:blood_access_set,
1983
           blood_access_set:blood_access_set,
1866
           dialyzer_perfusion_apparatus_set:dialyzer_perfusion_apparatus_set,
1984
           dialyzer_perfusion_apparatus_set:dialyzer_perfusion_apparatus_set,
1867
           displace_liqui_part_set:displace_liqui_part_set,
1985
           displace_liqui_part_set:displace_liqui_part_set,
1986
+          cuhong_set:cuhong_set,
1987
+          zuoka_set:zuoka_set,
1988
+          difenzi_set:difenzi_set,
1989
+          gansuna_set:gansuna_set,
1990
+          zhetangtie_set:zhetangtie_set,
1991
+          niaojimei_set:niaojimei_set,
1868
         }
1992
         }
1869
        
1993
        
1870
        saveDialysisSetting(params).then(response=>{
1994
        saveDialysisSetting(params).then(response=>{

+ 18 - 13
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue View File

49
                 <td width="100" v-if="dialysisSett.calcium==1">钙</td>
49
                 <td width="100" v-if="dialysisSett.calcium==1">钙</td>
50
                 <td width="100" v-if="dialysisSett.bicarbonate == 1">碳酸氢盐</td>
50
                 <td width="100" v-if="dialysisSett.bicarbonate == 1">碳酸氢盐</td>
51
                 <td width="100" v-if="dialysisSett.blood_access==1">血管通路</td>
51
                 <td width="100" v-if="dialysisSett.blood_access==1">血管通路</td>
52
-                <td width="100" v-if="dialysisSett.sealing_fluid_dispose == 1 && org_id!=10629">封管液</td>
52
+                <td width="100" v-if="dialysisSett.sealing_fluid_dispose == 1">封管液</td>
53
                 <td width="100"  v-if="dialysisSett.glucose==1">葡萄糖</td>
53
                 <td width="100"  v-if="dialysisSett.glucose==1">葡萄糖</td>
54
                 <td width="100"  v-if="dialysisSett.blood_flow_volume==1">血流量</td>
54
                 <td width="100"  v-if="dialysisSett.blood_flow_volume==1">血流量</td>
55
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">封管液</td>
56
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">促红</td>
57
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">左卡</td>
58
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">低分子</td>
59
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">肝素钠</td>
60
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">蔗糖铁</td>
61
-                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">尿激酶</td>
55
+                <td  v-if="dialysisSett.sealing_fluid_dispose==1">封管液</td>
56
+                <td v-if="dialysisSett.cuhong_set==1">促红</td>
57
+                <td v-if="dialysisSett.zuoka_set == 1">左卡</td>
58
+                <td v-if="dialysisSett.difenzi_set == 1">低分子</td>
59
+                <td v-if="dialysisSett.advice_spc_three == 1">肝素钠</td>
60
+                <td v-if="dialysisSett.zhetangtie == 1">蔗糖铁</td>
61
+                <td v-if="dialysisSett.niaojimei_set == 1">尿激酶</td>
62
               </tr>
62
               </tr>
63
               </thead>
63
               </thead>
64
               <tbody>
64
               <tbody>
101
                   <span v-if="item.mode_id == 33">HFD</span>
101
                   <span v-if="item.mode_id == 33">HFD</span>
102
                   <span v-if="item.mode_id == 34">HDF100</span>
102
                   <span v-if="item.mode_id == 34">HDF100</span>
103
                   <span v-if="item.mode_id == 35">HDF600</span>
103
                   <span v-if="item.mode_id == 35">HDF600</span>
104
-                  <span v-if="item.mode_id == 35">HDF800</span>
105
-                  <span v-if="item.mode_id == 35">HDF1000</span>
104
+                  <span v-if="item.mode_id == 36">HDF800</span>
105
+                  <span v-if="item.mode_id == 37">HDF1000</span>
106
+                  <span v-if="item.mode_id == 38">HDF80</span>
107
+                  <span v-if="item.mode_id == 39">HF16</span>
108
+                  <span v-if="item.mode_id == 40">HD(无肝素)</span>
109
+                  <span v-if="item.mode_id == 41">HDF17H</span>
110
+                  <span v-if="item.mode_id == 42">HD.</span>
106
                  
111
                  
107
                 </td>
112
                 </td>
108
                 <td width="100" v-if="dialysisSett.dialysis_no==1">
113
                 <td width="100" v-if="dialysisSett.dialysis_no==1">
180
                    <span>{{item.dialysis_solution.blood_flow_volume?item.dialysis_solution.blood_flow_volume:""}}</span> 
185
                    <span>{{item.dialysis_solution.blood_flow_volume?item.dialysis_solution.blood_flow_volume:""}}</span> 
181
                 </td>
186
                 </td>
182
                 
187
                 
183
-                <td v-if="org_id!=10587 && org_id!=0 && org_id!=10599 && org_id!=10629">
188
+                <td v-if="dialysisSett.sealing_fluid_dispose ==1">
184
                   <span v-if="getBloodAccessOption(item.dialysis_solution.blood_access).indexOf('导管')!==-1">1</span>
189
                   <span v-if="getBloodAccessOption(item.dialysis_solution.blood_access).indexOf('导管')!==-1">1</span>
185
                   <span v-else></span>
190
                   <span v-else></span>
186
                 </td>
191
                 </td>
342
               this.total_three = total_three
347
               this.total_three = total_three
343
              
348
              
344
             }
349
             }
345
-            console.log("list====================",list)
350
+            // console.log("list====================",list)
346
             this.list = list
351
             this.list = list
347
             this.dialysisSett = response.data.data.dialysisSett
352
             this.dialysisSett = response.data.data.dialysisSett
348
-            console.log("设置",this.dialysisSett)
353
+            // console.log("设置",this.dialysisSett)
349
           }
354
           }
350
       }) 
355
       }) 
351
      },
356
      },

+ 1 - 1
src/xt_pages/qcd/workAnalysis/nurse.vue View File

127
             </el-table-column>
127
             </el-table-column>
128
 
128
 
129
 
129
 
130
-            <el-table-column label="治疗" align="center">
130
+            <el-table-column label="治疗(监测护士)" align="center">
131
               <template slot-scope="scope">
131
               <template slot-scope="scope">
132
                 {{scope.row.cure_count?scope.row.cure_count:''}}
132
                 {{scope.row.cure_count?scope.row.cure_count:''}}
133
 
133
 

+ 248 - 5
src/xt_pages/user/components/PatientDetail.vue View File

994
     </el-form>
994
     </el-form>
995
     <!-- 打印预览 -->
995
     <!-- 打印预览 -->
996
     <div style="display: none">
996
     <div style="display: none">
997
-      <div id="print-info-box">
997
+      <div id="print-info-box" v-if="org_id !=10206&&org_id !=0">
998
         <div class="print_main_content" style="margin-top: 70px;">
998
         <div class="print_main_content" style="margin-top: 70px;">
999
           <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
999
           <div class="order_title" v-if="org_id!=10210">{{ orgname }} 血液透析门诊病历</div>
1000
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div>
1000
           <div class="order_title" v-if="org_id==10210">{{ orgname }} 血液透析住院病历</div>
1209
                   <td colspan="8">
1209
                   <td colspan="8">
1210
                     <div
1210
                     <div
1211
                       class="td_proj_content td_align_left"
1211
                       class="td_proj_content td_align_left"
1212
-                      v-html="patientPrint.remark"
1213
-                    ></div>
1212
+                     
1213
+                    >  {{ patientPrint.remark }}</div>
1214
                   </td>
1214
                   </td>
1215
                 </tr>
1215
                 </tr>
1216
 
1216
 
1217
+              
1218
+
1217
                 <tr>
1219
                 <tr>
1218
                   <td>
1220
                   <td>
1219
                     <div class="td_proj_title">诊<br />断</div>
1221
                     <div class="td_proj_title">诊<br />断</div>
1220
                   </td>
1222
                   </td>
1221
                   <td colspan="7">
1223
                   <td colspan="7">
1224
+                    <div
1225
+                      class="td_proj_content td_align_left"
1226
+                    >
1227
+                    {{ patientPrint.diagnose }}
1228
+                    </div>
1229
+                  </td>
1230
+                </tr>
1231
+                <tr>
1232
+                  <td>
1233
+                    <div class="td_proj_title">诊<br />疗<br />计<br />划</div>
1234
+                  </td>
1235
+                  <td colspan="7">
1236
+                    <div
1237
+                      class="td_proj_content td_align_left"
1238
+                     
1239
+                    >
1240
+                     {{ patientPrint.treatment_plan }}
1241
+                   </div>
1242
+                  </td>
1243
+                </tr>
1244
+              </tbody>
1245
+            </table>
1246
+            <div class="print_footnote_panel">
1247
+              <div class="proj">
1248
+                <span class="proj_title">日期:</span>
1249
+
1250
+                <!-- <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0 || org_id ==10617">
1251
+                {{getTime(patientPrint.created_time)}}</span>
1252
+                <span v-else>{{ printDate }}</span> -->
1253
+
1254
+                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span> 
1255
+                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span> 
1256
+
1257
+              </div>
1258
+              <div class="proj">
1259
+                 <span class="proj_title">医生签名:
1260
+                    <span v-if="patientPrint!=undefined&&getDcotorName(patientPrint.doctor) == ''">{{getDcotorNameOne(patientPrint.doctor)}}</span>
1261
+                    <span v-else>
1262
+                      <img style="height:30px;margin-top:20px" :src="getDcotorName(patientPrint.doctor)" alt="" srcset="">
1263
+                    </span>
1264
+                 </span>
1265
+              </div>
1266
+            </div>
1267
+          </div>
1268
+        </div>
1269
+      </div>
1270
+      <div id="print-info-box" v-else>
1271
+        <div class="print_main_content" style="margin-top: 70px;">
1272
+          <div class="order_title">{{ orgname }} 血液净化患者首次门诊病历</div>
1273
+          <div >
1274
+            <table >
1275
+              <tbody>
1276
+                <tr>
1277
+                  <td style="width:8%;padding: 3px 0px;font-size: 17px;font-weight: 500;">
1278
+                    姓名
1279
+                  </td>
1280
+                  <td style="padding: 3px 0px;font-size: 17px;">
1281
+                    {{ patientPrint.name }}
1282
+                  </td>
1283
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1284
+                    性别
1285
+                  </td>
1286
+                  <td style="padding: 3px 0px;font-size: 17px;">
1287
+                    {{ patientPrint.gender }}
1288
+                  </td>
1289
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1290
+                    年龄
1291
+                  </td>
1292
+                  <td style="padding: 3px 0px;font-size: 17px;">
1293
+                    {{ patientPrint.age }}岁
1294
+                  </td>
1295
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1296
+                    报销方式
1297
+                  </td>
1298
+                  <td style="padding: 3px 0px;font-size: 17px;">
1299
+                    {{patientPrint.reimbursement_way_id}}
1300
+                  </td>
1301
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1302
+                    透析号
1303
+                  </td>
1304
+                  <td style="padding: 3px 0px;font-size: 17px;">
1305
+                    {{patientPrint.dialysis_no}}
1306
+                  </td>
1307
+                  <!-- <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1308
+                    籍贯
1309
+                  </td>
1310
+                  <td style="padding: 3px 0px;font-size: 17px;">
1311
+                    {{ patientPrint.native_place }}
1312
+                  </td> -->
1313
+                </tr>
1314
+                <tr>
1315
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1316
+                    电话
1317
+                  </td>
1318
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1319
+                    {{ patientPrint.phone }}
1320
+                  </td>
1321
+                  <td  style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1322
+                    民族
1323
+                  </td>
1324
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1325
+                    {{ patientPrint.nation }}
1326
+                  </td>
1327
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1328
+                    身份证号
1329
+                  </td>
1330
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1331
+                    {{ patientPrint.id_card_no }}
1332
+                  </td>
1333
+                </tr>
1334
+                <tr>
1335
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1336
+                    联系人
1337
+                  </td>
1338
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1339
+                    {{ patientPrint.contact_name }}
1340
+                  </td>
1341
+                  <td  style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1342
+                    电话
1343
+                  </td>
1344
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;">
1345
+                    {{ patientPrint.home_telephone }}
1346
+                  </td>
1347
+                  <td style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1348
+                    联系地址
1349
+                  </td>
1350
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1351
+                    {{ patientPrint.home_address }}
1352
+                  </td>
1353
+                </tr>
1354
+                <tr>
1355
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1356
+                    首次透析时间
1357
+                  </td>
1358
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1359
+                    {{ patientPrint.first_dialysis_date }}
1360
+                  </td>
1361
+                  <td colspan="2" style="padding: 3px 0px;font-size: 17px;font-weight: 500;">
1362
+                    血管通路
1363
+                  </td>
1364
+                  <td colspan="3" style="padding: 3px 0px;font-size: 17px;">
1365
+                    
1366
+                  </td>
1367
+                </tr>
1368
+                
1369
+                <tr>
1370
+                  <td style="padding: 3px 0px;font-size: 17px; font-weight: 500;">
1371
+                    主诉
1372
+                  </td>
1373
+                  <td colspan="9" style="text-align: left; padding:0px 5px ;font-size: 17px;">
1374
+                    {{ patientPrint.patient_complains }}
1375
+                  </td>
1376
+                </tr>
1377
+                <tr>
1378
+                  <td>
1379
+                    <div class="td_proj_title">现<br />病<br />史</div>
1380
+                  </td>
1381
+                  <td colspan="9">
1382
+                    <div
1383
+                      class="td_proj_content td_align_left"
1384
+                      v-html="patientPrint.present_history"
1385
+                    ></div>
1386
+                  </td>
1387
+                </tr>
1388
+
1389
+                <tr>
1390
+                  <td>
1391
+                    <div class="td_proj_title">既<br />往<br />史</div>
1392
+                  </td>
1393
+                  <td colspan="9">
1394
+                    <div class="td_proj_content td_align_left">
1395
+                      {{ patientPrint.past_history }}
1396
+                    </div>
1397
+                  </td>
1398
+                </tr>
1399
+                <tr>
1400
+                  <td>
1401
+                    <div class="td_proj_title">过敏史</div>
1402
+                  </td>
1403
+                  <td colspan="5">
1404
+                    <div class="td_proj_content td_align_left">
1405
+                      {{ patientPrint.allergic_history }}
1406
+                    </div>
1407
+                  </td>
1408
+                  <td>
1409
+                    <div class="td_proj_title">家族史</div>
1410
+                  </td>
1411
+                  <td colspan="3">
1412
+                    <div class="td_proj_content td_align_left">
1413
+                     
1414
+                    </div>
1415
+                  </td>
1416
+                </tr>
1417
+
1418
+                <tr>
1419
+                  <td colspan="10"><div class="td_proj_title">体格检查</div></td>
1420
+                </tr>
1421
+                <tr>
1422
+                  <td colspan="10">
1423
+                    <div class="td_proj_title">
1424
+                      T
1425
+                      {{
1426
+                        patientPrint.temperature
1427
+                      }}℃&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; P
1428
+                      {{
1429
+                        patientPrint.pulse
1430
+                      }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; R
1431
+                      {{
1432
+                        patientPrint.respiratory
1433
+                      }}次/分&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; BP
1434
+                      {{ patientPrint.sbp }}/{{ patientPrint.dbp }} mmHg
1435
+                    </div>
1436
+                  </td>
1437
+                </tr>
1438
+                <tr>
1439
+                  <td colspan="10">
1440
+                    <div
1441
+                      class="td_proj_content td_align_left"
1442
+                      v-html="patientPrint.remark"
1443
+                    ></div>
1444
+                  </td>
1445
+                </tr>
1446
+                <tr>
1447
+                  <td>
1448
+                    <div class="td_proj_title">辅助检查</div>
1449
+                  </td>
1450
+                  <td colspan="9">
1451
+                    <div
1452
+                      class="td_proj_content td_align_left"
1453
+                      
1454
+                    ></div>
1455
+                  </td>
1456
+                </tr>
1457
+                <tr>
1458
+                  <td>
1459
+                    <div class="td_proj_title">诊<br />断</div>
1460
+                  </td>
1461
+                  <td colspan="9">
1222
                     <div
1462
                     <div
1223
                       class="td_proj_content td_align_left"
1463
                       class="td_proj_content td_align_left"
1224
                       v-html="patientPrint.diagnose"
1464
                       v-html="patientPrint.diagnose"
1229
                   <td>
1469
                   <td>
1230
                     <div class="td_proj_title">诊<br />疗<br />计<br />划</div>
1470
                     <div class="td_proj_title">诊<br />疗<br />计<br />划</div>
1231
                   </td>
1471
                   </td>
1232
-                  <td colspan="7">
1472
+                  <td colspan="9">
1233
                     <div
1473
                     <div
1234
                       class="td_proj_content td_align_left"
1474
                       class="td_proj_content td_align_left"
1235
                       v-html="patientPrint.treatment_plan"
1475
                       v-html="patientPrint.treatment_plan"
1236
                     ></div>
1476
                     ></div>
1237
                   </td>
1477
                   </td>
1238
-                </tr>
1478
+                </tr> 
1239
               </tbody>
1479
               </tbody>
1240
             </table>
1480
             </table>
1241
             <div class="print_footnote_panel">
1481
             <div class="print_footnote_panel">
1881
               /\n/g,
2121
               /\n/g,
1882
               "<br/>"
2122
               "<br/>"
1883
             );
2123
             );
2124
+            
2125
+            
2126
+
1884
             this.patientPrint.sch_remark = patietInfo.sch_remark.replace(
2127
             this.patientPrint.sch_remark = patietInfo.sch_remark.replace(
1885
               /\n/g,
2128
               /\n/g,
1886
               "<br/>"
2129
               "<br/>"

+ 2 - 2
src/xt_pages/user/components/PatientForm.vue View File

969
           <el-row :gutter="24">
969
           <el-row :gutter="24">
970
             <el-col>
970
             <el-col>
971
               <el-form-item>
971
               <el-form-item>
972
-                <el-input v-model="form.sbp" style="width: 240px" >
972
+                <el-input v-model="form.sbp" style="width: 300px" >
973
                   <template slot="prepend">收缩压:</template>
973
                   <template slot="prepend">收缩压:</template>
974
                   <template slot="append">mmHg</template>
974
                   <template slot="append">mmHg</template>
975
                 </el-input>
975
                 </el-input>
976
-                <el-input v-model="form.dbp" style="width: 240px" >
976
+                <el-input v-model="form.dbp" style="width: 300px" >
977
                   <template slot="prepend">舒张压:</template>
977
                   <template slot="prepend">舒张压:</template>
978
                   <template slot="append">mmHg</template>
978
                   <template slot="append">mmHg</template>
979
                 </el-input>
979
                 </el-input>

+ 3 - 4
src/xt_pages/user/coursePrint.vue View File

11
         <div class="print_page_main_content">
11
         <div class="print_page_main_content">
12
           <div class="order-yy-name" style="text-align: center;">{{orgname}}</div>
12
           <div class="order-yy-name" style="text-align: center;">{{orgname}}</div>
13
           <div class="order_title" style="padding-top:12px;text-align: center;"> 病程记录</div>
13
           <div class="order_title" style="padding-top:12px;text-align: center;"> 病程记录</div>
14
-          <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;">
15
-
14
+          <div class="row" style="border-bottom:1px solid #000; display: flex;padding-bottom: 10px;padding-top: 12px;" 
15
+            v-if="org_id !=10206 && org_id !=0">
16
             <div  style="flex:1;text-align: center;">
16
             <div  style="flex:1;text-align: center;">
17
               姓名:
17
               姓名:
18
               <div  style="width: 120px;text-align: left;display:inline-block;">{{patient.name }}</div>
18
               <div  style="width: 120px;text-align: left;display:inline-block;">{{patient.name }}</div>
45
               </div>
45
               </div>
46
 
46
 
47
             </div>
47
             </div>
48
-
49
           </div>
48
           </div>
50
           <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;" v-for="(item,index) in this.record" :key="index">
49
           <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;" v-for="(item,index) in this.record" :key="index">
51
-            <div class="inline_block" style="display: inline-block;">
50
+            <div class="inline_block" style="display: inline-block;" v-if="org_id !=10206 && org_id !=0">
52
               <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
51
               <div>{{getTime(item.record_time,'{y}-{m}-{d} {h}:{i}')}}</div>
53
             </div>
52
             </div>
54
             <div class="inline_block" style="margin-left: 30px;display: inline-block;">
53
             <div class="inline_block" style="margin-left: 30px;display: inline-block;">

+ 3 - 6
src/xt_pages/user/templateSummaryPrint.vue View File

52
           <div style="line-height:24px; word-break: break-all;word-wrap: break-word" 
52
           <div style="line-height:24px; word-break: break-all;word-wrap: break-word" 
53
           v-html="patientList.template_summary_content"></div>
53
           v-html="patientList.template_summary_content"></div>
54
       </div>
54
       </div>
55
-     <div style="padding:20px 0;border-bottom:1px solid #000;min-height:250px;">
55
+     <div style="padding:20px 0;border-bottom:1px solid #000;min-height:250px;" v-if="org_id!=0&&org_id!=10635">
56
         <span style="font-weight:bold;">阶段小结化验结果:</span>
56
         <span style="font-weight:bold;">阶段小结化验结果:</span>
57
         <div class="borderBox">
57
         <div class="borderBox">
58
           <div v-for="item in patientList.template_inspection_content">
58
           <div v-for="item in patientList.template_inspection_content">
266
       patientList:{},
266
       patientList:{},
267
       doctorList:[],
267
       doctorList:[],
268
       anticoagulantList:[],
268
       anticoagulantList:[],
269
+      org_id:0,
269
     }
270
     }
270
   },
271
   },
271
   methods: {
272
   methods: {
301
         })
302
         })
302
       
303
       
303
     },
304
     },
304
-  
305
 
305
 
306
-   
307
-  
308
-   
309
-  
310
     getAge: function(val) {
306
     getAge: function(val) {
311
       if (val.birthday != 0) {
307
       if (val.birthday != 0) {
312
         return jsGetAge(val.birth, '-')
308
         return jsGetAge(val.birth, '-')
405
   },
401
   },
406
  
402
  
407
   created() {
403
   created() {
404
+     this.org_id = this.$store.getters.xt_user.org.id
408
      var anticoagulantsConfitOne = this.$store.getters.anticoagulants_confit
405
      var anticoagulantsConfitOne = this.$store.getters.anticoagulants_confit
409
      const arrFour = []
406
      const arrFour = []
410
      Object.keys(anticoagulantsConfitOne).map((item, index) => {
407
      Object.keys(anticoagulantsConfitOne).map((item, index) => {

+ 13 - 13
src/xt_permission.js View File

12
 
12
 
13
 router.beforeEach((to, from, next) => {
13
 router.beforeEach((to, from, next) => {
14
   // 线上注释
14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28
   // 线上注释
28
   // 线上注释
29
   NProgress.start()
29
   NProgress.start()
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))
30
   // console.log(store.getters.current_role_urls.indexOf(to.path))