Преглед на файлове

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

28169 преди 1 година
родител
ревизия
bc8dad3294

+ 13 - 1
src/router/modules/weight_sign.js Целия файл

@@ -61,5 +61,17 @@ export default {
61 61
       icon: 'Contextowner',
62 62
       noCache: true
63 63
     }
64
-  }]
64
+  },
65
+   // 测试
66
+  //  {
67
+  //   path: '/ceshi',
68
+  //   component: () => import('@/xt_pages/sign/ceshi'),
69
+  //   name: 'ceshi',
70
+  //   meta: {
71
+  //     title: '排班测试',
72
+  //     icon: 'ceshi',
73
+  //     noCache: true
74
+  //   }
75
+  // },
76
+]
65 77
 }

+ 4 - 1
src/xt_pages/outpatientDoctorStation/template/printFive.vue Целия файл

@@ -41,7 +41,9 @@
41 41
           </div>
42 42
           <div class="prescriptionBox" style="border-top: 1px solid #000;border-bottom: 1px solid #000;">
43 43
               <div class="Rp">Rp:</div>
44
-              <div class="drugsBox" v-for="(it,index) in item.advices" :key="index">
44
+              <div class="drugsBox" v-for="(it,index) in item.advices" :key="index"
45
+                :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
46
+              >
45 47
                   <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
46 48
                   <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;<span v-if="it.drug.min_unit != it.drug.dose_unit">{{it.drug.dose}}{{it.drug.dose_unit}}&nbsp;* &nbsp;</span>{{it.drug.min_number}}{{it.drug.min_unit}}/{{it.drug.max_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div>
47 49
                   <div style="margin-left:100px;"><span>用法:{{it.single_dose}}{{it.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{it.execution_frequency}}&nbsp;{{it.delivery_way}}&nbsp;</span>&nbsp;&nbsp;<span>{{it.advice_desc}}</span></div>
@@ -103,6 +105,7 @@ export default {
103 105
       return {
104 106
         doctorList:[],
105 107
         advicePrint:{},
108
+        yi:4,
106 109
         patient:{},
107 110
         tableData:[],
108 111
         prescriptionInfo:[],

+ 4 - 1
src/xt_pages/outpatientDoctorStation/template/printFour.vue Целия файл

@@ -21,7 +21,9 @@
21 21
           </div>
22 22
           <div class="prescriptionBox">
23 23
               <div class="Rp">Rp:</div>
24
-              <div class="drugsBox" v-for="(it,index) in item.advices" :key="index">
24
+              <div class="drugsBox" v-for="(it,index) in item.advices" :key="index"
25
+                :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
26
+              >
25 27
                   <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
26 28
                   <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;<span>用法:{{it.single_dose}}{{it.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{it.execution_frequency}}&nbsp;{{it.delivery_way}}&nbsp;</span>&nbsp;&nbsp;<span>{{it.advice_desc}}</span></div>
27 29
                   <div style="margin-left:100px;"><span>{{it.drug.drug_spec}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</span></div>
@@ -84,6 +86,7 @@ export default {
84 86
       return {
85 87
         doctorList:[],
86 88
         advicePrint:{},
89
+        yi:4,
87 90
         patient:{},
88 91
         tableData:[],
89 92
         prescriptionInfo:[],

+ 6 - 1
src/xt_pages/outpatientDoctorStation/template/printOne.vue Целия файл

@@ -52,13 +52,15 @@
52 52
             临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
53 53
           </div>
54 54
         </div>
55
-        <div class="prescriptionBox">
55
+        <div class="prescriptionBox" >
56 56
           <div class="Rp">Rp:</div>
57 57
           <div
58 58
             class="drugsBox"
59 59
             v-for="(it, index) in item.advices"
60 60
             :key="index"
61
+            :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
61 62
           >
63
+          <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  'page-break-after':item.advices.length>=3&& item.advices[2]?'always':'auto'-->
62 64
             <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
63 65
             <div class="drugsOne">
64 66
               <span style="font-weight: bold">{{ index + 1 + "." }}</span
@@ -79,6 +81,7 @@
79 81
               >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
80 82
             </div>
81 83
           </div>
84
+
82 85
           <div
83 86
             class="drugsBox"
84 87
             v-for="(it, i) in item.additionalcharge"
@@ -113,6 +116,7 @@
113 116
               >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
114 117
             </div>
115 118
           </div>
119
+          
116 120
           <div
117 121
             class="drugsBox"
118 122
             v-for="(it, i) in item.additionalcharge"
@@ -222,6 +226,7 @@ export default{
222 226
       doc_name:"",
223 227
       doctorList: [],
224 228
       advicePrint: {},
229
+      yi:4,
225 230
       patient: {},
226 231
       tableData: [],
227 232
       prescriptionInfo: [],

+ 2 - 0
src/xt_pages/outpatientDoctorStation/template/printSix.vue Целия файл

@@ -72,6 +72,7 @@
72 72
             class="drugsBox"
73 73
             v-for="(it, index) in item.advices"
74 74
             :key="index"
75
+            :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
75 76
           >
76 77
             <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
77 78
             <div class="drugsOne">
@@ -234,6 +235,7 @@ export default {
234 235
     return {
235 236
       doctorList: [],
236 237
       advicePrint: {},
238
+      yi:4,
237 239
       patient: {},
238 240
       tableData: [],
239 241
       prescriptionInfo: [],

+ 2 - 0
src/xt_pages/outpatientDoctorStation/template/printThree.vue Целия файл

@@ -147,6 +147,7 @@
147 147
                 pageIndex * 5 + item.pageArr[pageIndex]
148 148
               )"
149 149
               :key="index"
150
+              :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
150 151
             >
151 152
               <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
152 153
               <div class="drugsOne">
@@ -285,6 +286,7 @@ export default {
285 286
       operatorMaps: {},
286 287
       doctorList: [],
287 288
       advicePrint: {},
289
+      yi:4,
288 290
       patient: {},
289 291
       tableData: [],
290 292
       prescriptionInfo: [],

+ 1 - 0
src/xt_pages/outpatientDoctorStation/treatPrint.vue Целия файл

@@ -15,6 +15,7 @@
15 15
       <div class='dialysisPage' style="padding-top:40px;">
16 16
         <!-- 此下条为本地开发下页面 -->
17 17
         <!-- <printTwo v-if="org_id == 4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printTwo> -->
18
+        <!-- org_id != 10138 && org_id != 10278 && org_id !=4&& org_id !=0 -->
18 19
         <printOne v-if="org_id != 10138 && org_id != 10278 && org_id !=4" v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id"></printOne>
19 20
         <printTwo v-else v-bind:childResponse="childResponse" :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient" :patient_id="patient_id" :record_date="record_date" :prescription_id="prescription_id" :newHisPatient="newHisPatient"></printTwo>
20 21
       </div>

+ 8 - 8
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue Целия файл

@@ -15,10 +15,10 @@
15 15
 
16 16
             <div class="printTitle">{{orgname}}</div>
17 17
             <div class="printTitle">处方、治疗单</div>
18
-
19
-            <div class="infoTitle">
20
-                <div>门诊编号:</div>
21
-                <div>电脑号:</div>
18
+<!-- class="infoTitle" -->
19
+            <div style="display: flex; margin-top: 10px; line-height: 24px;padding: 0 10px;">
20
+                <div style="width: 300px;">门诊编号:</div>
21
+                <div style="width: 300px;">电脑号:</div>
22 22
             </div>
23 23
 
24 24
             <div class="infoMain">
@@ -75,9 +75,9 @@
75 75
                 </table>
76 76
             </div>
77 77
 
78
-            <div class="infoTitle">
79
-                <div>开单医生:{{item.doctor?item.doctor:''}}</div>
80
-                <div>签章:</div>
78
+            <div style="display: flex; margin-top: 10px; line-height: 24px;padding: 0 10px;">
79
+                <div style="width: 300px;">开单医生:{{item.doctor?item.doctor:''}}</div>
80
+                <div style="width: 300px;">签章:</div>
81 81
             </div>
82 82
 
83 83
             <div class="actionBar">
@@ -471,7 +471,7 @@
471 471
 
472 472
     .infoTitle {
473 473
         display: flex;
474
-        border-bottom: 2px solid #000;
474
+        // border-bottom: 2px solid #000;
475 475
         margin-top: 10px;
476 476
         line-height: 24px;
477 477
         padding: 0 10px;

+ 13 - 10
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue Целия файл

@@ -32,7 +32,7 @@
32 32
           >精二</span
33 33
         >
34 34
       </div>
35
-      <div style="display: flex">
35
+      <div style="display: flex;border: none;">
36 36
         <div style="width: 33%; display: flex">
37 37
           费别:
38 38
           <span class="under_line">
@@ -58,9 +58,9 @@
58 58
           }}</span>
59 59
         </div>
60 60
       </div>
61
-
62
-      <div class="infoTitle">
63
-        <div>
61
+<!-- class="infoTitle" -->
62
+      <div style="display: flex;margin-top: 10px;line-height: 24px;" >
63
+        <div style="width: 200px;">
64 64
           姓名:{{
65 65
             item.patient.name
66 66
               ? item.patient.name.indexOf("(") > -1
@@ -72,12 +72,12 @@
72 72
               : ""
73 73
           }}
74 74
         </div>
75
-        <div>
75
+        <div style="width: 200px;">
76 76
           性别:
77 77
           <span v-if="item.patient.gender == 1">男</span>
78 78
           <span v-if="item.patient.gender == 2">女</span>
79 79
         </div>
80
-        <div>
80
+        <div style="width: 200px;">
81 81
           年龄:{{
82 82
             getNewAge(item.patient.birthday)
83 83
               ? getNewAge(item.patient.birthday)
@@ -408,8 +408,9 @@ export default {
408 408
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
409 409
 
410 410
       const style =
411
-        "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 1px;padding:0 10px;}.infoTitle p{width: 200px;}.otherInfo{display: flex;margin-top:10px;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 p{width: 200px;}}";
412
-      printJS({
411
+        // "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitles{display: flex;margin-top:10px;line-height: 1px;padding:0 10px;}.infoTitles p{width: 200px;}.otherInfo{display: flex;margin-top:10px;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 p{width: 200px;}}";
412
+        "@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitles{display: flex;margin-top:10px;line-height: 1px;padding:0 10px;border:none}.infoTitles div{width: 200px;}.otherInfo{display: flex;margin-top:10px;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 p{width: 200px;}}";
413
+        printJS({
413 414
         printable: "prescription-print",
414 415
         type: "html",
415 416
         style: style,
@@ -737,13 +738,15 @@ export default {
737 738
   font-weight: bold;
738 739
   margin-bottom: 10px;
739 740
 }
740
-.infoTitle {
741
+.infoTitles {
741 742
   display: flex;
742 743
   margin-top: 10px;
743 744
   line-height: 24px;
745
+  border: none;
744 746
 }
745
-.infoTitle div {
747
+.infoTitles div {
746 748
   width: 200px;
749
+  border: none;
747 750
 }
748 751
 .infoMain {
749 752
   display: flex;

+ 10 - 10
src/xt_pages/qcd/indicatorControlAnalysis/components/office.vue Целия файл

@@ -21,7 +21,7 @@
21 21
           v-for="item in item_columns"
22 22
           :key="item.id"
23 23
           :label="item.item_name"
24
-          :value="item.id"
24
+          :value="item.item_id"
25 25
         ></el-option>
26 26
       </el-select>
27 27
 
@@ -308,14 +308,14 @@
308 308
           }
309 309
         }
310 310
         this.item_columns = item_inspection_reference
311
-        
312
-        var projectInfo = this.getPojectInfo(this.item_columns[0].project_id, this.item_columns[0].id)
311
+
312
+        var projectInfo = this.getPojectInfo(this.item_columns[0].project_id, this.item_columns[0].item_id)
313 313
         console.log("projectInfo",projectInfo)
314 314
         this.query.project_id = projectInfo.project_id
315
-        this.query.item_id = projectInfo.id
315
+        this.query.item_id = projectInfo.item_id
316 316
         this.item_name = projectInfo.item_name
317 317
         this.query.range_type = projectInfo.range_type
318
-        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
318
+        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
319 319
 
320 320
       }, changeItem(val) {
321 321
         this.query.page = 1
@@ -324,7 +324,7 @@
324 324
         console.log(projectInfo)
325 325
         this.item_name = projectInfo.item_name
326 326
 
327
-        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
327
+        this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
328 328
 
329 329
       }, changeRangeValue(val) {
330 330
         this.query.range_value = val
@@ -362,11 +362,11 @@
362 362
               this.item_columns = item
363 363
               this.item_name = item[0].item_name
364 364
 
365
-              var projectInfo = this.getPojectInfo(this.project_columns[0].project_id, this.item_columns[0].id)
365
+              var projectInfo = this.getPojectInfo(this.project_columns[0].project_id, this.item_columns[0].item_id)
366 366
               this.query.project_id = projectInfo.project_id
367
-              this.query.item_id = projectInfo.id
367
+              this.query.item_id = projectInfo.item_id
368 368
               this.query.range_type = projectInfo.range_type
369
-              this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.id)
369
+              this.GetRangeValue(projectInfo.range_type, projectInfo.project_id, projectInfo.item_id)
370 370
             } else {
371 371
               this.$message.error(resp.msg)
372 372
 
@@ -379,7 +379,7 @@
379 379
       },
380 380
       getPojectInfo(project_id, item_id) {
381 381
         for (let i = 0; i < this.all_inspection_reference.length; i++) {
382
-          if (this.all_inspection_reference[i].project_id == project_id && this.all_inspection_reference[i].id == item_id) {
382
+          if (this.all_inspection_reference[i].project_id == project_id && this.all_inspection_reference[i].item_id == item_id) {
383 383
             return this.all_inspection_reference[i]
384 384
           }
385 385
         }

+ 22 - 9
src/xt_pages/sign/Contextowner.vue Целия файл

@@ -11,7 +11,7 @@
11 11
             >
12 12
         </div>
13 13
         <!-- 全屏状态 -->
14
-        <div id="fullscreenbroad" v-show="dialogTableVisible">
14
+        <!-- <div id="fullscreenbroad" v-show="dialogTableVisible">
15 15
             <el-row class="fullRow">
16 16
                 <el-button
17 17
                 @click="openSetting"
@@ -61,7 +61,7 @@
61 61
                 
62 62
              </div>
63 63
         
64
-        </div>
64
+        </div> -->
65 65
         <div class="app-container">
66 66
             <div class="page_lineUp">
67 67
                 <div class="lineUpTitle">
@@ -205,13 +205,25 @@ export default {
205 205
             }
206 206
             else{
207 207
                 console.log('执行22223333')
208
-                this.page = 1
208
+                // this.page = 4
209
+                const counts = this.deviceNumberList.length;
210
+                console.log('sdfasdfdas',Math.ceil(counts / 6));
211
+                
212
+                if(this.page <= Math.ceil(counts / 6)){
213
+                  console.log('执行444444444',this.page)
214
+                  this.page ++
215
+                }else{
216
+                  console.log('执行55555555',this.page)
217
+                  this.page = 1
218
+                }
219
+                // this.page++
209 220
                 this.getlist()
210 221
                 setTimeout(() => {
211 222
                     // this.websocketMess();
212 223
                     this.lineUpList
213 224
                 }, 1000);
214 225
                 
226
+                
215 227
             }
216 228
             console.log('切换时间',this.queueConfig)
217 229
         }, 1000 * parseInt(this.queueConfig.qhsj));
@@ -261,6 +273,7 @@ export default {
261 273
                             this.waitDoctorList = res.data.waitDoctorList
262 274
                             this.upPatientList = res.data.upPatientList
263 275
                             this.count = res.data.patientQueueList.count
276
+                           
264 277
                             // this.lineUpList.map(item => {
265 278
                             //     item.create_time = moment(item.create_time * 1000).format('HH:mm:ss')
266 279
                             //     // item.start_time = moment(item.start_time * 1000).format('HH:mm')
@@ -268,6 +281,7 @@ export default {
268 281
                         }
269 282
                     }else if(res.channel == 'queue/queuelist'){
270 283
                         this.lineUpList = res.data.patientQueueList.data
284
+                        
271 285
                         this.count = res.data.patientQueueList.count
272 286
                         // this.lineUpList.map(item => {
273 287
                         //     item.create_time = moment(item.create_time * 1000).format('HH:mm:ss')
@@ -567,7 +581,7 @@ export default {
567 581
                this.patientList = patients
568 582
 
569 583
                this.deviceNumberList =  response.data.data.devicenumber
570
-
584
+              //  this.count = response.data.data.devicenumber 
571 585
 
572 586
              }
573 587
           })  
@@ -793,7 +807,7 @@ export default {
793 807
         padding:10px;
794 808
     }
795 809
     .lineUpMainLeft{
796
-        height: 60%;
810
+        height: 8%;
797 811
         border-radius: 15px;
798 812
         display: flex;
799 813
         flex-direction: column;
@@ -831,16 +845,15 @@ export default {
831 845
         .lineUpListOne{
832 846
             height:16%;
833 847
             padding: 0.5%;
834
-            // 
835
-            // display: flex;
836
-            // justify-content: space-between;
848
+            display: flex;
849
+            justify-content: space-between;
837 850
             align-items: center;
838 851
             color:#1C6895;
839 852
             >p{
840
-                
841 853
                 width:25%;
842 854
                 text-align: center;
843 855
                 display: inline-block;
856
+                padding: 5px 0px;
844 857
             }
845 858
         }
846 859
     }

+ 3 - 2
src/xt_pages/user/evaluationtool/Fallassessment.vue Целия файл

@@ -387,7 +387,7 @@
387 387
           title="内容详情"
388 388
           :visible.sync="dialogVisible"
389 389
           width="50%"
390
-          :before-close="handleClose"
390
+          
391 391
           class="status_change">
392 392
           <div>
393 393
               <Falloutbedprint></Falloutbedprint>
@@ -438,7 +438,8 @@
438 438
       methods: {
439 439
         add(){
440 440
           this.centerDialogVisible =true
441
-        }
441
+        },
442
+        
442 443
       }
443 444
     }
444 445
   </script>

+ 2 - 0
src/xt_pages/user/evaluationtool/dailyLife.vue Целия файл

@@ -402,6 +402,8 @@ export default {
402 402
         return{
403 403
             patientID:0,
404 404
             value:'',
405
+            input:'',
406
+            value1:'',
405 407
             options:[],
406 408
         }
407 409
     }

+ 1 - 1
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue Целия файл

@@ -205,7 +205,7 @@
205 205
                 title="内容详情"
206 206
                 :visible.sync="dialogVisible"
207 207
                 width="50%"
208
-                :before-close="handleClose"
208
+                
209 209
                 class="status_change">
210 210
                 <div>
211 211
                     <Falloutbedprint></Falloutbedprint>