See999 5 years ago
parent
commit
fc1be3ec80

+ 32 - 10
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue View File

222
           <td>执行者签名</td>
222
           <td>执行者签名</td>
223
         </tr>
223
         </tr>
224
         <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
224
         <tr v-for="(advice, advice_index) in tableAdvice" :key="advice_index">
225
-          <td style="height:30px;line-height:30px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
226
-          <td class="parent">
225
+          <td style="height:40px;line-height:40px">{{ getTime(advice.start_time, "{y}-{m}-{d} {h}:{i}") }}</td>
226
+          <td class="parent" style="max-width:400px">
227
             <span v-if="advice.parent_id > 0">---></span>
227
             <span v-if="advice.parent_id > 0">---></span>
228
             <span>{{ advice.advice_name }}</span>
228
             <span>{{ advice.advice_name }}</span>
229
             <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
229
             <span v-if="advice && advice.advice_desc">({{ advice.advice_desc }}{{ advice.drug_spec_unit }})</span>
281
 
281
 
282
 
282
 
283
             <tr v-for="monitor in monitors" :key="monitor.id">
283
             <tr v-for="monitor in monitors" :key="monitor.id">
284
-              <td>&nbsp;
284
+              <td style="height:40px;line-height:40px">&nbsp;
285
                 {{getTime(monitor.operate_time,'{h}:{i}')}}
285
                 {{getTime(monitor.operate_time,'{h}:{i}')}}
286
               </td>
286
               </td>
287
               <td>&nbsp;{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}} /
287
               <td>&nbsp;{{monitor.systolic_blood_pressure?monitor.systolic_blood_pressure:''}} /
346
             </td>
346
             </td>
347
             <td width="50" style="border:none;padding-left:5px">透析器凝血:</td>
347
             <td width="50" style="border:none;padding-left:5px">透析器凝血:</td>
348
             <td width="120" style="text-align:left;border:none;">
348
             <td width="120" style="text-align:left;border:none;">
349
-              <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false" showValue="0"></label-box>
350
-              <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false" showValue="+"></label-box>
351
-              <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1" showValue="+ +"></label-box>
352
-              <label-box :isChecked="afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false" showValue="+ + +"></label-box>
349
+              <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-0度') > -1 ? true : false) : false" showValue="0"></label-box>
350
+              <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅰ度') > -1 ? true : false) : false" showValue="+"></label-box>
351
+              <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅱ度') > -1 ? true : false) : false" showValue="+ +"></label-box>
352
+              <label-box :isChecked="afterdialysis.cruor ? (afterdialysis.cruor.indexOf('透析器-Ⅲ度') > -1 ? true : false) : false" showValue="+ + +"></label-box>
353
             </td>
353
             </td>
354
           </tr>
354
           </tr>
355
         </tbody>
355
         </tbody>
358
       <table class="print-table" border="1">
358
       <table class="print-table" border="1">
359
         <tr style="height:36px;text-align:left;border:none;">
359
         <tr style="height:36px;text-align:left;border:none;">
360
           <td style="padding-left:5px;border:none">
360
           <td style="padding-left:5px;border:none">
361
-              <p style="margin-bottom:60px">
361
+              <p style="margin-bottom:160px">
362
                 透析小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
362
                 透析小结:{{ summary.dialysis_summary ? summary.dialysis_summary : "" }}
363
               </p>
363
               </p>
364
           </td>
364
           </td>
700
             var obj3 = { advice_name: "", start_time: "" };
700
             var obj3 = { advice_name: "", start_time: "" };
701
             var obj4 = { advice_name: "", start_time: "" };
701
             var obj4 = { advice_name: "", start_time: "" };
702
             var obj5 = { advice_name: "", start_time: "" };
702
             var obj5 = { advice_name: "", start_time: "" };
703
+            var obj6 = { advice_name: "", start_time: "" };
704
+            var obj7 = { advice_name: "", start_time: "" };
703
             tableAdvice.push(obj);
705
             tableAdvice.push(obj);
704
             tableAdvice.push(obj1);
706
             tableAdvice.push(obj1);
705
             tableAdvice.push(obj2);
707
             tableAdvice.push(obj2);
706
             tableAdvice.push(obj3);
708
             tableAdvice.push(obj3);
707
             tableAdvice.push(obj4);
709
             tableAdvice.push(obj4);
708
             tableAdvice.push(obj5);
710
             tableAdvice.push(obj5);
711
+            tableAdvice.push(obj6);
712
+            tableAdvice.push(obj7);
709
             this.tableAdvice = tableAdvice;
713
             this.tableAdvice = tableAdvice;
710
           }
714
           }
711
           if (tableAdvice.length === 1) {
715
           if (tableAdvice.length === 1) {
714
             var obj2 = { advice_name: "", start_time: "" };
718
             var obj2 = { advice_name: "", start_time: "" };
715
             var obj3 = { advice_name: "", start_time: "" };
719
             var obj3 = { advice_name: "", start_time: "" };
716
             var obj4 = { advice_name: "", start_time: "" };
720
             var obj4 = { advice_name: "", start_time: "" };
721
+            var obj5 = { advice_name: "", start_time: "" };
722
+            var obj6 = { advice_name: "", start_time: "" };
717
             tableAdvice.push(obj);
723
             tableAdvice.push(obj);
718
             tableAdvice.push(obj1);
724
             tableAdvice.push(obj1);
719
             tableAdvice.push(obj2);
725
             tableAdvice.push(obj2);
720
             tableAdvice.push(obj3);
726
             tableAdvice.push(obj3);
721
             tableAdvice.push(obj4);
727
             tableAdvice.push(obj4);
728
+            tableAdvice.push(obj5);
729
+            tableAdvice.push(obj6);
722
             this.tableAdvice = tableAdvice;
730
             this.tableAdvice = tableAdvice;
723
           }
731
           }
724
           if (tableAdvice.length === 2) {
732
           if (tableAdvice.length === 2) {
726
             var obj1 = { advice_name: "", start_time: "" };
734
             var obj1 = { advice_name: "", start_time: "" };
727
             var obj2 = { advice_name: "", start_time: "" };
735
             var obj2 = { advice_name: "", start_time: "" };
728
             var obj3 = { advice_name: "", start_time: "" };
736
             var obj3 = { advice_name: "", start_time: "" };
737
+            var obj4 = { advice_name: "", start_time: "" };
738
+            var obj5 = { advice_name: "", start_time: "" };
729
             tableAdvice.push(obj);
739
             tableAdvice.push(obj);
730
             tableAdvice.push(obj1);
740
             tableAdvice.push(obj1);
731
             tableAdvice.push(obj2);
741
             tableAdvice.push(obj2);
732
             tableAdvice.push(obj3);
742
             tableAdvice.push(obj3);
743
+            tableAdvice.push(obj4);
744
+            tableAdvice.push(obj5);
733
             this.tableAdvice = tableAdvice;
745
             this.tableAdvice = tableAdvice;
734
           }
746
           }
735
           if (tableAdvice.length === 3) {
747
           if (tableAdvice.length === 3) {
740
             // eslint-disable-next-line no-redeclare
752
             // eslint-disable-next-line no-redeclare
741
             var obj2 = { advice_name: "", start_time: "" };
753
             var obj2 = { advice_name: "", start_time: "" };
742
             // eslint-disable-next-line no-redeclare
754
             // eslint-disable-next-line no-redeclare
755
+            var obj3 = { advice_name: "", start_time: "" };
756
+            var obj4 = { advice_name: "", start_time: "" };
743
             tableAdvice.push(obj);
757
             tableAdvice.push(obj);
744
             tableAdvice.push(obj1);
758
             tableAdvice.push(obj1);
745
             tableAdvice.push(obj2);
759
             tableAdvice.push(obj2);
746
-
760
+            tableAdvice.push(obj3);
761
+            tableAdvice.push(obj4);
747
             this.tableAdvice = tableAdvice;
762
             this.tableAdvice = tableAdvice;
748
           }
763
           }
749
           if (tableAdvice.length === 4) {
764
           if (tableAdvice.length === 4) {
752
             // eslint-disable-next-line no-redeclare
767
             // eslint-disable-next-line no-redeclare
753
             var obj1 = { advice_name: "", start_time: "" };
768
             var obj1 = { advice_name: "", start_time: "" };
754
             // eslint-disable-next-line no-redeclare
769
             // eslint-disable-next-line no-redeclare
755
-
770
+            var obj2 = { advice_name: "", start_time: "" };
771
+            var obj3 = { advice_name: "", start_time: "" };
756
             tableAdvice.push(obj);
772
             tableAdvice.push(obj);
757
             tableAdvice.push(obj1);
773
             tableAdvice.push(obj1);
774
+            tableAdvice.push(obj2);
775
+            tableAdvice.push(obj3);
758
             this.tableAdvice = tableAdvice;
776
             this.tableAdvice = tableAdvice;
759
           }
777
           }
760
           if (tableAdvice.length === 5) {
778
           if (tableAdvice.length === 5) {
762
             var obj = { advice_name: "", start_time: "" };
780
             var obj = { advice_name: "", start_time: "" };
763
             // eslint-disable-next-line no-redeclare
781
             // eslint-disable-next-line no-redeclare
764
             var obj1 = { advice_name: "", start_time: "" };
782
             var obj1 = { advice_name: "", start_time: "" };
783
+            var obj1 = { advice_name: "", start_time: "" };
784
+            // eslint-disable-next-line no-redeclare
785
+            var obj2 = { advice_name: "", start_time: "" };
765
             tableAdvice.push(obj);
786
             tableAdvice.push(obj);
766
             tableAdvice.push(obj1);
787
             tableAdvice.push(obj1);
788
+            tableAdvice.push(obj2);
767
             this.tableAdvice = tableAdvice;
789
             this.tableAdvice = tableAdvice;
768
           }
790
           }
769
 
791
 

+ 16 - 6
src/xt_pages/qcd/basicInformationAnalysis.vue View File

61
                 <p>{{item.mode_id}}:{{item.count}}次({{(item.count/total*100).toFixed(1)}}%)</p>
61
                 <p>{{item.mode_id}}:{{item.count}}次({{(item.count/total*100).toFixed(1)}}%)</p>
62
                 <el-progress :percentage="(item.count/total*100).toFixed(1)"></el-progress>
62
                 <el-progress :percentage="(item.count/total*100).toFixed(1)"></el-progress>
63
                </div>
63
                </div>
64
-                <p>HD:64次(64%)</p>
65
-                <el-progress :percentage="70"></el-progress>
66
               </div>
64
               </div>
67
             </div>
65
             </div>
68
             <div class="infoOne">
66
             <div class="infoOne">
117
                      <el-progress :percentage="(item.count/ageTotal*100).toFixed(1)"></el-progress>
115
                      <el-progress :percentage="(item.count/ageTotal*100).toFixed(1)"></el-progress>
118
                     </span>
116
                     </span>
119
                    <span v-if="item.age == 40">
117
                    <span v-if="item.age == 40">
120
-                      <p>20<年龄≤40:{{item.count}}人({{(item.count/ageTotal*100).toFixed(1)}}%)</p>
118
+                      <p>20&lt;年龄≤40:{{item.count}}人({{(item.count/ageTotal*100).toFixed(1)}}%)</p>
121
                       <el-progress :percentage="(item.count/ageTotal*100).toFixed(1)"></el-progress>
119
                       <el-progress :percentage="(item.count/ageTotal*100).toFixed(1)"></el-progress>
122
                     </span>
120
                     </span>
123
                     <span v-if="item.age == 60">
121
                     <span v-if="item.age == 60">
124
-                      <p>40<年龄≤60:{{item.count}}人({{(item.count/ageTotal*100).toFixed(1)}}%)</p>
122
+                      <p>40&lt;年龄≤60:{{item.count}}人({{(item.count/ageTotal*100).toFixed(1)}}%)</p>
125
                       <el-progress :percentage="(item.count/ageTotal*100).toFixed(1)"></el-progress>
123
                       <el-progress :percentage="(item.count/ageTotal*100).toFixed(1)"></el-progress>
126
                     </span>
124
                     </span>
127
                     <span v-if="item.age == 80">
125
                     <span v-if="item.age == 80">
128
-                     <p>60<年龄≤80:{{item.count}}人({{(item.count/ageTotal*100).toFixed(1)}}%)</p>
126
+                     <p>60&lt;年龄≤80:{{item.count}}人({{(item.count/ageTotal*100).toFixed(1)}}%)</p>
129
                      <el-progress :percentage="(item.count/ageTotal*100).toFixed(1)"></el-progress>
127
                      <el-progress :percentage="(item.count/ageTotal*100).toFixed(1)"></el-progress>
130
                     </span>
128
                     </span>
131
                     <span v-if="item.age ==150">
129
                     <span v-if="item.age ==150">
143
               <div class="borderBox1">
141
               <div class="borderBox1">
144
                 <p>透析龄≤12:64人(64%)</p>
142
                 <p>透析龄≤12:64人(64%)</p>
145
                 <el-progress :percentage="70"></el-progress>
143
                 <el-progress :percentage="70"></el-progress>
146
-                <p>12<透析龄≤36:64人(64%)</p>
144
+                <p>12&lt;透析龄≤36:64人(64%)</p>
147
                 <el-progress :percentage="70"></el-progress>
145
                 <el-progress :percentage="70"></el-progress>
148
                 <p>36≤透析龄≤60:64人(64%)</p>
146
                 <p>36≤透析龄≤60:64人(64%)</p>
149
                 <el-progress :percentage="70"></el-progress>
147
                 <el-progress :percentage="70"></el-progress>
494
           rgba(159, 189, 252, 1)
492
           rgba(159, 189, 252, 1)
495
         );
493
         );
496
       }
494
       }
495
+      .el-progress-bar{
496
+        margin-right: -59px;
497
+        padding-right: 60px;
498
+      }
497
     }
499
     }
498
     .borderBox1 {
500
     .borderBox1 {
499
       .el-progress-bar__inner {
501
       .el-progress-bar__inner {
503
           rgba(255, 153, 148, 1)
505
           rgba(255, 153, 148, 1)
504
         );
506
         );
505
       }
507
       }
508
+      .el-progress-bar{
509
+        margin-right: -59px;
510
+        padding-right: 60px;
511
+      }
506
     }
512
     }
507
     .borderBox2 {
513
     .borderBox2 {
508
       .el-progress-bar__inner {
514
       .el-progress-bar__inner {
512
           rgba(179, 168, 247, 1)
518
           rgba(179, 168, 247, 1)
513
         );
519
         );
514
       }
520
       }
521
+      .el-progress-bar{
522
+        margin-right: -59px;
523
+        padding-right: 60px;
524
+      }
515
     }
525
     }
516
   }
526
   }
517
 }
527
 }