Browse Source

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

28169 6 months ago
parent
commit
011d5bcee3

+ 1 - 0
src/lang/en.js View File

129
     user_detail: 'user_detail',
129
     user_detail: 'user_detail',
130
     objectRegistration:'objectRegistration',
130
     objectRegistration:'objectRegistration',
131
     Dialysisanalysis:'Dialysisanalysis',
131
     Dialysisanalysis:'Dialysisanalysis',
132
+    eleFaPiao:'eleFaPiao',
132
   },
133
   },
133
   navbar: {
134
   navbar: {
134
     logOut: 'Log Out',
135
     logOut: 'Log Out',

+ 4 - 4
src/lang/zh.js View File

294
     summary_tool: '结算明细汇总',
294
     summary_tool: '结算明细汇总',
295
     p_summary_tool: '处方明细汇总',
295
     p_summary_tool: '处方明细汇总',
296
     labelPrint: '标签打印',
296
     labelPrint: '标签打印',
297
-    faPiao: '发票设置',
297
+    // faPiao: '发票设置',
298
+    // fapiao:'电子发票',
298
     chargeDetailManagement: '收费明细',
299
     chargeDetailManagement: '收费明细',
299
     yidiClear: '异地清分',
300
     yidiClear: '异地清分',
300
     zeroSummary: '零用明细汇总',
301
     zeroSummary: '零用明细汇总',
306
     queryData:"结算数据查询",
307
     queryData:"结算数据查询",
307
     chargeDetailManagementTwo:"门诊明细上传",
308
     chargeDetailManagementTwo:"门诊明细上传",
308
     orgExportData:"数据导出",
309
     orgExportData:"数据导出",
309
-
310
-
310
+    eleFaPiao:"电子发票",
311
 
311
 
312
     settleDetail:"结算明细列表",
312
     settleDetail:"结算明细列表",
313
     patientSettleDetail:"患者结算列表",
313
     patientSettleDetail:"患者结算列表",
314
-    elefapiao:"电子发票列表",
314
+    fapiao:"电子发票列表",
315
 
315
 
316
   },
316
   },
317
   navbar: {
317
   navbar: {

+ 2 - 2
src/router/index.js View File

37
 import hospitalCharges from './modules/hospitalCharges'
37
 import hospitalCharges from './modules/hospitalCharges'
38
 import DepositManagement from './modules/DepositManagement'
38
 import DepositManagement from './modules/DepositManagement'
39
 import hisTool from './modules/hisTool'
39
 import hisTool from './modules/hisTool'
40
-import faPiao from './modules/faPiao'
40
+import eleFaPiao from './modules/eleFaPiao'
41
 
41
 
42
 import supply from './modules/supply'
42
 import supply from './modules/supply'
43
 
43
 
203
   hospitalStation,
203
   hospitalStation,
204
   hospitalCharges,
204
   hospitalCharges,
205
   hisTool,
205
   hisTool,
206
-  faPiao,
206
+  eleFaPiao,
207
   integration,
207
   integration,
208
   basicConfig,
208
   basicConfig,
209
   supply,
209
   supply,

+ 37 - 0
src/router/modules/eleFaPiao.js View File

1
+import Layout from '@/views/layout/Layout'
2
+
3
+
4
+export default {
5
+  path: '/eleFaPiao',
6
+  component: Layout,
7
+  redirect: 'noredirect',
8
+  name: 'eleFaPiao',
9
+  alwaysShow: true,
10
+  meta: {
11
+    title: 'eleFaPiao',
12
+    icon: 'eleFaPiao',
13
+    isChild: true
14
+  },
15
+  children: [
16
+    {
17
+      path: '/eleFaPiao/settle',
18
+      component: () => import('@/xt_pages/eleFaPiao/settleDetail'),
19
+      name: 'settleDetail',
20
+      meta: { title: 'settleDetail', noCache: true }
21
+    },
22
+    {
23
+      path: '/eleFaPiao/patientsettle',
24
+      component: () => import('@/xt_pages/eleFaPiao/patientSettleDetail'),
25
+      name: 'patientSettleDetail',
26
+      meta: { title: 'patientSettleDetail', noCache: true },
27
+    },
28
+    {
29
+      path: '/eleFaPiao/fapiao',
30
+      component: () => import('@/xt_pages/eleFaPiao/fapiao'),
31
+      name: 'fapiao',
32
+      meta: { title: 'fapiao', noCache: true },
33
+    },
34
+
35
+   
36
+  ]
37
+}

+ 0 - 33
src/router/modules/faPiao.js View File

1
-import Layout from '@/views/layout/Layout'
2
-
3
-export default {
4
-  path: '/fapiao',
5
-  component: Layout,
6
-  redirect: 'noredirect',
7
-  name: 'fapiao',
8
-  alwaysShow: true,
9
-  meta: {
10
-    title: 'fapiao',
11
-    isChild: true
12
-  },
13
-  children: [
14
-    {
15
-      path: '/fapiao/settle',
16
-      component: () => import('@/xt_pages/fapiao/settleDetail'),
17
-      name: 'settleDetail',
18
-      meta: { title: 'settleDetail', noCache: true }
19
-    },
20
-    {
21
-      path: '/fapiao/patientsettle',
22
-      component: () => import('@/xt_pages/fapiao/patientSettleDetail'),
23
-      name: 'patientSettleDetail',
24
-      meta: { title: 'patientSettleDetail', noCache: true },
25
-    },
26
-    {
27
-      path: '/fapiao/elefapiao',
28
-      component: () => import('@/xt_pages/fapiao/fapiao'),
29
-      name: 'elefapiao',
30
-      meta: { title: 'elefapiao', noCache: true },
31
-    },
32
-  ]
33
-}

+ 32 - 24
src/router/modules/hisTool.js View File

90
       meta: { title: 'labelPrint', noCache: true }
90
       meta: { title: 'labelPrint', noCache: true }
91
     },
91
     },
92
 
92
 
93
+    // {
94
+    //   path: '/hisTool/faPiao',
95
+    //   component: () => import('@/xt_pages/outpatientTool/fapiao'),
96
+    //   name: 'faPiao',
97
+    //   meta: { title: 'faPiao', noCache: true }
98
+    // },
99
+    // {
100
+    //   path: '/hisTool/faPiao',
101
+    //   component: () => import('@/xt_pages/outpatientTool/fapiao'),
102
+    //   name: 'faPiao',
103
+    //   meta: { title: 'faPiao', noCache: true }
104
+    // }, 
93
     {
105
     {
94
-      path: '/hisTool/faPiao',
95
-      component: () => import('@/xt_pages/outpatientTool/fapiao'),
96
-      name: 'faPiao',
97
-      meta: { title: 'faPiao', noCache: true }
98
-    }, {
99
       path: '/hisTool/yidiClear',
106
       path: '/hisTool/yidiClear',
100
       component: () => import('@/xt_pages/outpatientTool/yidiClear'),
107
       component: () => import('@/xt_pages/outpatientTool/yidiClear'),
101
       name: 'yidiClear',
108
       name: 'yidiClear',
196
             noCache: true
203
             noCache: true
197
           },
204
           },
198
         },
205
         },
199
-    {
200
-      path: '/fapiao/settle',
201
-      component: () => import('@/xt_pages/fapiao/settleDetail'),
202
-      name: 'settleDetail',
203
-      meta: { title: 'settleDetail', noCache: true }
204
-    },
205
-    {
206
-      path: '/fapiao/patientsettle',
207
-      component: () => import('@/xt_pages/fapiao/patientSettleDetail'),
208
-      name: 'patientSettleDetail',
209
-      meta: { title: 'patientSettleDetail', noCache: true },
206
+    // {
207
+    //   path: '/fapiao/settle',
208
+    //   component: () => import('@/xt_pages/fapiao/settleDetail'),
209
+    //   name: 'settleDetail',
210
+    //   meta: { title: 'settleDetail', noCache: true }
211
+    // },
212
+    // {
213
+    //   path: '/fapiao/patientsettle',
214
+    //   component: () => import('@/xt_pages/fapiao/patientSettleDetail'),
215
+    //   name: 'patientSettleDetail',
216
+    //   meta: { title: 'patientSettleDetail', noCache: true },
210
 
217
 
211
-    },
212
-    {
213
-      path: '/fapiao/elefapiao',
214
-      component: () => import('@/xt_pages/fapiao/fapiao'),
215
-      name: 'fapiao',
216
-      meta: { title: 'fapiao', noCache: true },
217
-
218
-    },
218
+    // },
219
+    // {
220
+    //   path: '/fapiao/elefapiao',
221
+    //   component: () => import('@/xt_pages/fapiao/fapiao'),
222
+    //   // name: 'fapiao',
223
+    //   name:'elefapiao',
224
+    //   // meta: { title: 'fapiao', noCache: true },
225
+    //   meta: { title: 'elefapiao', noCache: true },
226
+    // },
219
   ]
227
   ]
220
 }
228
 }

+ 1 - 1
src/views/layout/Layout.vue View File

132
     }
132
     }
133
   },
133
   },
134
   created(){
134
   created(){
135
-    let menzhen = ['hospitalStation',"hospitalRecord","hospitalCharges","DepositManagement","hisTool","faPiao",'outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord'];
135
+    let menzhen = ['hospitalStation',"hospitalRecord","hospitalCharges","DepositManagement","hisTool","eleFaPiao",'outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord'];
136
     let bingli = ['User','createPatient'];
136
     let bingli = ['User','createPatient'];
137
     let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','log_index'];
137
     let touxi = ['home','workforce', 'dialysisrecord', 'dialysis', 'medicalScheduling', 'signIndex', 'qcd', 'device', 'quality_control','dialysis_index','log_index'];
138
     let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','inventoryTransfer','wareHouseManage','otherManagement'];
138
     let kucun = ['stockManage','stockDrugs','selfPreparedMedicine','inventoryTransfer','wareHouseManage','otherManagement'];

+ 1 - 1
src/views/layout/components/Sidebar/index.vue View File

69
     navTitle:{
69
     navTitle:{
70
       handler(newVal,oldVal){
70
       handler(newVal,oldVal){
71
         if(newVal == 'HIS管理'){
71
         if(newVal == 'HIS管理'){
72
-          let nameArr = ['hospitalStation','hospitalRecord','hospitalCharges','DepositManagement','hisTool','outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord',];
72
+          let nameArr = ['hospitalStation','hospitalRecord','hospitalCharges','DepositManagement','hisTool','outpatientRegistration','outpatientDoctorStation','outpatientCharges','outpatientPharmacy','outpatientRecord','eleFaPiao'];
73
           // console.log('permission_routers',this.permission_routers)
73
           // console.log('permission_routers',this.permission_routers)
74
           let routerArr = [];
74
           let routerArr = [];
75
           this.permission_routers.map(item => {
75
           this.permission_routers.map(item => {

src/xt_pages/fapiao/fapiao.vue → src/xt_pages/eleFaPiao/fapiao.vue View File


src/xt_pages/fapiao/newSettleDetail.vue → src/xt_pages/eleFaPiao/newSettleDetail.vue View File

428
                 .catch(() => {
428
                 .catch(() => {
429
                 })
429
                 })
430
             }
430
             }
431
-
432
           }
431
           }
433
-
434
         }
432
         }
435
       }).catch(function(error) {
433
       }).catch(function(error) {
436
       })
434
       })
437
-
438
     },
435
     },
439
     query(){
436
     query(){
440
 
437
 

src/xt_pages/fapiao/patientSettleDetail.vue → src/xt_pages/eleFaPiao/patientSettleDetail.vue View File


src/xt_pages/fapiao/settleDetail.vue → src/xt_pages/eleFaPiao/settleDetail.vue View File


+ 1 - 1
src/xt_pages/outpatientCharges/listTemplate/listPrintforu.vue View File

17
         </div>
17
         </div>
18
         <div class="listInfo">
18
         <div class="listInfo">
19
             <div>总金额:{{ order.medfee_sumamt }}</div>
19
             <div>总金额:{{ order.medfee_sumamt }}</div>
20
-            <div>个人支付金额:{{ order.psn_part_amt }}</div>
20
+            <div>个人支付金额:{{ order.psn_cash_pay }}</div>
21
             <div>基金支付金额:{{ order.fund_pay_sumamt }}</div>
21
             <div>基金支付金额:{{ order.fund_pay_sumamt }}</div>
22
             <div>收费日期:{{getTimes(order.ctime)}}</div>
22
             <div>收费日期:{{getTimes(order.ctime)}}</div>
23
         </div>
23
         </div>

+ 119 - 8
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

2113
                   } else if (this.schedule.schedule_type == 2) {
2113
                   } else if (this.schedule.schedule_type == 2) {
2114
                      if(this.org_id == 10206  || this.org_id == 0 ){
2114
                      if(this.org_id == 10206  || this.org_id == 0 ){
2115
                       preTime = this.record_date + ' ' + '10:30'
2115
                       preTime = this.record_date + ' ' + '10:30'
2116
-                    }else{
2116
+                    }else if(this.org_id == 10598){
2117
+                       preTime = this.record_date + ' ' + '09:00'
2118
+
2119
+                     }else{
2117
                      preTime = this.record_date + ' ' + '11:00'
2120
                      preTime = this.record_date + ' ' + '11:00'
2118
                    }
2121
                    }
2119
                   } else if (this.schedule.schedule_type == 3) {
2122
                   } else if (this.schedule.schedule_type == 3) {
2124
                   preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
2127
                   preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
2125
                 }
2128
                 }
2126
 
2129
 
2130
+                if(this.$store.getters.xt_user.org.id == 10510){
2131
+                  preTime = nowTime
2132
+                }
2133
+
2127
               } else {
2134
               } else {
2128
-                console.log("test")
2135
+
2129
                 if (prescription.pre_time == 0) {
2136
                 if (prescription.pre_time == 0) {
2130
-                  console.log("++=========")
2131
-                  console.log(nowTime.split(" ")[0])
2132
-                  console.log(this.record_date)
2133
-                  console.log("++=========")
2134
 
2137
 
2135
                   if(nowTime.split(" ")[0] != this.record_date){
2138
                   if(nowTime.split(" ")[0] != this.record_date){
2136
                     // preTime = this.record_date
2139
                     // preTime = this.record_date
2143
                     }else if(this.schedule.schedule_type == 2){
2146
                     }else if(this.schedule.schedule_type == 2){
2144
                       if(this.org_id == 10206  || this.org_id == 0){
2147
                       if(this.org_id == 10206  || this.org_id == 0){
2145
                         preTime = this.record_date + ' ' + '10:30'
2148
                         preTime = this.record_date + ' ' + '10:30'
2149
+                      }else if(this.org_id == 10598){
2150
+                        preTime = this.record_date + ' ' + '09:00'
2151
+
2146
                       }else {
2152
                       }else {
2147
                         preTime = this.record_date + ' ' + '11:00'
2153
                         preTime = this.record_date + ' ' + '11:00'
2148
                       }
2154
                       }
2150
                       preTime = this.record_date + ' ' + '17:00'
2156
                       preTime = this.record_date + ' ' + '17:00'
2151
                     }
2157
                     }
2152
 
2158
 
2159
+
2160
+                    if(this.$store.getters.xt_user.org.id == 10510){
2161
+                      preTime = nowTime
2162
+                    }
2163
+
2153
                   }
2164
                   }
2154
                 } else {
2165
                 } else {
2155
                   preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
2166
                   preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
2157
               }
2168
               }
2158
 
2169
 
2159
 
2170
 
2171
+
2172
+
2160
               let index = i + 1
2173
               let index = i + 1
2161
               let obj = {
2174
               let obj = {
2162
                 id: prescription.id,
2175
                 id: prescription.id,
2308
                   } else if (this.schedule.schedule_type == 2) {
2321
                   } else if (this.schedule.schedule_type == 2) {
2309
                     if(this.org_id == 10206  || this.org_id == 0){
2322
                     if(this.org_id == 10206  || this.org_id == 0){
2310
                       preTime = this.record_date + ' ' + '10:30'
2323
                       preTime = this.record_date + ' ' + '10:30'
2324
+                    }else if(this.org_id == 10598){
2325
+                      preTime = this.record_date + ' ' + '09:00'
2326
+
2311
                     }else {
2327
                     }else {
2312
                       preTime = this.record_date + ' ' + '11:00'
2328
                       preTime = this.record_date + ' ' + '11:00'
2313
                     }
2329
                     }
2314
                   } else if (this.schedule.schedule_type == 3) {
2330
                   } else if (this.schedule.schedule_type == 3) {
2315
                     preTime = this.record_date + ' ' + '17:00'
2331
                     preTime = this.record_date + ' ' + '17:00'
2316
                   }
2332
                   }
2333
+
2334
+                  if(this.$store.getters.xt_user.org.id == 10510){
2335
+                    preTime = nowTime
2336
+                  }
2317
                 }
2337
                 }
2318
 
2338
 
2319
                 if(nowTime.split(" ")[0] != this.record_date){
2339
                 if(nowTime.split(" ")[0] != this.record_date){
2326
                   }else if(this.schedule.schedule_type == 2){
2346
                   }else if(this.schedule.schedule_type == 2){
2327
                     if(this.org_id == 10206  || this.org_id == 0){
2347
                     if(this.org_id == 10206  || this.org_id == 0){
2328
                       preTime = this.record_date + ' ' + '10:30'
2348
                       preTime = this.record_date + ' ' + '10:30'
2349
+                    }else if(this.org_id == 10598){
2350
+                      preTime = this.record_date + ' ' + '09:00'
2351
+
2329
                     }else {
2352
                     }else {
2330
                       preTime = this.record_date + ' ' + '11:00'
2353
                       preTime = this.record_date + ' ' + '11:00'
2331
                     }
2354
                     }
2382
                 }else if(this.schedule.schedule_type == 2){
2405
                 }else if(this.schedule.schedule_type == 2){
2383
                   if(this.org_id == 10206  || this.org_id == 0){
2406
                   if(this.org_id == 10206  || this.org_id == 0){
2384
                     preTime = this.record_date + ' ' + '10:30'
2407
                     preTime = this.record_date + ' ' + '10:30'
2408
+                  }else if(this.org_id == 10598){
2409
+                    preTime = this.record_date + ' ' + '09:00'
2410
+
2385
                   }else {
2411
                   }else {
2386
                     preTime = this.record_date + ' ' + '11:00'
2412
                     preTime = this.record_date + ' ' + '11:00'
2387
                   }
2413
                   }
2688
                         } else if (this.schedule.schedule_type == 2) {
2714
                         } else if (this.schedule.schedule_type == 2) {
2689
                           if(this.org_id == 10206  || this.org_id == 0){
2715
                           if(this.org_id == 10206  || this.org_id == 0){
2690
                             preTime = this.record_date + ' ' + '10:30'
2716
                             preTime = this.record_date + ' ' + '10:30'
2717
+                          }else if(this.org_id == 10598){
2718
+                            preTime = this.record_date + ' ' + '09:00'
2719
+
2691
                           }else{
2720
                           }else{
2692
                             preTime = this.record_date + ' ' + '11:00'
2721
                             preTime = this.record_date + ' ' + '11:00'
2693
                           }
2722
                           }
2697
                       } else {
2726
                       } else {
2698
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
2727
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
2699
                       }
2728
                       }
2729
+
2730
+                      if(this.$store.getters.xt_user.org.id == 10510){
2731
+                        preTime = nowTime
2732
+                      }
2700
                     } else {
2733
                     } else {
2701
                       if (prescription.pre_time == 0) {
2734
                       if (prescription.pre_time == 0) {
2702
                         if(nowTime.split(" ")[0] != this.record_date){
2735
                         if(nowTime.split(" ")[0] != this.record_date){
2709
                           }else if(this.schedule.schedule_type == 2){
2742
                           }else if(this.schedule.schedule_type == 2){
2710
                             if(this.org_id == 10206  || this.org_id == 0){
2743
                             if(this.org_id == 10206  || this.org_id == 0){
2711
                               preTime = this.record_date + ' ' + '10:30'
2744
                               preTime = this.record_date + ' ' + '10:30'
2745
+                            }else if(this.org_id == 10598){
2746
+                              preTime = this.record_date + ' ' + '09:00'
2747
+
2712
                             }else {
2748
                             }else {
2713
                               preTime = this.record_date + ' ' + '11:00'
2749
                               preTime = this.record_date + ' ' + '11:00'
2714
                             }
2750
                             }
2876
                         } else if (this.schedule.schedule_type == 2) {
2912
                         } else if (this.schedule.schedule_type == 2) {
2877
                           if(this.org_id == 10206  || this.org_id == 0){
2913
                           if(this.org_id == 10206  || this.org_id == 0){
2878
                             preTime =this.record_date + ' ' + '10:30'
2914
                             preTime =this.record_date + ' ' + '10:30'
2879
-                          }else{
2915
+                          }else if(this.org_id == 10598){
2916
+                            preTime = this.record_date + ' ' + '09:00'
2880
 
2917
 
2918
+                          }else{
2881
                             preTime = this.record_date + ' ' + '11:00'
2919
                             preTime = this.record_date + ' ' + '11:00'
2882
-
2883
                           }
2920
                           }
2884
                         } else if (this.schedule.schedule_type == 3) {
2921
                         } else if (this.schedule.schedule_type == 3) {
2885
                           preTime = this.record_date + ' ' + '17:00'
2922
                           preTime = this.record_date + ' ' + '17:00'
2886
                         }
2923
                         }
2924
+
2925
+                        if(this.$store.getters.xt_user.org.id == 10510){
2926
+                          preTime = nowTime
2927
+                        }
2887
                       }
2928
                       }
2888
                       if(nowTime.split(" ")[0] != this.record_date){
2929
                       if(nowTime.split(" ")[0] != this.record_date){
2889
                         if(this.schedule.schedule_type == 1){
2930
                         if(this.schedule.schedule_type == 1){
2895
                         }else if(this.schedule.schedule_type == 2){
2936
                         }else if(this.schedule.schedule_type == 2){
2896
                           if(this.org_id == 10206  || this.org_id == 0){
2937
                           if(this.org_id == 10206  || this.org_id == 0){
2897
                             preTime = this.record_date + ' ' + '10:30'
2938
                             preTime = this.record_date + ' ' + '10:30'
2939
+                          }else if(this.org_id == 10598){
2940
+                            preTime = this.record_date + ' ' + '09:00'
2941
+
2898
                           }else {
2942
                           }else {
2899
                             preTime = this.record_date + ' ' + '11:00'
2943
                             preTime = this.record_date + ' ' + '11:00'
2900
                           }
2944
                           }
2944
                       }else if(this.schedule.schedule_type == 2){
2988
                       }else if(this.schedule.schedule_type == 2){
2945
                         if(this.org_id == 10206  || this.org_id == 0){
2989
                         if(this.org_id == 10206  || this.org_id == 0){
2946
                           preTime = this.record_date + ' ' + '10:30'
2990
                           preTime = this.record_date + ' ' + '10:30'
2991
+                        } else if(this.org_id == 10598){
2992
+                          preTime = this.record_date + ' ' + '09:00'
2993
+
2947
                         }else {
2994
                         }else {
2948
                           preTime = this.record_date + ' ' + '11:00'
2995
                           preTime = this.record_date + ' ' + '11:00'
2949
                         }
2996
                         }
3331
                         }else if(this.schedule.schedule_type == 2){
3378
                         }else if(this.schedule.schedule_type == 2){
3332
                           if(this.org_id == 10206  || this.org_id == 0){
3379
                           if(this.org_id == 10206  || this.org_id == 0){
3333
                             preTime = this.record_date + ' ' + '10:30'
3380
                             preTime = this.record_date + ' ' + '10:30'
3381
+                          }else if(this.org_id == 10598){
3382
+                            preTime = this.record_date + ' ' + '09:00'
3383
+
3334
                           }else {
3384
                           }else {
3335
                             preTime = this.record_date + ' ' + '11:00'
3385
                             preTime = this.record_date + ' ' + '11:00'
3336
                           }
3386
                           }
3488
                         }else if(this.schedule.schedule_type == 2){
3538
                         }else if(this.schedule.schedule_type == 2){
3489
                           if(this.org_id == 10206  || this.org_id == 0){
3539
                           if(this.org_id == 10206  || this.org_id == 0){
3490
                             preTime = this.record_date + ' ' + '10:30'
3540
                             preTime = this.record_date + ' ' + '10:30'
3541
+                          }else if(this.org_id == 10598){
3542
+                            preTime = this.record_date + ' ' + '09:00'
3543
+
3491
                           }else {
3544
                           }else {
3492
                             preTime = this.record_date + ' ' + '11:00'
3545
                             preTime = this.record_date + ' ' + '11:00'
3493
                           }
3546
                           }
3535
                       }else if(this.schedule.schedule_type == 2){
3588
                       }else if(this.schedule.schedule_type == 2){
3536
                         if(this.org_id == 10206  || this.org_id == 0){
3589
                         if(this.org_id == 10206  || this.org_id == 0){
3537
                           preTime = this.record_date + ' ' + '10:30'
3590
                           preTime = this.record_date + ' ' + '10:30'
3591
+                        }else if(this.org_id == 10598){
3592
+                          preTime = this.record_date + ' ' + '09:00'
3593
+
3538
                         }else {
3594
                         }else {
3539
                           preTime = this.record_date + ' ' + '11:00'
3595
                           preTime = this.record_date + ' ' + '11:00'
3540
                         }
3596
                         }
3908
                       }else if(this.schedule.schedule_type == 2){
3964
                       }else if(this.schedule.schedule_type == 2){
3909
                         if(this.org_id == 10206  || this.org_id == 0){
3965
                         if(this.org_id == 10206  || this.org_id == 0){
3910
                           preTime = this.record_date + ' ' + '10:30'
3966
                           preTime = this.record_date + ' ' + '10:30'
3967
+                        }else if(this.org_id == 10598){
3968
+                          preTime = this.record_date + ' ' + '09:00'
3969
+
3911
                         }else {
3970
                         }else {
3912
                           preTime = this.record_date + ' ' + '11:00'
3971
                           preTime = this.record_date + ' ' + '11:00'
3913
                         }
3972
                         }
4064
                       }else if(this.schedule.schedule_type == 2){
4123
                       }else if(this.schedule.schedule_type == 2){
4065
                         if(this.org_id == 10206  || this.org_id == 0){
4124
                         if(this.org_id == 10206  || this.org_id == 0){
4066
                           preTime = this.record_date + ' ' + '10:30'
4125
                           preTime = this.record_date + ' ' + '10:30'
4126
+                        }else if(this.org_id == 10598){
4127
+                          preTime = this.record_date + ' ' + '09:00'
4128
+
4067
                         }else {
4129
                         }else {
4068
                           preTime = this.record_date + ' ' + '11:00'
4130
                           preTime = this.record_date + ' ' + '11:00'
4069
                         }
4131
                         }
4112
                     }else if(this.schedule.schedule_type == 2){
4174
                     }else if(this.schedule.schedule_type == 2){
4113
                       if(this.org_id == 10206  || this.org_id == 0){
4175
                       if(this.org_id == 10206  || this.org_id == 0){
4114
                         preTime = this.record_date + ' ' + '10:30'
4176
                         preTime = this.record_date + ' ' + '10:30'
4177
+                      }else if(this.org_id == 10598){
4178
+                        preTime = this.record_date + ' ' + '09:00'
4179
+
4115
                       }else {
4180
                       }else {
4116
                         preTime = this.record_date + ' ' + '11:00'
4181
                         preTime = this.record_date + ' ' + '11:00'
4117
                       }
4182
                       }
4577
                           if(this.org_id == 10206  || this.org_id == 0){
4642
                           if(this.org_id == 10206  || this.org_id == 0){
4578
                             preTime = this.record_date + ' ' + '10:30'
4643
                             preTime = this.record_date + ' ' + '10:30'
4579
 
4644
 
4645
+                          }else if(this.org_id == 10598){
4646
+                            preTime = this.record_date + ' ' + '09:00'
4647
+
4580
                           }else {
4648
                           }else {
4581
                             preTime = this.record_date + ' ' + '11:00'
4649
                             preTime = this.record_date + ' ' + '11:00'
4582
                           }
4650
                           }
4586
                       } else {
4654
                       } else {
4587
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
4655
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
4588
                       }
4656
                       }
4657
+
4658
+                      if(this.$store.getters.xt_user.org.id == 10510){
4659
+                        preTime = nowTime
4660
+                      }
4589
                     } else {
4661
                     } else {
4590
                       console.log("0---00000000000")
4662
                       console.log("0---00000000000")
4591
                       if (prescription.pre_time == 0) {
4663
                       if (prescription.pre_time == 0) {
4600
                           }else if(this.schedule.schedule_type == 2){
4672
                           }else if(this.schedule.schedule_type == 2){
4601
                             if(this.org_id == 10206  || this.org_id == 0){
4673
                             if(this.org_id == 10206  || this.org_id == 0){
4602
                               preTime = this.record_date + ' ' + '10:30'
4674
                               preTime = this.record_date + ' ' + '10:30'
4675
+                            }else if(this.org_id == 10598){
4676
+                              preTime = this.record_date + ' ' + '09:00'
4677
+
4603
                             }else {
4678
                             }else {
4604
                               preTime = this.record_date + ' ' + '11:00'
4679
                               preTime = this.record_date + ' ' + '11:00'
4605
                             }
4680
                             }
4764
                         } else if (this.schedule.schedule_type == 2) {
4839
                         } else if (this.schedule.schedule_type == 2) {
4765
                           if(this.org_id == 10206  || this.org_id == 0){
4840
                           if(this.org_id == 10206  || this.org_id == 0){
4766
                             preTime = this.record_date + ' ' + '10:30'
4841
                             preTime = this.record_date + ' ' + '10:30'
4842
+                          }else if(this.org_id == 10598){
4843
+                            preTime = this.record_date + ' ' + '09:00'
4844
+
4767
                           }else{
4845
                           }else{
4768
                             preTime = this.record_date + ' ' + '11:00'
4846
                             preTime = this.record_date + ' ' + '11:00'
4769
                           }
4847
                           }
4770
                         } else if (this.schedule.schedule_type == 3) {
4848
                         } else if (this.schedule.schedule_type == 3) {
4771
                           preTime = this.record_date + ' ' + '17:00'
4849
                           preTime = this.record_date + ' ' + '17:00'
4772
                         }
4850
                         }
4851
+
4852
+                        if(this.$store.getters.xt_user.org.id == 10510){
4853
+                          preTime = nowTime
4854
+                        }
4773
                       }
4855
                       }
4774
                       if(nowTime.split(" ")[0] != this.record_date){
4856
                       if(nowTime.split(" ")[0] != this.record_date){
4775
                         if(this.schedule.schedule_type == 1){
4857
                         if(this.schedule.schedule_type == 1){
4781
                         }else if(this.schedule.schedule_type == 2){
4863
                         }else if(this.schedule.schedule_type == 2){
4782
                           if(this.org_id == 10206  || this.org_id == 0){
4864
                           if(this.org_id == 10206  || this.org_id == 0){
4783
                             preTime = this.record_date + ' ' + '10:30'
4865
                             preTime = this.record_date + ' ' + '10:30'
4866
+                          }else if(this.org_id == 10598){
4867
+                            preTime = this.record_date + ' ' + '09:00'
4868
+
4784
                           }else {
4869
                           }else {
4785
                             preTime = this.record_date + ' ' + '11:00'
4870
                             preTime = this.record_date + ' ' + '11:00'
4786
                           }
4871
                           }
4836
                       }else if(this.schedule.schedule_type == 2){
4921
                       }else if(this.schedule.schedule_type == 2){
4837
                         if(this.org_id == 10206  || this.org_id == 0){
4922
                         if(this.org_id == 10206  || this.org_id == 0){
4838
                           preTime = this.record_date + ' ' + '10:30'
4923
                           preTime = this.record_date + ' ' + '10:30'
4924
+                        }else if(this.org_id == 10598){
4925
+                          preTime = this.record_date + ' ' + '09:00'
4926
+
4839
                         }else {
4927
                         }else {
4840
                           preTime = this.record_date + ' ' + '11:00'
4928
                           preTime = this.record_date + ' ' + '11:00'
4841
                         }
4929
                         }
5200
                         } else if (this.schedule.schedule_type == 2) {
5288
                         } else if (this.schedule.schedule_type == 2) {
5201
                           if(this.org_id == 10206  || this.org_id == 0){
5289
                           if(this.org_id == 10206  || this.org_id == 0){
5202
                             preTime =this.record_date + ' ' + '10:30'
5290
                             preTime =this.record_date + ' ' + '10:30'
5291
+                          }else if(this.org_id == 10598){
5292
+                            preTime = this.record_date + ' ' + '09:00'
5293
+
5203
                           }else{
5294
                           }else{
5204
                             preTime = this.record_date + ' ' + '11:00'
5295
                             preTime = this.record_date + ' ' + '11:00'
5205
 
5296
 
5210
                       } else {
5301
                       } else {
5211
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
5302
                         preTime = this.getTime(prescription.pre_time, '{y}-{m}-{d} {h}:{i}')
5212
                       }
5303
                       }
5304
+
5305
+                      if(this.$store.getters.xt_user.org.id == 10510){
5306
+                        preTime = nowTime
5307
+                      }
5213
                     } else {
5308
                     } else {
5214
                       if (prescription.pre_time == 0) {
5309
                       if (prescription.pre_time == 0) {
5215
                         preTime = nowTime
5310
                         preTime = nowTime
5223
                           }else if(this.schedule.schedule_type == 2){
5318
                           }else if(this.schedule.schedule_type == 2){
5224
                             if(this.org_id == 10206  || this.org_id == 0){
5319
                             if(this.org_id == 10206  || this.org_id == 0){
5225
                               preTime = this.record_date + ' ' + '10:30'
5320
                               preTime = this.record_date + ' ' + '10:30'
5321
+                            }else if(this.org_id == 10598){
5322
+                              preTime = this.record_date + ' ' + '09:00'
5323
+
5226
                             }else {
5324
                             }else {
5227
                               preTime = this.record_date + ' ' + '11:00'
5325
                               preTime = this.record_date + ' ' + '11:00'
5228
                             }
5326
                             }
5389
                           if(this.org_id == 10206 ||  this.org_id == 0){
5487
                           if(this.org_id == 10206 ||  this.org_id == 0){
5390
                             preTime = this.record_date + ' ' + '10:30'
5488
                             preTime = this.record_date + ' ' + '10:30'
5391
 
5489
 
5490
+                          }else if(this.org_id == 10598){
5491
+                            preTime = this.record_date + ' ' + '09:00'
5492
+
5392
                           }else{
5493
                           }else{
5393
                             preTime = this.record_date + ' ' + '11:00'
5494
                             preTime = this.record_date + ' ' + '11:00'
5394
                           }
5495
                           }
5395
                         } else if (this.schedule.schedule_type == 3) {
5496
                         } else if (this.schedule.schedule_type == 3) {
5396
                           preTime = this.record_date + ' ' + '17:00'
5497
                           preTime = this.record_date + ' ' + '17:00'
5397
                         }
5498
                         }
5499
+
5500
+                        if(this.$store.getters.xt_user.org.id == 10510){
5501
+                          preTime = nowTime
5502
+                        }
5398
                       }
5503
                       }
5399
                       if(nowTime.split(" ")[0] != this.record_date){
5504
                       if(nowTime.split(" ")[0] != this.record_date){
5400
                         if(this.schedule.schedule_type == 1){
5505
                         if(this.schedule.schedule_type == 1){
5406
                         }else if(this.schedule.schedule_type == 2){
5511
                         }else if(this.schedule.schedule_type == 2){
5407
                           if(this.org_id == 10206  || this.org_id == 0){
5512
                           if(this.org_id == 10206  || this.org_id == 0){
5408
                             preTime = this.record_date + ' ' + '10:30'
5513
                             preTime = this.record_date + ' ' + '10:30'
5514
+                          }else if(this.org_id == 10598){
5515
+                            preTime = this.record_date + ' ' + '09:00'
5516
+
5409
                           }else {
5517
                           }else {
5410
                             preTime = this.record_date + ' ' + '11:00'
5518
                             preTime = this.record_date + ' ' + '11:00'
5411
                           }
5519
                           }
5460
                       }else if(this.schedule.schedule_type == 2){
5568
                       }else if(this.schedule.schedule_type == 2){
5461
                         if(this.org_id == 10206  || this.org_id == 0){
5569
                         if(this.org_id == 10206  || this.org_id == 0){
5462
                           preTime = this.record_date + ' ' + '10:30'
5570
                           preTime = this.record_date + ' ' + '10:30'
5571
+                        }else if(this.org_id == 10598){
5572
+                          preTime = this.record_date + ' ' + '09:00'
5573
+
5463
                         }else {
5574
                         }else {
5464
                           preTime = this.record_date + ' ' + '11:00'
5575
                           preTime = this.record_date + ' ' + '11:00'
5465
                         }
5576
                         }