Browse Source

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

XMLWAN 3 years ago
parent
commit
0a1e238c52
32 changed files with 273 additions and 884 deletions
  1. 2 1
      src/lang/zh.js
  2. 2 775
      src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue
  3. 1 1
      src/xt_pages/hospitalStation/chargeDetailManagement.vue
  4. 20 19
      src/xt_pages/hospitalStation/checkTemplate/printOne.vue
  5. 2 2
      src/xt_pages/hospitalStation/components/ChargePrescriptionTable.vue
  6. 6 5
      src/xt_pages/hospitalStation/components/chargeDialog.vue
  7. 62 2
      src/xt_pages/hospitalStation/components/settlePrescriptionTable.vue
  8. 6 3
      src/xt_pages/hospitalStation/doctorDesk.vue
  9. 4 4
      src/xt_pages/hospitalStation/index.vue
  10. 22 3
      src/xt_pages/hospitalStation/outpatientChargesManagement.vue
  11. 3 1
      src/xt_pages/hospitalStation/print.vue
  12. 8 7
      src/xt_pages/hospitalStation/statementTemplate/printOne.vue
  13. 3 1
      src/xt_pages/hospitalStation/template/printFive.vue
  14. 4 2
      src/xt_pages/hospitalStation/template/printFour.vue
  15. 3 2
      src/xt_pages/hospitalStation/template/printOne.vue
  16. 4 2
      src/xt_pages/hospitalStation/template/printThree.vue
  17. 3 1
      src/xt_pages/hospitalStation/template/printTwo.vue
  18. 3 1
      src/xt_pages/hospitalStation/treatTemplate/printOne.vue
  19. 3 1
      src/xt_pages/hospitalStation/treatTemplate/printTwo.vue
  20. 54 4
      src/xt_pages/outpatientCharges/outpatientChargesManagement.vue
  21. 22 20
      src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue
  22. 3 3
      src/xt_pages/outpatientDoctorStation/pastInquiries.vue
  23. 4 2
      src/xt_pages/outpatientDoctorStation/template/printFive.vue
  24. 4 2
      src/xt_pages/outpatientDoctorStation/template/printFour.vue
  25. 4 2
      src/xt_pages/outpatientDoctorStation/template/printOne.vue
  26. 4 2
      src/xt_pages/outpatientDoctorStation/template/printThree.vue
  27. 3 1
      src/xt_pages/outpatientDoctorStation/template/printTwo.vue
  28. 2 1
      src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue
  29. 4 2
      src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue
  30. 6 10
      src/xt_pages/outpatientTool/yidiClear.vue
  31. 1 1
      src/xt_pages/supply/components/addSupply.vue
  32. 1 1
      src/xt_pages/supply/supplyQuery.vue

+ 2 - 1
src/lang/zh.js View File

269
     summary_tool: '项目消费明细汇总',
269
     summary_tool: '项目消费明细汇总',
270
     labelPrint: '标签打印',
270
     labelPrint: '标签打印',
271
     faPiao: '发票设置',
271
     faPiao: '发票设置',
272
-    chargeDetailManagement: '收费明细'
272
+    chargeDetailManagement: '收费明细',
273
+    yidiClear:'异地清分',
273
   },
274
   },
274
   navbar: {
275
   navbar: {
275
     logOut: '退出登录',
276
     logOut: '退出登录',

+ 2 - 775
src/xt_pages/dialysis/template/DialysisPrintOrderFortySix.vue View File

91
             </div>
91
             </div>
92
           </div>
92
           </div>
93
         </div>
93
         </div>
94
-        <div class="row" v-if="org_id != 10307">
95
-          <div class="inline_block">
96
-            入科方式:
97
-            <div
98
-              v-for="(item, index) in way_arr"
99
-              class="under_line"
100
-              v-if="receiverTreatmentAccess.way == item.id"
101
-              style="width: 180px; text-align: left"
102
-            >
103
-              {{ item.name }}
104
-            </div>
105
-            <!--<div-->
106
-            <!--class="under_line"-->
107
-            <!--v-if="receiverTreatmentAccess.way == 1"-->
108
-            <!--style="width: 180px;text-align: left"-->
109
-            <!--&gt;-->
110
-            <!--步行-->
111
-            <!--</div>-->
112
-            <!--<div-->
113
-            <!--class="under_line"-->
114
-            <!--v-if="receiverTreatmentAccess.way == 2"-->
115
-            <!--style="width: 180px;text-align: left"-->
116
-            <!--&gt;-->
117
-            <!--扶行-->
118
-            <!--</div>-->
119
-            <!--<div-->
120
-            <!--class="under_line"-->
121
-            <!--v-if="receiverTreatmentAccess.way == 3"-->
122
-            <!--style="width: 180px;text-align: left"-->
123
-            <!--&gt;-->
124
-            <!--轮椅-->
125
-            <!--</div>-->
126
-            <!--<div-->
127
-            <!--class="under_line"-->
128
-            <!--v-if="receiverTreatmentAccess.way == 4"-->
129
-            <!--style="width: 180px;text-align: left"-->
130
-            <!--&gt;-->
131
-            <!--平车-->
132
-            <!--</div>-->
133
-          </div>
134
-          <div class="inline_block" style="margin-left: 10px">
135
-            诊断:
136
-            <div
137
-              class="under_line"
138
-              style="
139
-                width: 640px;
140
-                text-align: left;
141
-                word-wrap: break-word;
142
-                white-space: inherit;
143
-              "
144
-            >
145
-              {{ patientInfo.diagnose }}
146
-            </div>
147
-          </div>
148
-        </div>
94
+  
149
 
95
 
150
         <div
96
         <div
151
           class="row"
97
           class="row"
1640
               </div>
1586
               </div>
1641
             </div>
1587
             </div>
1642
           </div>
1588
           </div>
1643
-          <div class="row" style="margin-bottom: 10px" v-if="org_id != 10307">
1644
-            <div class="inline_block">
1645
-              入科方式:
1646
-              <!--<check-box v-for="item, index in nutrition_arr" :key="index" :text="item.name" :checked="receiverTreatmentAccess.nutrition == item.id?true:false"></check-box>-->
1647
-              <div
1648
-                v-for="(item, index) in way_arr"
1649
-                class="under_line"
1650
-                v-if="receiverTreatmentAccess.way == item.id"
1651
-                style="width: 180px; text-align: left"
1652
-              >
1653
-                {{ item.name }}
1654
-              </div>
1655
-              <!--<div-->
1656
-              <!--class="under_line"-->
1657
-              <!--v-if="receiverTreatmentAccess.way == 0"-->
1658
-              <!--style="width: 180px;text-align: left"-->
1659
-              <!--&gt;</div>-->
1660
-              <!--<div-->
1661
-              <!--class="under_line"-->
1662
-              <!--v-if="receiverTreatmentAccess.way == 1"-->
1663
-              <!--style="width: 180px;text-align: left"-->
1664
-              <!--&gt;-->
1665
-              <!--步行-->
1666
-              <!--</div>-->
1667
-              <!--<div-->
1668
-              <!--class="under_line"-->
1669
-              <!--v-if="receiverTreatmentAccess.way == 2"-->
1670
-              <!--style="width: 180px;text-align: left"-->
1671
-              <!--&gt;-->
1672
-              <!--扶行-->
1673
-              <!--</div>-->
1674
-              <!--<div-->
1675
-              <!--class="under_line"-->
1676
-              <!--v-if="receiverTreatmentAccess.way == 3"-->
1677
-              <!--style="width: 180px;text-align: left"-->
1678
-              <!--&gt;-->
1679
-              <!--轮椅-->
1680
-              <!--</div>-->
1681
-              <!--<div-->
1682
-              <!--class="under_line"-->
1683
-              <!--v-if="receiverTreatmentAccess.way == 4"-->
1684
-              <!--style="width: 180px;text-align: left"-->
1685
-              <!--&gt;-->
1686
-              <!--平车-->
1687
-              <!--</div>-->
1688
-            </div>
1689
-            <div class="inline_block" style="margin-left: 10px">
1690
-              诊断:
1691
-              <div
1692
-                class="under_line"
1693
-                style="
1694
-                  width: 640px;
1695
-                  text-align: left;
1696
-                  word-break: break-all;
1697
-                  word-wrap: break-word;
1698
-                  display: inline-block;
1699
-                "
1700
-              >
1701
-                {{ patientInfo.diagnose }}
1702
-              </div>
1703
-            </div>
1704
-          </div>
1589
+
1705
         </template>
1590
         </template>
1706
         <div class="row" style="margin-top: -11px; position: relative">
1591
         <div class="row" style="margin-top: -11px; position: relative">
1707
           <table class="proj_table">
1592
           <table class="proj_table">
1820
                 </tr>
1705
                 </tr>
1821
               </template>
1706
               </template>
1822
 
1707
 
1823
-              <tr v-if="org_id != 10307">
1824
-                <td
1825
-                  colspan="7"
1826
-                  style="
1827
-                    letter-spacing: 5px;
1828
-                    text-align: center;
1829
-                    font-weight: 520;
1830
-                    font-size: 16px;
1831
-                    padding: 6px 8px;
1832
-                    line-height: 30px;
1833
-                  "
1834
-                >
1835
-                  透析后情况
1836
-                </td>
1837
-              </tr>
1838
-              <tr v-if="org_id != 10307">
1839
-                <td colspan="7">
1840
-                  <div
1841
-                    class="row"
1842
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1843
-                  >
1844
-                    <div class="inline_block" style="flex: 1">
1845
-                      T:
1846
-                      <div
1847
-                        class="under_line"
1848
-                        style="width: 50px; text-align: center"
1849
-                      >
1850
-                        {{
1851
-                          afterdialysis.temperature
1852
-                            ? afterdialysis.temperature
1853
-                            : "/"
1854
-                        }}
1855
-                      </div>
1856
-                      °C
1857
-                    </div>
1858
-                    <div
1859
-                      class="inline_block"
1860
-                      style="margin-left: 10px; flex: 1"
1861
-                    >
1862
-                      P:
1863
-                      <div
1864
-                        class="under_line"
1865
-                        style="width: 50px; text-align: center"
1866
-                      >
1867
-                        {{
1868
-                          afterdialysis.pulse_frequency
1869
-                            ? afterdialysis.pulse_frequency
1870
-                            : "/"
1871
-                        }}
1872
-                      </div>
1873
-                      次/分
1874
-                    </div>
1875
-                    <div
1876
-                      class="inline_block"
1877
-                      style="margin-left: 10px; flex: 1"
1878
-                    >
1879
-                      R:
1880
-                      <div
1881
-                        class="under_line"
1882
-                        style="width: 50px; text-align: center"
1883
-                      >
1884
-                        {{
1885
-                          afterdialysis.breathing_rate
1886
-                            ? afterdialysis.breathing_rate
1887
-                            : "/"
1888
-                        }}
1889
-                      </div>
1890
-                      次/分
1891
-                    </div>
1892
-                    <div
1893
-                      class="inline_block"
1894
-                      style="margin-left: 10px; flex: 1.5"
1895
-                    >
1896
-                      BP:
1897
-                      <div
1898
-                        class="under_line"
1899
-                        style="width: 50px; text-align: center"
1900
-                      >
1901
-                        {{
1902
-                          afterdialysis.systolic_blood_pressure
1903
-                            ? afterdialysis.systolic_blood_pressure
1904
-                            : "/"
1905
-                        }}
1906
-                      </div>
1907
-                      /
1908
-                      <div
1909
-                        class="under_line"
1910
-                        style="width: 50px; text-align: center"
1911
-                      >
1912
-                        {{
1913
-                          afterdialysis.diastolic_blood_pressure
1914
-                            ? afterdialysis.diastolic_blood_pressure
1915
-                            : "/"
1916
-                        }}
1917
-                      </div>
1918
-                      mmHg
1919
-                    </div>
1920
-                    <div class="inline_block" style="flex: 1.5">
1921
-                      实际治疗时间:
1922
-                      <div
1923
-                        class="under_line"
1924
-                        style="width: 30px; text-align: center"
1925
-                      >
1926
-                        {{
1927
-                          afterdialysis.actual_treatment_hour
1928
-                            ? afterdialysis.actual_treatment_hour
1929
-                            : "/"
1930
-                        }}
1931
-                      </div>
1932
-                      h
1933
-                      <div
1934
-                        class="under_line"
1935
-                        style="width: 30px; text-align: center"
1936
-                      >
1937
-                        {{
1938
-                          afterdialysis.actual_treatment_minute
1939
-                            ? afterdialysis.actual_treatment_minute
1940
-                            : 0
1941
-                        }}
1942
-                      </div>
1943
-                      min
1944
-                    </div>
1945
-                  </div>
1946
-                  <div
1947
-                    class="row"
1948
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1949
-                  >
1950
-                    <div class="inline_block" style="flex: 2.5">
1951
-                      透析器凝血:
1952
-                      <div
1953
-                        class="under_line"
1954
-                        style="
1955
-                          width: 170px;
1956
-                          text-align: center;
1957
-                          white-space: normal;
1958
-                        "
1959
-                      >
1960
-                        {{ afterdialysis.cruor ? afterdialysis.cruor : "/" }}
1961
-                      </div>
1962
-                    </div>
1963
-                    <div class="inline_block" style="flex: 2">
1964
-                      内瘘:
1965
-                      <div
1966
-                        class="under_line"
1967
-                        style="
1968
-                          width: 170px;
1969
-                          text-align: center;
1970
-                          white-space: normal;
1971
-                        "
1972
-                      >
1973
-                        {{
1974
-                          afterdialysis.internal_fistula
1975
-                            ? afterdialysis.internal_fistula
1976
-                            : "/"
1977
-                        }}
1978
-                      </div>
1979
-                    </div>
1980
-                    <div class="inline_block" style="flex: 4">
1981
-                      导管:
1982
-                      <div
1983
-                        class="under_line"
1984
-                        style="min-width: 120px; text-align: center"
1985
-                      >
1986
-                        {{
1987
-                          afterdialysis.catheter ? afterdialysis.catheter : "/"
1988
-                        }}
1989
-                      </div>
1990
-                    </div>
1991
-                  </div>
1992
-
1993
-                  <div
1994
-                    class="row"
1995
-                    style="padding: 2px 0; line-height: 23px; display: flex"
1996
-                  >
1997
-                    <div class="inline_block" style="flex: 1">
1998
-                      透后体重:
1999
-                      <div
2000
-                        class="under_line"
2001
-                        style="width: 70px; text-align: center"
2002
-                      >
2003
-                        {{
2004
-                          afterdialysis.weight_after
2005
-                            ? parseFloat(
2006
-                                afterdialysis.weight_after -
2007
-                                  afterdialysis.additional_weight
2008
-                              ).toFixed(1)
2009
-                            : "/"
2010
-                        }}
2011
-                      </div>
2012
-                      kg
2013
-                    </div>
2014
-
2015
-                    <div class="inline_block" style="flex: 1">
2016
-                      体重减少:
2017
-                      <div
2018
-                        class="under_line"
2019
-                        style="width: 70px; text-align: center"
2020
-                      >
2021
-                        {{
2022
-                          afterdialysis.weight_loss
2023
-                            ? afterdialysis.weight_loss
2024
-                            : "/"
2025
-                        }}
2026
-                      </div>
2027
-                      kg
2028
-                    </div>
2029
-
2030
-                    <div
2031
-                      class="inline_block"
2032
-                      style="flex: 1"
2033
-                      v-if="org_id != 10223"
2034
-                    >
2035
-                      透析中入量:
2036
-                      <div
2037
-                        class="under_line"
2038
-                        style="width: 70px; text-align: center"
2039
-                      >
2040
-                        {{
2041
-                          afterdialysis.dialysis_intakes
2042
-                            ? afterdialysis.dialysis_intakes
2043
-                            : "/"
2044
-                        }}
2045
-                      </div>
2046
-                      {{ getUnit(afterdialysis.dialysis_intakes_unit) }}
2047
-                    </div>
2048
-
2049
-                    <div class="inline_block" style="flex: 1">
2050
-                      实际超滤量:
2051
-                      <div
2052
-                        class="under_line"
2053
-                        style="width: 70px; text-align: center"
2054
-                      >
2055
-                        {{
2056
-                          afterdialysis.actual_ultrafiltration
2057
-                            ? afterdialysis.actual_ultrafiltration
2058
-                            : "/"
2059
-                        }}
2060
-                      </div>
2061
-                      ml
2062
-                    </div>
2063
-                  </div>
2064
-                  <div
2065
-                    class="row"
2066
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2067
-                    v-if="org_id == 10223"
2068
-                  >
2069
-                    <div class="inline_block" style="flex: 1">
2070
-                      动脉管道:
2071
-                      <div
2072
-                        class="under_line"
2073
-                        style="width: 100px; text-align: center"
2074
-                      >
2075
-                        <span v-if="afterdialysis.arterial_tube == 0">/</span>
2076
-                        <span v-if="afterdialysis.arterial_tube == 1"
2077
-                          >动脉管道0</span
2078
-                        >
2079
-                        <span v-if="afterdialysis.arterial_tube == 2"
2080
-                          >动脉管道+</span
2081
-                        >
2082
-                        <span v-if="afterdialysis.arterial_tube == 3"
2083
-                          >动脉管道++</span
2084
-                        >
2085
-                        <span v-if="afterdialysis.arterial_tube == 4"
2086
-                          >动脉管道+++</span
2087
-                        >
2088
-                      </div>
2089
-                    </div>
2090
-                    <div class="inline_block" style="flex: 1">
2091
-                      静脉管道:
2092
-                      <div
2093
-                        class="under_line"
2094
-                        style="width: 100px; text-align: center"
2095
-                      >
2096
-                        <span v-if="afterdialysis.intravenous_tube == 0"
2097
-                          >/</span
2098
-                        >
2099
-                        <span v-if="afterdialysis.intravenous_tube == 1"
2100
-                          >静脉管道0</span
2101
-                        >
2102
-                        <span v-if="afterdialysis.intravenous_tube == 2"
2103
-                          >静脉管道+</span
2104
-                        >
2105
-                        <span v-if="afterdialysis.intravenous_tube == 3"
2106
-                          >静脉管道++</span
2107
-                        >
2108
-                        <span v-if="afterdialysis.intravenous_tube == 4"
2109
-                          >静脉管道+++</span
2110
-                        >
2111
-                      </div>
2112
-                    </div>
2113
-                    <div class="inline_block" style="flex: 1">
2114
-                      并发症:
2115
-                      <div
2116
-                        class="under_line"
2117
-                        style="width: 170px; text-align: center"
2118
-                      >
2119
-                        {{
2120
-                          afterdialysis.complication
2121
-                            ? afterdialysis.complication
2122
-                            : "/"
2123
-                        }}
2124
-                      </div>
2125
-                    </div>
2126
-                  </div>
2127
-                  <div
2128
-                    class="row"
2129
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2130
-                    v-if="org_id == 10223"
2131
-                  >
2132
-                    <div class="inline_block" style="flex: 1">
2133
-                      穿刺处血肿:
2134
-                      <div
2135
-                        class="under_line"
2136
-                        style="width: 50px; text-align: center"
2137
-                      >
2138
-                        <span v-if="afterdialysis.puncture_point_haematoma == 0"
2139
-                          >/</span
2140
-                        >
2141
-                        <span v-if="afterdialysis.puncture_point_haematoma == 1"
2142
-                          >有</span
2143
-                        >
2144
-                        <span v-if="afterdialysis.puncture_point_haematoma == 2"
2145
-                          >无</span
2146
-                        >
2147
-                      </div>
2148
-                    </div>
2149
-                    <div class="inline_block" style="flex: 1">
2150
-                      中心静脉封管(肝素-A端):
2151
-                      <div
2152
-                        class="under_line"
2153
-                        style="width: 70px; text-align: center"
2154
-                      >
2155
-                        {{ afterdialysis.cvc_a ? afterdialysis.cvc_a : "/" }}
2156
-                      </div>
2157
-                    </div>
2158
-                    <div class="inline_block" style="flex: 1">
2159
-                      中心静脉封管(肝素-V端):
2160
-                      <div
2161
-                        class="under_line"
2162
-                        style="width: 70px; text-align: center"
2163
-                      >
2164
-                        {{ afterdialysis.cvc_v ? afterdialysis.cvc_v : "/" }}
2165
-                      </div>
2166
-                    </div>
2167
-                  </div>
2168
-
2169
-                  <div
2170
-                    class="row"
2171
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2172
-                  >
2173
-                    <div
2174
-                      class="inline_block"
2175
-                      style="flex: 1; display: inline-block"
2176
-                    >
2177
-                      治疗小结:
2178
-                      <div
2179
-                        class="under_line"
2180
-                        style="
2181
-                          width: 860px;
2182
-                          line-height: 25px;
2183
-                          text-align: left;
2184
-                          margin-left: 2px;
2185
-                          display: inline-block;
2186
-                          white-space: normal;
2187
-                        "
2188
-                      >
2189
-                        {{
2190
-                          summary.dialysis_summary
2191
-                            ? summary.dialysis_summary
2192
-                            : "/"
2193
-                        }}
2194
-                      </div>
2195
-                    </div>
2196
-                  </div>
2197
-                  <div
2198
-                    class="row"
2199
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2200
-                    v-if="org_id != 10223"
2201
-                  >
2202
-                    <div
2203
-                      class="inline_block"
2204
-                      style="flex: 1; display: inline-block"
2205
-                    >
2206
-                      备注:
2207
-                      <div
2208
-                        class="under_line"
2209
-                        style="
2210
-                          width: 860px;
2211
-                          line-height: 25px;
2212
-                          text-align: left;
2213
-                          margin-left: 2px;
2214
-                          display: inline-block;
2215
-                          white-space: normal;
2216
-                        "
2217
-                      >
2218
-                        {{ afterdialysis.remark ? afterdialysis.remark : "/" }}
2219
-                      </div>
2220
-                    </div>
2221
-                  </div>
2222
-                </td>
2223
-              </tr>
2224
-              <tr>
2225
-                <td colspan="7">
2226
-                  <div
2227
-                    class="row"
2228
-                    style="padding: 2px 0; line-height: 23px; display: flex"
2229
-                  >
2230
-                    <div class="inline_block" style="flex: 1">
2231
-                      穿刺护士:
2232
-                      <div
2233
-                        class="under_line"
2234
-                        style="width: 80px; text-align: center"
2235
-                      >
2236
-                        <span
2237
-                          style="height: 30px; display: inline-block"
2238
-                          v-if="
2239
-                            setAdminUserES(
2240
-                              dialysisOrder == null
2241
-                                ? 0
2242
-                                : dialysisOrder.puncture_nurse
2243
-                            ) == ''
2244
-                          "
2245
-                        >
2246
-                          {{
2247
-                            getAdminUser(
2248
-                              dialysisOrder == null
2249
-                                ? 0
2250
-                                : dialysisOrder.puncture_nurse
2251
-                            )
2252
-                          }}</span
2253
-                        >
2254
-                        <img
2255
-                          style="height: 30px"
2256
-                          :src="
2257
-                            setAdminUserES(
2258
-                              dialysisOrder == null
2259
-                                ? 0
2260
-                                : dialysisOrder.puncture_nurse
2261
-                            )
2262
-                          "
2263
-                          alt=""
2264
-                          srcset=""
2265
-                          v-else
2266
-                        />
2267
-                      </div>
2268
-                    </div>
2269
-                    <div class="inline_block" style="flex: 1">
2270
-                      治疗护士:
2271
-                      <div
2272
-                        class="under_line"
2273
-                        style="width: 80px; text-align: center"
2274
-                      >
2275
-                        <span
2276
-                          style="height: 30px; display: inline-block"
2277
-                          v-if="
2278
-                            setAdminUserES(
2279
-                              dialysisOrder == null
2280
-                                ? 0
2281
-                                : dialysisOrder.start_nurse
2282
-                            ) == ''
2283
-                          "
2284
-                        >
2285
-                          {{
2286
-                            getAdminUser(
2287
-                              dialysisOrder == null
2288
-                                ? 0
2289
-                                : dialysisOrder.start_nurse
2290
-                            )
2291
-                          }}</span
2292
-                        >
2293
-                        <img
2294
-                          style="height: 30px"
2295
-                          :src="
2296
-                            setAdminUserES(
2297
-                              dialysisOrder == null
2298
-                                ? 0
2299
-                                : dialysisOrder.start_nurse
2300
-                            )
2301
-                          "
2302
-                          alt=""
2303
-                          srcset=""
2304
-                          v-else
2305
-                        />
2306
-                      </div>
2307
-                    </div>
2308
-                    <div class="inline_block" style="flex: 1">
2309
-                      核对人员:
2310
-                      <div
2311
-                        class="under_line"
2312
-                        style="width: 80px; text-align: center"
2313
-                        v-if="dialysisOrder == null"
2314
-                      >
2315
-                        <span
2316
-                          style="height: 30px; display: inline-block"
2317
-                          v-if="
2318
-                            setAdminUserES(check == null ? 0 : check.creater) ==
2319
-                            ''
2320
-                          "
2321
-                        >
2322
-                          {{ getAdminUser(check == null ? 0 : check.creater) }}
2323
-                        </span>
2324
-                        <img
2325
-                          style="height: 30px"
2326
-                          :src="
2327
-                            setAdminUserES(check == null ? 0 : check.creater)
2328
-                          "
2329
-                          alt=""
2330
-                          srcset=""
2331
-                          v-else
2332
-                        />
2333
-                      </div>
2334
-                      <div
2335
-                        class="under_line"
2336
-                        style="width: 80px; text-align: center"
2337
-                        v-if="
2338
-                          dialysisOrder != null &&
2339
-                          dialysisOrder.start_nurse == check.modifier
2340
-                        "
2341
-                      >
2342
-                        <span
2343
-                          style="height: 30px; display: inline-block"
2344
-                          v-if="
2345
-                            setAdminUserES(check == null ? 0 : check.creater) ==
2346
-                            ''
2347
-                          "
2348
-                        >
2349
-                          {{ getAdminUser(check == null ? 0 : check.creater) }}
2350
-                        </span>
2351
-                        <img
2352
-                          style="height: 30px"
2353
-                          :src="
2354
-                            setAdminUserES(check == null ? 0 : check.creater)
2355
-                          "
2356
-                          alt=""
2357
-                          srcset=""
2358
-                          v-else
2359
-                        />
2360
-                      </div>
2361
-                      <div
2362
-                        class="under_line"
2363
-                        style="width: 80px; text-align: center"
2364
-                        v-if="
2365
-                          dialysisOrder != null &&
2366
-                          dialysisOrder.start_nurse == check.creater
2367
-                        "
2368
-                      >
2369
-                        <span
2370
-                          style="height: 30px; display: inline-block"
2371
-                          v-if="
2372
-                            setAdminUserES(
2373
-                              check == null ? 0 : check.modifier
2374
-                            ) == ''
2375
-                          "
2376
-                        >
2377
-                          {{ getAdminUser(check == null ? 0 : check.modifier) }}
2378
-                        </span>
2379
-                        <img
2380
-                          style="height: 30px"
2381
-                          :src="
2382
-                            setAdminUserES(check == null ? 0 : check.modifier)
2383
-                          "
2384
-                          alt=""
2385
-                          srcset=""
2386
-                          v-else
2387
-                        />
2388
-                      </div>
2389
-                      <div
2390
-                        class="under_line"
2391
-                        style="width: 80px; text-align: center"
2392
-                        v-if="
2393
-                          dialysisOrder != null &&
2394
-                          dialysisOrder.start_nurse != check.creater &&
2395
-                          dialysisOrder.start_nurse != check.modifier
2396
-                        "
2397
-                      >
2398
-                        <span
2399
-                          style="height: 30px; display: inline-block"
2400
-                          v-if="
2401
-                            setAdminUserES(check == null ? 0 : check.creater) ==
2402
-                            ''
2403
-                          "
2404
-                        >
2405
-                          {{ getAdminUser(check == null ? 0 : check.creater) }}
2406
-                        </span>
2407
-                        <img
2408
-                          style="height: 30px"
2409
-                          :src="
2410
-                            setAdminUserES(check == null ? 0 : check.creater)
2411
-                          "
2412
-                          alt=""
2413
-                          srcset=""
2414
-                          v-else
2415
-                        />
2416
-                      </div>
2417
-                    </div>
2418
-                    <div class="inline_block" style="flex: 1">
2419
-                      下机护士:
2420
-                      <div
2421
-                        class="under_line"
2422
-                        style="width: 80px; text-align: center"
2423
-                      >
2424
-                        <span
2425
-                          style="height: 30px; display: inline-block"
2426
-                          v-if="
2427
-                            setAdminUserES(
2428
-                              dialysisOrder == null
2429
-                                ? 0
2430
-                                : dialysisOrder.finish_nurse
2431
-                            ) == ''
2432
-                          "
2433
-                        >
2434
-                          {{
2435
-                            getAdminUser(
2436
-                              dialysisOrder == null
2437
-                                ? 0
2438
-                                : dialysisOrder.finish_nurse
2439
-                            )
2440
-                          }}
2441
-                        </span>
2442
-                        <img
2443
-                          style="height: 30px"
2444
-                          :src="
2445
-                            setAdminUserES(
2446
-                              dialysisOrder == null
2447
-                                ? 0
2448
-                                : dialysisOrder.finish_nurse
2449
-                            )
2450
-                          "
2451
-                          alt=""
2452
-                          srcset=""
2453
-                          v-else
2454
-                        />
2455
-                      </div>
2456
-                    </div>
2457
-                    <div class="inline_block" style="flex: 1">
2458
-                      治疗医生:
2459
-                      <div
2460
-                        class="under_line"
2461
-                        style="width: 80px; text-align: center"
2462
-                      >
2463
-                        <span
2464
-                          style="height: 30px; display: inline-block"
2465
-                          v-if="setAdminUserES(prescription.creater) == ''"
2466
-                        >
2467
-                          {{ getAdminUser(prescription.creater) }}
2468
-                        </span>
2469
-                        <img
2470
-                          style="height: 30px"
2471
-                          :src="setAdminUserES(prescription.creater)"
2472
-                          alt=""
2473
-                          srcset=""
2474
-                          v-else
2475
-                        />
2476
-                      </div>
2477
-                    </div>
2478
-                  </div>
2479
-                </td>
2480
-              </tr>
2481
             </tbody>
1708
             </tbody>
2482
           </table>
1709
           </table>
2483
           <!-- <div  class="print-yema">1</div> -->
1710
           <!-- <div  class="print-yema">1</div> -->

+ 1 - 1
src/xt_pages/hospitalStation/chargeDetailManagement.vue View File

1163
                 prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1163
                 prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1164
                 medical_insurance_number: prescription.advices[b].med_list_codg,
1164
                 medical_insurance_number: prescription.advices[b].med_list_codg,
1165
 
1165
 
1166
-                code: prescription.advices[b].drug.medical_insurance_number,
1167
                 spec: spec,
1166
                 spec: spec,
1167
+                code: prescription.advices[b].drug.medical_insurance_number,
1168
                 det_item_fee_sumamt: prescription.advices[b].order_info.det_item_fee_sumamt,
1168
                 det_item_fee_sumamt: prescription.advices[b].order_info.det_item_fee_sumamt,
1169
                 name_id: prescription.advices[b].drug.manufacturer,
1169
                 name_id: prescription.advices[b].drug.manufacturer,
1170
                 fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,
1170
                 fulamt_ownpay_amt: prescription.advices[b].order_info.fulamt_ownpay_amt,

+ 20 - 19
src/xt_pages/hospitalStation/checkTemplate/printOne.vue View File

40
                     </div>
40
                     </div>
41
                     <div>医生签字:{{ doctor ? doctor : '' }}</div>
41
                     <div>医生签字:{{ doctor ? doctor : '' }}</div>
42
                 </div>
42
                 </div>
43
-            </div>   
43
+            </div>
44
             <img style="width:100%;" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
44
             <img style="width:100%;" v-if="org_id == 10138" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
45
         </div>
45
         </div>
46
     </div>
46
     </div>
56
       record_date:String,
56
       record_date:String,
57
       prescription_id:Number,
57
       prescription_id:Number,
58
       ids:String
58
       ids:String
59
-    }, 
59
+    },
60
     data(){
60
     data(){
61
       return {
61
       return {
62
         doctorList:[],
62
         doctorList:[],
97
       getAllDoctorList().then(response=>{
97
       getAllDoctorList().then(response=>{
98
         if(response.data.state == 1){
98
         if(response.data.state == 1){
99
                var doctor =  response.data.data.doctor
99
                var doctor =  response.data.data.doctor
100
-               
100
+
101
                this.doctorList = doctor
101
                this.doctorList = doctor
102
              }
102
              }
103
-         })   
103
+         })
104
      },
104
      },
105
 
105
 
106
       getDoctor(id){
106
       getDoctor(id){
126
           patient_id:this.patient_id,
126
           patient_id:this.patient_id,
127
           record_date:this.record_date,
127
           record_date:this.record_date,
128
           prescription_id:this.prescription_id,
128
           prescription_id:this.prescription_id,
129
-          ids:this.ids
129
+          ids:this.ids,
130
+          p_type:1,
130
         }
131
         }
131
         console.log("params",params)
132
         console.log("params",params)
132
        getPrescriptionPrint(params).then(response=>{
133
        getPrescriptionPrint(params).then(response=>{
151
                             }
152
                             }
152
                         }
153
                         }
153
                   })
154
                   })
154
-                
155
+
155
               }
156
               }
156
             })
157
             })
157
             let data = []
158
             let data = []
166
               if(item.team.id == 0){
167
               if(item.team.id == 0){
167
                 data2.push(item)
168
                 data2.push(item)
168
               }
169
               }
169
-              
170
+
170
             })
171
             })
171
-          
172
+
172
             this.total = total
173
             this.total = total
173
             this.pre_time = this.advicePrint[0].pre_time
174
             this.pre_time = this.advicePrint[0].pre_time
174
             this.doctor = this.advicePrint[0].doctor
175
             this.doctor = this.advicePrint[0].doctor
184
             let outputlist1Name = response.data.data.his.patient_info ? JSON.parse(response.data.data.his.patient_info) : {};
185
             let outputlist1Name = response.data.data.his.patient_info ? JSON.parse(response.data.data.his.patient_info) : {};
185
             this.faber = outputlist1Name
186
             this.faber = outputlist1Name
186
 
187
 
187
-            
188
+
188
           }
189
           }
189
        })
190
        })
190
      },
191
      },
237
             }
238
             }
238
               addtotal =  Math.floor(addtotal * 100) / 100
239
               addtotal =  Math.floor(addtotal * 100) / 100
239
         }
240
         }
240
-       
241
+
241
        }
242
        }
242
 
243
 
243
       for (let i = 0; i < this.prescriptions.length; i++) {
244
       for (let i = 0; i < this.prescriptions.length; i++) {
247
                 total = total + this.prescriptions[i].advices[a].price * this.prescriptions[i].advices[a].prescribing_number
248
                 total = total + this.prescriptions[i].advices[a].price * this.prescriptions[i].advices[a].prescribing_number
248
               }
249
               }
249
             }
250
             }
250
-          
251
+
251
             if (this.prescriptions[i].additionalcharge != null) {
252
             if (this.prescriptions[i].additionalcharge != null) {
252
               for (let a = 0; a < this.prescriptions[i].additionalcharge.length; a++) {
253
               for (let a = 0; a < this.prescriptions[i].additionalcharge.length; a++) {
253
                 addtotal = addtotal + this.prescriptions[i].additionalcharge[a].price * this.prescriptions[i].additionalcharge[a].count
254
                 addtotal = addtotal + this.prescriptions[i].additionalcharge[a].price * this.prescriptions[i].additionalcharge[a].count
259
 
260
 
260
         return total + addtotal
261
         return total + addtotal
261
       },
262
       },
262
-      
263
+
263
      getProjectName(id){
264
      getProjectName(id){
264
         var project_name = ""
265
         var project_name = ""
265
         for(let i=0;i<this.projectList.length;i++){
266
         for(let i=0;i<this.projectList.length;i++){
274
         let newIds = ids.split(',').sort(function(a,b){
275
         let newIds = ids.split(',').sort(function(a,b){
275
           return a-b;
276
           return a-b;
276
         })
277
         })
277
-        
278
+
278
         var name = ""
279
         var name = ""
279
         let nameArr = []
280
         let nameArr = []
280
         for(let i=0;i<this.diagnoses.length;i++){
281
         for(let i=0;i<this.diagnoses.length;i++){
281
           // if(id == this.diagnoses[i].id){
282
           // if(id == this.diagnoses[i].id){
282
           //    name = this.diagnoses[i].class_name
283
           //    name = this.diagnoses[i].class_name
283
           // }
284
           // }
284
-          
285
+
285
           if(newIds.indexOf(this.diagnoses[i].id.toString()) > -1){
286
           if(newIds.indexOf(this.diagnoses[i].id.toString()) > -1){
286
             // name += diagnoses[i].class_name + ' '
287
             // name += diagnoses[i].class_name + ' '
287
             nameArr.push(this.diagnoses[i].class_name)
288
             nameArr.push(this.diagnoses[i].class_name)
291
         nameArr.map((item,index) => {
292
         nameArr.map((item,index) => {
292
           if(item == '尿毒症'){
293
           if(item == '尿毒症'){
293
             newNameArr.push(item)
294
             newNameArr.push(item)
294
-            nameArr.splice(index,1,'') 
295
+            nameArr.splice(index,1,'')
295
           }
296
           }
296
         })
297
         })
297
         newNameArr.push(...nameArr)
298
         newNameArr.push(...nameArr)
315
             this.page = 1
316
             this.page = 1
316
             arr.push(item.advices.length)
317
             arr.push(item.advices.length)
317
             item.pageArr.push(arr)
318
             item.pageArr.push(arr)
318
-            
319
+
319
           }else if(item.advices.length > 5){
320
           }else if(item.advices.length > 5){
320
             this.page = parseInt(item.advices.length / 5)
321
             this.page = parseInt(item.advices.length / 5)
321
             let num = item.advices.length % 5
322
             let num = item.advices.length % 5
413
       var xtuser = this.$store.getters.xt_user;
414
       var xtuser = this.$store.getters.xt_user;
414
       this.orgname = xtuser.org.org_name;
415
       this.orgname = xtuser.org.org_name;
415
       this.org_id = this.$store.getters.xt_user.org_id
416
       this.org_id = this.$store.getters.xt_user.org_id
416
-     
417
+
417
    },
418
    },
418
    watch:{
419
    watch:{
419
      ids:function(val){
420
      ids:function(val){
428
 <style lang="scss" scoped>
429
 <style lang="scss" scoped>
429
 .prescription-print{
430
 .prescription-print{
430
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
431
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
431
-    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
432
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
432
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
433
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
433
     margin-bottom: 20px;
434
     margin-bottom: 20px;
434
     padding:20px 10px;
435
     padding:20px 10px;
486
 }
487
 }
487
 .actionBar{
488
 .actionBar{
488
     display: flex;
489
     display: flex;
489
-    justify-content: space-between; 
490
+    justify-content: space-between;
490
     line-height: 24px;
491
     line-height: 24px;
491
     padding:0 10px;
492
     padding:0 10px;
492
 }
493
 }

+ 2 - 2
src/xt_pages/hospitalStation/components/ChargePrescriptionTable.vue View File

49
 
49
 
50
       <el-table-column align="center" prop="name" width="60" label="总价">
50
       <el-table-column align="center" prop="name" width="60" label="总价">
51
         <template slot-scope="scope">
51
         <template slot-scope="scope">
52
-          <div> {{scope.row.retail_price * scope.row.prescribing_number}}元</div>
52
+          <div> {{(scope.row.retail_price * scope.row.prescribing_number).toFixed(2)}}元</div>
53
         </template>
53
         </template>
54
       </el-table-column>
54
       </el-table-column>
55
 
55
 
185
 
185
 
186
       <el-table-column align="center" prop="name" width="60" label="总价">
186
       <el-table-column align="center" prop="name" width="60" label="总价">
187
         <template slot-scope="scope">
187
         <template slot-scope="scope">
188
-          <div> {{scope.row.total * scope.row.price}}元</div>
188
+          <div> {{(scope.row.total * scope.row.price).toFixed(2)}}元</div>
189
         </template>
189
         </template>
190
       </el-table-column>
190
       </el-table-column>
191
 
191
 

+ 6 - 5
src/xt_pages/hospitalStation/components/chargeDialog.vue View File

166
       }
166
       }
167
     },
167
     },
168
     methods: {
168
     methods: {
169
-      show: function (total) {
169
+      show: function (total,order) {
170
         this.total = total;
170
         this.total = total;
171
         this.form.private_price = total;
171
         this.form.private_price = total;
172
         this.form.pay_price = total;
172
         this.form.pay_price = total;
173
         this.form.total = total + this.form.medical_insurance_price;
173
         this.form.total = total + this.form.medical_insurance_price;
174
         this.form.discount_price = 0.0;
174
         this.form.discount_price = 0.0;
175
         this.form.preferential_price = 0.0;
175
         this.form.preferential_price = 0.0;
176
-
177
         this.form.fapiao_code ="";
176
         this.form.fapiao_code ="";
178
         this.form.fapiao_number = "";
177
         this.form.fapiao_number = "";
179
-
180
-
181
-
178
+        if(order&&order.id > 0){
179
+          this.total = order.medfee_sumamt;
180
+          this.form.private_price = order.medfee_sumamt;
181
+          this.form.pay_price = order.medfee_sumamt;
182
+        }
182
         this.visibility = true
183
         this.visibility = true
183
 
184
 
184
       }, hide: function () {
185
       }, hide: function () {

+ 62 - 2
src/xt_pages/hospitalStation/components/settlePrescriptionTable.vue View File

48
       </el-table-column>
48
       </el-table-column>
49
       <el-table-column align="center" prop="name" width="60" label="总价">
49
       <el-table-column align="center" prop="name" width="60" label="总价">
50
         <template slot-scope="scope">
50
         <template slot-scope="scope">
51
-          <div> {{scope.row.prescribing_number * scope.row.retail_price}}元</div>
51
+          <div> {{(scope.row.prescribing_number * scope.row.retail_price).toFixed(2)}}元</div>
52
 
52
 
53
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
53
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
54
         </template>
54
         </template>
55
       </el-table-column>
55
       </el-table-column>
56
 
56
 
57
+      <el-table-column align="center" prop="name" width="60" label="全自费金额">
58
+        <template slot-scope="scope">
59
+          <div> {{scope.row.fulamt_ownpay_amt}}元</div>
60
+        </template>
61
+      </el-table-column>
62
+
63
+
64
+
65
+      <el-table-column align="center" prop="name" width="60" label="超限价金额">
66
+        <template slot-scope="scope">
67
+          <div> {{scope.row.overlmt_amt}}元</div>
68
+        </template>
69
+      </el-table-column>
70
+
71
+
72
+      <el-table-column align="center" prop="name" width="60" label="先行自付金额">
73
+        <template slot-scope="scope">
74
+          <div> {{scope.row.preselfpay_amt}}元</div>
75
+        </template>
76
+      </el-table-column>
77
+
78
+
79
+      <el-table-column align="center" prop="name" width="60" label="符合正常范围金额">
80
+        <template slot-scope="scope">
81
+          <div> {{scope.row.inscp_scp_amt}}元</div>
82
+        </template>
83
+      </el-table-column>
84
+
85
+
57
 
86
 
58
 
87
 
59
       <el-table-column align="center" prop="name" width="50" label="备注">
88
       <el-table-column align="center" prop="name" width="50" label="备注">
118
 
147
 
119
       <el-table-column align="center" prop="name" width="60" label="总价">
148
       <el-table-column align="center" prop="name" width="60" label="总价">
120
         <template slot-scope="scope">
149
         <template slot-scope="scope">
121
-          <div> {{scope.row.total * scope.row.price}}元</div>
150
+          <div> {{(scope.row.total * scope.row.price).toFixed(2)}}元</div>
122
 
151
 
123
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
152
           <!--<el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>-->
124
         </template>
153
         </template>
125
       </el-table-column>
154
       </el-table-column>
155
+
156
+      <el-table-column align="center" prop="name" width="60" label="全自费金额">
157
+        <template slot-scope="scope">
158
+          <div> {{scope.row.fulamt_ownpay_amt}}元</div>
159
+        </template>
160
+      </el-table-column>
161
+
162
+
163
+
164
+      <el-table-column align="center" prop="name" width="60" label="超限价金额">
165
+        <template slot-scope="scope">
166
+          <div> {{scope.row.overlmt_amt}}元</div>
167
+        </template>
168
+      </el-table-column>
169
+
170
+
171
+      <el-table-column align="center" prop="name" width="60" label="先行自付金额">
172
+        <template slot-scope="scope">
173
+          <div> {{scope.row.preselfpay_amt}}元</div>
174
+        </template>
175
+      </el-table-column>
176
+
177
+
178
+      <el-table-column align="center" prop="name" width="60" label="符合正常范围金额">
179
+        <template slot-scope="scope">
180
+          <div> {{scope.row.inscp_scp_amt}}元</div>
181
+        </template>
182
+      </el-table-column>
183
+
184
+
185
+
126
       <el-table-column align="center" prop="name" width="50" label="备注">
186
       <el-table-column align="center" prop="name" width="50" label="备注">
127
         <template slot-scope="scope">
187
         <template slot-scope="scope">
128
           <!--<el-input v-model="scope.row.remark" readonly></el-input>-->
188
           <!--<el-input v-model="scope.row.remark" readonly></el-input>-->

+ 6 - 3
src/xt_pages/hospitalStation/doctorDesk.vue View File

3967
             record: this.record_date,
3967
             record: this.record_date,
3968
             prescription_id: this.prescription_id,
3968
             prescription_id: this.prescription_id,
3969
             ids: ids1,
3969
             ids: ids1,
3970
-            patient_id: this.patientid
3970
+            patient_id: this.patientid,
3971
+            p_type:1
3971
           }
3972
           }
3972
           this.paramsObj = obj1
3973
           this.paramsObj = obj1
3973
         }
3974
         }
3983
             record: this.record_date,
3984
             record: this.record_date,
3984
             prescription_id: this.prescription_id,
3985
             prescription_id: this.prescription_id,
3985
             ids: ids2,
3986
             ids: ids2,
3986
-            patient_id: this.patientid
3987
+            patient_id: this.patientid,
3988
+            p_type:1
3987
           }
3989
           }
3988
           this.paramsObj2 = obj2
3990
           this.paramsObj2 = obj2
3989
         }
3991
         }
3997
             record: this.record_date,
3999
             record: this.record_date,
3998
             prescription_id: this.prescription_id,
4000
             prescription_id: this.prescription_id,
3999
             ids: ids2,
4001
             ids: ids2,
4000
-            patient_id: this.patientid
4002
+            patient_id: this.patientid,
4003
+            p_type:1
4001
           }
4004
           }
4002
           this.paramsObj3 = obj3
4005
           this.paramsObj3 = obj3
4003
         }
4006
         }

+ 4 - 4
src/xt_pages/hospitalStation/index.vue View File

87
                     <!--<el-form-item class="specialFormItem" label="医保卡号:">-->
87
                     <!--<el-form-item class="specialFormItem" label="医保卡号:">-->
88
                     <!--<div style="display:flex;">-->
88
                     <!--<div style="display:flex;">-->
89
                     <!--<el-input v-model="form.medicalInsuranceCard"></el-input>-->
89
                     <!--<el-input v-model="form.medicalInsuranceCard"></el-input>-->
90
-                    <el-button style="margin-left:10px;" type="primary" @click="check" v-if="form.id_card_no.length > 0">查待遇</el-button>
90
+<!--                    <el-button style="margin-left:10px;" type="primary" @click="check" v-if="form.id_card_no.length > 0">查待遇</el-button>-->
91
                     <!--</div>-->
91
                     <!--</div>-->
92
                     <!--</el-form-item>-->
92
                     <!--</el-form-item>-->
93
 
93
 
338
         },
338
         },
339
         doctorList: [],
339
         doctorList: [],
340
         departmentList: [],
340
         departmentList: [],
341
-        check: 0,
342
         show: false,
341
         show: false,
343
         is_Name: false,
342
         is_Name: false,
344
         patient: [],
343
         patient: [],
358
         }
357
         }
359
         var that = this
358
         var that = this
360
         let params={
359
         let params={
361
-          id_card_no: this.form.id_card_no,
360
+          patient_id:this.form.id,
361
+        id_card_no: this.form.id_card_no,
362
           admin_user_id:this.$store.getters.xt_user.user.id,
362
           admin_user_id:this.$store.getters.xt_user.user.id,
363
           med_type: this.form.med_type,
363
           med_type: this.form.med_type,
364
           insutype: this.form.social_type
364
           insutype: this.form.social_type
870
       }
870
       }
871
       this.form.start_time =moment(new Date()).add('year',0).format("YYYY-MM-DD HH:mm:ss")
871
       this.form.start_time =moment(new Date()).add('year',0).format("YYYY-MM-DD HH:mm:ss")
872
       this.getInitData()
872
       this.getInitData()
873
-      //获取当前机构有人员信息
873
+      //获取当前机构有人员信息inde
874
       this.getAllDoctorList()
874
       this.getAllDoctorList()
875
     }
875
     }
876
   }
876
   }

+ 22 - 3
src/xt_pages/hospitalStation/outpatientChargesManagement.vue View File

13
             :editable="false"
13
             :editable="false"
14
             style="width: 100%;"
14
             style="width: 100%;"
15
             type="date"
15
             type="date"
16
-            :picker-options="pickerOptions"
17
             placeholder="选择开始时间"
16
             placeholder="选择开始时间"
18
             align="right"
17
             align="right"
19
             format="yyyy-MM-dd"
18
             format="yyyy-MM-dd"
423
       department: [],
422
       department: [],
424
       invoiceVisible: false,
423
       invoiceVisible: false,
425
       invoiceParams: {},
424
       invoiceParams: {},
426
-      out_hospital_time: ''
425
+      out_hospital_time: moment(new Date()).add('year',0).format("YYYY-MM-DD HH:mm:ss")
427
 
426
 
428
     }
427
     }
429
   },
428
   },
1427
           return
1426
           return
1428
         }
1427
         }
1429
 
1428
 
1430
-        this.$refs.charge.show(this.getSettleTotal())
1429
+        this.$refs.charge.show(this.getSettleTotal(),this.order)
1431
 
1430
 
1432
       } else if (index == 4) {
1431
       } else if (index == 4) {
1433
         if (this.hisPatientInfo.balance_accounts_type == 2) {
1432
         if (this.hisPatientInfo.balance_accounts_type == 2) {
2688
             obj['id'] = drug_month_prescriptions.advices[a].drug_id
2687
             obj['id'] = drug_month_prescriptions.advices[a].drug_id
2689
             // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
2688
             // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
2690
             obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price)
2689
             obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price)
2690
+
2691
+
2692
+            obj['code'] = drug_month_prescriptions.advices[a].drug.medical_insurance_number
2693
+            obj['fulamt_ownpay_amt'] = drug_month_prescriptions.advices[a].order_info.fulamt_ownpay_amt
2694
+            obj['overlmt_amt'] = drug_month_prescriptions.advices[a].order_info.overlmt_amt
2695
+            obj['inscp_scp_amt'] = drug_month_prescriptions.advices[a].order_info.inscp_scp_amt
2696
+            obj['preselfpay_amt'] = drug_month_prescriptions.advices[a].order_info.preselfpay_amt
2697
+
2698
+
2691
             count = count + drug_month_prescriptions.advices[a].prescribing_number
2699
             count = count + drug_month_prescriptions.advices[a].prescribing_number
2692
 
2700
 
2693
           }
2701
           }
2716
 
2724
 
2717
             }
2725
             }
2718
 
2726
 
2727
+            obj['fulamt_ownpay_amt'] = project_month_prescriptions.project[a].order_info.fulamt_ownpay_amt
2728
+            obj['overlmt_amt'] = project_month_prescriptions.project[a].order_info.overlmt_amt
2729
+            obj['inscp_scp_amt'] = project_month_prescriptions.project[a].order_info.inscp_scp_amt
2730
+            obj['preselfpay_amt'] = project_month_prescriptions.project[a].order_info.preselfpay_amt
2731
+
2732
+
2719
             // obj['project_name'] = project_month_prescriptions.project[a].project.project_name;
2733
             // obj['project_name'] = project_month_prescriptions.project[a].project.project_name;
2720
             // obj['statistical_classification'] = project_month_prescriptions.project[a].project.statistical_classification;
2734
             // obj['statistical_classification'] = project_month_prescriptions.project[a].project.statistical_classification;
2721
             obj['single_dose'] = project_month_prescriptions.project[a].single_dose
2735
             obj['single_dose'] = project_month_prescriptions.project[a].single_dose
2729
             // price = price + project_month_prescriptions.project[a].price
2743
             // price = price + project_month_prescriptions.project[a].price
2730
             obj['price'] = parseFloat(project_month_prescriptions.project[a].price)
2744
             obj['price'] = parseFloat(project_month_prescriptions.project[a].price)
2731
 
2745
 
2746
+
2747
+
2748
+
2732
           }
2749
           }
2733
         }
2750
         }
2734
         obj['total'] = count
2751
         obj['total'] = count
2906
                 preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
2923
                 preselfpay_amt: prescription.advices[b].order_info.preselfpay_amt,
2907
                 inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt
2924
                 inscp_scp_amt: prescription.advices[b].order_info.inscp_scp_amt
2908
 
2925
 
2926
+
2927
+
2909
               }
2928
               }
2910
               tempAdvice.push(obj)
2929
               tempAdvice.push(obj)
2911
             }
2930
             }

+ 3 - 1
src/xt_pages/hospitalStation/print.vue View File

71
         prescription_id:"",
71
         prescription_id:"",
72
         ids:'',
72
         ids:'',
73
         paramsObj:{},
73
         paramsObj:{},
74
-        org_id:''
74
+        org_id:'',
75
+        p_type:1,
75
       };
76
       };
76
     },
77
     },
77
     methods:{
78
     methods:{
190
       this.prescription_id = prescription_id
191
       this.prescription_id = prescription_id
191
       this.patient_id = this.paramsObj.patient_id
192
       this.patient_id = this.paramsObj.patient_id
192
       this.ids = this.paramsObj.ids
193
       this.ids = this.paramsObj.ids
194
+
193
       // var record_date = this.$route.query.record
195
       // var record_date = this.$route.query.record
194
       // this.record_date = record_date
196
       // this.record_date = record_date
195
       // console.log("record_date",record_date)
197
       // console.log("record_date",record_date)

+ 8 - 7
src/xt_pages/hospitalStation/statementTemplate/printOne.vue View File

24
       </tr>
24
       </tr>
25
       <tr>
25
       <tr>
26
         <td width="90">就医登记号</td>
26
         <td width="90">就医登记号</td>
27
-        <td colspan="11">{{info.psn_no}}</td>
27
+        <td colspan="11">{{info.mdtrt_id}}</td>
28
       </tr>
28
       </tr>
29
       <tr>
29
       <tr>
30
         <td width="80">姓名</td>
30
         <td width="80">姓名</td>
36
         <td width="80">出生日期</td>
36
         <td width="80">出生日期</td>
37
         <td width="100">{{info.brdy}}</td>
37
         <td width="100">{{info.brdy}}</td>
38
         <td width="90">个人电脑号</td>
38
         <td width="90">个人电脑号</td>
39
-        <td width="110"></td>
39
+        <td width="110">{{info.psn_no}}</td>
40
         <td width="80">人员类别</td>
40
         <td width="80">人员类别</td>
41
         <td colspan="3" v-if="info.psn_type == '11'">在职</td>
41
         <td colspan="3" v-if="info.psn_type == '11'">在职</td>
42
         <td colspan="3" v-if="info.psn_type == '1101'">职工在职</td>
42
         <td colspan="3" v-if="info.psn_type == '1101'">职工在职</td>
77
         <td>单位名称</td>
77
         <td>单位名称</td>
78
         <td colspan="5">{{info.emp_name}}</td>
78
         <td colspan="5">{{info.emp_name}}</td>
79
         <td width="80">联系电话</td>
79
         <td width="80">联系电话</td>
80
-        <td width="110"></td>
80
+        <td width="110">{{}}</td>
81
         <td width="80">身份证号</td>
81
         <td width="80">身份证号</td>
82
         <td colspan="3">{{info.certno}}</td>
82
         <td colspan="3">{{info.certno}}</td>
83
       </tr>
83
       </tr>
93
         <td>出院日期</td>
93
         <td>出院日期</td>
94
         <td width="100">{{info.enddate}}</td>
94
         <td width="100">{{info.enddate}}</td>
95
         <td>住院天数</td>
95
         <td>住院天数</td>
96
-        <td>{{getDay(info.begndate,info.enddate)}}</td>
96
+        <td>{{getDay(info.begndate,info.enddate) + 1}}</td>
97
 
97
 
98
       </tr>
98
       </tr>
99
       <tr>
99
       <tr>
117
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '11'">普通门诊</td>
117
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '11'">普通门诊</td>
118
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '12'">门诊挂号</td>
118
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '12'">门诊挂号</td>
119
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '13'">急诊</td>
119
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '13'">急诊</td>
120
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊特殊病</td>
120
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊慢性病</td>
121
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '15'">门诊统筹</td>
121
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '15'">门诊统筹</td>
122
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>
122
+<!--        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>-->
123
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
123
         <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
124
 
124
 
125
         <td>结算时间</td>
125
         <td>结算时间</td>
126
-        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time}}</td>
126
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time.split(' ')[0]}}</td>
127
       </tr>
127
       </tr>
128
       <tr>
128
       <tr>
129
         <td colspan="12" style="text-align:left;padding-left:10px;">
129
         <td colspan="12" style="text-align:left;padding-left:10px;">
130
           本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_pay}}元。
130
           本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_pay}}元。
131
+          (起付线 {{info.act_pay_dedc}}元, 先自付 {{info.preselfpay_amt}}元, 段内自付 {{info.psn_pay - info.preselfpay_amt}} )
131
         </td>
132
         </td>
132
       </tr>
133
       </tr>
133
       <tr>
134
       <tr>

+ 3 - 1
src/xt_pages/hospitalStation/template/printFive.vue View File

203
         patient_id: this.patient_id,
203
         patient_id: this.patient_id,
204
         record_date: this.record_date,
204
         record_date: this.record_date,
205
         prescription_id: this.prescription_id,
205
         prescription_id: this.prescription_id,
206
-        ids: this.ids
206
+        ids: this.ids,
207
+        p_type:1,
208
+
207
       }
209
       }
208
       console.log('params', params)
210
       console.log('params', params)
209
       getPrescriptionPrint(params).then(response => {
211
       getPrescriptionPrint(params).then(response => {

+ 4 - 2
src/xt_pages/hospitalStation/template/printFour.vue View File

148
           patient_id:this.patient_id,
148
           patient_id:this.patient_id,
149
           record_date:this.record_date,
149
           record_date:this.record_date,
150
           prescription_id:this.prescription_id,
150
           prescription_id:this.prescription_id,
151
-          ids:this.ids
152
-        }
151
+          ids:this.ids,
152
+           p_type:1,
153
+
154
+         }
153
         console.log("params",params)
155
         console.log("params",params)
154
        getPrescriptionPrint(params).then(response=>{
156
        getPrescriptionPrint(params).then(response=>{
155
          if(response.data.state == 1){
157
          if(response.data.state == 1){

+ 3 - 2
src/xt_pages/hospitalStation/template/printOne.vue View File

149
           patient_id:this.patient_id,
149
           patient_id:this.patient_id,
150
           record_date:this.record_date,
150
           record_date:this.record_date,
151
           prescription_id:this.prescription_id,
151
           prescription_id:this.prescription_id,
152
-          ids:this.ids
152
+          ids:this.ids,
153
+          p_type:1,
153
         }
154
         }
154
         console.log("params",params)
155
         console.log("params",params)
155
        getPrescriptionPrint(params).then(response=>{
156
        getPrescriptionPrint(params).then(response=>{
169
      },
170
      },
170
      getHisPatientDetail(){
171
      getHisPatientDetail(){
171
           const params = {
172
           const params = {
172
-              patient_id:this.patient_id
173
+              patient_id:this.patient_id,
173
           }
174
           }
174
        getHisPatientDetail(params).then(response=>{
175
        getHisPatientDetail(params).then(response=>{
175
           if(response.data.state == 1){
176
           if(response.data.state == 1){

+ 4 - 2
src/xt_pages/hospitalStation/template/printThree.vue View File

171
           patient_id:this.patient_id,
171
           patient_id:this.patient_id,
172
           record_date:this.record_date,
172
           record_date:this.record_date,
173
           prescription_id:this.prescription_id,
173
           prescription_id:this.prescription_id,
174
-          ids:this.ids
175
-        }
174
+          ids:this.ids,
175
+           p_type:1,
176
+
177
+         }
176
         console.log("params",params)
178
         console.log("params",params)
177
        getPrescriptionPrint(params).then(response=>{
179
        getPrescriptionPrint(params).then(response=>{
178
          if(response.data.state == 1){
180
          if(response.data.state == 1){

+ 3 - 1
src/xt_pages/hospitalStation/template/printTwo.vue View File

130
           patient_id:this.patient_id,
130
           patient_id:this.patient_id,
131
           record_date:this.record_date,
131
           record_date:this.record_date,
132
           prescription_id:this.prescription_id,
132
           prescription_id:this.prescription_id,
133
-        }
133
+           p_type:1,
134
+
135
+         }
134
         console.log("params---",params)
136
         console.log("params---",params)
135
        getPrescriptionPrint(params).then(response=>{
137
        getPrescriptionPrint(params).then(response=>{
136
          if(response.data.state == 1){
138
          if(response.data.state == 1){

+ 3 - 1
src/xt_pages/hospitalStation/treatTemplate/printOne.vue View File

317
           patient_id: this.patient_id,
317
           patient_id: this.patient_id,
318
           record_date: this.record_date,
318
           record_date: this.record_date,
319
           prescription_id: this.prescription_id,
319
           prescription_id: this.prescription_id,
320
-          ids: this.ids
320
+          ids: this.ids,
321
+          p_type:1,
322
+
321
         }
323
         }
322
         console.log('999999', params)
324
         console.log('999999', params)
323
         getPrescriptionPrint(params).then(response => {
325
         getPrescriptionPrint(params).then(response => {

+ 3 - 1
src/xt_pages/hospitalStation/treatTemplate/printTwo.vue View File

308
           record_date:this.record_date,
308
           record_date:this.record_date,
309
           prescription_id:this.prescription_id,
309
           prescription_id:this.prescription_id,
310
           ids:this.ids,
310
           ids:this.ids,
311
-        }
311
+           p_type:1,
312
+
313
+         }
312
         console.log("999999",params)
314
         console.log("999999",params)
313
        getPrescriptionPrint(params).then(response=>{
315
        getPrescriptionPrint(params).then(response=>{
314
          if(response.data.state == 1){
316
          if(response.data.state == 1){

+ 54 - 4
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

89
             >结算单
89
             >结算单
90
             </el-button>
90
             </el-button>
91
 
91
 
92
+            <el-button v-if="this.radio == 2   && this.order.order_status == 2" size="small"
93
+                       @click="open(30)" type="primary"
94
+            >打印发票
95
+            </el-button>
96
+
92
             <el-button
97
             <el-button
93
                 size="small" @click="open(10)" type="primary"
98
                 size="small" @click="open(10)" type="primary"
94
             >退号
99
             >退号
801
       </div>
806
       </div>
802
     </el-dialog>
807
     </el-dialog>
803
 
808
 
809
+    <el-dialog
810
+        class="centerDialog"
811
+        width="1200px"
812
+        title="打印"
813
+        :visible.sync="invoiceVisible">
814
+      <invoice-print ref="print" :invoiceParams='invoiceParams'></invoice-print>
815
+    </el-dialog>
816
+
804
   </div>
817
   </div>
805
 
818
 
806
 </template>
819
 </template>
808
 
821
 
809
 <script>
822
 <script>
810
 import axios from 'axios'
823
 import axios from 'axios'
811
-
824
+import invoicePrint from './invoicePrint'
812
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
825
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
813
 import noCharge from './components/noCharge'
826
 import noCharge from './components/noCharge'
814
 import charged from './components/charged'
827
 import charged from './components/charged'
815
 import medicalInsuranceRefund from './components/medicalInsuranceRefund'
828
 import medicalInsuranceRefund from './components/medicalInsuranceRefund'
816
 import prescriptionTable from './components/prescriptionTable'
829
 import prescriptionTable from './components/prescriptionTable'
817
 import additionalCharges from './components/additionalCharges'
830
 import additionalCharges from './components/additionalCharges'
831
+import { fetchAllAdminUsers } from '@/api/doctor'
832
+
818
 import {
833
 import {
819
   changeMedType,
834
   changeMedType,
820
   getChargeHisPatientInfo,
835
   getChargeHisPatientInfo,
826
   Refund,
841
   Refund,
827
   refundNumber,
842
   refundNumber,
828
   register,
843
   register,
829
-  upload
844
+  upload,
845
+
830
 } from '@/api/his/his'
846
 } from '@/api/his/his'
831
 import RegisterDialog from './components/registerDialog'
847
 import RegisterDialog from './components/registerDialog'
832
 import treatPrint from './treatPrint'
848
 import treatPrint from './treatPrint'
854
     prescriptionTable,
870
     prescriptionTable,
855
     additionalCharges,
871
     additionalCharges,
856
     treatPrint,
872
     treatPrint,
857
-    statementPrint
873
+    statementPrint,
874
+    invoicePrint
858
 
875
 
859
   },
876
   },
860
   data() {
877
   data() {
861
     return {
878
     return {
879
+      invoiceVisible:false,
880
+      invoiceParams:null,
862
       temp_med_type: '',
881
       temp_med_type: '',
863
       dialogVisible: false,
882
       dialogVisible: false,
864
       pwdFormVisible: false,
883
       pwdFormVisible: false,
949
 
968
 
950
       other_start_time_two: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
969
       other_start_time_two: moment(new Date()).subtract(30, 'days').format('YYYY-MM-DD'),
951
       other_end_time_two: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
970
       other_end_time_two: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
952
-
971
+      adminUserOptions:[],
953
       curMonthPrescriptions: null,
972
       curMonthPrescriptions: null,
954
       newCurMonthPrescriptions: null,
973
       newCurMonthPrescriptions: null,
955
       big_month_prescriptions: [],
974
       big_month_prescriptions: [],
1025
     }
1044
     }
1026
   },
1045
   },
1027
   created() {
1046
   created() {
1047
+    this.fetchAllAdminUsers()
1028
     const tableHeight = document.body.clientHeight - 290
1048
     const tableHeight = document.body.clientHeight - 290
1029
     this.tableHeight = tableHeight
1049
     this.tableHeight = tableHeight
1030
     var nowDate = new Date()
1050
     var nowDate = new Date()
1056
     this.getPatientList()
1076
     this.getPatientList()
1057
   },
1077
   },
1058
   methods: {
1078
   methods: {
1079
+    fetchAllAdminUsers() {
1080
+      fetchAllAdminUsers().then(response => {
1081
+        if (response.data.state == 1) {
1082
+          this.adminUserOptions = response.data.data.users
1083
+
1084
+        }
1085
+      })
1086
+    },
1059
     changeTimeTwo() {
1087
     changeTimeTwo() {
1060
       this.getPatientList()
1088
       this.getPatientList()
1061
       this.form.diagnosis_time = this.record_date + ' ' + '00:00:00'
1089
       this.form.diagnosis_time = this.record_date + ' ' + '00:00:00'
2986
             .catch(function(error) {
3014
             .catch(function(error) {
2987
             })
3015
             })
2988
 
3016
 
3017
+      } else if(index == 30){
3018
+
3019
+        let paramsObj = {
3020
+          order_id: this.order.id,
3021
+          patient_id: this.order.patient_id,
3022
+          number: this.order.mdtrt_id,
3023
+          name: this.patientInfo.name,
3024
+          age: this.order.age,
3025
+          gend: this.order.gend,
3026
+          setl_time: this.order.setl_time,
3027
+          chargeName: this.getName(this.order.creator)
3028
+        }
3029
+        this.invoiceParams = paramsObj
3030
+        this.invoiceVisible = true
3031
+
2989
       }
3032
       }
3033
+    }, getName(admin_user_id) {
3034
+      for (let i = 0; i < this.adminUserOptions.length; i++) {
3035
+        if (this.adminUserOptions[i].id == admin_user_id) {
3036
+          return this.adminUserOptions[i].name
3037
+        }
3038
+      }
3039
+
2990
     },
3040
     },
2991
     choosePatient() {
3041
     choosePatient() {
2992
       this.radioStatus = id
3042
       this.radioStatus = id

+ 22 - 20
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue View File

40
                     </div>
40
                     </div>
41
                     <div>医生签字:{{ doctor ? doctor : '' }}</div>
41
                     <div>医生签字:{{ doctor ? doctor : '' }}</div>
42
                 </div>
42
                 </div>
43
-            </div>   
43
+            </div>
44
             <img style="width:100%;" v-if="org_id == 10138 || org_id == 10278" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
44
             <img style="width:100%;" v-if="org_id == 10138 || org_id == 10278" src="https://kuyi.shengws.com/bailin/blend.jpg" alt="">
45
         </div>
45
         </div>
46
     </div>
46
     </div>
56
       record_date:String,
56
       record_date:String,
57
       prescription_id:Number,
57
       prescription_id:Number,
58
       ids:String
58
       ids:String
59
-    }, 
59
+    },
60
     data(){
60
     data(){
61
       return {
61
       return {
62
         doctorList:[],
62
         doctorList:[],
97
       getAllDoctorList().then(response=>{
97
       getAllDoctorList().then(response=>{
98
         if(response.data.state == 1){
98
         if(response.data.state == 1){
99
                var doctor =  response.data.data.doctor
99
                var doctor =  response.data.data.doctor
100
-               
100
+
101
                this.doctorList = doctor
101
                this.doctorList = doctor
102
              }
102
              }
103
-         })   
103
+         })
104
      },
104
      },
105
 
105
 
106
       getDoctor(id){
106
       getDoctor(id){
126
           patient_id:this.patient_id,
126
           patient_id:this.patient_id,
127
           record_date:this.record_date,
127
           record_date:this.record_date,
128
           prescription_id:this.prescription_id,
128
           prescription_id:this.prescription_id,
129
-          ids:this.ids
130
-        }
129
+          ids:this.ids,
130
+           p_type:2,
131
+
132
+         }
131
         console.log("params",params)
133
         console.log("params",params)
132
        getPrescriptionPrint(params).then(response=>{
134
        getPrescriptionPrint(params).then(response=>{
133
          if(response.data.state == 1){
135
          if(response.data.state == 1){
152
                             }
154
                             }
153
                         }
155
                         }
154
                   })
156
                   })
155
-                
157
+
156
               }
158
               }
157
             })
159
             })
158
             let data = []
160
             let data = []
167
               if(item.team.id == 0){
169
               if(item.team.id == 0){
168
                 data2.push(item)
170
                 data2.push(item)
169
               }
171
               }
170
-              
172
+
171
             })
173
             })
172
-          
174
+
173
             this.total = total.toFixed(2)
175
             this.total = total.toFixed(2)
174
             this.pre_time = this.advicePrint[0].pre_time
176
             this.pre_time = this.advicePrint[0].pre_time
175
             this.doctor = this.advicePrint[0].doctor
177
             this.doctor = this.advicePrint[0].doctor
185
             let outputlist1Name = response.data.data.his.patient_info ? JSON.parse(response.data.data.his.patient_info) : {};
187
             let outputlist1Name = response.data.data.his.patient_info ? JSON.parse(response.data.data.his.patient_info) : {};
186
             this.faber = outputlist1Name
188
             this.faber = outputlist1Name
187
 
189
 
188
-            
190
+
189
           }
191
           }
190
        })
192
        })
191
      },
193
      },
238
             }
240
             }
239
               addtotal =  Math.floor(addtotal * 100) / 100
241
               addtotal =  Math.floor(addtotal * 100) / 100
240
         }
242
         }
241
-       
243
+
242
        }
244
        }
243
 
245
 
244
       for (let i = 0; i < this.prescriptions.length; i++) {
246
       for (let i = 0; i < this.prescriptions.length; i++) {
248
                 total = total + this.prescriptions[i].advices[a].price * this.prescriptions[i].advices[a].prescribing_number
250
                 total = total + this.prescriptions[i].advices[a].price * this.prescriptions[i].advices[a].prescribing_number
249
               }
251
               }
250
             }
252
             }
251
-          
253
+
252
             if (this.prescriptions[i].additionalcharge != null) {
254
             if (this.prescriptions[i].additionalcharge != null) {
253
               for (let a = 0; a < this.prescriptions[i].additionalcharge.length; a++) {
255
               for (let a = 0; a < this.prescriptions[i].additionalcharge.length; a++) {
254
                 addtotal = addtotal + this.prescriptions[i].additionalcharge[a].price * this.prescriptions[i].additionalcharge[a].count
256
                 addtotal = addtotal + this.prescriptions[i].additionalcharge[a].price * this.prescriptions[i].additionalcharge[a].count
260
 
262
 
261
         return total + addtotal
263
         return total + addtotal
262
       },
264
       },
263
-      
265
+
264
      getProjectName(id){
266
      getProjectName(id){
265
         var project_name = ""
267
         var project_name = ""
266
         for(let i=0;i<this.projectList.length;i++){
268
         for(let i=0;i<this.projectList.length;i++){
275
         let newIds = ids.split(',').sort(function(a,b){
277
         let newIds = ids.split(',').sort(function(a,b){
276
           return a-b;
278
           return a-b;
277
         })
279
         })
278
-        
280
+
279
         var name = ""
281
         var name = ""
280
         let nameArr = []
282
         let nameArr = []
281
         for(let i=0;i<this.diagnoses.length;i++){
283
         for(let i=0;i<this.diagnoses.length;i++){
282
           // if(id == this.diagnoses[i].id){
284
           // if(id == this.diagnoses[i].id){
283
           //    name = this.diagnoses[i].class_name
285
           //    name = this.diagnoses[i].class_name
284
           // }
286
           // }
285
-          
287
+
286
           if(newIds.indexOf(this.diagnoses[i].id.toString()) > -1){
288
           if(newIds.indexOf(this.diagnoses[i].id.toString()) > -1){
287
             // name += diagnoses[i].class_name + ' '
289
             // name += diagnoses[i].class_name + ' '
288
             nameArr.push(this.diagnoses[i].class_name)
290
             nameArr.push(this.diagnoses[i].class_name)
292
         nameArr.map((item,index) => {
294
         nameArr.map((item,index) => {
293
           if(item == '尿毒症'){
295
           if(item == '尿毒症'){
294
             newNameArr.push(item)
296
             newNameArr.push(item)
295
-            nameArr.splice(index,1,'') 
297
+            nameArr.splice(index,1,'')
296
           }
298
           }
297
         })
299
         })
298
         newNameArr.push(...nameArr)
300
         newNameArr.push(...nameArr)
316
             this.page = 1
318
             this.page = 1
317
             arr.push(item.advices.length)
319
             arr.push(item.advices.length)
318
             item.pageArr.push(arr)
320
             item.pageArr.push(arr)
319
-            
321
+
320
           }else if(item.advices.length > 5){
322
           }else if(item.advices.length > 5){
321
             this.page = parseInt(item.advices.length / 5)
323
             this.page = parseInt(item.advices.length / 5)
322
             let num = item.advices.length % 5
324
             let num = item.advices.length % 5
414
       var xtuser = this.$store.getters.xt_user;
416
       var xtuser = this.$store.getters.xt_user;
415
       this.orgname = xtuser.org.org_name;
417
       this.orgname = xtuser.org.org_name;
416
       this.org_id = this.$store.getters.xt_user.org_id
418
       this.org_id = this.$store.getters.xt_user.org_id
417
-     
419
+
418
    },
420
    },
419
    watch:{
421
    watch:{
420
      ids:function(val){
422
      ids:function(val){
429
 <style lang="scss" scoped>
431
 <style lang="scss" scoped>
430
 .prescription-print{
432
 .prescription-print{
431
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
433
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
432
-    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset; 
434
+    -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
433
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
435
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
434
     margin-bottom: 20px;
436
     margin-bottom: 20px;
435
     padding:20px 10px;
437
     padding:20px 10px;
487
 }
489
 }
488
 .actionBar{
490
 .actionBar{
489
     display: flex;
491
     display: flex;
490
-    justify-content: space-between; 
492
+    justify-content: space-between;
491
     line-height: 24px;
493
     line-height: 24px;
492
     padding:0 10px;
494
     padding:0 10px;
493
 }
495
 }

+ 3 - 3
src/xt_pages/outpatientDoctorStation/pastInquiries.vue View File

14
                         format="yyyy-MM-dd"
14
                         format="yyyy-MM-dd"
15
                         value-format="yyyy-MM-dd"
15
                         value-format="yyyy-MM-dd"
16
                         placeholder="选择日期时间" align="right"></el-date-picker>
16
                         placeholder="选择日期时间" align="right"></el-date-picker>
17
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(1)">处方筏批量打印</el-button>
18
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(2)">治疗单批量打印</el-button>
19
-        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(3)">检验单批量打印</el-button>
17
+<!--        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(1)">处方筏批量打印</el-button>-->
18
+<!--        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(2)">治疗单批量打印</el-button>-->
19
+<!--        <el-button size="small" style="margin:0 10px;" class="filter-item" type="primary" @click="batchPrint(3)">检验单批量打印</el-button>-->
20
       </div>
20
       </div>
21
       <el-table :data="tableData" border ref="table" style="width: 100%;" :row-style="{ color: '#303133' }" @selection-change="handleSelectionChange"
21
       <el-table :data="tableData" border ref="table" style="width: 100%;" :row-style="{ color: '#303133' }" @selection-change="handleSelectionChange"
22
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
22
                 :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>

+ 4 - 2
src/xt_pages/outpatientDoctorStation/template/printFive.vue View File

167
           patient_id:this.patient_id,
167
           patient_id:this.patient_id,
168
           record_date:this.record_date,
168
           record_date:this.record_date,
169
           prescription_id:this.prescription_id,
169
           prescription_id:this.prescription_id,
170
-          ids:this.ids
171
-        }
170
+          ids:this.ids,
171
+           p_type:2,
172
+
173
+         }
172
         console.log("params",params)
174
         console.log("params",params)
173
        getPrescriptionPrint(params).then(response=>{
175
        getPrescriptionPrint(params).then(response=>{
174
          if(response.data.state == 1){
176
          if(response.data.state == 1){

+ 4 - 2
src/xt_pages/outpatientDoctorStation/template/printFour.vue View File

147
           patient_id:this.patient_id,
147
           patient_id:this.patient_id,
148
           record_date:this.record_date,
148
           record_date:this.record_date,
149
           prescription_id:this.prescription_id,
149
           prescription_id:this.prescription_id,
150
-          ids:this.ids
151
-        }
150
+          ids:this.ids,
151
+           p_type:2,
152
+
153
+         }
152
         console.log("params",params)
154
         console.log("params",params)
153
        getPrescriptionPrint(params).then(response=>{
155
        getPrescriptionPrint(params).then(response=>{
154
          if(response.data.state == 1){
156
          if(response.data.state == 1){

+ 4 - 2
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

165
           patient_id:this.patient_id,
165
           patient_id:this.patient_id,
166
           record_date:this.record_date,
166
           record_date:this.record_date,
167
           prescription_id:this.prescription_id,
167
           prescription_id:this.prescription_id,
168
-          ids:this.ids
169
-        }
168
+          ids:this.ids,
169
+           p_type:2,
170
+
171
+         }
170
         console.log("params",params)
172
         console.log("params",params)
171
        getPrescriptionPrint(params).then(response=>{
173
        getPrescriptionPrint(params).then(response=>{
172
          if(response.data.state == 1){
174
          if(response.data.state == 1){

+ 4 - 2
src/xt_pages/outpatientDoctorStation/template/printThree.vue View File

184
           patient_id:this.patient_id,
184
           patient_id:this.patient_id,
185
           record_date:this.record_date,
185
           record_date:this.record_date,
186
           prescription_id:this.prescription_id,
186
           prescription_id:this.prescription_id,
187
-          ids:this.ids
188
-        }
187
+          ids:this.ids,
188
+           p_type:2,
189
+
190
+         }
189
         console.log("params",params)
191
         console.log("params",params)
190
        getPrescriptionPrint(params).then(response=>{
192
        getPrescriptionPrint(params).then(response=>{
191
          if(response.data.state == 1){
193
          if(response.data.state == 1){

+ 3 - 1
src/xt_pages/outpatientDoctorStation/template/printTwo.vue View File

112
           patient_id:this.patient_id,
112
           patient_id:this.patient_id,
113
           record_date:this.record_date,
113
           record_date:this.record_date,
114
           prescription_id:this.prescription_id,
114
           prescription_id:this.prescription_id,
115
-        }
115
+           p_type:2,
116
+
117
+         }
116
         console.log("params---",params)
118
         console.log("params---",params)
117
        getPrescriptionPrint(params).then(response=>{
119
        getPrescriptionPrint(params).then(response=>{
118
          if(response.data.state == 1){
120
          if(response.data.state == 1){

+ 2 - 1
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue View File

317
           patient_id: this.patient_id,
317
           patient_id: this.patient_id,
318
           record_date: this.record_date,
318
           record_date: this.record_date,
319
           prescription_id: this.prescription_id,
319
           prescription_id: this.prescription_id,
320
-          ids: this.ids
320
+          ids: this.ids,
321
+          p_type:2,
321
         }
322
         }
322
         console.log('999999', params)
323
         console.log('999999', params)
323
         getPrescriptionPrint(params).then(response => {
324
         getPrescriptionPrint(params).then(response => {

+ 4 - 2
src/xt_pages/outpatientDoctorStation/treatTemplate/printTwo.vue View File

247
       //   age++
247
       //   age++
248
       // }
248
       // }
249
       // return age
249
       // return age
250
-      var nowTime = new Date().getTime(); 
250
+      var nowTime = new Date().getTime();
251
       //一年毫秒数(365 * 86400000 = 31536000000)
251
       //一年毫秒数(365 * 86400000 = 31536000000)
252
       return Math.ceil((nowTime-(birthday * 1000))/31536000000);
252
       return Math.ceil((nowTime-(birthday * 1000))/31536000000);
253
     },
253
     },
321
           record_date:this.record_date,
321
           record_date:this.record_date,
322
           prescription_id:this.prescription_id,
322
           prescription_id:this.prescription_id,
323
           ids:this.ids,
323
           ids:this.ids,
324
-        }
324
+           p_type:2,
325
+
326
+         }
325
         console.log("999999",params)
327
         console.log("999999",params)
326
        getPrescriptionPrint(params).then(response=>{
328
        getPrescriptionPrint(params).then(response=>{
327
          if(response.data.state == 1){
329
          if(response.data.state == 1){

+ 6 - 10
src/xt_pages/outpatientTool/yidiClear.vue View File

7
     <div style="display: flex;justify-content: space-between;margin-bottom:10px;">
7
     <div style="display: flex;justify-content: space-between;margin-bottom:10px;">
8
       <div>
8
       <div>
9
 
9
 
10
-        <el-date-picker
11
-            v-model="year"
12
-            type="year"
13
-            placeholder="选择年">
14
-        </el-date-picker>
10
+
15
         <el-date-picker
11
         <el-date-picker
16
             v-model="month"
12
             v-model="month"
17
             type="month"
13
             type="month"
18
-            placeholder="选择月">
14
+            placeholder="选择年月">
19
         </el-date-picker>
15
         </el-date-picker>
20
       </div>
16
       </div>
21
       <div>
17
       <div>
98
     getYidiClear(){
94
     getYidiClear(){
99
       var that = this;
95
       var that = this;
100
       let params = {
96
       let params = {
101
-        'year':year,
102
-        'month':month,
97
+        'year':this.month.split("-")[0],
98
+        'month':this.month.split("-")[1],
103
         'admin_user_id':this.$store.getters.xt_user.user.id,
99
         'admin_user_id':this.$store.getters.xt_user.user.id,
104
       };
100
       };
105
       axios.get('http://127.0.0.1:9532/api/allopatry/get',{params:params}).then(function(response) {
101
       axios.get('http://127.0.0.1:9532/api/allopatry/get',{params:params}).then(function(response) {
127
     },comfirmClear(){
123
     },comfirmClear(){
128
       var that = this;
124
       var that = this;
129
       let params = {
125
       let params = {
130
-        'year':year,
131
-        'month':month,
126
+        'year':this.month.split("-")[0],
127
+        'month':this.month.split("-")[1],
132
         'admin_user_id':this.$store.getters.xt_user.user.id,
128
         'admin_user_id':this.$store.getters.xt_user.user.id,
133
       };
129
       };
134
       axios.post('http://127.0.0.1:9532/api/comfirmallopatry/post',{params:params}).then(function(response) {
130
       axios.post('http://127.0.0.1:9532/api/comfirmallopatry/post',{params:params}).then(function(response) {

+ 1 - 1
src/xt_pages/supply/components/addSupply.vue View File

1
 <template>
1
 <template>
2
-  <el-dialog :title="title" :visible.sync="dialogVisible" width="40%" :show-close="false">
2
+  <el-dialog :title="title" :visible.sync="dialogVisible" width="40%" :before-close="closePop" >
3
     <!-- :before-close="handleClose" 如需要可添加进上方 -->
3
     <!-- :before-close="handleClose" 如需要可添加进上方 -->
4
     <div>
4
     <div>
5
       <el-form
5
       <el-form

+ 1 - 1
src/xt_pages/supply/supplyQuery.vue View File

181
       page: 1,
181
       page: 1,
182
       limit: 10,
182
       limit: 10,
183
 
183
 
184
-      type_name: "请选择",
184
+      type_name: "",
185
       crumbs: [
185
       crumbs: [
186
         { path: false, name: "采购管理" },
186
         { path: false, name: "采购管理" },
187
         { path: "/supply/good/order/query", name: "供应商管理" },
187
         { path: "/supply/good/order/query", name: "供应商管理" },