Bladeren bron

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

28169 7 maanden geleden
bovenliggende
commit
ebc76e3e7c

+ 6 - 3
src/xt_pages/eleFaPiao/newSettleDetail.vue Bestand weergeven

151
 <!--              开票-->
151
 <!--              开票-->
152
 <!--            </el-button>-->
152
 <!--            </el-button>-->
153
             <el-button v-if="scope.row.result.id == 0" size="mini" type="primary"
153
             <el-button v-if="scope.row.result.id == 0" size="mini" type="primary"
154
-                       @click="blueDailog()">
154
+                       @click="blueDailog(scope.row)">
155
               开票
155
               开票
156
             </el-button>
156
             </el-button>
157
             <el-button v-if="scope.row.result.id == 0 && scope.row.result.fapiao_status == 1" disabled="true" size="mini" type="primary"
157
             <el-button v-if="scope.row.result.id == 0 && scope.row.result.fapiao_status == 1" disabled="true" size="mini" type="primary"
333
         }
333
         }
334
       }).catch(function(error) {
334
       }).catch(function(error) {
335
       })
335
       })
336
-    },blueDailog(){
336
+    },blueDailog(row){
337
+      this.selecting_schs.push(row.id)
338
+      console.log(this.selecting_schs)
337
       var order_ids = ""
339
       var order_ids = ""
338
       for(let i = 0; i < this.selecting_schs.length;i++){
340
       for(let i = 0; i < this.selecting_schs.length;i++){
339
         if(order_ids.length == 0){
341
         if(order_ids.length == 0){
351
       this.settlementVisible = true
353
       this.settlementVisible = true
352
       this.paramsObj = paramsObj
354
       this.paramsObj = paramsObj
353
     },
355
     },
354
-    blue(){
356
+    blue(row){
357
+
355
       var order_ids = ""
358
       var order_ids = ""
356
       for(let i = 0; i < this.selecting_schs.length;i++){
359
       for(let i = 0; i < this.selecting_schs.length;i++){
357
         if(order_ids.length == 0){
360
         if(order_ids.length == 0){

+ 290 - 1
src/xt_pages/outpatientCharges/statementPrint.vue Bestand weergeven

75
             org_id != 10610 && org_id !=10537 && org_id !=10697 &&
75
             org_id != 10610 && org_id !=10537 && org_id !=10697 &&
76
             org_id != 10278 && org_id != 10387 && org_id != 10191 &&
76
             org_id != 10278 && org_id != 10387 && org_id != 10191 &&
77
             org_id != 10210 &&org_id != 10485 &&org_id != 10480 &&
77
             org_id != 10210 &&org_id != 10485 &&org_id != 10480 &&
78
-            org_id != 10510 &&org_id != 10088 &&org_id != 10633 &&org_id != 0 && this.paramsObj.balance_accounts_type == 1">
78
+            org_id != 10510 &&org_id != 10088 && org_id != 10721 &&org_id != 10633 &&org_id != 0 && this.paramsObj.balance_accounts_type == 1">
79
       </printOne>
79
       </printOne>
80
       <privateChargePrint :info="info" v-if="org_id != 9990 &&
80
       <privateChargePrint :info="info" v-if="org_id != 9990 &&
81
             org_id != 10138 && org_id != 9504 &&  org_id != 10028 && org_id !=10697 &&
81
             org_id != 10138 && org_id != 9504 &&  org_id != 10028 && org_id !=10697 &&
1556
 
1556
 
1557
 
1557
 
1558
 
1558
 
1559
+          } if(this.org_id == 10721){
1560
+            let params = {
1561
+              order_id: obj.order_id,
1562
+              admin_user_id: this.$store.getters.xt_user.user.id
1563
+            }
1564
+            getPrivateExpensesOrder(params).then((response) => {
1565
+              if (response.data.state == 0) {
1566
+                // this.$message.error(response.data.msg)
1567
+
1568
+                return false
1569
+              } else {
1570
+                var that = this
1571
+                that.info = response.data.data.info
1572
+                that.p_admin = response.data.data.printor_admin
1573
+                that.charge_admin = response.data.data.charge_admin
1574
+                that.info['new_order'] = response.data.data.info
1575
+                that.info['p_admin'] = that.p_admin
1576
+                that.info['charge_admin'] = that.charge_admin
1577
+                that.info['order_number'] = response.data.data.order_number
1578
+                that.info['patient'] = response.data.data.patient
1579
+                that.info['date'] = response.data.data.date
1580
+                that.info['number'] = response.data.data.number
1581
+                that.info['order_infos'] = response.data.data.order_infos
1582
+                that.info['diagnosis'] = response.data.data.diagnosis
1583
+                that.info['fixmedins_name'] = response.data.data.org_name
1584
+                that.info['fixmedins_code'] = response.data.data.org_code
1585
+                // that.info["doctor_code"] = response.data.data.doctor_code;
1586
+                // that.info["department"] = response.data.data.department;
1587
+                // that.info["health_card_no"] = response.data.data.health_card_no;
1588
+
1589
+                that.info['bed_cost_total'] = response.data.data.bedCostTotal
1590
+                that.info['bed_cost_self_total'] =
1591
+                  response.data.data.bedCostSelfTotal
1592
+                that.info['bed_cost_part_self_total'] =
1593
+                  response.data.data.bedCostPartSelfTotal
1594
+
1595
+                that.info['operation_cost_total'] =
1596
+                  response.data.data.operationCostTotal
1597
+                that.info['operation_cost_self_total'] =
1598
+                  response.data.data.operationCostSelfTotal
1599
+                that.info['operation_cost_part_self_total'] =
1600
+                  response.data.data.operationCostPartSelfTotal
1601
+
1602
+                that.info['other_cost_total'] = response.data.data.otherCostTotal
1603
+                that.info['other_cost_self_total'] =
1604
+                  response.data.data.otherCostSelfTotal
1605
+                that.info['other_cost_part_self_total'] =
1606
+                  response.data.data.otherCostPartSelfTotal
1607
+
1608
+                that.info['material_cost_total'] =
1609
+                  response.data.data.materialCostTotal
1610
+                that.info['material_cost_self_total'] =
1611
+                  response.data.data.materialCostSelfTotal
1612
+                that.info['material_cost_part_self_total'] =
1613
+                  response.data.data.materialCostPartSelfTotal
1614
+
1615
+                that.info['western_medicine_cost_total'] =
1616
+                  response.data.data.westernMedicineCostTotal
1617
+                that.info['western_medicine_cost_self_total'] =
1618
+                  response.data.data.westernMedicineCostSelfTotal
1619
+                that.info['western_medicine_cost_part_self_total'] =
1620
+                  response.data.data.westernMedicineCostPartSelfTotal
1621
+
1622
+                that.info['chinese_traditional_medicine_cost_total'] =
1623
+                  response.data.data.chineseTraditionalMedicineCostTotal
1624
+                that.info['chinese_traditional_medicine_cost_self_total'] =
1625
+                  response.data.data.chineseTraditionalMedicineCostSelfTotal
1626
+                that.info['chinese_traditional_medicine_cost_part_self_total'] =
1627
+                  response.data.data.chineseTraditionalMedicineCostPartSelfTotal
1628
+
1629
+                that.info['check_cost_total'] = response.data.data.checkCostTotal
1630
+                that.info['check_cost_self_total'] =
1631
+                  response.data.data.checkCostSelfTotal
1632
+                that.info['check_cost_part_self_total'] =
1633
+                  response.data.data.checkCostPartSelfTotal
1634
+
1635
+                that.info['laboratory_cost_total'] =
1636
+                  response.data.data.laboratoryCostTotal
1637
+                that.info['laboratory_cost_self_total'] =
1638
+                  response.data.data.laboratoryCostSelfTotal
1639
+                that.info['laboratory_cost_part_self_total'] =
1640
+                  response.data.data.laboratoryCostPartSelfTotal
1641
+
1642
+                that.info['treat_cost_total'] = response.data.data.treatCostTotal
1643
+                that.info['treat_cost_self_total'] =
1644
+                  response.data.data.treatCostSelfTotal
1645
+                that.info['treat_cost_part_self_total'] =
1646
+                  response.data.data.treatCostPartSelfTotal
1647
+
1648
+
1649
+
1650
+                that.info['date'] = response.data.data.date
1651
+                that.info['number'] = response.data.data.number
1652
+                that.info['order_infos'] = response.data.data.order_infos
1653
+                that.info['diagnosis'] = response.data.data.diagnosis
1654
+                that.info['his'] = response.data.data.his
1655
+                that.info['dia_config'] = response.data.data.dia_config
1656
+
1657
+
1658
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
1659
+                  if (response.data.data.order_infos[i].advice_id > 0 && response.data.data.order_infos[i].project_id == 0) {
1660
+                    response.data.data.order_infos[i].med_chrgitm_type = '09'
1661
+                  }
1662
+                  if (response.data.data.order_infos[i].advice_id == 0 && response.data.data.order_infos[i].project_id > 0) {
1663
+                    if (response.data.data.order_infos[i].project.type == 2) { //项目
1664
+                      if (response.data.data.order_infos[i].project.project.cost_classify == 2) {
1665
+                        response.data.data.order_infos[i].med_chrgitm_type = '05'
1666
+                      } else if (response.data.data.order_infos[i].project.project.cost_classify == 3) {
1667
+                        response.data.data.order_infos[i].med_chrgitm_type = '04'
1668
+                      } else {
1669
+                        response.data.data.order_infos[i].med_chrgitm_type = '14'
1670
+                      }
1671
+                    } else if (response.data.data.order_infos[i].project.type == 3) { //耗材
1672
+                      response.data.data.order_infos[i].med_chrgitm_type = '08'
1673
+                    }
1674
+                  }
1675
+                }
1676
+                console.log(response.data.data.order_infos)
1677
+                console.log(that.info)
1678
+
1679
+                let list = []
1680
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
1681
+                  let order = response.data.data.order_infos[i]
1682
+                  let obj = {
1683
+                    name: '',
1684
+                    spec: '',
1685
+                    cnt: '',
1686
+                    det_item_fee_sumamt: '',
1687
+                    price:'',
1688
+                  }
1689
+
1690
+                  if (order.advice_id > 0 && order.project_id == 0) {
1691
+                    obj.name = order.advice.advice_name
1692
+                    let spec = order.advice.drug.dose + order.advice.drug.dose_unit + '*' + order.advice.drug.min_number + order.advice.drug.min_unit + '/' + order.advice.drug.max_unit
1693
+                    obj.spec = spec
1694
+                    obj.cnt = order.cnt
1695
+                    obj.det_item_fee_sumamt = order.det_item_fee_sumamt
1696
+                    obj.price = order.pric
1697
+                    list.push(obj)
1698
+
1699
+                  } else if (order.advice_id == 0 && order.project_id > 0) {
1700
+                    if (order.project.type == 2) {
1701
+                      obj.name = order.project.project.project_name
1702
+                      obj.spec = ''
1703
+                      obj.cnt = order.cnt
1704
+                      obj.det_item_fee_sumamt = order.det_item_fee_sumamt
1705
+                      obj.price = order.pric
1706
+                    } else {
1707
+                      obj.name = order.project.good_info.good_name
1708
+                      obj.spec = order.project.good_info.specification_name
1709
+                      obj.cnt = order.cnt
1710
+                      obj.det_item_fee_sumamt = order.det_item_fee_sumamt
1711
+                      obj.price = order.pric
1712
+                    }
1713
+                    list.push(obj)
1714
+                  }
1715
+
1716
+                }
1717
+                that.info['Z_list'] = list
1718
+
1719
+                //获取所有项目类型进行去重
1720
+                let med_chrgitm_types = []
1721
+                for (let i = 0; i < response.data.data.order_infos.length; i++) {
1722
+                  med_chrgitm_types.push(response.data.data.order_infos[i].med_chrgitm_type)
1723
+                }
1724
+                const obj10 = {}
1725
+                med_chrgitm_types = med_chrgitm_types.reduce((cur, next) => {
1726
+                  obj10[next] ? '' : obj10[next] = true && cur.push(next)
1727
+                  return cur
1728
+                }, []) // 设置cur默认类型为数组,并且初始值为空的数组
1729
+                let tempOrderInfo = []
1730
+                for (let i = 0; i < med_chrgitm_types.length; i++) {
1731
+
1732
+                  let obj9 = {
1733
+                    details: [],
1734
+                    med_chrgitm_name: that.getType(med_chrgitm_types[i]),
1735
+                    total:0,
1736
+                  }
1737
+
1738
+                  // if(med_chrgitm_types[i] == '09'){
1739
+                  //   obj.sort = 99
1740
+                  // } else if(med_chrgitm_types[i] == '05'){
1741
+                  //   obj.sort = 98
1742
+                  // } else if(med_chrgitm_types[i] == '08'){
1743
+                  //   obj.sort = 97
1744
+                  // }else if(med_chrgitm_types[i] == '03'){
1745
+                  //   obj.sort = 96
1746
+                  // }
1747
+
1748
+                  let tempDetails = []
1749
+                  for (let b = 0; b < response.data.data.order_infos.length; b++) {
1750
+                    if (med_chrgitm_types[i] == response.data.data.order_infos[b].med_chrgitm_type) {
1751
+                      tempDetails.push(response.data.data.order_infos[b])
1752
+                    }
1753
+                  }
1754
+                  console.log(med_chrgitm_types[i])
1755
+                  console.log(tempDetails)
1756
+                  obj9.total = that.getTotal(tempDetails)
1757
+                  obj9.details = that.set10265NewData(tempDetails)
1758
+                  list.push(obj9)
1759
+                }
1760
+                that.info['new_list'] = list
1761
+                // list.sort((a,b) => a.sort < b.sort ? 1 : a.sort > b.sort ? -1 : 0)
1762
+
1763
+                let obj = {
1764
+                  type: 1,
1765
+                  details: [],
1766
+                  total: 0
1767
+                }
1768
+                let obj2 = {
1769
+                  type: 2,
1770
+                  details: [],
1771
+                  total: 0
1772
+                }
1773
+                let obj3 = {
1774
+                  type: 3,
1775
+                  details: [],
1776
+                  total: 0
1777
+                }
1778
+
1779
+                let obj4 = {
1780
+                  type: 4,
1781
+                  details: [],
1782
+                  total: 0
1783
+                }
1784
+                let num = 0
1785
+                that.info.order_infos.map((item) => {
1786
+                  if (item.advice_id > 0) {
1787
+                    obj.details.push(item)
1788
+                    obj.total += item.pric * item.advice.prescribing_number
1789
+                    num++
1790
+                  } else {
1791
+                    if (item.project.type == 2) {
1792
+                      obj2.details.push(item)
1793
+                      obj2.total += item.pric * item.project.count
1794
+                      num++
1795
+                    } else {
1796
+                      obj3.details.push(item)
1797
+                      obj3.total += item.pric * item.project.count
1798
+                      num++
1799
+                    }
1800
+                  }
1801
+                })
1802
+
1803
+                // this.info.order_infos.map(item => {
1804
+                //   obj4.total = item.Total
1805
+                //   obj4.details.push(item)
1806
+                //   num++
1807
+                //
1808
+                // })
1809
+                var funds = []
1810
+                for(let i = 0; i <  response.data.data.funds.length; i++){
1811
+                  var objs = {}
1812
+                  objs["number"] = i + 1
1813
+                  objs["fund_pay"] = response.data.data.funds[i].fund_payamt
1814
+                  objs["limit_pay"] = response.data.data.funds[i].inscp_scp_amt
1815
+                  objs["insp_pay"] = response.data.data.funds[i].inscp_scp_amt
1816
+                  for(let b = 0; b < that.fundsArray.length; b++){
1817
+                    if(response.data.data.funds[i].fund_pay_type ==  that.fundsArray[b].code){
1818
+                      objs["name"] =that.fundsArray[b].name
1819
+                    }
1820
+                  }
1821
+                  funds.push(objs)
1822
+                }
1823
+                that.info['funds'] = funds
1824
+                console.log(that.info)
1825
+
1826
+                that.info.new_detail_list = []
1827
+                that.info.new_detail_list.push(obj)
1828
+                that.info.new_detail_list.push(obj2)
1829
+                that.info.new_detail_list.push(obj3)
1830
+                // that.info.new_detail_list.push(obj4)
1831
+
1832
+                that.num = num
1833
+
1834
+                if (that.paramsObj.settle_type != 1) {
1835
+                  that.info.begndate = that.getTimes(that.paramsObj.start_time)
1836
+                  that.info.enddate = that.getTimes(that.paramsObj.end_time)
1837
+                }
1838
+
1839
+                that.info.order_infos.map((item) => {
1840
+
1841
+                })
1842
+
1843
+              }
1844
+            })
1845
+
1846
+
1847
+
1559
           }else{
1848
           }else{
1560
             var that = this
1849
             var that = this
1561
             axios
1850
             axios

+ 2 - 2
src/xt_pages/outpatientCharges/statementTemplate/printSeventheen.vue Bestand weergeven

29
         <div style="flex: 1;text-align: right;">收费员:{{info.charge_admin.user_name}}</div>
29
         <div style="flex: 1;text-align: right;">收费员:{{info.charge_admin.user_name}}</div>
30
       </div>
30
       </div>
31
       <div style="width: 100%;display: flex;padding: 5px 0;">
31
       <div style="width: 100%;display: flex;padding: 5px 0;">
32
-        <div style="flex: 1;">帐户支付总额:{{info.new_order.medfee_sumamt}}</div>
32
+        <div style="flex: 1;">帐户支付总额:{{info.new_order.acct_pay}}</div>
33
         <div style="flex: 1;text-align: right;">现金支付:{{info.new_order.psn_cash_pay}}</div>
33
         <div style="flex: 1;text-align: right;">现金支付:{{info.new_order.psn_cash_pay}}</div>
34
       </div>
34
       </div>
35
       <div style="width: 100%;display: flex;">
35
       <div style="width: 100%;display: flex;">
42
       </div>
42
       </div>
43
       <div style="width: 100%;display: flex;">
43
       <div style="width: 100%;display: flex;">
44
         <div style="flex: 1;">大病保险支付:{{info.new_order.hifmi_pay}}</div>
44
         <div style="flex: 1;">大病保险支付:{{info.new_order.hifmi_pay}}</div>
45
-        <div style="flex: 1;text-align: right;">账户余额:{{info.new_order.acct_pay}}</div>
45
+        <div style="flex: 1;text-align: right;">账户余额:{{info.new_order.blac}}</div>
46
       </div>
46
       </div>
47
 
47
 
48
      <!-- <div style="border: 1px solid black;width: 100%;">
48
      <!-- <div style="border: 1px solid black;width: 100%;">

+ 181 - 15
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Bestand weergeven

944
         } else {
944
         } else {
945
           //挂号
945
           //挂号
946
           console.log('response.data.data12121212134',response.data.data);
946
           console.log('response.data.data12121212134',response.data.data);
947
-          
947
+
948
           for (let i = 0; i < response.data.data.list.length; i++) {
948
           for (let i = 0; i < response.data.data.list.length; i++) {
949
             for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
949
             for (let b = 0; b < response.data.data.list[i].his_patient.length; b++) {
950
               //未就诊
950
               //未就诊
1885
 
1885
 
1886
           this.all_data = this.all_data.concat(this.cure_data)
1886
           this.all_data = this.all_data.concat(this.cure_data)
1887
           this.all_data = this.all_data.concat(this.un_cure_data)
1887
           this.all_data = this.all_data.concat(this.un_cure_data)
1888
-          
1889
-          
1888
+
1889
+
1890
           this.cure_data_two = this.cure_data
1890
           this.cure_data_two = this.cure_data
1891
           this.un_cure_data_two = this.un_cure_data
1891
           this.un_cure_data_two = this.un_cure_data
1892
           this.all_data_two = this.all_data
1892
           this.all_data_two = this.all_data
2132
 
2132
 
2133
 
2133
 
2134
               var preTime = nowTime
2134
               var preTime = nowTime
2135
-              if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375) {
2135
+              if ( this.$store.getters.xt_user.org.id != 9919 && this.$store.getters.xt_user.org.id != 10485 && this.$store.getters.xt_user.org.id != 10191 && this.$store.getters.xt_user.org.id != 10375 ) {
2136
                 if (prescription.pre_time == 0) {
2136
                 if (prescription.pre_time == 0) {
2137
                   if (this.schedule.schedule_type == 1) {
2137
                   if (this.schedule.schedule_type == 1) {
2138
                     if (this.org_id == 10028 || this.org_id == 10571  || this.org_id == 10633) {
2138
                     if (this.org_id == 10028 || this.org_id == 10571  || this.org_id == 10633) {
2139
                       preTime = this.record_date + ' ' + '6:30'
2139
                       preTime = this.record_date + ' ' + '6:30'
2140
                     } else if(this.org_id == 10206 || this.org_id == 10598){
2140
                     } else if(this.org_id == 10206 || this.org_id == 10598){
2141
                       preTime = this.record_date + ' ' + '6:00'
2141
                       preTime = this.record_date + ' ' + '6:00'
2142
+                    }else if(this.org_id == 10721){
2143
+                      preTime = this.record_date + ' ' + '05:30'
2142
                     } else {
2144
                     } else {
2143
                       preTime = this.record_date + ' ' + '7:00'
2145
                       preTime = this.record_date + ' ' + '7:00'
2144
 
2146
 
2149
                     }else if(this.org_id == 10598){
2151
                     }else if(this.org_id == 10598){
2150
                        preTime = this.record_date + ' ' + '09:00'
2152
                        preTime = this.record_date + ' ' + '09:00'
2151
 
2153
 
2154
+                     }else if(this.org_id == 10721){
2155
+                       preTime = this.record_date + ' ' + '10:00'
2152
                      }else{
2156
                      }else{
2153
                      preTime = this.record_date + ' ' + '11:00'
2157
                      preTime = this.record_date + ' ' + '11:00'
2154
                    }
2158
                    }
2174
                     if(this.schedule.schedule_type == 1){
2178
                     if(this.schedule.schedule_type == 1){
2175
                       if(this.org_id == 10206   || this.org_id == 10598) {
2179
                       if(this.org_id == 10206   || this.org_id == 10598) {
2176
                         preTime = this.record_date+ ' ' + '6:00'
2180
                         preTime = this.record_date+ ' ' + '6:00'
2181
+                      } else if(this.org_id == 10721){
2182
+                        preTime = this.record_date + ' ' + '05:30'
2177
                       }else {
2183
                       }else {
2178
                         preTime = this.record_date + ' ' + '7:00'
2184
                         preTime = this.record_date + ' ' + '7:00'
2179
                       }
2185
                       }
2180
                     }else if(this.schedule.schedule_type == 2){
2186
                     }else if(this.schedule.schedule_type == 2){
2181
                       if(this.org_id == 10206  || this.org_id == 0){
2187
                       if(this.org_id == 10206  || this.org_id == 0){
2182
                         preTime = this.record_date + ' ' + '10:30'
2188
                         preTime = this.record_date + ' ' + '10:30'
2189
+                      }else if(this.org_id == 10721){
2190
+                        preTime = this.record_date + ' ' + '10:00'
2183
                       }else if(this.org_id == 10598){
2191
                       }else if(this.org_id == 10598){
2184
                         preTime = this.record_date + ' ' + '09:00'
2192
                         preTime = this.record_date + ' ' + '09:00'
2185
 
2193
 
2348
                       preTime = this.record_date + ' ' + '6:30'
2356
                       preTime = this.record_date + ' ' + '6:30'
2349
                     } else if(this.org_id == 10206  || this.org_id == 10598) {
2357
                     } else if(this.org_id == 10206  || this.org_id == 10598) {
2350
                       preTime = this.record_date+ ' ' + '6:00'
2358
                       preTime = this.record_date+ ' ' + '6:00'
2359
+                    } else if(this.org_id == 10721 ) {
2360
+                      preTime = this.record_date+ ' ' + '05:30'
2351
                     } else {
2361
                     } else {
2352
                       preTime = this.record_date + ' ' + '7:00'
2362
                       preTime = this.record_date + ' ' + '7:00'
2353
                     }
2363
                     }
2358
                     }else if(this.org_id == 10598){
2368
                     }else if(this.org_id == 10598){
2359
                       preTime = this.record_date + ' ' + '09:00'
2369
                       preTime = this.record_date + ' ' + '09:00'
2360
 
2370
 
2371
+                    }  else if(this.org_id == 10721 ) {
2372
+                      preTime = this.record_date+ ' ' + '10:00'
2361
                     }else {
2373
                     }else {
2362
                       preTime = this.record_date + ' ' + '11:00'
2374
                       preTime = this.record_date + ' ' + '11:00'
2363
                     }
2375
                     }
2374
                   if(this.schedule.schedule_type == 1){
2386
                   if(this.schedule.schedule_type == 1){
2375
                     if(this.org_id == 10206  || this.org_id == 0 ||  this.org_id == 10598) {
2387
                     if(this.org_id == 10206  || this.org_id == 0 ||  this.org_id == 10598) {
2376
                       preTime = this.record_date+ ' ' + '6:00'
2388
                       preTime = this.record_date+ ' ' + '6:00'
2389
+                    } else if(this.org_id == 10721 ) {
2390
+                      preTime = this.record_date+ ' ' + '05:30'
2377
                     }else {
2391
                     }else {
2378
                       preTime = this.record_date + ' ' + '7:00'
2392
                       preTime = this.record_date + ' ' + '7:00'
2379
                     }
2393
                     }
2383
                     }else if(this.org_id == 10598){
2397
                     }else if(this.org_id == 10598){
2384
                       preTime = this.record_date + ' ' + '09:00'
2398
                       preTime = this.record_date + ' ' + '09:00'
2385
 
2399
 
2386
-                    }else {
2400
+                    }else if(this.org_id == 10721 ) {
2401
+                      preTime = this.record_date+ ' ' + '10:00'
2402
+                    } else {
2387
                       preTime = this.record_date + ' ' + '11:00'
2403
                       preTime = this.record_date + ' ' + '11:00'
2388
                     }
2404
                     }
2389
                   }else{
2405
                   }else{
2415
                 if (obj.med_type == 0 || obj.med_type == '') {
2431
                 if (obj.med_type == 0 || obj.med_type == '') {
2416
                   if (this.org_id != 10206 && this.org_id != 0) {
2432
                   if (this.org_id != 10206 && this.org_id != 0) {
2417
                     obj.med_type = 14
2433
                     obj.med_type = 14
2434
+                    if (this.org_id == 10721){
2435
+
2436
+                      obj.med_type = 992102
2437
+                    }
2418
                   } else {
2438
                   } else {
2419
                     obj.med_type = 1
2439
                     obj.med_type = 1
2420
                   }
2440
                   }
2433
                 if(this.schedule.schedule_type == 1){
2453
                 if(this.schedule.schedule_type == 1){
2434
                   if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2454
                   if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2435
                     preTime = this.record_date+ ' ' + '6:00'
2455
                     preTime = this.record_date+ ' ' + '6:00'
2456
+                  }else if(this.org_id == 10721 ) {
2457
+                    preTime = this.record_date+ ' ' + '05:30'
2436
                   }else {
2458
                   }else {
2437
                     preTime = this.record_date + ' ' + '7:00'
2459
                     preTime = this.record_date + ' ' + '7:00'
2438
                   }
2460
                   }
2439
                 }else if(this.schedule.schedule_type == 2){
2461
                 }else if(this.schedule.schedule_type == 2){
2440
                   if(this.org_id == 10206  || this.org_id == 0){
2462
                   if(this.org_id == 10206  || this.org_id == 0){
2441
                     preTime = this.record_date + ' ' + '10:30'
2463
                     preTime = this.record_date + ' ' + '10:30'
2464
+                  }else if(this.org_id == 10721 ) {
2465
+                    preTime = this.record_date+ ' ' + '10:00'
2442
                   }else if(this.org_id == 10598){
2466
                   }else if(this.org_id == 10598){
2443
                     preTime = this.record_date + ' ' + '09:00'
2467
                     preTime = this.record_date + ' ' + '09:00'
2444
-
2445
                   }else {
2468
                   }else {
2446
                     preTime = this.record_date + ' ' + '11:00'
2469
                     preTime = this.record_date + ' ' + '11:00'
2447
                   }
2470
                   }
2466
               }
2489
               }
2467
               if (this.org_id != 10206) {
2490
               if (this.org_id != 10206) {
2468
                 obj.med_type = 14
2491
                 obj.med_type = 14
2492
+                if (this.org_id == 10721){
2493
+
2494
+                  obj.med_type = 992102
2495
+                }
2469
               }else{
2496
               }else{
2470
 
2497
 
2471
                 obj.med_type = 1
2498
                 obj.med_type = 1
2740
                             preTime = this.record_date + ' ' + '6:30'
2767
                             preTime = this.record_date + ' ' + '6:30'
2741
                           } else if(this.org_id == 10206 || this.org_id == 10598){
2768
                           } else if(this.org_id == 10206 || this.org_id == 10598){
2742
                             preTime = this.record_date + ' ' + '6:00'
2769
                             preTime = this.record_date + ' ' + '6:00'
2770
+                          } else if(this.org_id == 10721 ){
2771
+                            preTime = this.record_date + ' ' + '05:30'
2743
                           } else {
2772
                           } else {
2744
                             preTime = this.record_date + ' ' + '7:00'
2773
                             preTime = this.record_date + ' ' + '7:00'
2745
 
2774
 
2748
                         } else if (this.schedule.schedule_type == 2) {
2777
                         } else if (this.schedule.schedule_type == 2) {
2749
                           if(this.org_id == 10206  || this.org_id == 0){
2778
                           if(this.org_id == 10206  || this.org_id == 0){
2750
                             preTime = this.record_date + ' ' + '10:30'
2779
                             preTime = this.record_date + ' ' + '10:30'
2751
-                          }else if(this.org_id == 10598){
2780
+                          }else if(this.org_id == 10721 ){
2781
+                            preTime = this.record_date + ' ' + '10:00'
2782
+                          } else if(this.org_id == 10598){
2752
                             preTime = this.record_date + ' ' + '09:00'
2783
                             preTime = this.record_date + ' ' + '09:00'
2753
 
2784
 
2754
                           }else{
2785
                           }else{
2770
                           if(this.schedule.schedule_type == 1){
2801
                           if(this.schedule.schedule_type == 1){
2771
                             if(this.org_id == 10206  || this.org_id == 10598) {
2802
                             if(this.org_id == 10206  || this.org_id == 10598) {
2772
                               preTime = this.record_date+ ' ' + '6:00'
2803
                               preTime = this.record_date+ ' ' + '6:00'
2804
+                            } else if(this.org_id == 10721) {
2805
+                              preTime = this.record_date+ ' ' + '05:30'
2773
                             }else {
2806
                             }else {
2774
                               preTime = this.record_date + ' ' + '7:00'
2807
                               preTime = this.record_date + ' ' + '7:00'
2775
                             }
2808
                             }
2776
                           }else if(this.schedule.schedule_type == 2){
2809
                           }else if(this.schedule.schedule_type == 2){
2777
                             if(this.org_id == 10206  || this.org_id == 0){
2810
                             if(this.org_id == 10206  || this.org_id == 0){
2778
                               preTime = this.record_date + ' ' + '10:30'
2811
                               preTime = this.record_date + ' ' + '10:30'
2812
+                            } else if(this.org_id == 10721) {
2813
+                              preTime = this.record_date+ ' ' + '10:00'
2779
                             }else if(this.org_id == 10598){
2814
                             }else if(this.org_id == 10598){
2780
                               preTime = this.record_date + ' ' + '09:00'
2815
                               preTime = this.record_date + ' ' + '09:00'
2781
 
2816
 
2941
                             preTime = this.record_date + ' ' + '6:30'
2976
                             preTime = this.record_date + ' ' + '6:30'
2942
                           } else if(this.org_id == 10206 || this.org_id == 10598){
2977
                           } else if(this.org_id == 10206 || this.org_id == 10598){
2943
                             preTime = this.record_date + ' ' + '6:00'
2978
                             preTime = this.record_date + ' ' + '6:00'
2979
+                          } else if(this.org_id == 10721){
2980
+                            preTime = this.record_date + ' ' + '05:30'
2944
                           } else {
2981
                           } else {
2945
                             preTime = this.record_date + ' ' + '7:00'
2982
                             preTime = this.record_date + ' ' + '7:00'
2946
 
2983
 
2952
                           }else if(this.org_id == 10598){
2989
                           }else if(this.org_id == 10598){
2953
                             preTime = this.record_date + ' ' + '09:00'
2990
                             preTime = this.record_date + ' ' + '09:00'
2954
 
2991
 
2992
+                          }else if(this.org_id == 10721){
2993
+                            preTime = this.record_date + ' ' + '10:00'
2994
+
2955
                           }else{
2995
                           }else{
2956
                             preTime = this.record_date + ' ' + '11:00'
2996
                             preTime = this.record_date + ' ' + '11:00'
2957
                           }
2997
                           }
2967
                         if(this.schedule.schedule_type == 1){
3007
                         if(this.schedule.schedule_type == 1){
2968
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3008
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
2969
                             preTime = this.record_date+ ' ' + '6:00'
3009
                             preTime = this.record_date+ ' ' + '6:00'
3010
+                          } else if(this.org_id == 10721) {
3011
+                            preTime = this.record_date+ ' ' + '05:30'
2970
                           }else {
3012
                           }else {
2971
                             preTime = this.record_date + ' ' + '7:00'
3013
                             preTime = this.record_date + ' ' + '7:00'
2972
                           }
3014
                           }
2976
                           }else if(this.org_id == 10598){
3018
                           }else if(this.org_id == 10598){
2977
                             preTime = this.record_date + ' ' + '09:00'
3019
                             preTime = this.record_date + ' ' + '09:00'
2978
 
3020
 
3021
+                          }else if(this.org_id == 10721){
3022
+                            preTime = this.record_date + ' ' + '10:00'
3023
+
2979
                           }else {
3024
                           }else {
2980
                             preTime = this.record_date + ' ' + '11:00'
3025
                             preTime = this.record_date + ' ' + '11:00'
2981
                           }
3026
                           }
3010
                           obj.med_type = 14
3055
                           obj.med_type = 14
3011
 
3056
 
3012
                         }
3057
                         }
3058
+                        if (this.org_id == 10721){
3059
+
3060
+                          obj.med_type = 992102
3061
+                        }
3013
                       }
3062
                       }
3014
                       this.prescriptions.push(obj)
3063
                       this.prescriptions.push(obj)
3015
                     }
3064
                     }
3019
                       if(this.schedule.schedule_type == 1){
3068
                       if(this.schedule.schedule_type == 1){
3020
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3069
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3021
                           preTime = this.record_date+ ' ' + '6:00'
3070
                           preTime = this.record_date+ ' ' + '6:00'
3071
+                        }else if(this.org_id == 10721) {
3072
+                          preTime = this.record_date+ ' ' + '05:30'
3022
                         }else {
3073
                         }else {
3023
                           preTime = this.record_date + ' ' + '7:00'
3074
                           preTime = this.record_date + ' ' + '7:00'
3024
                         }
3075
                         }
3028
                         } else if(this.org_id == 10598){
3079
                         } else if(this.org_id == 10598){
3029
                           preTime = this.record_date + ' ' + '09:00'
3080
                           preTime = this.record_date + ' ' + '09:00'
3030
 
3081
 
3082
+                        } else if(this.org_id == 10721){
3083
+                          preTime = this.record_date + ' ' + '10:00'
3084
+
3031
                         }else {
3085
                         }else {
3032
                           preTime = this.record_date + ' ' + '11:00'
3086
                           preTime = this.record_date + ' ' + '11:00'
3033
                         }
3087
                         }
3051
 
3105
 
3052
                     if (this.org_id != 10206) {
3106
                     if (this.org_id != 10206) {
3053
                       obj.med_type = 14
3107
                       obj.med_type = 14
3108
+                      if (this.org_id == 10721){
3109
+
3110
+                        obj.med_type = 992102
3111
+                      }
3054
                     }
3112
                     }
3055
 
3113
 
3056
                     this.prescriptions.push(obj)
3114
                     this.prescriptions.push(obj)
3409
                         if(this.schedule.schedule_type == 1){
3467
                         if(this.schedule.schedule_type == 1){
3410
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3468
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3411
                             preTime = this.record_date+ ' ' + '6:00'
3469
                             preTime = this.record_date+ ' ' + '6:00'
3470
+                          }else if(this.org_id == 10721) {
3471
+                            preTime = this.record_date+ ' ' + '05:30'
3412
                           }else {
3472
                           }else {
3413
                             preTime = this.record_date + ' ' + '7:00'
3473
                             preTime = this.record_date + ' ' + '7:00'
3414
                           }
3474
                           }
3415
                         }else if(this.schedule.schedule_type == 2){
3475
                         }else if(this.schedule.schedule_type == 2){
3416
                           if(this.org_id == 10206  || this.org_id == 0){
3476
                           if(this.org_id == 10206  || this.org_id == 0){
3417
                             preTime = this.record_date + ' ' + '10:30'
3477
                             preTime = this.record_date + ' ' + '10:30'
3478
+                          }else if(this.org_id == 10721) {
3479
+                            preTime = this.record_date+ ' ' + '10:00'
3418
                           }else if(this.org_id == 10598){
3480
                           }else if(this.org_id == 10598){
3419
                             preTime = this.record_date + ' ' + '09:00'
3481
                             preTime = this.record_date + ' ' + '09:00'
3420
 
3482
 
3572
                         if(this.schedule.schedule_type == 1){
3634
                         if(this.schedule.schedule_type == 1){
3573
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3635
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3574
                             preTime = this.record_date+ ' ' + '6:00'
3636
                             preTime = this.record_date+ ' ' + '6:00'
3637
+                          }else if (this.org_id == 10721){
3638
+                            preTime = this.record_date+ ' ' + '05:30'
3639
+
3575
                           }else {
3640
                           }else {
3576
                             preTime = this.record_date + ' ' + '7:00'
3641
                             preTime = this.record_date + ' ' + '7:00'
3577
                           }
3642
                           }
3578
                         }else if(this.schedule.schedule_type == 2){
3643
                         }else if(this.schedule.schedule_type == 2){
3579
                           if(this.org_id == 10206  || this.org_id == 0){
3644
                           if(this.org_id == 10206  || this.org_id == 0){
3580
                             preTime = this.record_date + ' ' + '10:30'
3645
                             preTime = this.record_date + ' ' + '10:30'
3646
+                          }else if (this.org_id == 10721){
3647
+                            preTime = this.record_date+ ' ' + '10:00'
3648
+
3581
                           }else if(this.org_id == 10598){
3649
                           }else if(this.org_id == 10598){
3582
                             preTime = this.record_date + ' ' + '09:00'
3650
                             preTime = this.record_date + ' ' + '09:00'
3583
 
3651
 
3613
                         if (obj.med_type == 0 || obj.med_type == '') {
3681
                         if (obj.med_type == 0 || obj.med_type == '') {
3614
                           obj.med_type = 14
3682
                           obj.med_type = 14
3615
                         }
3683
                         }
3684
+                        if (this.org_id == 10721){
3685
+
3686
+                          obj.med_type = 992102
3687
+                        }
3616
                       }
3688
                       }
3617
                       this.prescriptions.push(obj)
3689
                       this.prescriptions.push(obj)
3618
                     }
3690
                     }
3622
                       if(this.schedule.schedule_type == 1){
3694
                       if(this.schedule.schedule_type == 1){
3623
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3695
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
3624
                           preTime = this.record_date+ ' ' + '6:00'
3696
                           preTime = this.record_date+ ' ' + '6:00'
3697
+                        }else if(this.org_id == 10721) {
3698
+                          preTime = this.record_date+ ' ' + '05:30'
3625
                         }else {
3699
                         }else {
3626
                           preTime = this.record_date + ' ' + '7:00'
3700
                           preTime = this.record_date + ' ' + '7:00'
3627
                         }
3701
                         }
3628
                       }else if(this.schedule.schedule_type == 2){
3702
                       }else if(this.schedule.schedule_type == 2){
3629
                         if(this.org_id == 10206  || this.org_id == 0){
3703
                         if(this.org_id == 10206  || this.org_id == 0){
3630
                           preTime = this.record_date + ' ' + '10:30'
3704
                           preTime = this.record_date + ' ' + '10:30'
3705
+                        }else if(this.org_id == 10721) {
3706
+                          preTime = this.record_date+ ' ' + '10:00'
3631
                         }else if(this.org_id == 10598){
3707
                         }else if(this.org_id == 10598){
3632
                           preTime = this.record_date + ' ' + '09:00'
3708
                           preTime = this.record_date + ' ' + '09:00'
3633
 
3709
 
3654
                     }
3730
                     }
3655
                     if (this.org_id != 10206) {
3731
                     if (this.org_id != 10206) {
3656
                       obj.med_type = 14
3732
                       obj.med_type = 14
3733
+                      if (this.org_id == 10721){
3734
+
3735
+                        obj.med_type = 992102
3736
+                      }
3657
                     }
3737
                     }
3658
 
3738
 
3659
                     this.prescriptions.push(obj)
3739
                     this.prescriptions.push(obj)
3998
                       if(this.schedule.schedule_type == 1){
4078
                       if(this.schedule.schedule_type == 1){
3999
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4079
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4000
                           preTime = this.record_date+ ' ' + '6:00'
4080
                           preTime = this.record_date+ ' ' + '6:00'
4081
+                        }else if(this.org_id == 10721){
4082
+                          preTime = this.record_date+ ' ' + '05:30'
4083
+
4001
                         }else {
4084
                         }else {
4002
                           preTime = this.record_date + ' ' + '7:00'
4085
                           preTime = this.record_date + ' ' + '7:00'
4003
                         }
4086
                         }
4004
                       }else if(this.schedule.schedule_type == 2){
4087
                       }else if(this.schedule.schedule_type == 2){
4005
                         if(this.org_id == 10206  || this.org_id == 0){
4088
                         if(this.org_id == 10206  || this.org_id == 0){
4006
                           preTime = this.record_date + ' ' + '10:30'
4089
                           preTime = this.record_date + ' ' + '10:30'
4090
+                        }else if(this.org_id == 10721){
4091
+                          preTime = this.record_date+ ' ' + '10:00'
4092
+
4007
                         }else if(this.org_id == 10598){
4093
                         }else if(this.org_id == 10598){
4008
                           preTime = this.record_date + ' ' + '09:00'
4094
                           preTime = this.record_date + ' ' + '09:00'
4009
 
4095
 
4160
                       if(this.schedule.schedule_type == 1){
4246
                       if(this.schedule.schedule_type == 1){
4161
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4247
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4162
                           preTime = this.record_date+ ' ' + '6:00'
4248
                           preTime = this.record_date+ ' ' + '6:00'
4249
+                        }else if(this.org_id == 10721) {
4250
+                          preTime = this.record_date+ ' ' + '05:30'
4163
                         }else {
4251
                         }else {
4164
                           preTime = this.record_date + ' ' + '7:00'
4252
                           preTime = this.record_date + ' ' + '7:00'
4165
                         }
4253
                         }
4166
                       }else if(this.schedule.schedule_type == 2){
4254
                       }else if(this.schedule.schedule_type == 2){
4167
                         if(this.org_id == 10206  || this.org_id == 0){
4255
                         if(this.org_id == 10206  || this.org_id == 0){
4168
                           preTime = this.record_date + ' ' + '10:30'
4256
                           preTime = this.record_date + ' ' + '10:30'
4257
+                        }else if(this.org_id == 10721) {
4258
+                          preTime = this.record_date+ ' ' + '10:00'
4169
                         }else if(this.org_id == 10598){
4259
                         }else if(this.org_id == 10598){
4170
                           preTime = this.record_date + ' ' + '09:00'
4260
                           preTime = this.record_date + ' ' + '09:00'
4171
 
4261
 
4202
                         obj.med_type = 14
4292
                         obj.med_type = 14
4203
 
4293
 
4204
                       }
4294
                       }
4295
+                      if (this.org_id == 10721){
4296
+
4297
+                        obj.med_type = 992102
4298
+                      }
4205
                     }
4299
                     }
4206
                     this.prescriptions.push(obj)
4300
                     this.prescriptions.push(obj)
4207
                   }
4301
                   }
4211
                     if(this.schedule.schedule_type == 1){
4305
                     if(this.schedule.schedule_type == 1){
4212
                       if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4306
                       if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4213
                         preTime = this.record_date+ ' ' + '6:00'
4307
                         preTime = this.record_date+ ' ' + '6:00'
4308
+                      }else if(this.org_id == 10721) {
4309
+                        preTime = this.record_date+ ' ' + '05:30'
4214
                       }else {
4310
                       }else {
4215
                         preTime = this.record_date + ' ' + '7:00'
4311
                         preTime = this.record_date + ' ' + '7:00'
4216
                       }
4312
                       }
4217
                     }else if(this.schedule.schedule_type == 2){
4313
                     }else if(this.schedule.schedule_type == 2){
4218
                       if(this.org_id == 10206  || this.org_id == 0){
4314
                       if(this.org_id == 10206  || this.org_id == 0){
4219
                         preTime = this.record_date + ' ' + '10:30'
4315
                         preTime = this.record_date + ' ' + '10:30'
4316
+                      }else if(this.org_id == 10721) {
4317
+                        preTime = this.record_date+ ' ' + '10:00'
4220
                       }else if(this.org_id == 10598){
4318
                       }else if(this.org_id == 10598){
4221
                         preTime = this.record_date + ' ' + '09:00'
4319
                         preTime = this.record_date + ' ' + '09:00'
4222
 
4320
 
4244
 
4342
 
4245
                   if (this.org_id != 10206) {
4343
                   if (this.org_id != 10206) {
4246
                     obj.med_type = 14
4344
                     obj.med_type = 14
4345
+                    if (this.org_id == 10721){
4346
+
4347
+                      obj.med_type = 992102
4348
+                    }
4247
                   }
4349
                   }
4248
 
4350
 
4249
                   this.prescriptions.push(obj)
4351
                   this.prescriptions.push(obj)
4676
 
4778
 
4677
                             preTime = this.record_date + ' ' + '6:00'
4779
                             preTime = this.record_date + ' ' + '6:00'
4678
 
4780
 
4781
+                          } else if(this.org_id == 10721){
4782
+
4783
+                            preTime = this.record_date + ' ' + '05:30'
4784
+
4679
                           } else {
4785
                           } else {
4680
                             preTime = this.record_date + ' ' + '7:00'
4786
                             preTime = this.record_date + ' ' + '7:00'
4681
 
4787
 
4688
                           }else if(this.org_id == 10598){
4794
                           }else if(this.org_id == 10598){
4689
                             preTime = this.record_date + ' ' + '09:00'
4795
                             preTime = this.record_date + ' ' + '09:00'
4690
 
4796
 
4797
+                          }else if(this.org_id == 10721){
4798
+                            preTime = this.record_date + ' ' + '10:00'
4799
+
4691
                           }else {
4800
                           }else {
4692
                             preTime = this.record_date + ' ' + '11:00'
4801
                             preTime = this.record_date + ' ' + '11:00'
4693
                           }
4802
                           }
4710
                           if(this.schedule.schedule_type == 1){
4819
                           if(this.schedule.schedule_type == 1){
4711
                             if(this.org_id == 10206  || this.org_id == 10598) {
4820
                             if(this.org_id == 10206  || this.org_id == 10598) {
4712
                               preTime = this.record_date+ ' ' + '6:00'
4821
                               preTime = this.record_date+ ' ' + '6:00'
4822
+                            }else if(this.org_id == 10721){
4823
+                              preTime = this.record_date + ' ' + '05:30'
4824
+
4713
                             }else {
4825
                             }else {
4714
                               preTime = this.record_date + ' ' + '7:00'
4826
                               preTime = this.record_date + ' ' + '7:00'
4715
                             }
4827
                             }
4716
                           }else if(this.schedule.schedule_type == 2){
4828
                           }else if(this.schedule.schedule_type == 2){
4717
                             if(this.org_id == 10206  || this.org_id == 0){
4829
                             if(this.org_id == 10206  || this.org_id == 0){
4718
                               preTime = this.record_date + ' ' + '10:30'
4830
                               preTime = this.record_date + ' ' + '10:30'
4831
+                            }else if(this.org_id == 10721){
4832
+                              preTime = this.record_date + ' ' + '10:00'
4833
+
4719
                             }else if(this.org_id == 10598){
4834
                             }else if(this.org_id == 10598){
4720
                               preTime = this.record_date + ' ' + '09:00'
4835
                               preTime = this.record_date + ' ' + '09:00'
4721
 
4836
 
4880
                             preTime = this.record_date + ' ' + '6:30'
4995
                             preTime = this.record_date + ' ' + '6:30'
4881
                           } else if(this.org_id == 10206 || this.org_id == 10598){
4996
                           } else if(this.org_id == 10206 || this.org_id == 10598){
4882
                             preTime = this.record_date+ ' ' + '6:00'
4997
                             preTime = this.record_date+ ' ' + '6:00'
4998
+                          } else if(this.org_id == 10721){
4999
+                            preTime = this.record_date+ ' ' + '05:30'
4883
                           } else {
5000
                           } else {
4884
                             preTime = this.record_date + ' ' + '7:00'
5001
                             preTime = this.record_date + ' ' + '7:00'
4885
                           }
5002
                           }
4890
                           }else if(this.org_id == 10598){
5007
                           }else if(this.org_id == 10598){
4891
                             preTime = this.record_date + ' ' + '09:00'
5008
                             preTime = this.record_date + ' ' + '09:00'
4892
 
5009
 
4893
-                          }else{
5010
+                          }else if(this.org_id == 10721){
5011
+                            preTime = this.record_date+ ' ' + '10:00'
5012
+                          } else{
4894
                             preTime = this.record_date + ' ' + '11:00'
5013
                             preTime = this.record_date + ' ' + '11:00'
4895
                           }
5014
                           }
4896
                         } else if (this.schedule.schedule_type == 3) {
5015
                         } else if (this.schedule.schedule_type == 3) {
4905
                         if(this.schedule.schedule_type == 1){
5024
                         if(this.schedule.schedule_type == 1){
4906
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5025
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4907
                             preTime = this.record_date+ ' ' + '6:00'
5026
                             preTime = this.record_date+ ' ' + '6:00'
5027
+                          } else if(this.org_id == 10721){
5028
+                            preTime = this.record_date+ ' ' + '05:30'
4908
                           }else {
5029
                           }else {
4909
                             preTime = this.record_date + ' ' + '7:00'
5030
                             preTime = this.record_date + ' ' + '7:00'
4910
                           }
5031
                           }
4914
                           }else if(this.org_id == 10598){
5035
                           }else if(this.org_id == 10598){
4915
                             preTime = this.record_date + ' ' + '09:00'
5036
                             preTime = this.record_date + ' ' + '09:00'
4916
 
5037
 
5038
+                          }else if(this.org_id == 10721){
5039
+                            preTime = this.record_date+ ' ' + '10:00'
4917
                           }else {
5040
                           }else {
4918
                             preTime = this.record_date + ' ' + '11:00'
5041
                             preTime = this.record_date + ' ' + '11:00'
4919
                           }
5042
                           }
4944
                           obj.med_type = parseInt(prescription.med_type)
5067
                           obj.med_type = parseInt(prescription.med_type)
4945
                         }
5068
                         }
4946
                         if (obj.med_type == 0 || obj.med_type == '') {
5069
                         if (obj.med_type == 0 || obj.med_type == '') {
4947
-
4948
                           obj.med_type = 14
5070
                           obj.med_type = 14
5071
+                        }
5072
+                        if (this.org_id == 10721){
4949
 
5073
 
5074
+                          obj.med_type = 992102
4950
                         }
5075
                         }
5076
+
5077
+
5078
+
4951
                       }else{
5079
                       }else{
4952
                         obj.med_type = parseInt(prescription.med_type)
5080
                         obj.med_type = parseInt(prescription.med_type)
4953
                         if (obj.med_type == 0 || obj.med_type == '') {
5081
                         if (obj.med_type == 0 || obj.med_type == '') {
4963
                       if(this.schedule.schedule_type == 1){
5091
                       if(this.schedule.schedule_type == 1){
4964
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5092
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
4965
                           preTime = this.record_date+ ' ' + '6:00'
5093
                           preTime = this.record_date+ ' ' + '6:00'
5094
+                        }else if(this.org_id == 10721){
5095
+                          preTime = this.record_date+ ' ' + '05:30'
4966
                         }else {
5096
                         }else {
4967
                           preTime = this.record_date + ' ' + '7:00'
5097
                           preTime = this.record_date + ' ' + '7:00'
4968
                         }
5098
                         }
4972
                         }else if(this.org_id == 10598){
5102
                         }else if(this.org_id == 10598){
4973
                           preTime = this.record_date + ' ' + '09:00'
5103
                           preTime = this.record_date + ' ' + '09:00'
4974
 
5104
 
5105
+                        }else if(this.org_id == 10721){
5106
+                          preTime = this.record_date+ ' ' + '10:00'
4975
                         }else {
5107
                         }else {
4976
                           preTime = this.record_date + ' ' + '11:00'
5108
                           preTime = this.record_date + ' ' + '11:00'
4977
                         }
5109
                         }
4996
                     }
5128
                     }
4997
                     if (this.org_id != 10206) {
5129
                     if (this.org_id != 10206) {
4998
                       obj.med_type = 14
5130
                       obj.med_type = 14
5131
+                      if (this.org_id == 10721){
5132
+
5133
+                        obj.med_type = 992102
5134
+                      }
4999
                     }else{
5135
                     }else{
5000
                       obj.med_type = 1
5136
                       obj.med_type = 1
5001
                     }
5137
                     }
5329
                             preTime = this.record_date + ' ' + '6:30'
5465
                             preTime = this.record_date + ' ' + '6:30'
5330
                           } else if(this.org_id == 10206 || this.org_id == 10598){
5466
                           } else if(this.org_id == 10206 || this.org_id == 10598){
5331
                             preTime = this.record_date + ' ' + '6:00'
5467
                             preTime = this.record_date + ' ' + '6:00'
5332
-                          } else {
5468
+                          } else if(this.org_id == 10721){
5469
+                            preTime = this.record_date+ ' ' + '05:30'
5470
+                          }else {
5333
                             preTime = this.record_date + ' ' + '7:00'
5471
                             preTime = this.record_date + ' ' + '7:00'
5334
                           }
5472
                           }
5335
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
5473
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
5339
                           }else if(this.org_id == 10598){
5477
                           }else if(this.org_id == 10598){
5340
                             preTime = this.record_date + ' ' + '09:00'
5478
                             preTime = this.record_date + ' ' + '09:00'
5341
 
5479
 
5480
+                          }else if(this.org_id == 10721){
5481
+                            preTime = this.record_date+ ' ' + '10:00'
5342
                           }else{
5482
                           }else{
5343
                             preTime = this.record_date + ' ' + '11:00'
5483
                             preTime = this.record_date + ' ' + '11:00'
5344
 
5484
 
5361
                           if(this.schedule.schedule_type == 1){
5501
                           if(this.schedule.schedule_type == 1){
5362
                             if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5502
                             if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5363
                               preTime = this.record_date+ ' ' + '6:00'
5503
                               preTime = this.record_date+ ' ' + '6:00'
5504
+                            }else if(this.org_id == 10721){
5505
+                              preTime = this.record_date+ ' ' + '05:30'
5364
                             }else {
5506
                             }else {
5365
                               preTime = this.record_date + ' ' + '7:00'
5507
                               preTime = this.record_date + ' ' + '7:00'
5366
                             }
5508
                             }
5370
                             }else if(this.org_id == 10598){
5512
                             }else if(this.org_id == 10598){
5371
                               preTime = this.record_date + ' ' + '09:00'
5513
                               preTime = this.record_date + ' ' + '09:00'
5372
 
5514
 
5515
+                            }else if(this.org_id == 10721){
5516
+                              preTime = this.record_date+ ' ' + '10:00'
5373
                             }else {
5517
                             }else {
5374
                               preTime = this.record_date + ' ' + '11:00'
5518
                               preTime = this.record_date + ' ' + '11:00'
5375
                             }
5519
                             }
5531
                             preTime = this.record_date + ' ' + '6:30'
5675
                             preTime = this.record_date + ' ' + '6:30'
5532
                           } else if(this.org_id == 10206 || this.org_id == 10598){
5676
                           } else if(this.org_id == 10206 || this.org_id == 10598){
5533
                             preTime = this.record_date + ' ' + '6:00'
5677
                             preTime = this.record_date + ' ' + '6:00'
5534
-                          } else {
5678
+                          } else if(this.org_id == 10721){
5679
+                            preTime = this.record_date+ ' ' + '05:30'
5680
+                          }else {
5535
                             preTime = this.record_date + ' ' + '7:00'
5681
                             preTime = this.record_date + ' ' + '7:00'
5536
                           }
5682
                           }
5537
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
5683
                           // preTime = nowYear + '-' + (nowMonth < 10 ? '0' + nowMonth : nowMonth) + '-' + (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + '7:00'
5542
                           }else if(this.org_id == 10598){
5688
                           }else if(this.org_id == 10598){
5543
                             preTime = this.record_date + ' ' + '09:00'
5689
                             preTime = this.record_date + ' ' + '09:00'
5544
 
5690
 
5691
+                          }else if(this.org_id == 10721){
5692
+                            preTime = this.record_date+ ' ' + '10:00'
5545
                           }else{
5693
                           }else{
5546
                             preTime = this.record_date + ' ' + '11:00'
5694
                             preTime = this.record_date + ' ' + '11:00'
5547
                           }
5695
                           }
5557
                         if(this.schedule.schedule_type == 1){
5705
                         if(this.schedule.schedule_type == 1){
5558
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5706
                           if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5559
                             preTime = this.record_date+ ' ' + '6:00'
5707
                             preTime = this.record_date+ ' ' + '6:00'
5708
+                          }else if(this.org_id == 10721){
5709
+                            preTime = this.record_date+ ' ' + '05:30'
5560
                           }else {
5710
                           }else {
5561
                             preTime = this.record_date + ' ' + '7:00'
5711
                             preTime = this.record_date + ' ' + '7:00'
5562
                           }
5712
                           }
5563
                         }else if(this.schedule.schedule_type == 2){
5713
                         }else if(this.schedule.schedule_type == 2){
5564
                           if(this.org_id == 10206  || this.org_id == 0){
5714
                           if(this.org_id == 10206  || this.org_id == 0){
5565
                             preTime = this.record_date + ' ' + '10:30'
5715
                             preTime = this.record_date + ' ' + '10:30'
5716
+                          }else if(this.org_id == 10721){
5717
+                            preTime = this.record_date+ ' ' + '10:00'
5566
                           }else if(this.org_id == 10598){
5718
                           }else if(this.org_id == 10598){
5567
                             preTime = this.record_date + ' ' + '09:00'
5719
                             preTime = this.record_date + ' ' + '09:00'
5568
 
5720
 
5599
                           obj.med_type = 14
5751
                           obj.med_type = 14
5600
 
5752
 
5601
                         }
5753
                         }
5754
+                        if (this.org_id == 10721){
5755
+
5756
+                          obj.med_type = 992102
5757
+                        }
5602
                       }else{
5758
                       }else{
5603
                         obj.med_type = parseInt(prescription.med_type)
5759
                         obj.med_type = parseInt(prescription.med_type)
5604
                         if (obj.med_type == 0 || obj.med_type == '') {
5760
                         if (obj.med_type == 0 || obj.med_type == '') {
5614
                       if(this.schedule.schedule_type == 1){
5770
                       if(this.schedule.schedule_type == 1){
5615
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5771
                         if(this.org_id == 10206  || this.org_id == 0 || this.org_id == 10598) {
5616
                           preTime = this.record_date+ ' ' + '6:00'
5772
                           preTime = this.record_date+ ' ' + '6:00'
5773
+                        }else if(this.org_id == 10721){
5774
+                          preTime = this.record_date + ' ' + '05:30'
5775
+
5617
                         }else {
5776
                         }else {
5618
                           preTime = this.record_date + ' ' + '7:00'
5777
                           preTime = this.record_date + ' ' + '7:00'
5619
                         }
5778
                         }
5620
                       }else if(this.schedule.schedule_type == 2){
5779
                       }else if(this.schedule.schedule_type == 2){
5621
                         if(this.org_id == 10206  || this.org_id == 0){
5780
                         if(this.org_id == 10206  || this.org_id == 0){
5622
                           preTime = this.record_date + ' ' + '10:30'
5781
                           preTime = this.record_date + ' ' + '10:30'
5782
+                        }else if(this.org_id == 10721){
5783
+                          preTime = this.record_date + ' ' + '10:00'
5784
+
5623
                         }else if(this.org_id == 10598){
5785
                         }else if(this.org_id == 10598){
5624
                           preTime = this.record_date + ' ' + '09:00'
5786
                           preTime = this.record_date + ' ' + '09:00'
5625
 
5787
 
5649
                     if (this.org_id != 10206 && this.org_id != 0) {
5811
                     if (this.org_id != 10206 && this.org_id != 0) {
5650
 
5812
 
5651
                       obj.med_type = 14
5813
                       obj.med_type = 14
5814
+                      if (this.org_id == 10721){
5815
+
5816
+                        obj.med_type = 992102
5817
+                      }
5652
                     }else{
5818
                     }else{
5653
 
5819
 
5654
                       obj.med_type = 1
5820
                       obj.med_type = 1
5836
     },
6002
     },
5837
 
6003
 
5838
     getPrescriptionList(id, record_date, type, checkType) {
6004
     getPrescriptionList(id, record_date, type, checkType) {
5839
-      
6005
+
5840
       getPrescriptionList(id, 2, record_date).then(response => {
6006
       getPrescriptionList(id, 2, record_date).then(response => {
5841
         console.log('123456response.data.data',response.data.data,checkType);
6007
         console.log('123456response.data.data',response.data.data,checkType);
5842
         if (response.data.state == 1) {
6008
         if (response.data.state == 1) {
5843
-          
6009
+
5844
           if (checkType != 3) {
6010
           if (checkType != 3) {
5845
             this.centerDialogVisible = true
6011
             this.centerDialogVisible = true
5846
             var list = response.data.data.list
6012
             var list = response.data.data.list
5847
-           
5848
-            
6013
+
6014
+
5849
             let arr1 = []
6015
             let arr1 = []
5850
             let arr2 = []
6016
             let arr2 = []
5851
             let arr3 = []
6017
             let arr3 = []