Преглед изворни кода

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

XMLWAN пре 2 година
родитељ
комит
5c9bebbe43

+ 2 - 2
config/dev.env.js Прегледај датотеку

@@ -7,8 +7,8 @@ module.exports = {
7 7
   NODE_ENV: '"development"',
8 8
   ENV_CONFIG: '"dev"',
9 9
   //BASE_API: '"http://new_mobile.xt.api.sgjyun.com"', // //http://api.xt.test.sgjyun.com http://112.74.16.180:9527,////'"http://localhost:9529"',
10
-  BASE_API: '"http://api.xt.test.sgjyun.com"',
11
-  // BASE_API: '"http://localhost:9531"',
10
+  // BASE_API: '"http://api.xt.test.sgjyun.com"',
11
+  BASE_API: '"http://localhost:9531"',
12 12
   SSO_HOST: '"http://testsso.sgjyun.com"',
13 13
   SRCM_HOST: '"http://test1.sgjyun.com"',
14 14
   XT_HOST: '"http://xt.test.sgjyun.com"',

+ 2 - 2
config/index.js Прегледај датотеку

@@ -29,8 +29,8 @@ module.exports = {
29 29
 
30 30
     // host: 'xt.test.sgjyun.com',
31 31
     //  host: 'xt.kuyicloud.com',
32
-   host: 'xt.test.sgjyun.com',
33
-   // host: 'localhost',
32
+   // host: 'xt.test.sgjyun.com',
33
+   host: 'localhost',
34 34
     port: 9528, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
35 35
     autoOpenBrowser: true,
36 36
     errorOverlay: true,

+ 8 - 3
src/xt_pages/dialysis/dialysisPrintOrder.vue Прегледај датотеку

@@ -704,7 +704,7 @@
704 704
       </template>
705 705
       <template
706 706
         v-if="
707
-          org_template_info.template_id == 56
707
+          org_template_info.template_id == 56 ||org_template_info.template_id == 59
708 708
         "
709 709
       >
710 710
         <el-button
@@ -1164,7 +1164,10 @@
1164 1164
             v-bind:childResponse="childResponse"
1165 1165
             v-if="org_template_info.template_id == 58">
1166 1166
           </DialysisPrintOrderFiftyEight>
1167
-          
1167
+          <DialysisPrintOrderFiftyNine
1168
+          v-bind:childResponse="childResponse"
1169
+            v-if="org_template_info.template_id == 59">
1170
+          </DialysisPrintOrderFiftyNine>
1168 1171
         </div>
1169 1172
       </el-container>
1170 1173
     </div>
@@ -1241,9 +1244,11 @@ import DialysisPrintOrderFiftyfive from "./template/DialysisPrintOrderFiftyfive"
1241 1244
 import DialysisPrintOrderFiftySix from "./template/DialysisPrintOrderFiftySix";
1242 1245
 import DialysisPrintOrderFiftySeven from "./template/DialysisPrintOrderFiftySeven";
1243 1246
 import DialysisPrintOrderFiftyEight from "./template/DialysisPrintOrderFiftyEight";
1247
+import DialysisPrintOrderFiftyNine from "./template/DialysisPrintOrderFiftyNine";
1244 1248
 export default {
1245 1249
   name: "dialysisPrintOrder",
1246 1250
   components: {
1251
+    DialysisPrintOrderFiftyNine,
1247 1252
     DialysisPrintOrderFiftyEight,
1248 1253
     DialysisPrintOrderFiftySeven,
1249 1254
     DialysisPrintOrderFiftySix,
@@ -1863,7 +1868,7 @@ export default {
1863 1868
           scanStyles: false,
1864 1869
         });
1865 1870
       }else if (
1866
-        this.org_template_info.template_id == 56
1871
+        this.org_template_info.template_id == 56 ||this.org_template_info.template_id == 59
1867 1872
       ) {
1868 1873
         printJS({
1869 1874
           printable: "dialysis-print-box-1",

Разлика између датотеке није приказан због своје велике величине
+ 3677 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyNine.vue


+ 3 - 3
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue Прегледај датотеку

@@ -760,12 +760,12 @@
760 760
               <span v-if="advice.single_dose != 0"
761 761
                 >{{ advice.single_dose }}{{ advice.single_dose_unit }}</span
762 762
               >
763
-              <span v-if="advice.parent_id == 0">{{
763
+              <!-- <span v-if="advice.parent_id == 0">{{
764 764
                 advice.delivery_way
765 765
               }}</span>
766 766
               <span v-if="advice.parent_id == 0">{{
767 767
                 advice.execution_frequency
768
-              }}</span>
768
+              }}</span> -->
769 769
             </td>
770 770
             <td>
771 771
               <span v-if="setAdminUserES(advice.execution_staff) == ''">
@@ -1436,7 +1436,7 @@ export default {
1436 1436
             this.advices = tableAdvice;
1437 1437
           }
1438 1438
 
1439
-          // console.log(this.advices, "this.advices");
1439
+          console.log(this.advices, "this.advices");
1440 1440
 
1441 1441
           this.loading = false;
1442 1442
 

+ 4 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderFortySeven.vue Прегледај датотеку

@@ -675,6 +675,7 @@
675 675
                         style="width: 100px; text-align: center"
676 676
                       >
677 677
                        <span v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12">{{getDisplaceLiquiPart(prescription.displace_liqui_part)}}</span> 
678
+                        <span v-else>/</span>
678 679
                       </div>
679 680
                     </div>
680 681
                     <div
@@ -687,6 +688,7 @@
687 688
                         style="width: 70px; text-align: center"
688 689
                       >
689 690
                        <span v-if="prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12">{{ prescription.displace_liqui_value ? prescription.displace_liqui_value: "/"}} </span> 
691
+                       <span v-else>/</span>
690 692
                       </div>
691 693
                       L
692 694
                     </div>
@@ -3158,7 +3160,7 @@ export default {
3158 3160
 
3159 3161
         this.advices = response.data.data.advices;
3160 3162
         this.tableAdvice = response.data.data.advices;
3161
-        console.log("医嘱数据", this.advices);
3163
+        // console.log("医嘱数据", this.advices);
3162 3164
         this.monitors = response.data.data.monitors;
3163 3165
         this.summary = response.data.data.summary;
3164 3166
         this.org_template_info = response.data.data.org_template_info;
@@ -3258,7 +3260,7 @@ export default {
3258 3260
         this.loading = false;
3259 3261
         this.doctor_advices = response.data.data.advices == null ? [] : response.data.data.advices.concat(this.project);
3260 3262
           // .concat(this.project)
3261
-          console.log( this.doctor_advices,' this.doctor_advices this.doctor_advices')
3263
+          // console.log( this.doctor_advices,' this.doctor_advices this.doctor_advices')
3262 3264
         for (let index = 0; index < this.doctor_advices.length; index++) {
3263 3265
           this.doctor_advices[index]["isShow"] = 2;
3264 3266
         }

+ 3 - 3
src/xt_pages/hospitalStation/invoiceTemplate/printThree.vue Прегледај датотеку

@@ -180,9 +180,9 @@
180 180
           <!-- 医疗救助 -->
181 181
         </div>
182 182
         <!-- 大病 -->
183
-        <!-- <div style="position: absolute;top:340px;left:500px">
184
-          {{list.order.hifmi_pay?list.order.hifmi_pay:''}}
185
-        </div> -->
183
+        <div style="position: absolute;top:340px;left:400px">
184
+          大病补助:{{list.order.hifmi_pay?list.order.hifmi_pay:'0.00'}}
185
+        </div>
186 186
         <!-- 其他基金支付 -->
187 187
         <div style="position: absolute;top:340px;left:560px">
188 188
           预交押金:{{(parseFloat(pre_pay_money) + parseFloat(list.order.decimal)).toFixed(2)}}

+ 1 - 1
src/xt_pages/outpatientDoctorStation/template/printThree.vue Прегледај датотеку

@@ -48,7 +48,7 @@
48 48
             </div>
49 49
             <div style="width: 33%; display: flex">
50 50
               电脑号:<span class="under_line">{{
51
-                faber && faber.transBody ? faber.transBody.aac999 : ""
51
+                newHisPatient.id_card_no
52 52
               }}</span>
53 53
             </div>
54 54
             <div style="width: 33%; display: flex">

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

@@ -44,9 +44,11 @@
44 44
             </span>
45 45
         </div>
46 46
         <div style="width: 33%; display: flex">
47
-          电脑号:<span class="under_line">{{
48
-            faber && faber.transBody ? faber.transBody.aac999 : ""
49
-          }}</span>
47
+          电脑号:  <span class="under_line">
48
+                <span>{{
49
+                    newHisPatient.id_card_no
50
+                  }}</span>
51
+            </span>
50 52
         </div>
51 53
         <div style="width: 33%; display: flex">
52 54
           处方编号:<span class="under_line">{{

Разлика између датотеке није приказан због своје велике величине
+ 2204 - 2204
src/xt_pages/workforce/appointment.vue


+ 41 - 41
src/xt_pages/workforce/components/tableData.vue Прегледај датотеку

@@ -10,7 +10,7 @@
10 10
           :value="item.id">
11 11
          </el-option>
12 12
         </el-select>
13
-      
13
+
14 14
        <!-- <span style="margin-left:100px">班次:</span>
15 15
        <el-select v-model="schedule_type" placeholder="请选择" @change="changeSchedule_type">
16 16
         <el-option
@@ -21,7 +21,7 @@
21 21
          </el-option>
22 22
        </el-select> -->
23 23
     </div>
24
-   
24
+
25 25
     <div class="cell clearfix" v-if="weekTime == 'thisWeek' || weekTime == 'nextWeek'  || weekTime == 'nextTwoWeek' ">
26 26
       <el-input
27 27
         size="small"
@@ -37,12 +37,12 @@
37 37
         type="primary"
38 38
         icon="el-icon-search"
39 39
         @click="search"
40
-       
40
+
41 41
         >搜索</el-button
42 42
       >
43 43
     </div>
44
-    
45
-    
44
+
45
+
46 46
 
47 47
     <el-dialog :visible.sync="searchTableVisible" width="80%">
48 48
       <el-table
@@ -86,7 +86,7 @@
86 86
           </template>
87 87
         </el-table-column>
88 88
         <el-table-column label="操作" align="center" width="300">
89
-          
89
+
90 90
            <template slot-scope="scope">
91 91
             <span v-if="now_time>scope.row.schedule_date">
92 92
               <el-button
@@ -112,8 +112,8 @@
112 112
               </el-button>
113 113
            </span>
114 114
           </template>
115
-         
116
-         
115
+
116
+
117 117
           <template slot-scope="scope">
118 118
             <span v-if="now_time <=scope.row.schedule_date">
119 119
               <el-button
@@ -138,7 +138,7 @@
138 138
               调整模式
139 139
             </el-button>
140 140
             </span>
141
-           
141
+
142 142
           </template>
143 143
         </el-table-column>
144 144
       </el-table>
@@ -845,7 +845,7 @@ export default {
845 845
          this.scheduleZone=[]
846 846
          var partionStr = this.partition_id
847 847
          var arr = this.zoneIdList.join(',')
848
-         
848
+
849 849
          var str = ""
850 850
          if(partionStr == 0){
851 851
             str = arr
@@ -853,8 +853,8 @@ export default {
853 853
          if(partionStr != 0){
854 854
             str = partionStr.join(',')
855 855
          }
856
-       
857
-      
856
+
857
+
858 858
         getWeekPanelsOne(1,str).then(response => {
859 859
           if (response.data.state == 0) {
860 860
             return false
@@ -875,7 +875,7 @@ export default {
875 875
               that.scheduleZoneRow.push(partition.jihaos.length)
876 876
 
877 877
               that.partitions[partition.id] = partition
878
-                
878
+
879 879
               partition.jihaos.forEach(function(jihao) {
880 880
                 var thisPa = {
881 881
                   area: partition.name,
@@ -1033,9 +1033,9 @@ export default {
1033 1033
                   },
1034 1034
                   total: 0
1035 1035
                 }
1036
-                 
1036
+
1037 1037
                 that.scheduleZone.push(thisPa)
1038
-               
1038
+
1039 1039
               })
1040 1040
             })
1041 1041
           }
@@ -1043,7 +1043,7 @@ export default {
1043 1043
            this.scheduleZone.sort(this.compare('sort'))
1044 1044
         })
1045 1045
      },
1046
-   
1046
+
1047 1047
     cellClass({ row, column, rowIndex, columnIndex }) {
1048 1048
       if (columnIndex == 0 || columnIndex == 1 || columnIndex == 23) {
1049 1049
         return "";
@@ -1135,7 +1135,7 @@ export default {
1135 1135
       return sums;
1136 1136
     },
1137 1137
     objectSpanMethod({ row, column, rowIndex, columnIndex }) {
1138
-    
1138
+
1139 1139
       var that = this;
1140 1140
       var rowNum = 0;
1141 1141
       rowNumber = 0;
@@ -1194,7 +1194,7 @@ export default {
1194 1194
           patitionid:str,
1195 1195
           schedule_type:this.schedule_type,
1196 1196
         }
1197
-     
1197
+
1198 1198
       getSchedulesOne(params).then(response => {
1199 1199
         if (response.data.state == 1) {
1200 1200
           this.weekTitle = response.data.data.weekTitle;
@@ -1202,11 +1202,11 @@ export default {
1202 1202
           this.weekDays = response.data.data.days;
1203 1203
           this.toDay = response.data.data.today;
1204 1204
           var theSchedules = response.data.data.schdules;
1205
-          
1205
+
1206 1206
           var that = this;
1207
-          
1207
+
1208 1208
           this.scheduleZone.forEach(function(zone, index) {
1209
-           
1209
+
1210 1210
             that.scheduleZone[index].Mon_M = {
1211 1211
               mode_id: 0,
1212 1212
               mode_name: "",
@@ -1339,14 +1339,14 @@ export default {
1339 1339
               theSchedules.forEach(function(schedule, sindex) {
1340 1340
 
1341 1341
                 if (zone.jihao_id == schedule.bed_id) {
1342
-                
1342
+
1343 1343
                   var weekPath = that.weekPath(
1344 1344
                     schedule.schedule_week,
1345 1345
                     schedule.schedule_type
1346 1346
                   );
1347 1347
 
1348 1348
                   if (weekPath.length == 2) {
1349
-                   
1349
+
1350 1350
 
1351 1351
                     var weekPathKey = weekPath[0] + "_" + weekPath[1];
1352 1352
                     that.scheduleZone[index][weekPathKey] = {
@@ -1362,14 +1362,14 @@ export default {
1362 1362
                           : that.modeOptions[schedule.mode_id].name
1363 1363
                     };
1364 1364
                     that.scheduleZone[index].total += 1;
1365
-                    
1365
+
1366 1366
                   }
1367 1367
                 }
1368 1368
               });
1369 1369
             }
1370 1370
 
1371 1371
           });
1372
-          
1372
+
1373 1373
         } else {
1374 1374
           this.$message.error("网络错误");
1375 1375
           return false;
@@ -1561,7 +1561,7 @@ export default {
1561 1561
     clickThis(row, column, cell, event) {
1562 1562
       // debugger
1563 1563
       var week = this.weekDay(column.property);
1564
-  
1564
+
1565 1565
 
1566 1566
       if (week[0] == -1 || week[1] == -1) {
1567 1567
         return false;
@@ -1578,7 +1578,7 @@ export default {
1578 1578
 
1579 1579
       this.currentData.type_name = this.dayType(week[1]);
1580 1580
       this.currentData.zone_name = row.area;
1581
-      
1581
+
1582 1582
       this.currentData.bed_name = row.cut;
1583 1583
       this.currentData.partition_type = row.zone_type;
1584 1584
 
@@ -1801,7 +1801,7 @@ export default {
1801 1801
 
1802 1802
             this.zone_names = Object.keys(this.zone_device_map);
1803 1803
             // console.log('8989898989898989',this.zone_names)
1804
-            
1804
+
1805 1805
             // console.log(this.current_devices);
1806 1806
 
1807 1807
             if (this.zone_names.length > 0) {
@@ -1809,7 +1809,7 @@ export default {
1809 1809
               this.current_devices = this.zone_device_map[this.zone_name];
1810 1810
               this.device_id = this.current_devices[0].id;
1811 1811
             }
1812
-         
1812
+
1813 1813
 
1814 1814
             this.zone_device_options = [
1815 1815
               { values: this.zone_names },
@@ -2154,7 +2154,7 @@ export default {
2154 2154
       }else if(this.weekTime == 'nextTwoWeek'){
2155 2155
         week_type = 3
2156 2156
       }
2157
-     
2157
+
2158 2158
       const params = {
2159 2159
         keywords: this.keywords,
2160 2160
         week_type: week_type,
@@ -2295,7 +2295,7 @@ export default {
2295 2295
            }
2296 2296
           this.zones.push(...zones)
2297 2297
           var strArr =  this.zoneIdList.join(",")
2298
-         
2298
+
2299 2299
           this.strArr = strArr
2300 2300
           this.getWeekPanels()
2301 2301
          }
@@ -2306,7 +2306,7 @@ export default {
2306 2306
       this.partition_id = val
2307 2307
       this.getWeekPanels()
2308 2308
       this.getSchedules()
2309
-    
2309
+
2310 2310
     },
2311 2311
     changeSchedule_type(val){
2312 2312
      this.$emit('event2', val)
@@ -2318,9 +2318,9 @@ export default {
2318 2318
     ScheduleItem
2319 2319
   },
2320 2320
   mounted() {
2321
-  
2321
+
2322 2322
     this.tableContainHeight = window.innerHeight - this.$refs.table.$el.offsetTop - 120;
2323
-   
2323
+
2324 2324
     // var theType = this.weekType(this.weekTime);
2325 2325
     // this.getSchedules(theType);
2326 2326
     const that = this;
@@ -2352,17 +2352,17 @@ export default {
2352 2352
     }
2353 2353
     var nowDate = year + "-" + month + "-" + day
2354 2354
     var date = new Date(nowDate + " 00:00:00")
2355
-    console.log("date23232323232323",date.getTime()/1000) 
2355
+    console.log("date23232323232323",date.getTime()/1000)
2356 2356
     this.now_time = date.getTime()/1000
2357 2357
     this.getAllZones()
2358
- 
2358
+
2359 2359
     this.changeScheduleType(1)
2360 2360
     rowNumber = 0;
2361 2361
     this.modeOptions = this.$store.getters.treatment_mode;
2362
- 
2362
+
2363 2363
     this.partitions = this.partitionsProp;
2364 2364
 
2365
-    
2365
+
2366 2366
     var contagions = this.$store.getters.contagions;
2367 2367
     if (contagions.length > 0) {
2368 2368
       var that = this;
@@ -2372,15 +2372,15 @@ export default {
2372 2372
         }
2373 2373
       });
2374 2374
     }
2375
-  
2375
+
2376 2376
     this.scheduleZoneRow = this.scheduleZoneRowProp;
2377
-    
2377
+
2378 2378
 
2379 2379
     this.weekday = new Date().getDay();
2380 2380
     if (this.weekday == 0) {
2381 2381
       this.weekday = 7;
2382 2382
     }
2383
-   
2383
+
2384 2384
   }
2385 2385
 };
2386 2386
 </script>