manage-client 4.1.89 → 4.1.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/package_2025-06-24-17-17-15.json +111 -0
- package/lib/reportManage/lib/0.lib.js +1 -0
- package/lib/reportManage/lib/10.lib.js +1 -0
- package/lib/reportManage/lib/100.lib.js +1 -0
- package/lib/reportManage/lib/101.lib.js +1 -0
- package/lib/reportManage/lib/102.lib.js +1 -0
- package/lib/reportManage/lib/103.lib.js +1 -0
- package/lib/reportManage/lib/104.lib.js +1 -0
- package/lib/reportManage/lib/105.lib.js +1 -0
- package/lib/reportManage/lib/106.lib.js +1 -0
- package/lib/reportManage/lib/107.lib.js +1 -0
- package/lib/reportManage/lib/108.lib.js +1 -0
- package/lib/reportManage/lib/109.lib.js +1 -0
- package/lib/reportManage/lib/11.lib.js +1 -0
- package/lib/reportManage/lib/110.lib.js +1 -0
- package/lib/reportManage/lib/111.lib.js +1 -0
- package/lib/reportManage/lib/112.lib.js +1 -0
- package/lib/reportManage/lib/113.lib.js +1 -0
- package/lib/reportManage/lib/114.lib.js +1 -0
- package/lib/reportManage/lib/115.lib.js +1 -0
- package/lib/reportManage/lib/116.lib.js +1 -0
- package/lib/reportManage/lib/117.lib.js +1 -0
- package/lib/reportManage/lib/118.lib.js +1 -0
- package/lib/reportManage/lib/119.lib.js +1 -0
- package/lib/reportManage/lib/12.lib.js +1 -0
- package/lib/reportManage/lib/120.lib.js +1 -0
- package/lib/reportManage/lib/121.lib.js +1 -0
- package/lib/reportManage/lib/122.lib.js +1 -0
- package/lib/reportManage/lib/123.lib.js +1 -0
- package/lib/reportManage/lib/124.lib.js +1 -0
- package/lib/reportManage/lib/125.lib.js +1 -0
- package/lib/reportManage/lib/126.lib.js +1 -0
- package/lib/reportManage/lib/127.lib.js +1 -0
- package/lib/reportManage/lib/128.lib.js +1 -0
- package/lib/reportManage/lib/129.lib.js +1 -0
- package/lib/reportManage/lib/13.lib.js +1 -0
- package/lib/reportManage/lib/130.lib.js +1 -0
- package/lib/reportManage/lib/131.lib.js +1 -0
- package/lib/reportManage/lib/132.lib.js +1 -0
- package/lib/reportManage/lib/133.lib.js +1 -0
- package/lib/reportManage/lib/134.lib.js +1 -0
- package/lib/reportManage/lib/135.lib.js +1 -0
- package/lib/reportManage/lib/136.lib.js +1 -0
- package/lib/reportManage/lib/137.lib.js +1 -0
- package/lib/reportManage/lib/138.lib.js +1 -0
- package/lib/reportManage/lib/139.lib.js +1 -0
- package/lib/reportManage/lib/14.lib.js +1 -0
- package/lib/reportManage/lib/140.lib.js +1 -0
- package/lib/reportManage/lib/141.lib.js +1 -0
- package/lib/reportManage/lib/142.lib.js +1 -0
- package/lib/reportManage/lib/143.lib.js +1 -0
- package/lib/reportManage/lib/144.lib.js +1 -0
- package/lib/reportManage/lib/145.lib.js +1 -0
- package/lib/reportManage/lib/146.lib.js +1 -0
- package/lib/reportManage/lib/147.lib.js +1 -0
- package/lib/reportManage/lib/148.lib.js +1 -0
- package/lib/reportManage/lib/149.lib.js +1 -0
- package/lib/reportManage/lib/15.lib.js +1 -0
- package/lib/reportManage/lib/150.lib.js +1 -0
- package/lib/reportManage/lib/151.lib.js +1 -0
- package/lib/reportManage/lib/152.lib.js +1 -0
- package/lib/reportManage/lib/153.lib.js +1 -0
- package/lib/reportManage/lib/154.lib.js +1 -0
- package/lib/reportManage/lib/155.lib.js +1 -0
- package/lib/reportManage/lib/156.lib.js +1 -0
- package/lib/reportManage/lib/157.lib.js +1 -0
- package/lib/reportManage/lib/158.lib.js +1 -0
- package/lib/reportManage/lib/159.lib.js +1 -0
- package/lib/reportManage/lib/16.lib.js +1 -0
- package/lib/reportManage/lib/160.lib.js +1 -0
- package/lib/reportManage/lib/161.lib.js +1 -0
- package/lib/reportManage/lib/162.lib.js +1 -0
- package/lib/reportManage/lib/163.lib.js +1 -0
- package/lib/reportManage/lib/164.lib.js +1 -0
- package/lib/reportManage/lib/165.lib.js +1 -0
- package/lib/reportManage/lib/166.lib.js +1 -0
- package/lib/reportManage/lib/167.lib.js +1 -0
- package/lib/reportManage/lib/168.lib.js +1 -0
- package/lib/reportManage/lib/169.lib.js +1 -0
- package/lib/reportManage/lib/17.lib.js +1 -0
- package/lib/reportManage/lib/170.lib.js +1 -0
- package/lib/reportManage/lib/171.lib.js +1 -0
- package/lib/reportManage/lib/172.lib.js +1 -0
- package/lib/reportManage/lib/173.lib.js +1 -0
- package/lib/reportManage/lib/174.lib.js +1 -0
- package/lib/reportManage/lib/175.lib.js +1 -0
- package/lib/reportManage/lib/176.lib.js +1 -0
- package/lib/reportManage/lib/177.lib.js +1 -0
- package/lib/reportManage/lib/178.lib.js +1 -0
- package/lib/reportManage/lib/179.lib.js +1 -0
- package/lib/reportManage/lib/18.lib.js +1 -0
- package/lib/reportManage/lib/180.lib.js +1 -0
- package/lib/reportManage/lib/181.lib.js +1 -0
- package/lib/reportManage/lib/182.lib.js +1 -0
- package/lib/reportManage/lib/183.lib.js +1 -0
- package/lib/reportManage/lib/184.lib.js +1 -0
- package/lib/reportManage/lib/185.lib.js +1 -0
- package/lib/reportManage/lib/186.lib.js +1 -0
- package/lib/reportManage/lib/187.lib.js +1 -0
- package/lib/reportManage/lib/188.lib.js +1 -0
- package/lib/reportManage/lib/189.lib.js +1 -0
- package/lib/reportManage/lib/19.lib.js +1 -0
- package/lib/reportManage/lib/190.lib.js +1 -0
- package/lib/reportManage/lib/191.lib.js +1 -0
- package/lib/reportManage/lib/192.lib.js +1 -0
- package/lib/reportManage/lib/193.lib.js +1 -0
- package/lib/reportManage/lib/194.lib.js +1 -0
- package/lib/reportManage/lib/195.lib.js +1 -0
- package/lib/reportManage/lib/196.lib.js +1 -0
- package/lib/reportManage/lib/197.lib.js +1 -0
- package/lib/reportManage/lib/198.lib.js +1 -0
- package/lib/reportManage/lib/199.lib.js +1 -0
- package/lib/reportManage/lib/2.lib.js +1 -0
- package/lib/reportManage/lib/20.lib.js +1 -0
- package/lib/reportManage/lib/200.lib.js +1 -0
- package/lib/reportManage/lib/201.lib.js +1 -0
- package/lib/reportManage/lib/202.lib.js +1 -0
- package/lib/reportManage/lib/203.lib.js +1 -0
- package/lib/reportManage/lib/204.lib.js +1 -0
- package/lib/reportManage/lib/205.lib.js +1 -0
- package/lib/reportManage/lib/206.lib.js +1 -0
- package/lib/reportManage/lib/207.lib.js +1 -0
- package/lib/reportManage/lib/208.lib.js +1 -0
- package/lib/reportManage/lib/209.lib.js +1 -0
- package/lib/reportManage/lib/21.lib.js +1 -0
- package/lib/reportManage/lib/210.lib.js +1 -0
- package/lib/reportManage/lib/211.lib.js +1 -0
- package/lib/reportManage/lib/212.lib.js +1 -0
- package/lib/reportManage/lib/213.lib.js +1 -0
- package/lib/reportManage/lib/214.lib.js +1 -0
- package/lib/reportManage/lib/215.lib.js +1 -0
- package/lib/reportManage/lib/216.lib.js +1 -0
- package/lib/reportManage/lib/217.lib.js +1 -0
- package/lib/reportManage/lib/218.lib.js +1 -0
- package/lib/reportManage/lib/22.lib.js +1 -0
- package/lib/reportManage/lib/23.lib.js +1 -0
- package/lib/reportManage/lib/24.lib.js +1 -0
- package/lib/reportManage/lib/25.lib.js +1 -0
- package/lib/reportManage/lib/26.lib.js +1 -0
- package/lib/reportManage/lib/27.lib.js +1 -0
- package/lib/reportManage/lib/28.lib.js +1 -0
- package/lib/reportManage/lib/29.lib.js +1 -0
- package/lib/reportManage/lib/3.lib.js +1 -0
- package/lib/reportManage/lib/30.lib.js +1 -0
- package/lib/reportManage/lib/31.lib.js +1 -0
- package/lib/reportManage/lib/32.lib.js +1 -0
- package/lib/reportManage/lib/33.lib.js +1 -0
- package/lib/reportManage/lib/34.lib.js +1 -0
- package/lib/reportManage/lib/35.lib.js +1 -0
- package/lib/reportManage/lib/36.lib.js +1 -0
- package/lib/reportManage/lib/37.lib.js +1 -0
- package/lib/reportManage/lib/38.lib.js +1 -0
- package/lib/reportManage/lib/39.lib.js +1 -0
- package/lib/reportManage/lib/4.lib.js +1 -0
- package/lib/reportManage/lib/40.lib.js +1 -0
- package/lib/reportManage/lib/41.lib.js +1 -0
- package/lib/reportManage/lib/42.lib.js +1 -0
- package/lib/reportManage/lib/43.lib.js +1 -0
- package/lib/reportManage/lib/44.lib.js +1 -0
- package/lib/reportManage/lib/45.lib.js +1 -0
- package/lib/reportManage/lib/46.lib.js +1 -0
- package/lib/reportManage/lib/47.lib.js +1 -0
- package/lib/reportManage/lib/48.lib.js +1 -0
- package/lib/reportManage/lib/49.lib.js +1 -0
- package/lib/reportManage/lib/5.lib.js +1 -0
- package/lib/reportManage/lib/50.lib.js +1 -0
- package/lib/reportManage/lib/51.lib.js +1 -0
- package/lib/reportManage/lib/52.lib.js +1 -0
- package/lib/reportManage/lib/53.lib.js +1 -0
- package/lib/reportManage/lib/54.lib.js +1 -0
- package/lib/reportManage/lib/55.lib.js +1 -0
- package/lib/reportManage/lib/56.lib.js +1 -0
- package/lib/reportManage/lib/57.lib.js +1 -0
- package/lib/reportManage/lib/58.lib.js +1 -0
- package/lib/reportManage/lib/59.lib.js +1 -0
- package/lib/reportManage/lib/6.lib.js +1 -0
- package/lib/reportManage/lib/60.lib.js +1 -0
- package/lib/reportManage/lib/61.lib.js +1 -0
- package/lib/reportManage/lib/62.lib.js +1 -0
- package/lib/reportManage/lib/63.lib.js +1 -0
- package/lib/reportManage/lib/64.lib.js +1 -0
- package/lib/reportManage/lib/65.lib.js +1 -0
- package/lib/reportManage/lib/66.lib.js +1 -0
- package/lib/reportManage/lib/67.lib.js +1 -0
- package/lib/reportManage/lib/68.lib.js +1 -0
- package/lib/reportManage/lib/69.lib.js +1 -0
- package/lib/reportManage/lib/7.lib.js +1 -0
- package/lib/reportManage/lib/70.lib.js +1 -0
- package/lib/reportManage/lib/71.lib.js +1 -0
- package/lib/reportManage/lib/72.lib.js +1 -0
- package/lib/reportManage/lib/73.lib.js +1 -0
- package/lib/reportManage/lib/74.lib.js +1 -0
- package/lib/reportManage/lib/75.lib.js +1 -0
- package/lib/reportManage/lib/76.lib.js +1 -0
- package/lib/reportManage/lib/77.lib.js +1 -0
- package/lib/reportManage/lib/78.lib.js +1 -0
- package/lib/reportManage/lib/79.lib.js +1 -0
- package/lib/reportManage/lib/8.lib.js +1 -0
- package/lib/reportManage/lib/80.lib.js +1 -0
- package/lib/reportManage/lib/81.lib.js +1 -0
- package/lib/reportManage/lib/82.lib.js +1 -0
- package/lib/reportManage/lib/83.lib.js +1 -0
- package/lib/reportManage/lib/84.lib.js +1 -0
- package/lib/reportManage/lib/85.lib.js +1 -0
- package/lib/reportManage/lib/86.lib.js +1 -0
- package/lib/reportManage/lib/87.lib.js +1 -0
- package/lib/reportManage/lib/88.lib.js +1 -0
- package/lib/reportManage/lib/89.lib.js +1 -0
- package/lib/reportManage/lib/9.lib.js +1 -0
- package/lib/reportManage/lib/90.lib.js +1 -0
- package/lib/reportManage/lib/91.lib.js +1 -0
- package/lib/reportManage/lib/92.lib.js +1 -0
- package/lib/reportManage/lib/93.lib.js +1 -0
- package/lib/reportManage/lib/94.lib.js +1 -0
- package/lib/reportManage/lib/95.lib.js +1 -0
- package/lib/reportManage/lib/96.lib.js +1 -0
- package/lib/reportManage/lib/97.lib.js +1 -0
- package/lib/reportManage/lib/98.lib.js +1 -0
- package/lib/reportManage/lib/99.lib.js +1 -0
- package/lib/reportManage/lib/lib.js +1 -0
- package/lib/saleManage/lib/1.lib.js +1 -0
- package/lib/saleManage/lib/10.lib.js +1 -0
- package/lib/saleManage/lib/100.lib.js +1 -0
- package/lib/saleManage/lib/101.lib.js +1 -0
- package/lib/saleManage/lib/102.lib.js +1 -0
- package/lib/saleManage/lib/103.lib.js +1 -0
- package/lib/saleManage/lib/104.lib.js +1 -0
- package/lib/saleManage/lib/105.lib.js +1 -0
- package/lib/saleManage/lib/106.lib.js +1 -0
- package/lib/saleManage/lib/107.lib.js +1 -0
- package/lib/saleManage/lib/108.lib.js +1 -0
- package/lib/saleManage/lib/109.lib.js +1 -0
- package/lib/saleManage/lib/11.lib.js +1 -0
- package/lib/saleManage/lib/110.lib.js +1 -0
- package/lib/saleManage/lib/111.lib.js +1 -0
- package/lib/saleManage/lib/112.lib.js +1 -0
- package/lib/saleManage/lib/113.lib.js +1 -0
- package/lib/saleManage/lib/114.lib.js +1 -0
- package/lib/saleManage/lib/115.lib.js +1 -0
- package/lib/saleManage/lib/116.lib.js +1 -0
- package/lib/saleManage/lib/117.lib.js +1 -0
- package/lib/saleManage/lib/118.lib.js +1 -0
- package/lib/saleManage/lib/119.lib.js +1 -0
- package/lib/saleManage/lib/12.lib.js +1 -0
- package/lib/saleManage/lib/120.lib.js +1 -0
- package/lib/saleManage/lib/121.lib.js +1 -0
- package/lib/saleManage/lib/122.lib.js +1 -0
- package/lib/saleManage/lib/123.lib.js +1 -0
- package/lib/saleManage/lib/124.lib.js +1 -0
- package/lib/saleManage/lib/125.lib.js +1 -0
- package/lib/saleManage/lib/126.lib.js +1 -0
- package/lib/saleManage/lib/127.lib.js +1 -0
- package/lib/saleManage/lib/128.lib.js +1 -0
- package/lib/saleManage/lib/129.lib.js +1 -0
- package/lib/saleManage/lib/13.lib.js +1 -0
- package/lib/saleManage/lib/130.lib.js +1 -0
- package/lib/saleManage/lib/131.lib.js +1 -0
- package/lib/saleManage/lib/132.lib.js +1 -0
- package/lib/saleManage/lib/133.lib.js +1 -0
- package/lib/saleManage/lib/134.lib.js +1 -0
- package/lib/saleManage/lib/135.lib.js +1 -0
- package/lib/saleManage/lib/136.lib.js +1 -0
- package/lib/saleManage/lib/137.lib.js +1 -0
- package/lib/saleManage/lib/138.lib.js +1 -0
- package/lib/saleManage/lib/139.lib.js +1 -0
- package/lib/saleManage/lib/14.lib.js +1 -0
- package/lib/saleManage/lib/140.lib.js +1 -0
- package/lib/saleManage/lib/141.lib.js +1 -0
- package/lib/saleManage/lib/142.lib.js +1 -0
- package/lib/saleManage/lib/143.lib.js +1 -0
- package/lib/saleManage/lib/144.lib.js +1 -0
- package/lib/saleManage/lib/145.lib.js +1 -0
- package/lib/saleManage/lib/146.lib.js +1 -0
- package/lib/saleManage/lib/147.lib.js +1 -0
- package/lib/saleManage/lib/148.lib.js +1 -0
- package/lib/saleManage/lib/149.lib.js +1 -0
- package/lib/saleManage/lib/15.lib.js +1 -0
- package/lib/saleManage/lib/150.lib.js +1 -0
- package/lib/saleManage/lib/151.lib.js +1 -0
- package/lib/saleManage/lib/152.lib.js +1 -0
- package/lib/saleManage/lib/153.lib.js +1 -0
- package/lib/saleManage/lib/154.lib.js +1 -0
- package/lib/saleManage/lib/155.lib.js +1 -0
- package/lib/saleManage/lib/156.lib.js +1 -0
- package/lib/saleManage/lib/157.lib.js +1 -0
- package/lib/saleManage/lib/158.lib.js +1 -0
- package/lib/saleManage/lib/159.lib.js +1 -0
- package/lib/saleManage/lib/16.lib.js +1 -0
- package/lib/saleManage/lib/160.lib.js +1 -0
- package/lib/saleManage/lib/161.lib.js +1 -0
- package/lib/saleManage/lib/162.lib.js +1 -0
- package/lib/saleManage/lib/163.lib.js +1 -0
- package/lib/saleManage/lib/164.lib.js +1 -0
- package/lib/saleManage/lib/165.lib.js +1 -0
- package/lib/saleManage/lib/166.lib.js +1 -0
- package/lib/saleManage/lib/167.lib.js +1 -0
- package/lib/saleManage/lib/168.lib.js +1 -0
- package/lib/saleManage/lib/169.lib.js +1 -0
- package/lib/saleManage/lib/17.lib.js +1 -0
- package/lib/saleManage/lib/170.lib.js +1 -0
- package/lib/saleManage/lib/171.lib.js +1 -0
- package/lib/saleManage/lib/172.lib.js +1 -0
- package/lib/saleManage/lib/173.lib.js +1 -0
- package/lib/saleManage/lib/174.lib.js +1 -0
- package/lib/saleManage/lib/175.lib.js +1 -0
- package/lib/saleManage/lib/176.lib.js +1 -0
- package/lib/saleManage/lib/177.lib.js +1 -0
- package/lib/saleManage/lib/18.lib.js +1 -0
- package/lib/saleManage/lib/19.lib.js +1 -0
- package/lib/saleManage/lib/2.lib.js +1 -0
- package/lib/saleManage/lib/20.lib.js +1 -0
- package/lib/saleManage/lib/21.lib.js +1 -0
- package/lib/saleManage/lib/22.lib.js +1 -0
- package/lib/saleManage/lib/23.lib.js +1 -0
- package/lib/saleManage/lib/24.lib.js +1 -0
- package/lib/saleManage/lib/25.lib.js +1 -0
- package/lib/saleManage/lib/26.lib.js +1 -0
- package/lib/saleManage/lib/27.lib.js +1 -0
- package/lib/saleManage/lib/28.lib.js +1 -0
- package/lib/saleManage/lib/29.lib.js +1 -0
- package/lib/saleManage/lib/3.lib.js +1 -0
- package/lib/saleManage/lib/30.lib.js +1 -0
- package/lib/saleManage/lib/31.lib.js +1 -0
- package/lib/saleManage/lib/32.lib.js +1 -0
- package/lib/saleManage/lib/33.lib.js +1 -0
- package/lib/saleManage/lib/34.lib.js +1 -0
- package/lib/saleManage/lib/35.lib.js +1 -0
- package/lib/saleManage/lib/36.lib.js +1 -0
- package/lib/saleManage/lib/37.lib.js +1 -0
- package/lib/saleManage/lib/38.lib.js +1 -0
- package/lib/saleManage/lib/39.lib.js +1 -0
- package/lib/saleManage/lib/4.lib.js +1 -0
- package/lib/saleManage/lib/40.lib.js +1 -0
- package/lib/saleManage/lib/41.lib.js +1 -0
- package/lib/saleManage/lib/42.lib.js +1 -0
- package/lib/saleManage/lib/43.lib.js +1 -0
- package/lib/saleManage/lib/44.lib.js +1 -0
- package/lib/saleManage/lib/45.lib.js +1 -0
- package/lib/saleManage/lib/46.lib.js +1 -0
- package/lib/saleManage/lib/47.lib.js +1 -0
- package/lib/saleManage/lib/48.lib.js +1 -0
- package/lib/saleManage/lib/49.lib.js +1 -0
- package/lib/saleManage/lib/5.lib.js +1 -0
- package/lib/saleManage/lib/50.lib.js +1 -0
- package/lib/saleManage/lib/51.lib.js +1 -0
- package/lib/saleManage/lib/52.lib.js +1 -0
- package/lib/saleManage/lib/53.lib.js +1 -0
- package/lib/saleManage/lib/54.lib.js +1 -0
- package/lib/saleManage/lib/55.lib.js +1 -0
- package/lib/saleManage/lib/56.lib.js +1 -0
- package/lib/saleManage/lib/57.lib.js +1 -0
- package/lib/saleManage/lib/58.lib.js +1 -0
- package/lib/saleManage/lib/59.lib.js +1 -0
- package/lib/saleManage/lib/6.lib.js +1 -0
- package/lib/saleManage/lib/60.lib.js +1 -0
- package/lib/saleManage/lib/61.lib.js +1 -0
- package/lib/saleManage/lib/62.lib.js +1 -0
- package/lib/saleManage/lib/63.lib.js +1 -0
- package/lib/saleManage/lib/64.lib.js +1 -0
- package/lib/saleManage/lib/65.lib.js +1 -0
- package/lib/saleManage/lib/66.lib.js +1 -0
- package/lib/saleManage/lib/67.lib.js +1 -0
- package/lib/saleManage/lib/68.lib.js +1 -0
- package/lib/saleManage/lib/69.lib.js +1 -0
- package/lib/saleManage/lib/7.lib.js +1 -0
- package/lib/saleManage/lib/70.lib.js +1 -0
- package/lib/saleManage/lib/71.lib.js +1 -0
- package/lib/saleManage/lib/72.lib.js +1 -0
- package/lib/saleManage/lib/73.lib.js +1 -0
- package/lib/saleManage/lib/74.lib.js +1 -0
- package/lib/saleManage/lib/75.lib.js +1 -0
- package/lib/saleManage/lib/76.lib.js +1 -0
- package/lib/saleManage/lib/77.lib.js +1 -0
- package/lib/saleManage/lib/78.lib.js +1 -0
- package/lib/saleManage/lib/79.lib.js +1 -0
- package/lib/saleManage/lib/8.lib.js +1 -0
- package/lib/saleManage/lib/80.lib.js +1 -0
- package/lib/saleManage/lib/81.lib.js +1 -0
- package/lib/saleManage/lib/82.lib.js +1 -0
- package/lib/saleManage/lib/83.lib.js +1 -0
- package/lib/saleManage/lib/84.lib.js +1 -0
- package/lib/saleManage/lib/85.lib.js +1 -0
- package/lib/saleManage/lib/86.lib.js +1 -0
- package/lib/saleManage/lib/87.lib.js +1 -0
- package/lib/saleManage/lib/88.lib.js +1 -0
- package/lib/saleManage/lib/89.lib.js +1 -0
- package/lib/saleManage/lib/9.lib.js +1 -0
- package/lib/saleManage/lib/90.lib.js +1 -0
- package/lib/saleManage/lib/91.lib.js +1 -0
- package/lib/saleManage/lib/92.lib.js +1 -0
- package/lib/saleManage/lib/93.lib.js +1 -0
- package/lib/saleManage/lib/94.lib.js +1 -0
- package/lib/saleManage/lib/95.lib.js +1 -0
- package/lib/saleManage/lib/96.lib.js +1 -0
- package/lib/saleManage/lib/97.lib.js +1 -0
- package/lib/saleManage/lib/98.lib.js +1 -0
- package/lib/saleManage/lib/99.lib.js +1 -0
- package/lib/saleManage/lib/lib.js +1 -0
- package/lib/webmeterManage/lib/1.lib.js +1 -0
- package/lib/webmeterManage/lib/10.lib.js +1 -0
- package/lib/webmeterManage/lib/11.lib.js +1 -0
- package/lib/webmeterManage/lib/12.lib.js +1 -0
- package/lib/webmeterManage/lib/13.lib.js +1 -0
- package/lib/webmeterManage/lib/14.lib.js +1 -0
- package/lib/webmeterManage/lib/15.lib.js +1 -0
- package/lib/webmeterManage/lib/16.lib.js +1 -0
- package/lib/webmeterManage/lib/17.lib.js +1 -0
- package/lib/webmeterManage/lib/18.lib.js +1 -0
- package/lib/webmeterManage/lib/19.lib.js +1 -0
- package/lib/webmeterManage/lib/2.lib.js +1 -0
- package/lib/webmeterManage/lib/20.lib.js +1 -0
- package/lib/webmeterManage/lib/21.lib.js +1 -0
- package/lib/webmeterManage/lib/22.lib.js +1 -0
- package/lib/webmeterManage/lib/23.lib.js +1 -0
- package/lib/webmeterManage/lib/24.lib.js +1 -0
- package/lib/webmeterManage/lib/25.lib.js +1 -0
- package/lib/webmeterManage/lib/26.lib.js +1 -0
- package/lib/webmeterManage/lib/27.lib.js +1 -0
- package/lib/webmeterManage/lib/28.lib.js +1 -0
- package/lib/webmeterManage/lib/29.lib.js +1 -0
- package/lib/webmeterManage/lib/3.lib.js +1 -0
- package/lib/webmeterManage/lib/30.lib.js +1 -0
- package/lib/webmeterManage/lib/31.lib.js +1 -0
- package/lib/webmeterManage/lib/32.lib.js +1 -0
- package/lib/webmeterManage/lib/33.lib.js +1 -0
- package/lib/webmeterManage/lib/34.lib.js +1 -0
- package/lib/webmeterManage/lib/35.lib.js +1 -0
- package/lib/webmeterManage/lib/36.lib.js +1 -0
- package/lib/webmeterManage/lib/37.lib.js +1 -0
- package/lib/webmeterManage/lib/38.lib.js +1 -0
- package/lib/webmeterManage/lib/39.lib.js +1 -0
- package/lib/webmeterManage/lib/4.lib.js +1 -0
- package/lib/webmeterManage/lib/40.lib.js +1 -0
- package/lib/webmeterManage/lib/41.lib.js +1 -0
- package/lib/webmeterManage/lib/42.lib.js +1 -0
- package/lib/webmeterManage/lib/43.lib.js +1 -0
- package/lib/webmeterManage/lib/44.lib.js +1 -0
- package/lib/webmeterManage/lib/45.lib.js +1 -0
- package/lib/webmeterManage/lib/46.lib.js +1 -0
- package/lib/webmeterManage/lib/47.lib.js +1 -0
- package/lib/webmeterManage/lib/48.lib.js +1 -0
- package/lib/webmeterManage/lib/49.lib.js +1 -0
- package/lib/webmeterManage/lib/5.lib.js +1 -0
- package/lib/webmeterManage/lib/50.lib.js +1 -0
- package/lib/webmeterManage/lib/51.lib.js +1 -0
- package/lib/webmeterManage/lib/6.lib.js +1 -0
- package/lib/webmeterManage/lib/7.lib.js +1 -0
- package/lib/webmeterManage/lib/8.lib.js +1 -0
- package/lib/webmeterManage/lib/9.lib.js +1 -0
- package/lib/webmeterManage/lib/lib.js +1 -0
- package/manage_lib2025-06-24-17-17-15.zip +0 -0
- package/package.json +1 -1
- package/src/components/SellReport/tonghua/outletTableTongHua.vue +181 -0
- package/src/filiale/xinjiangdexin/ChangeMeterQuery.vue +717 -0
- package/src/filiale/xinjiangdexin/config/DefaultPrint.js +6 -0
- package/src/filiale/xinjiangdexin/config/exportConfig.js +1 -1
- package/src/filiale/xinjiangdexin/sale.js +4 -1
- package/src/filiale/jinbin/exportConfig.js +0 -1110
- package/src/filiale/jinbin/sale/businessquery/ChargeQuery.vue +0 -1372
- package/src/filiale/jinbin/sale.js +0 -7
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([156],{1:function(e,t){e.exports=function(){var s=[];return s.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},s.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(n[o]=!0)}for(r=0;r<e.length;r++){var a=e[r];"number"==typeof a[0]&&n[a[0]]||(t&&!a[2]?a[2]=t:t&&(a[2]="("+a[2]+") and ("+t+")"),s.push(a))}},s}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var l={},o=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),a=r(function(){return document.head||document.getElementsByTagName("head")[0]}),s=null,i=0,c=[];function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=l[r.id];if(o){o.refs++;for(var a=0;a<o.parts.length;a++)o.parts[a](r.parts[a]);for(;a<r.parts.length;a++)o.parts.push(u(r.parts[a],t))}else{for(var s=[],a=0;a<r.parts.length;a++)s.push(u(r.parts[a],t));l[r.id]={id:r.id,refs:1,parts:s}}}}function p(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],a=o[0],o={css:o[1],media:o[2],sourceMap:o[3]};n[a]?n[a].parts.push(o):t.push(n[a]={id:a,parts:[o]})}return t}function f(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=a(),o=c[c.length-1];if("top"===e.insertAt)o?o.nextSibling?r.insertBefore(n,o.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),c.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,o,a;return a=e.singleton?(n=i++,r=s=s||f(e),o=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=f(e),o=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=c.indexOf(e))&&c.splice(e,1)}),o(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||o(t=e):a()}}e.exports=function(e,s){void 0===(s=s||{}).singleton&&(s.singleton=o()),void 0===s.insertAt&&(s.insertAt="bottom");var i=p(e);return d(i,s),function(e){for(var t=[],n=0;n<i.length;n++){var r=i[n];(o=l[r.id]).refs--,t.push(o)}e&&d(p(e),s);for(var o,n=0;n<t.length;n++)if(0===(o=t[n]).refs){for(var a=0;a<o.parts.length;a++)o.parts[a]();delete l[o.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var o=Array.prototype.slice;function n(i){var l=this,e=o.call(arguments,1);return new Promise(function(n,r){if(!(i="function"==typeof i?i.apply(l,e):i)||"function"!=typeof i.next)return n(i);function o(e){var t;try{t=i.next(e)}catch(e){return r(e)}s(t)}function a(e){var t;try{t=i.throw(e)}catch(e){return r(e)}s(t)}function s(e){var t;return e.done?n(e.value):(t=c.call(l,e.value))&&d(t)?t.then(o,a):void a(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}o()})}function c(e){return e&&(d(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=o.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(c,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],o=0;o<t.length;o++){var a=t[o],s=c.call(this,e[a]);s&&d(s)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(s,a):n[a]=e[a]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function d(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},361:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(15)),o=i(n(6)),a=n(5),s=i(n(3));function i(e){return e&&e.__esModule?e:{default:e}}var l=o.default.mark(function e(t){return o.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"现金结账单(其他收费)",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],orgname:"",depname:"",operatorname:"",orgCondtionStr:"1=1",model:new a.DataModel("api/af-revenue/report/getmoneyOtherTable",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1,initres:{org:[this.$login.f.orgid],dep:[],user:[]}}},ready:function(){this.$refs.paged.$refs.criteria.$refs.res_select.sliceareashow=!1,this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59"},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){this.printTime=this.$login.toStandardTimeString();var t=this.$refs.paged.$refs.criteria.condition+" "+this.orgCondtionStr;this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=l(this);(0,s.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()},getRes:function(e,t){this.orgCondtionStr=e}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null}},computed:{metertypes:function(){return[{label:" 全部 ",value:""}].concat((0,r.default)(this.$appdata.getParam("气表类型")))}}}},694:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-6c898180]{\n border: none;\n}\n",""])},1140:function(e,t,n){var r=n(694);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1361:function(e,t){e.exports='\n<div class="basic-main" style="height: 100%" _v-6c898180="">\n<criteria-paged :model="model" :pager="false" v-ref:paged="" _v-6c898180="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-6c898180="">\n <p class="bg-info text-center" style="padding: 8px;" _v-6c898180="">现金结账单(其他收费)</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-6c898180=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-6c898180="">\n <div class="row" _v-6c898180="">\n <div class="col-sm-2 form-group" _v-6c898180="">\n <label class="font_normal_body" for="startDate" _v-6c898180="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-6c898180="">\n </datepicker>\n </div>\n <div class="col-sm-2 form-group" _v-6c898180="">\n <label class="font_normal_body" for="endDate" _v-6c898180="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-6c898180="">\n </datepicker>\n </div>\n <div class="col-sm-2 form-group" _v-6c898180="">\n <label class="font_normal_body" _v-6c898180="">气表类型</label>\n <v-select :value.sync="model.f_meter_type" multiple="" :options="$parent.$parent.metertypes" placeholder="请选择" condition="f_meter_type in {}" v-model="model.f_meter_type" close-on-select="" _v-6c898180=""></v-select>\n </div>\n <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:res_select="" _v-6c898180=""></res-select-group>\n </div>\n <div class="span" style="float:right;" _v-6c898180="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-6c898180="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-6c898180=""></report-print>\n <report-excel id="gasprice" _v-6c898180=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-6c898180="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-6c898180="">\n <thead _v-6c898180="">\n <tr _v-6c898180="">\n <th colspan="9" style="font-weight: normal; text-align: left;" _v-6c898180="">\n <h3 style="text-align: center" _v-6c898180="">现金结账单(其他收费)</h3>\n </th>\n </tr>\n <tr _v-6c898180="">\n <th colspan="9" style="font-weight: normal; text-align: center;" _v-6c898180="">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }} \n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-6c898180="">\n <th colspan="9" style="font-weight: normal; text-align: center;" _v-6c898180="">\n <div _v-6c898180="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-6c898180="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-6c898180=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-6c898180="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-6c898180=""><tr _v-6c898180="">\n <td colspan="9" _v-6c898180="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-6c898180="">\n <tr style="text-align: left" _v-6c898180="">\n <th colspan="3" _v-6c898180="">财务审核:</th>\n <th colspan="3" _v-6c898180="">收款审核:</th>\n <th colspan="3" _v-6c898180="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n</criteria-paged>\n<modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-6c898180="">\n <header slot="modal-header" class="modal-header" _v-6c898180="">\n <h4 class="modal-title" _v-6c898180="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-6c898180="">\n <div class="form-group" _v-6c898180="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-6c898180="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-6c898180="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-6c898180="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-6c898180="">确认</button>\n </footer>\n</modal>\n</div>\n'},1472:function(e,t,n){var r;n(1140),(r=n(361))&&r.__esModule&&Object.keys(r).length,n=n(1361),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([157],{1:function(e,t){e.exports=function(){var o=[];return o.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},o.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&n[s[0]]||(t&&!s[2]?s[2]=t:t&&(s[2]="("+s[2]+") and ("+t+")"),o.push(s))}},o}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var l={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),s=r(function(){return document.head||document.getElementsByTagName("head")[0]}),o=null,i=0,p=[];function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=l[r.id];if(a){a.refs++;for(var s=0;s<a.parts.length;s++)a.parts[s](r.parts[s]);for(;s<r.parts.length;s++)a.parts.push(u(r.parts[s],t))}else{for(var o=[],s=0;s<r.parts.length;s++)o.push(u(r.parts[s],t));l[r.id]={id:r.id,refs:1,parts:o}}}}function c(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],s=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[s]?n[s].parts.push(a):t.push(n[s]={id:s,parts:[a]})}return t}function f(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=s(),a=p[p.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),p.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,s;return s=e.singleton?(n=i++,r=o=o||f(e),a=b.bind(null,r,n,!1),b.bind(null,r,n,!0)):(r=f(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=p.indexOf(e))&&p.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,o){void 0===(o=o||{}).singleton&&(o.singleton=a()),void 0===o.insertAt&&(o.insertAt="bottom");var i=c(e);return d(i,o),function(e){for(var t=[],n=0;n<i.length;n++){var r=i[n];(a=l[r.id]).refs--,t.push(a)}e&&d(c(e),o);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var s=0;s<a.parts.length;s++)a.parts[s]();delete l[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function b(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(i){var l=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(i="function"==typeof i?i.apply(l,e):i)||"function"!=typeof i.next)return n(i);function a(e){var t;try{t=i.next(e)}catch(e){return r(e)}o(t)}function s(e){var t;try{t=i.throw(e)}catch(e){return r(e)}o(t)}function o(e){var t;return e.done?n(e.value):(t=p.call(l,e.value))&&d(t)?t.then(a,s):void s(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function p(e){return e&&(d(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(p,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var s=t[a],o=p.call(this,e[s]);o&&d(o)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(o,s):n[s]=e[s]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function d(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},359:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(15)),a=n(5);s(n(3));function s(e){return e&&e.__esModule?e:{default:e}}t.default={title:"(机表)收费结账报表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,operatorid:[],depid:[],orgname:"",depname:"",criteriaShow:!1,operatorname:"",orgCondtionStr:"1=1",f_user_type:"",f_state:["有效"],model:new a.DataModel("api/af-revenue/report/jigetmoneyall",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,resshow:["company","department","operator"],spans:0,initres:{org:[this.$login.f.orgid],dep:[],user:[]}}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59"},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){this.printTime=this.$login.toStandardTimeString();var t="1=1";t+=this.orgCondtionStr,this.f_user_type&&this.f_user_type[0]&&(t+=" and f_user_type = '"+this.f_user_type+" '"),this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},hidden:function(){this.criteriaShow=!this.criteriaShow},getRes:function(e,t){this.orgCondtionStr=e,this.orgname=t.orgnames[0],this.depname=t.depnames[0]},getdep:function(e,t){this.depname=t[0],this.userresid=e,this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e}},watch:{"model.data":function(e){for(var t=0,n=e.split("</tr>"),r=0;r<n.length;r++)n[r].split("</td>").length-1>t&&(t=n[r].split("</td>").length-1);this.spans=t}},computed:{charge_state:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("收费状态")))},user_type:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("用户类型")))}}}},720:function(e,t,n){(e.exports=n(1)()).push([e.id,"\r\n.noborder[_v-a8efcbda]{\r\n border: none;\r\n}\r\n",""])},1166:function(e,t,n){var r=n(720);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1387:function(e,t){e.exports='\n <div class="basic-main" style="height: 100%" _v-a8efcbda="">\n <criteria-paged :model="model" :pager="false" v-ref:paged="" _v-a8efcbda="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-a8efcbda="">\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-a8efcbda="">\n <div class="row" _v-a8efcbda="">\n <div class="col-sm-2 form-group" _v-a8efcbda="">\n <label class="font_normal_body" for="startDate" _v-a8efcbda="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-a8efcbda="">\n </datepicker>\n </div>\n <div class="col-sm-2 form-group" _v-a8efcbda="">\n <label class="font_normal_body" for="endDate" _v-a8efcbda="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-a8efcbda="">\n </datepicker>\n </div>\x3c!--\n <div class="col-sm-2 form-group">\n <label class="font_normal_body"> 公司 </label>\n <right-tree @re-res="$parent.$parent.getRes" style="width: 60%"></right-tree>\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body"> 部门 </label>\n <res-select restype=\'department\'\n is-mul="false"\n @res-select="$parent.$parent.getdep"\n :parentresid="$parent.$parent.depresid"\n :initresid=\'$parent.$parent.depid\'>\n </res-select>\n\n </div>\n <div class="col-sm-2 form-group">\n <label class="font_normal_body"> 人员 </label>\n <res-select restype=\'user\'\n is-mul="false"\n @res-select="$parent.$parent.getuser"\n :parentresid="$parent.$parent.userresid"\n :initresid=\'$parent.$parent.operatorid\'>\n </res-select>\n </div>\n--\x3e\n <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" :cascade="true" @re-res="$parent.$parent.getRes" v-ref:sel="" _v-a8efcbda=""></res-select-group>\n </div>\n <div class="span" style="float:right;" _v-a8efcbda="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-a8efcbda="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-a8efcbda=""></report-print>\n <report-excel id="gasprice" _v-a8efcbda=""></report-excel>\n <div style="float: right" class="button_spacing" :class="{\'button_shrink_top\':$parent.$parent.criteriaShow,\n \'button_shrink_bottom\':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()" _v-a8efcbda=""></div>\n </div>\n <div class="row" v-show="$parent.$parent.criteriaShow" _v-a8efcbda="">\n <div class="col-sm-2 form-group" _v-a8efcbda="">\n <label class="font_normal_body" _v-a8efcbda="">用户类型</label>\n <v-select :value.sync="$parent.$parent.f_user_type" v-model="$parent.$parent.f_user_type" :options="$parent.$parent.user_type" placeholder="请选择" condition="f_user_type = \'{}\'" close-on-select="" _v-a8efcbda=""></v-select>\n </div>\n \x3c!--<div class="col-sm-2 form-group">--\x3e\n \x3c!--<label class="font_normal_body">收费状态</label>--\x3e\n \x3c!--<v-select :value.sync="$parent.$parent.f_state" multiple--\x3e\n \x3c!--v-model="$parent.$parent.f_state"--\x3e\n \x3c!--:options=\'$parent.$parent.charge_state\' placeholder=\'请选择\'--\x3e\n \x3c!--condition="f_state in {}"--\x3e\n \x3c!--close-on-select></v-select>--\x3e\n \x3c!--</div>--\x3e\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-a8efcbda="">\n <table class="tableprint" style="margin: 0px auto" _v-a8efcbda="">\n <thead _v-a8efcbda="">\n <tr _v-a8efcbda="">\n <th :colspan="$parent.spans" style="font-weight: normal; text-align: left;" _v-a8efcbda="">\n <h3 style="text-align: center" _v-a8efcbda="">(机表)收费结账报表</h3>\n </th>\n </tr>\n <tr _v-a8efcbda="">\n <th :colspan="$parent.spans" style="font-weight: normal; text-align: center;" _v-a8efcbda="">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }} <br _v-a8efcbda="">\n \x3c!--打印时间:{{{$parent.printTime}}}--\x3e\n 打印时间:{{$parent.printTime}}\n \x3c!--收费员:{{// $parent.operatorname}}--\x3e\n </th>\n </tr>\n <tr _v-a8efcbda="">\n <th :colspan="$parent.spans" style="font-weight: normal; text-align: center;" _v-a8efcbda="">\n <div _v-a8efcbda="">\n <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.orgname" _v-a8efcbda="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname" _v-a8efcbda=""> 部门:{{$parent.depname}}</span>\n <span style="font-weight: normal;text-align: center;margin:5px 15px" v-show="$parent.operatorname" _v-a8efcbda="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-a8efcbda=""><tr _v-a8efcbda="">\n <td :colspan="$parent.spans" class="noborder" _v-a8efcbda="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-a8efcbda="">\n <tr style="text-align: left" _v-a8efcbda="">\n <th :colspan="Math.floor($parent.spans/3)" _v-a8efcbda="">财务审核:</th>\n <th :colspan="Math.floor($parent.spans/3)" _v-a8efcbda="">收款审核:</th>\n <th :colspan="Math.floor($parent.spans/3)" _v-a8efcbda="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n </criteria-paged>\n </div>\n'},1470:function(e,t,n){var r;n(1166),(r=n(359))&&r.__esModule&&Object.keys(r).length,n=n(1387),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([158],{1:function(e,t){e.exports=function(){var s=[];return s.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},s.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},a=0;a<this.length;a++){var r=this[a][0];"number"==typeof r&&(n[r]=!0)}for(a=0;a<e.length;a++){var o=e[a];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),s.push(o))}},s}},2:function(e,t,n){function a(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var l={},r=a(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),o=a(function(){return document.head||document.getElementsByTagName("head")[0]}),s=null,i=0,f=[];function d(e,t){for(var n=0;n<e.length;n++){var a=e[n],r=l[a.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](a.parts[o]);for(;o<a.parts.length;o++)r.parts.push(u(a.parts[o],t))}else{for(var s=[],o=0;o<a.parts.length;o++)s.push(u(a.parts[o],t));l[a.id]={id:a.id,refs:1,parts:s}}}}function c(e){for(var t=[],n={},a=0;a<e.length;a++){var r=e[a],o=r[0],r={css:r[1],media:r[2],sourceMap:r[3]};n[o]?n[o].parts.push(r):t.push(n[o]={id:o,parts:[r]})}return t}function p(e){var t=document.createElement("style"),n=(t.type="text/css",t),a=o(),r=f[f.length-1];if("top"===e.insertAt)r?r.nextSibling?a.insertBefore(n,r.nextSibling):a.appendChild(n):a.insertBefore(n,a.firstChild),f.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");a.appendChild(n)}return t}function u(t,e){var n,a,r,o;return o=e.singleton?(n=i++,a=s=s||p(e),r=m.bind(null,a,n,!1),m.bind(null,a,n,!0)):(a=p(e),r=function(e,t){var n=t.css,a=t.media,t=t.sourceMap;a&&e.setAttribute("media",a);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,a),function(){var e;(e=a).parentNode.removeChild(e),0<=(e=f.indexOf(e))&&f.splice(e,1)}),r(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||r(t=e):o()}}e.exports=function(e,s){void 0===(s=s||{}).singleton&&(s.singleton=r()),void 0===s.insertAt&&(s.insertAt="bottom");var i=c(e);return d(i,s),function(e){for(var t=[],n=0;n<i.length;n++){var a=i[n];(r=l[a.id]).refs--,t.push(r)}e&&d(c(e),s);for(var r,n=0;n<t.length;n++)if(0===(r=t[n]).refs){for(var o=0;o<r.parts.length;o++)r.parts[o]();delete l[r.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,a){var n=n?"":a.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(a=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(a,n[t]):e.appendChild(a))}},3:function(e,t){var r=Array.prototype.slice;function n(i){var l=this,e=r.call(arguments,1);return new Promise(function(n,a){if(!(i="function"==typeof i?i.apply(l,e):i)||"function"!=typeof i.next)return n(i);function r(e){var t;try{t=i.next(e)}catch(e){return a(e)}s(t)}function o(e){var t;try{t=i.throw(e)}catch(e){return a(e)}s(t)}function s(e){var t;return e.done?n(e.value):(t=f.call(l,e.value))&&d(t)?t.then(r,o):void o(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}r()})}function f(e){return e&&(d(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||a(e.prototype))}(e)||a(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,a){e.call(t,function(e,t){if(e)return a(e);2<arguments.length&&(t=r.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(f,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),a=[],r=0;r<t.length;r++){var o=t[r],s=f.call(this,e[o]);s&&d(s)?function(e,t){n[t]=void 0,a.push(e.then(function(e){n[t]=e}))}(s,o):n[o]=e[o]}return Promise.all(a).then(function(){return n})}.call(this,e):e)}function d(e){return"function"==typeof e.then}function a(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},358:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=i(n(15)),r=i(n(6)),o=n(5),s=i(n(3));function i(e){return e&&e.__esModule?e:{default:e}}var l=r.default.mark(function e(t){return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"抄表户数情况统计表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],orgname:"",depname:"",operatorname:"",f_inputtor:[],f_user_type:"",orgCondtionStr:"1=1",model:new o.DataModel("api/af-revenue/report/handplanUserCount",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59"},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){var t=" h.f_orgid in ('"+this.f_orgid+"')";this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:function(e){this.orgname=e.res[0],this.depresid=e.resids,this.f_orgid=e.resids},getdep:function(e,t){this.userresid=e,this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=l(this);(0,s.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null}},computed:{usertypes:function(){return[{label:" 全部 ",value:""}].concat((0,a.default)(this.$appdata.getParam("用户类型")))},inputtor:function(){return[{label:"全部",value:""}].concat((0,a.default)(this.$appdata.getParam("抄表员")))}}}},738:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-e3077f1a]{\n border: none;\n}\n",""])},1184:function(e,t,n){var a=n(738);"string"==typeof a&&(a=[[e.id,a,""]]),n(2)(a,{});a.locals&&(e.exports=a.locals)},1405:function(e,t){e.exports='\n<div class="basic-main" style="height: 100%" _v-e3077f1a="">\n<criteria-paged :model="model" :pager="false" v-ref:paged="" _v-e3077f1a="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-e3077f1a="">\n <p class="bg-info text-center" style="padding: 8px;" _v-e3077f1a="">抄表户数情况统计表</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-e3077f1a=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-e3077f1a="">\n <div class="row" _v-e3077f1a="">\n <div class="col-sm-4" _v-e3077f1a="">\n <label class="font_normal_body" for="startDate" _v-e3077f1a="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-e3077f1a="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-e3077f1a="">\n <label class="font_normal_body" for="endDate" _v-e3077f1a="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-e3077f1a="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-e3077f1a="">\n <label class="font_normal_body" _v-e3077f1a=""> 公司 </label>\n <right-tree @re-res="$parent.$parent.getRes" _v-e3077f1a=""></right-tree>\n </div>\n\n </div>\n <div class="span" style="float:right;" _v-e3077f1a="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-e3077f1a="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-e3077f1a=""></report-print>\n <report-excel id="gasprice" _v-e3077f1a=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-e3077f1a="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-e3077f1a="">\n <thead _v-e3077f1a="">\n <tr _v-e3077f1a="">\n <th colspan="17" style="font-weight: normal; text-align: left;" _v-e3077f1a="">\n <h3 style="text-align: center" _v-e3077f1a="">抄表户数情况统计表</h3>\n </th>\n </tr>\n <tr _v-e3077f1a="">\n <th colspan="17" style="font-weight: normal; text-align: center;" _v-e3077f1a="">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }}\n </th>\n </tr>\n <tr _v-e3077f1a="">\n <th colspan="17" style="font-weight: normal; text-align: center;" _v-e3077f1a="">\n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-e3077f1a="">\n <th colspan="17" style="font-weight: normal; text-align: center;" _v-e3077f1a="">\n <div _v-e3077f1a="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-e3077f1a="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-e3077f1a=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-e3077f1a="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-e3077f1a=""><tr _v-e3077f1a="">\n <td colspan="17" _v-e3077f1a="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-e3077f1a="">\n <tr style="text-align: left" _v-e3077f1a="">\n <th colspan="6" _v-e3077f1a="">财务审核:</th>\n <th colspan="6" _v-e3077f1a="">收款审核:</th>\n <th colspan="5" _v-e3077f1a="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n</criteria-paged>\n<modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-e3077f1a="">\n <header slot="modal-header" class="modal-header" _v-e3077f1a="">\n <h4 class="modal-title" _v-e3077f1a="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-e3077f1a="">\n <div class="form-group" _v-e3077f1a="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-e3077f1a="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-e3077f1a="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-e3077f1a="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-e3077f1a="">确认</button>\n </footer>\n</modal>\n</div>\n'},1469:function(e,t,n){var a;n(1184),(a=n(358))&&a.__esModule&&Object.keys(a).length,n=n(1405),e.exports=a||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([159],{1:function(e,t){e.exports=function(){var o=[];return o.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},o.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&n[s[0]]||(t&&!s[2]?s[2]=t:t&&(s[2]="("+s[2]+") and ("+t+")"),o.push(s))}},o}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var l={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),s=r(function(){return document.head||document.getElementsByTagName("head")[0]}),o=null,i=0,d=[];function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=l[r.id];if(a){a.refs++;for(var s=0;s<a.parts.length;s++)a.parts[s](r.parts[s]);for(;s<r.parts.length;s++)a.parts.push(u(r.parts[s],t))}else{for(var o=[],s=0;s<r.parts.length;s++)o.push(u(r.parts[s],t));l[r.id]={id:r.id,refs:1,parts:o}}}}function c(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],s=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[s]?n[s].parts.push(a):t.push(n[s]={id:s,parts:[a]})}return t}function f(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=s(),a=d[d.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),d.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,s;return s=e.singleton?(n=i++,r=o=o||f(e),a=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=f(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=d.indexOf(e))&&d.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,o){void 0===(o=o||{}).singleton&&(o.singleton=a()),void 0===o.insertAt&&(o.insertAt="bottom");var i=c(e);return p(i,o),function(e){for(var t=[],n=0;n<i.length;n++){var r=i[n];(a=l[r.id]).refs--,t.push(a)}e&&p(c(e),o);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var s=0;s<a.parts.length;s++)a.parts[s]();delete l[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(i){var l=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(i="function"==typeof i?i.apply(l,e):i)||"function"!=typeof i.next)return n(i);function a(e){var t;try{t=i.next(e)}catch(e){return r(e)}o(t)}function s(e){var t;try{t=i.throw(e)}catch(e){return r(e)}o(t)}function o(e){var t;return e.done?n(e.value):(t=d.call(l,e.value))&&p(t)?t.then(a,s):void s(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function d(e){return e&&(p(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(d,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var s=t[a],o=d.call(this,e[s]);o&&p(o)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(o,s):n[s]=e[s]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function p(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},357:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(6)),a=n(5),s=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var i=r.default.mark(function e(t){return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"抄表比率",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],orgname:"",depname:"",operatorname:"",orgCondtionStr:"1=1",model:new a.DataModel("api/af-revenue/report/getCharge",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59",this.$refs.paged.$refs.criteria.search()},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){this.printTime=this.$login.toStandardTimeString();var t="f_orgid in ('"+this.f_orgid+"')";this.f_depid[0]&&(t+=" and f_depid in ('"+this.f_depid+"')"),this.f_operatorid[0]&&(t+=" and f_operatorid in ('"+this.f_operatorid+"')"),this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:function(e){this.orgname=e.res[0],this.depresid=e.resids,this.f_orgid=e.resids},getdep:function(e,t){this.userresid=e,this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=i(this);(0,s.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null}},computed:{}}},595:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-170a5336]{\n border: none;\n}\n",""])},1041:function(e,t,n){var r=n(595);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1262:function(e,t){e.exports='\n<div class="basic-main" style="height: 98%" _v-170a5336="">\n <criteria-paged :model="model" :pager="false" v-ref:paged="" _v-170a5336="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-170a5336="">\n <p class="bg-info text-center" style="padding: 8px;" _v-170a5336="">抄表比率</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-170a5336=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-170a5336="">\n <div class="row" _v-170a5336="">\n <div class="col-sm-4" _v-170a5336="">\n <label class="font_normal_body" for="startDate" _v-170a5336="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-170a5336="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-170a5336="">\n <label class="font_normal_body" for="endDate" _v-170a5336="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-170a5336="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-170a5336="">\n <label class="font_normal_body" _v-170a5336=""> 公司 </label>\n <right-tree @re-res="$parent.$parent.getRes" _v-170a5336=""></right-tree>\n </div>\n <div class="col-sm-4" _v-170a5336="">\n <label class="font_normal_body" _v-170a5336=""> 部门 </label>\n <res-select restype="department" is-mul="false" @res-select="$parent.$parent.getdep" :parentresid="$parent.$parent.depresid" :initresid="$parent.$parent.depid" _v-170a5336="">\n </res-select>\n\n </div>\n <div class="col-sm-4" _v-170a5336="">\n <label class="font_normal_body" _v-170a5336=""> 人员 </label>\n <res-select restype="user" is-mul="false" @res-select="$parent.$parent.getuser" :parentresid="$parent.$parent.userresid" :initresid="$parent.$parent.operatorid" _v-170a5336="">\n </res-select>\n </div>\n </div>\n <div class="span" style="float:right;" _v-170a5336="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-170a5336="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-170a5336=""></report-print>\n <report-excel id="gasprice" _v-170a5336=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: auto" _v-170a5336="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-170a5336="">\n <thead _v-170a5336="">\n <tr _v-170a5336="">\n <th colspan="9" style="font-weight: normal; text-align: left;" _v-170a5336="">\n <h3 style="text-align: center" _v-170a5336="">抄表比率</h3>\n </th>\n </tr>\n <tr _v-170a5336="">\n <th colspan="9" style="font-weight: normal; text-align: center;" _v-170a5336="">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }} <br _v-170a5336="">\n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-170a5336="">\n <th colspan="9" style="font-weight: normal; text-align: center;" _v-170a5336="">\n <div _v-170a5336="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-170a5336="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-170a5336=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-170a5336="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-170a5336=""><tr _v-170a5336="">\n <td colspan="9" _v-170a5336="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-170a5336="">\n <tr style="text-align: left" _v-170a5336="">\n <th colspan="3" _v-170a5336="">财务审核:</th>\n <th colspan="3" _v-170a5336="">收款审核:</th>\n <th colspan="3" _v-170a5336="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n </criteria-paged>\n <modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-170a5336="">\n <header slot="modal-header" class="modal-header" _v-170a5336="">\n <h4 class="modal-title" _v-170a5336="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-170a5336="">\n <div class="form-group" _v-170a5336="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-170a5336="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-170a5336="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-170a5336="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-170a5336="">确认</button>\n </footer>\n </modal>\n</div>\n'},1468:function(e,t,n){var r;n(1041),(r=n(357))&&r.__esModule&&Object.keys(r).length,n=n(1262),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([16],{3:function(t,e){var a=Array.prototype.slice;function n(s){var u=this,t=a.call(arguments,1);return new Promise(function(n,r){if(!(s="function"==typeof s?s.apply(u,t):s)||"function"!=typeof s.next)return n(s);function a(t){var e;try{e=s.next(t)}catch(t){return r(t)}i(e)}function o(t){var e;try{e=s.throw(t)}catch(t){return r(t)}i(e)}function i(t){var e;return t.done?n(t.value):(e=l.call(u,t.value))&&f(e)?e.then(a,o):void o(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(t.value)+'"'))}a()})}function l(t){return t&&(f(t)?t:function(t){t=t.constructor;return t&&("GeneratorFunction"===t.name||"GeneratorFunction"===t.displayName||r(t.prototype))}(t)||r(t)?n.call(this,t):"function"==typeof t?function(t){var e=this;return new Promise(function(n,r){t.call(e,function(t,e){if(t)return r(t);2<arguments.length&&(e=a.call(arguments,1)),n(e)})})}.call(this,t):Array.isArray(t)?function(t){return Promise.all(t.map(l,this))}.call(this,t):Object==t.constructor?function(t){for(var n=new t.constructor,e=Object.keys(t),r=[],a=0;a<e.length;a++){var o=e[a],i=l.call(this,t[o]);i&&f(i)?function(t,e){n[e]=void 0,r.push(t.then(function(t){n[e]=t}))}(i,o):n[o]=t[o]}return Promise.all(r).then(function(){return n})}.call(this,t):t)}function f(t){return"function"==typeof t.then}function r(t){return"function"==typeof t.next&&"function"==typeof t.throw}(t.exports=n.default=n.co=n).wrap=function(t){return e.__generatorFunction__=t,e;function e(){return n.call(this,t.apply(this,arguments))}}},8:function(t,e){e.f={}.propertyIsEnumerable},10:function(t,e,n){var r=n(24),a=n(7),o=n(29),i=n(11),s=n(27).f;t.exports=function(t){var e=a.Symbol||(a.Symbol=!o&&r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:i.f(t)})}},11:function(t,e,n){e.f=n(22)},20:function(t,e,n){var r=n(64),a=n(57).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,a)}},21:function(t,e){e.f=Object.getOwnPropertySymbols},32:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.f=void 0;var o=a(n(67)),r=a(n(33));e.getAttendanceState=function(t,e,n){{var r,a;t.f_state="",t.f_signin_time&&t.f_knockoff_time?(r=t.f_signin_time.substring(11,16),a=t.f_knockoff_time.substring(11,16),e<r&&(t.f_state="迟到"),a<n&&(t.f_state=t.f_state+"早退")):t.f_state="缺勤"}t.f_state||(t.f_state="正常")},e.toStandardYearMonth=function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+"-"+(e<10?"0"+e:e)},e.toStandardYearMonth1=function(){var t=new Date,e=t.getMonth()+1;return t.getFullYear()+(e<10?"0"+e:e)},e.toStandardDateString=function(){var t=new Date,e=t.getMonth()+1,n=t.getDate();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)},e.toStartAndEndDateString=function(){var t=new Date,e=t.getMonth()+1;return[t.getFullYear()+"-"+(e<10?"0"+e:e)+"-01",t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+new Date(t.getFullYear(),e,0).getDate()]},e.toStandardTimeString=function(){var t=new Date,e=t.getMonth()+1,n=t.getDate(),r=t.getHours(),a=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+" "+(r<10?"0"+r:r)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},e.to3339TimeString=function(){var t=new Date,e=t.getMonth()+1,n=t.getDate(),r=t.getHours(),a=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+"T"+(r<10?"0"+r:r)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},e.parse3339String=function(t){return new Date(t.substr(0,4),t.substr(5,2)-1,t.substr(8,2),t.substr(11,2),t.substr(14,2),t.substr(17,2))},e.format3339TimeString=function(t){var e=t.getMonth()+1,n=t.getDate(),r=t.getHours(),a=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+"T"+(r<10?"0"+r:r)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},e.guid=function(){function t(t){for(var e=t.toString(16);e.length<4;)e="0"+e;return e}var e=new Uint16Array(8);window.crypto.getRandomValues(e);return t(e[0])+t(e[1])+t(e[2])+t(e[3])+t(e[4])+t(e[5])+t(e[6])+t(e[7])},e.choices=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]&&arguments[2],r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:"请选择";{var a;if("view"!=t)return a=[],n&&a.push({label:r,value:null}),i.default.param&&i.default.param[e]?i.default.param[e].forEach(function(t){a.push({label:t.name,value:t.name})}):a.push({label:"请在系统设置里更新参数",value:"请在系统设置里更新参数"}),a;i.default.getParams(e,[null])}},e.required=function(t){return!("number"==typeof t&&0==t||(t=t&&(t+="").trim()))},e.isInt=function(t){return!window.isNaN(t)&&t%1==0},e.isFloat=function(t){return!window.isNaN(t)},e.booleanFilter=function t(e){for(var n in e)e.hasOwnProperty(n)&&("object"==(0,r.default)(e[n])&&null!=e[n]?t(e[n]):"true"!==e[n]&&"false"!=e[n]||(e[n]="true"===e[n]))},e.ratifyPics=function t(e){for(var n in e)n.endsWith("_path")?e[n]?e[n]="rs/db/file/"+e[n]:e[n]="rs/db/file/nopic.png":null!==e[n]&&"object"==(0,r.default)(e[n])&&t(e[n])},e.loadscript=function(r,a){return new o.default(function(t,e){var n=void 0;"css"==r?((n=document.createElement("link")).setAttribute("rel","stylesheet"),n.setAttribute("type","text/css"),n.setAttribute("href",a)):"js"==r&&((n=document.createElement("script")).setAttribute("type","text/javascript"),n.setAttribute("src",a)),n&&(n.setAttribute("async",""),n.setAttribute("defer",""),n.addEventListener("load",function(){t(n)},!1),n.addEventListener("error",function(){e(n)},!1),document.body.appendChild(n))})},e.orgName=function(t){return t.substring(10)},e.getNowDate=function(t){var e="",n=new Date,r=(e=n.getDay(),n.getMonth()+1),a=n.getDate(),n=n.getYear();return(200<n?n:1900+n)+"年"+r+"月"+a+"日 "+["星期日","星期一","星期二","星期三","星期四","星期五","星期日","星期六"][e]},e.addDate=function(t,e){var t=new Date(t),e=(t=(t=t.valueOf())+24*e*60*60*1e3,(t=new Date(t)).getMonth()+1),n=t.getDate(),r=t.getHours(),a=t.getMinutes(),o=t.getSeconds();return t.getFullYear()+"-"+(e<10?"0"+e:e)+"-"+(n<10?"0"+n:n)+" "+(r<10?"0"+r:r)+":"+(a<10?"0"+a:a)+":"+(o<10?"0"+o:o)},e.getUrlParames=function(t){var e=window.location.search,n=t.length,t=e.indexOf(t);if(-1===t)return"";t+=n+1;n=e.indexOf("&",t);return-1!==n?e.substring(t,n):e.substring(t)},e.getUrlCompileParames=function(t){var e=s(window.location.search.slice(1,window.location.search.length)),n=t.length,t=e.indexOf(t);if(-1===t)return"";t+=n+1;n=e.indexOf("&",t);return-1!==n?e.substring(t,n):e.substring(t)},e.compileStr=function(t){for(var e=String.fromCharCode(t.charCodeAt(0)+t.length),n=1;n<t.length;n++)e+=String.fromCharCode(t.charCodeAt(n)+t.charCodeAt(n-1));return escape(e)},e.uncompileStr=s,e.dateDescripte=function(t){var e=(new Date).getTime(),t=new Date(t).getTime(),e=e-t,t=864e5,n=30*t,r=12*n,a="";e<=12e4?a="刚刚":12e4<e&&e<36e5?a=Math.floor(e/6e4)+"分钟前":36e5<e&&e<=t?a=Math.floor(e/36e5)+"小时前":t<e&&e<=n?a=Math.floor(e/t)+"天前":n<e&&e<=r?a=Math.floor(e/n)+"个月前":r<e&&(a=Math.floor(e/r)+"年前");return a},e.nextMonth20=function(t){var t=t.split("-"),e=+t[1]+1;return t[0]+"-"+(e<10?"0"+e:e)+"-20 00:00:00"},e.dateSwitch=function(t,e,n){e=new Date(e).getTime()+n;return this.dateFormat(t,new Date(e))},e.dateFormat=function(t,e){var n,r=void 0,a={"y+":e.getFullYear().toString(),"M+":(e.getMonth()+1).toString(),"d+":e.getDate().toString(),"h+":e.getHours().toString(),"m+":e.getMinutes().toString(),"s+":e.getSeconds().toString()};for(n in a)(r=new RegExp("("+n+")").exec(t))&&(t=t.replace(r[1],1==r[1].length?a[n]:a[n].padStart(r[1].length,"0")));return t};var i=a(n(55));function a(t){return t&&t.__esModule?t:{default:t}}e.f=void 0;function s(t){t=unescape(t);for(var e=String.fromCharCode(t.charCodeAt(0)-t.length),n=1;n<t.length;n++)e+=String.fromCharCode(t.charCodeAt(n)-e.charCodeAt(n-1));return e}},33:function(t,e,n){"use strict";e.__esModule=!0;var r=i(n(35)),a=i(n(34)),o="function"==typeof a.default&&"symbol"==typeof r.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};function i(t){return t&&t.__esModule?t:{default:t}}e.default="function"==typeof a.default&&"symbol"===o(r.default)?function(t){return void 0===t?"undefined":o(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":o(t)}},34:function(t,e,n){t.exports={default:n(36),__esModule:!0}},35:function(t,e,n){t.exports={default:n(37),__esModule:!0}},36:function(t,e,n){n(41),n(61),n(42),n(43),t.exports=n(7).Symbol},37:function(t,e,n){n(18),n(19),t.exports=n(11).f("iterator")},38:function(t,e,n){var s=n(25),u=n(21),l=n(8);t.exports=function(t){var e=s(t),n=u.f;if(n)for(var r,a=n(t),o=l.f,i=0;a.length>i;)o.call(t,r=a[i++])&&e.push(r);return e}},39:function(t,e,n){var r=n(8),a=n(30),o=n(16),i=n(31),s=n(28),u=n(62),l=Object.getOwnPropertyDescriptor;e.f=n(26)?l:function(t,e){if(t=o(t),e=i(e,!0),u)try{return l(t,e)}catch(t){}if(s(t,e))return a(!r.f.call(t,e),t[e])}},40:function(t,e,n){var r=n(16),a=n(20).f,o={}.toString,i="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){if(!i||"[object Window]"!=o.call(t))return a(r(t));try{return a(t)}catch(t){return i.slice()}}},41:function(Y,T,t){"use strict";function r(t){var e=$[t]=y(S[x]);return e._k=t,e}function n(t,e){g(t);for(var n,r=W(e=m(e)),a=0,o=r.length;a<o;)N(t,n=r[a++],e[n]);return t}function e(t){var e=tt.call(this,t=v(t,!0));return!(this===k&&u($,t)&&!u(P,t))&&(!(e||!u(this,t)||!u($,t)||u(this,O)&&this[O][t])||e)}function a(t,e){var n;if(t=m(t),e=v(e,!0),t!==k||!u($,e)||u(P,e))return!(n=B(t,e))||!u($,e)||u(t,O)&&t[O][e]||(n.enumerable=!0),n}function o(t){for(var e,n=X(m(t)),r=[],a=0;n.length>a;)u($,e=n[a++])||e==O||e==H||r.push(e);return r}function i(t){for(var e,n=t===k,r=X(n?P:m(t)),a=[],o=0;r.length>o;)!u($,e=r[o++])||n&&!u(k,e)||a.push($[e]);return a}var s=t(24),u=t(28),l=t(26),f=t(45),R=t(65),H=t(58).KEY,c=t(48),d=t(60),p=t(54),I=t(56),h=t(22),G=t(11),J=t(10),W=t(38),V=t(63),g=t(17),q=t(50),L=t(49),m=t(16),v=t(31),b=t(30),y=t(59),U=t(40),K=t(39),w=t(21),Q=t(27),z=t(25),B=K.f,_=Q.f,X=U.f,S=s.Symbol,D=s.JSON,M=D&&D.stringify,x="prototype",O=h("_hidden"),Z=h("toPrimitive"),tt={}.propertyIsEnumerable,j=d("symbol-registry"),$=d("symbols"),P=d("op-symbols"),k=Object[x],d="function"==typeof S&&!!w.f,F=s.QObject,C=!F||!F[x]||!F[x].findChild,A=l&&c(function(){return 7!=y(_({},"a",{get:function(){return _(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=B(k,e);r&&delete k[e],_(t,e,n),r&&t!==k&&_(k,e,r)}:_,E=d&&"symbol"==typeof S.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof S},N=function(t,e,n){return t===k&&N(P,e,n),g(t),e=v(e,!0),g(n),(u($,e)?(n.enumerable?(u(t,O)&&t[O][e]&&(t[O][e]=!1),n=y(n,{enumerable:b(0,!1)})):(u(t,O)||_(t,O,b(1,{})),t[O][e]=!0),A):_)(t,e,n)};d||(R((S=function(){if(this instanceof S)throw TypeError("Symbol is not a constructor!");var e=I(0<arguments.length?arguments[0]:void 0),n=function(t){this===k&&n.call(P,t),u(this,O)&&u(this[O],e)&&(this[O][e]=!1),A(this,e,b(1,t))};return l&&C&&A(k,e,{configurable:!0,set:n}),r(e)})[x],"toString",function(){return this._k}),K.f=a,Q.f=N,t(20).f=U.f=o,t(8).f=e,w.f=i,l&&!t(29)&&R(k,"propertyIsEnumerable",e,!0),G.f=function(t){return r(h(t))}),f(f.G+f.W+f.F*!d,{Symbol:S});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)h(et[nt++]);for(var rt=z(h.store),at=0;rt.length>at;)J(rt[at++]);f(f.S+f.F*!d,"Symbol",{for:function(t){return u(j,t+="")?j[t]:j[t]=S(t)},keyFor:function(t){if(!E(t))throw TypeError(t+" is not a symbol!");for(var e in j)if(j[e]===t)return e},useSetter:function(){C=!0},useSimple:function(){C=!1}}),f(f.S+f.F*!d,"Object",{create:function(t,e){return void 0===e?y(t):n(y(t),e)},defineProperty:N,defineProperties:n,getOwnPropertyDescriptor:a,getOwnPropertyNames:o,getOwnPropertySymbols:i});F=c(function(){w.f(1)});f(f.S+f.F*F,"Object",{getOwnPropertySymbols:function(t){return w.f(L(t))}}),D&&f(f.S+f.F*(!d||c(function(){var t=S();return"[null]"!=M([t])||"{}"!=M({a:t})||"{}"!=M(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],a=1;a<arguments.length;)r.push(arguments[a++]);if(n=e=r[1],(q(e)||void 0!==t)&&!E(t))return V(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!E(e))return e}),r[1]=e,M.apply(D,r)}}),S[x][Z]||t(52)(S[x],Z,S[x].valueOf),p(S,"Symbol"),p(Math,"Math",!0),p(s.JSON,"JSON",!0)},42:function(t,e,n){n(10)("asyncIterator")},43:function(t,e,n){n(10)("observable")},72:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=r(n(96)),o=r(n(89));function r(t){return t&&t.__esModule?t:{default:t}}e.default={params:{},singleValues:{},gasstyles:{},gasbrands:[],price:[],adjustables:[],getParam:function(t){return this.params[t]},getSingleValue:function(t){return this.singleValues[t]},getGasstyle:function(t){return this.gasbrands.key},getGasbrand:function(){return this.gasbrands},getAdjustable:function(){var n=[],r=(this.adjustables.forEach(function(t,e){n.push(t)}),{}),t=n.reduce(function(t,e){return r[e.label]||(r[e.label]=t.push(e)),t},[]);return(0,o.default)(new a.default(t))},getPrice:function(e){var n,r;if(e.f_user_type&&e.f_gasproperties&&e.f_price_type)return r=[],this.price.forEach(function(t){"有效"===t.f_state&&e.f_user_type===t.f_user_type&&e.f_gasproperties===t.f_gasproperties&&e.f_price_type===t.f_price_type&&(t={label:t.f_price_name,value:t},r.push(t))}),n={},r=r.reduce(function(t,e){return n[e.label]||(n[e.label]=t.push(e)),t},[]),(0,o.default)(new a.default(r))}}},515:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=l(n(6)),o=l(n(15)),i=n(5),r=function(t){{if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}}(n(32)),s=l(n(72)),u=l(n(3));function l(t){return t&&t.__esModule?t:{default:t}}var f=a.default.mark(function t(r){var e;return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=new i.HttpResetClass,t.next=3,e.load("POST","/rs/search",{source:"tool.getChildrenOfResName($晋城市煤气开发利用中心$)",userid:""},{resolveMsg:null,rejectMsg:null});case 3:t.sent.data.forEach(function(t,e){var n={};n.label=t.name,n.value=t.name,r.outlets.push(n)}),r.outlets=[{label:"全部",value:""}].concat((0,o.default)(r.outlets));case 6:case"end":return t.stop()}},t,this)}),c=a.default.mark(function t(r,e){return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:""!==e[0]?t.next=5:(r.operator=[{label:"全部",value:""}],t.next=10);break;case 5:return t.next=7,r.$resetpost("/rs/search",{source:"tool.getChildrenOfResName($"+e+"$)",userid:""},{resolveMsg:null,rejectMsg:null});case 7:t.sent.data.forEach(function(t,e){var n={};n.label=t.name,n.value=t.name,r.operator.push(n)}),r.operator=[{label:"全部",value:""}].concat((0,o.default)(r.operator));case 10:r.$set("$refs.paged.$refs.criteria.model.operator[0]","");case 11:case"end":return t.stop()}},t,this)}),d=a.default.mark(function t(e){return a.default.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+e.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<t.sent.data.length)return e.$showAlert("无法保存,文件名重名","warning",3e3),t.abrupt("return");t.next=6;break;case 6:return t.next=8,e.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:e.$refs.paged.$els.handcollect.innerHTML,f_files_name:e.filename,f_files_type:e.data.f_report_type,f_component_name:"bus-summary",f_operator:r.f.name,f_query_month:e.model.model.startDate+"-"+e.model.model.endDate,f_outlets:r.f.f_parentname});case 8:"succeed"===t.sent.data.status&&(e.show=!1,e.filename="",e.$dispatch("save-success",e.filename));case 10:case"end":return t.stop()}},t,this)});e.default={title:"工单考核报表",props:["data"],data:function(){return{model:new i.DataModel("api/af-revenue/report/worklist",{startDate:"this.model.startDate",endDate:"this.model.endDate",outlets:"this.model.outlets[0]"}),reportStr:null,show:!1,outlets:[],filename:""}},ready:function(){this.data&&(this.$refs.paged.$refs.criteria.model.startDate=r.toStandardDateString(),this.$refs.paged.$refs.criteria.model.endDate=r.toStandardDateString(),this.$refs.paged.$refs.criteria.model.operator=[""+r.f.name],this.$refs.paged.$refs.criteria.model.outlets=[""+r.f.f_parentname])},methods:{outletsChange:function(t){this.operator=[];t=c(this,t);return(0,u.default)(t)},getOutlets:function(){var t=f(this);return(0,u.default)(t)},getFileContent:function(t){var e=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:t},{resolveMsg:null,rejectMsg:null}).then(function(t){e.reportStr=t.data.filecontent,e.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var t=d(this);(0,u.default)(t)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+r.toStandardDateString()}},computed:{outlets:function(){return[{label:"全部",value:""}].concat((0,o.default)(s.default.getParam("营业网点")))}}}},1231:function(t,e){t.exports='\n<div id=\'app\' >\n <criteria-paged :model="model" :pager=\'false\' v-ref:paged>\n <criteria partial=\'criteria\' @condition-changed=\'search\' v-ref:criteria>\n <div novalidate class="form-inline auto " partial >\n <p class="bg-info text-center" style="padding: 8px;">工单考核报表</p>\n <div class="flex-row auto" style="justify-content: space-between">\n <div class="form-group" >\n <label for="startDate">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期"\n v-model="model.startDate"\n :value.sync="model.startDate"\n :disabled-days-of-Week="[]"\n :format="\'yyyy-MM-dd\'"\n :show-reset-button="reset">\n </datepicker>\n <label for="endDate">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期"\n v-model="model.endDate"\n :value.sync="model.endDate"\n :disabled-days-of-Week="[]"\n :format="\'yyyy-MM-dd\'"\n :show-reset-button="reset">\n </datepicker>\n <label for="outlets" class="control-label">营业网点</label>\n <v-select :value.sync="model.outlets" v-model="model.outlets"\n @change=\'$parent.$parent.outletsChange\'\n default-value="[\'\']"\n :options=\'$parent.$parent.outlets\' placeholder=\'营业网点\'\n close-on-select></v-select>\n <button class="btn btn-success width-100" @click="search()">查询</button>\n <button class="btn btn-success width-100" @click="$parent.$parent.confirmReport()">保存报表</button>\n </div>\n <span></span>\n <div class="form-group">\n <report-print id=\'bussummary\' top=\'1cm\' left=\'2cm\' width=\'100%\' height=\'100%\'></report-print>\n <report-excel id=\'bussummary\' ></report-excel>\n </div>\n </div>\n </div>\n </criteria>\n <div partial=\'list\' v-el:handcollect id=\'bussummary\'>\n <table class=\'tableprint\' style="margin: 0px auto" v-if="!$parent.data.f_files_path">\n <thead>\n <tr>\n <th colspan=\'12\' style="font-weight: normal; text-align: left;">\n <h3 style="text-align: center">工单考核报表</h3>\n </th>\n </tr>\n <tr>\n <th colspan=\'12\' style="font-weight: normal; text-align: center;">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }} \n 营业网点:{{model.model.outlets}} \n </th>\n </tr>\n </thead>\n <tr>\n <td colspan=\'12\'>\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </table>\n {{{ $parent.reportStr }}}\n </div>\n \x3c!-- <div partial=\'list\' v-el:handcollect v-if="data.f_files_path">\n\n </div> --\x3e\n </criteria-paged>\n\n <modal :show.sync="show" v-ref:modal small backdrop="false">\n <header slot="modal-header" class="modal-header">\n <h4 class="modal-title">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body">\n <div class="form-group">\n <input type="text" class="form-control" v-model="filename" placeholder=\'保存的文件名\'>\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer">\n <button v-show="show" type="button" class="btn btn-default" @click=\'close\'>取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click=\'confirm(filename)\'>确认</button>\n </footer>\n </modal>\n\n</div>\n'},1625:function(t,e,n){var r=n(515);r&&r.__esModule&&Object.keys(r).length,n=n(1231),t.exports=r||{},t.exports.__esModule&&(t.exports=t.exports.default),n&&(("function"==typeof t.exports?t.exports.options||(t.exports.options={}):t.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([160],{1:function(e,t){e.exports=function(){var o=[];return o.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},o.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&n[s[0]]||(t&&!s[2]?s[2]=t:t&&(s[2]="("+s[2]+") and ("+t+")"),o.push(s))}},o}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var d={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),s=r(function(){return document.head||document.getElementsByTagName("head")[0]}),o=null,i=0,l=[];function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=d[r.id];if(a){a.refs++;for(var s=0;s<a.parts.length;s++)a.parts[s](r.parts[s]);for(;s<r.parts.length;s++)a.parts.push(u(r.parts[s],t))}else{for(var o=[],s=0;s<r.parts.length;s++)o.push(u(r.parts[s],t));d[r.id]={id:r.id,refs:1,parts:o}}}}function p(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],s=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[s]?n[s].parts.push(a):t.push(n[s]={id:s,parts:[a]})}return t}function c(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=s(),a=l[l.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),l.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,s;return s=e.singleton?(n=i++,r=o=o||c(e),a=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=c(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=l.indexOf(e))&&l.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,o){void 0===(o=o||{}).singleton&&(o.singleton=a()),void 0===o.insertAt&&(o.insertAt="bottom");var i=p(e);return f(i,o),function(e){for(var t=[],n=0;n<i.length;n++){var r=i[n];(a=d[r.id]).refs--,t.push(a)}e&&f(p(e),o);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var s=0;s<a.parts.length;s++)a.parts[s]();delete d[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(i){var d=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(i="function"==typeof i?i.apply(d,e):i)||"function"!=typeof i.next)return n(i);function a(e){var t;try{t=i.next(e)}catch(e){return r(e)}o(t)}function s(e){var t;try{t=i.throw(e)}catch(e){return r(e)}o(t)}function o(e){var t;return e.done?n(e.value):(t=l.call(d,e.value))&&f(t)?t.then(a,s):void s(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function l(e){return e&&(f(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(l,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var s=t[a],o=l.call(this,e[s]);o&&f(o)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(o,s):n[s]=e[s]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function f(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},355:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(6)),a=n(5),s=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var i=r.default.mark(function e(t){return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"用户统计表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],orgname:"",depname:"",operatorname:"",model:new a.DataModel("api/af-revenue/report/getusernum",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59",this.$refs.paged.$refs.criteria.search()},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){this.printTime=this.$login.toStandardTimeString();var t="f.f_orgid in ("+this.f_orgid+")";this.f_depid[0]&&(t+=" and f.f_depid in ("+this.f_depid+")"),this.f_operatorid[0]&&(t+=" and f.f_operatorid in ("+this.f_operatorid+")"),this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:function(e){this.orgname=e.res[0],this.depresid=e.resids,this.f_orgid=e.resids},getdep:function(e,t){this.userresid=e,this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=i(this);(0,s.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null}},computed:{}}},658:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-4f03dd6e]{\n border: none;\n}\n",""])},1104:function(e,t,n){var r=n(658);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1325:function(e,t){e.exports='\n<div class="basic-main" style="height: 100%" _v-4f03dd6e="">\n <criteria-paged :model="model" :pager="false" v-ref:paged="" _v-4f03dd6e="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-4f03dd6e="">\n <p class="bg-info text-center" style="padding: 8px;" _v-4f03dd6e="">用户统计表</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-4f03dd6e=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-4f03dd6e="">\n <div class="row" _v-4f03dd6e="">\n <div class="col-sm-4" _v-4f03dd6e="">\n <label class="font_normal_body" for="startDate" _v-4f03dd6e="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-4f03dd6e="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-4f03dd6e="">\n <label class="font_normal_body" for="endDate" _v-4f03dd6e="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-4f03dd6e="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-4f03dd6e="">\n <label class="font_normal_body" _v-4f03dd6e=""> 公司 </label>\n <right-tree @re-res="$parent.$parent.getRes" _v-4f03dd6e=""></right-tree>\n </div>\n <div class="col-sm-4" _v-4f03dd6e="">\n <label class="font_normal_body" _v-4f03dd6e=""> 部门 </label>\n <res-select restype="department" is-mul="false" @res-select="$parent.$parent.getdep" :parentresid="$parent.$parent.depresid" :initresid="$parent.$parent.depid" _v-4f03dd6e="">\n </res-select>\n\n </div>\n <div class="col-sm-4" _v-4f03dd6e="">\n <label class="font_normal_body" _v-4f03dd6e=""> 人员 </label>\n <res-select restype="user" is-mul="false" @res-select="$parent.$parent.getuser" :parentresid="$parent.$parent.userresid" :initresid="$parent.$parent.operatorid" _v-4f03dd6e="">\n </res-select>\n </div>\n </div>\n <div class="span" style="float:right;" _v-4f03dd6e="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-4f03dd6e="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-4f03dd6e=""></report-print>\n <report-excel id="gasprice" _v-4f03dd6e=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-4f03dd6e="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-4f03dd6e="">\n <thead _v-4f03dd6e="">\n <tr _v-4f03dd6e="">\n <th colspan="9" style="font-weight: normal; text-align: left;" _v-4f03dd6e="">\n <h3 style="text-align: center" _v-4f03dd6e="">用户统计表</h3>\n </th>\n </tr>\n <tr _v-4f03dd6e="">\n <th colspan="9" style="font-weight: normal; text-align: center;" _v-4f03dd6e="">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }}<br _v-4f03dd6e="">\n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-4f03dd6e="">\n <th colspan="9" style="font-weight: normal; text-align: center;" _v-4f03dd6e="">\n <div _v-4f03dd6e="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-4f03dd6e="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-4f03dd6e=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-4f03dd6e="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-4f03dd6e=""><tr _v-4f03dd6e="">\n <td colspan="9" _v-4f03dd6e="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-4f03dd6e="">\n <tr style="text-align: left" _v-4f03dd6e="">\n <th colspan="3" _v-4f03dd6e="">财务审核:</th>\n <th colspan="3" _v-4f03dd6e="">收款审核:</th>\n <th colspan="3" _v-4f03dd6e="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n </criteria-paged>\n <modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-4f03dd6e="">\n <header slot="modal-header" class="modal-header" _v-4f03dd6e="">\n <h4 class="modal-title" _v-4f03dd6e="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-4f03dd6e="">\n <div class="form-group" _v-4f03dd6e="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-4f03dd6e="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-4f03dd6e="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-4f03dd6e="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-4f03dd6e="">确认</button>\n </footer>\n </modal>\n</div>\n'},1466:function(e,t,n){var r;n(1104),(r=n(355))&&r.__esModule&&Object.keys(r).length,n=n(1325),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([161],{1:function(e,t){e.exports=function(){var s=[];return s.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},s.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),s.push(o))}},s}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var l={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),o=r(function(){return document.head||document.getElementsByTagName("head")[0]}),s=null,i=0,d=[];function p(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=l[r.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](r.parts[o]);for(;o<r.parts.length;o++)a.parts.push(u(r.parts[o],t))}else{for(var s=[],o=0;o<r.parts.length;o++)s.push(u(r.parts[o],t));l[r.id]={id:r.id,refs:1,parts:s}}}}function c(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],o=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[o]?n[o].parts.push(a):t.push(n[o]={id:o,parts:[a]})}return t}function f(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=o(),a=d[d.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),d.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,o;return o=e.singleton?(n=i++,r=s=s||f(e),a=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=f(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=d.indexOf(e))&&d.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):o()}}e.exports=function(e,s){void 0===(s=s||{}).singleton&&(s.singleton=a()),void 0===s.insertAt&&(s.insertAt="bottom");var i=c(e);return p(i,s),function(e){for(var t=[],n=0;n<i.length;n++){var r=i[n];(a=l[r.id]).refs--,t.push(a)}e&&p(c(e),s);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var o=0;o<a.parts.length;o++)a.parts[o]();delete l[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(i){var l=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(i="function"==typeof i?i.apply(l,e):i)||"function"!=typeof i.next)return n(i);function a(e){var t;try{t=i.next(e)}catch(e){return r(e)}s(t)}function o(e){var t;try{t=i.throw(e)}catch(e){return r(e)}s(t)}function s(e){var t;return e.done?n(e.value):(t=d.call(l,e.value))&&p(t)?t.then(a,o):void o(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function d(e){return e&&(p(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(d,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var o=t[a],s=d.call(this,e[o]);s&&p(s)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(s,o):n[o]=e[o]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function p(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},354:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(6)),a=n(5),o=s(n(3));function s(e){return e&&e.__esModule?e:{default:e}}var i=r.default.mark(function e(t){return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"气量汇总表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],tablen:0,orgname:"",depname:"",operatorname:"",orgCondtionStr:"1=1",model:new a.DataModel("api/af-revenue/report/Gascollect",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59"},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){this.printTime=this.$login.toStandardTimeString();var t=" f_orgid in ('"+this.f_orgid+"')";this.f_depid[0]&&(t+=" and f_depid in ('"+this.f_depid+"')"),this.f_operatorid[0]&&(t+=" and f_operatorid in ('"+this.f_operatorid+"')"),this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:function(e){this.orgname=e.res[0],this.depresid=e.resids,this.f_orgid=e.resids},getdep:function(e,t){this.depname=t[0],this.userresid=e,this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=i(this);(0,o.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null},"model.data":function(e){for(var t=0,n=e.split("</tr>"),r=0;r<n.length;r++)n[r].split("</td>").length-1>t&&(t=n[r].split("</td>").length-1);this.tablen=t}},computed:{operator:function(){return this.$getParams("操作员查询用",[{label:"全部",value:""}])},network:function(){return this.$getParams("网点查询用",[{label:"全部",value:""}])}}}},576:function(e,t,n){(e.exports=n(1)()).push([e.id,"\r\n.noborder[_v-057914d3]{\r\n border: none;\r\n}\r\n",""])},1022:function(e,t,n){var r=n(576);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1243:function(e,t){e.exports='\n<div class="basic-main" style="height: 100%" _v-057914d3="">\n <criteria-paged :model="model" :pager="false" v-ref:paged="" _v-057914d3="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-057914d3="">\n <p class="bg-info text-center" style="padding: 8px;" _v-057914d3="">气量汇总表</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-057914d3=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-057914d3="">\n <div class="row" _v-057914d3="">\n <div class="col-sm-4" _v-057914d3="">\n <label class="font_normal_body" for="startDate" _v-057914d3="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-057914d3="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-057914d3="">\n <label class="font_normal_body" for="endDate" _v-057914d3="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-057914d3="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-057914d3="">\n <label class="font_normal_body" _v-057914d3=""> 公司 </label>\n <right-tree @re-res="$parent.$parent.getRes" _v-057914d3=""></right-tree>\n </div>\n <div class="col-sm-4" _v-057914d3="">\n <label class="font_normal_body" _v-057914d3=""> 部门 </label>\n <res-select restype="department" is-mul="false" @res-select="$parent.$parent.getdep" :parentresid="$parent.$parent.depresid" :initresid="$parent.$parent.depid" _v-057914d3="">\n </res-select>\n\n </div>\n <div class="col-sm-4" _v-057914d3="">\n <label class="font_normal_body" _v-057914d3=""> 人员 </label>\n <res-select restype="user" is-mul="false" @res-select="$parent.$parent.getuser" :parentresid="$parent.$parent.userresid" :initresid="$parent.$parent.operatorid" _v-057914d3="">\n </res-select>\n </div>\n </div>\n <div class="span" style="float:right;" _v-057914d3="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-057914d3="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-057914d3=""></report-print>\n <report-excel id="gasprice" _v-057914d3=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-057914d3="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-057914d3="">\n <thead _v-057914d3="">\n <tr _v-057914d3="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: left;" _v-057914d3="">\n <h3 style="text-align: center" _v-057914d3="">气量汇总表</h3>\n </th>\n </tr>\n <tr _v-057914d3="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: center;" _v-057914d3="">\n 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br _v-057914d3="">\n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-057914d3="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: center;" _v-057914d3="">\n <div _v-057914d3="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-057914d3="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-057914d3=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-057914d3="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-057914d3=""><tr _v-057914d3="">\n <td :colspan="$parent.tablen" _v-057914d3="">\n {{{ model.data.substring(26,model.data.length-8)}}}\n </td>\n </tr>\n </tbody><tfoot _v-057914d3="">\n <tr style="text-align: left" _v-057914d3="">\n <th :colspan="$parent.tablen/3" _v-057914d3="">财务审核:</th>\n <th :colspan="$parent.tablen/3" _v-057914d3="">收款审核:</th>\n <th :colspan="$parent.tablen/3" _v-057914d3="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n </criteria-paged>\n <modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-057914d3="">\n <header slot="modal-header" class="modal-header" _v-057914d3="">\n <h4 class="modal-title" _v-057914d3="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-057914d3="">\n <div class="form-group" _v-057914d3="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-057914d3="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-057914d3="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-057914d3="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-057914d3="">确认</button>\n </footer>\n </modal>\n</div>\n'},1465:function(e,t,n){var r;n(1022),(r=n(354))&&r.__esModule&&Object.keys(r).length,n=n(1243),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([162],{1:function(e,t){e.exports=function(){var o=[];return o.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},o.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var s=e[r];"number"==typeof s[0]&&n[s[0]]||(t&&!s[2]?s[2]=t:t&&(s[2]="("+s[2]+") and ("+t+")"),o.push(s))}},o}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var l={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),s=r(function(){return document.head||document.getElementsByTagName("head")[0]}),o=null,i=0,f=[];function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=l[r.id];if(a){a.refs++;for(var s=0;s<a.parts.length;s++)a.parts[s](r.parts[s]);for(;s<r.parts.length;s++)a.parts.push(u(r.parts[s],t))}else{for(var o=[],s=0;s<r.parts.length;s++)o.push(u(r.parts[s],t));l[r.id]={id:r.id,refs:1,parts:o}}}}function p(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],s=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[s]?n[s].parts.push(a):t.push(n[s]={id:s,parts:[a]})}return t}function c(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=s(),a=f[f.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),f.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,s;return s=e.singleton?(n=i++,r=o=o||c(e),a=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=c(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=f.indexOf(e))&&f.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):s()}}e.exports=function(e,o){void 0===(o=o||{}).singleton&&(o.singleton=a()),void 0===o.insertAt&&(o.insertAt="bottom");var i=p(e);return d(i,o),function(e){for(var t=[],n=0;n<i.length;n++){var r=i[n];(a=l[r.id]).refs--,t.push(a)}e&&d(p(e),o);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var s=0;s<a.parts.length;s++)a.parts[s]();delete l[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(i){var l=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(i="function"==typeof i?i.apply(l,e):i)||"function"!=typeof i.next)return n(i);function a(e){var t;try{t=i.next(e)}catch(e){return r(e)}o(t)}function s(e){var t;try{t=i.throw(e)}catch(e){return r(e)}o(t)}function o(e){var t;return e.done?n(e.value):(t=f.call(l,e.value))&&d(t)?t.then(a,s):void s(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function f(e){return e&&(d(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(f,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var s=t[a],o=f.call(this,e[s]);o&&d(o)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(o,s):n[s]=e[s]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function d(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},353:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(6)),a=n(5),s=o(n(3));function o(e){return e&&e.__esModule?e:{default:e}}var i=r.default.mark(function e(t){return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"气量汇总表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],tablen:0,orgname:"",depname:"",operatorname:"",orgCondtionStr:"1=1",model:new a.DataModel("api/af-revenue/report/gas-summary",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59"},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){this.printTime=this.$login.toStandardTimeString();var t=" f_orgid in ('"+this.f_orgid+"')";this.f_depid[0]&&(t+=" and f_depid in ('"+this.f_depid+"')"),this.f_operatorid[0]&&(t+=" and f_operatorid in ('"+this.f_operatorid+"')"),this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:function(e){this.orgname=e.res[0],this.depresid=e.resids,this.f_orgid=e.resids},getdep:function(e,t){this.depname=t[0],this.userresid=e,this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=i(this);(0,s.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null},"model.data":function(e){for(var t=0,n=e.split("</tr>"),r=0;r<n.length;r++)n[r].split("</td>").length-1>t&&(t=n[r].split("</td>").length-1);this.tablen=t}},computed:{operator:function(){return this.$getParams("操作员查询用",[{label:"全部",value:""}])},network:function(){return this.$getParams("网点查询用",[{label:"全部",value:""}])}}}},677:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-6123af14]{\n border: none;\n}\n",""])},1123:function(e,t,n){var r=n(677);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1344:function(e,t){e.exports='\n<div class="basic-main" style="height: 100%" _v-6123af14="">\n <criteria-paged :model="model" :pager="false" v-ref:paged="" _v-6123af14="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-6123af14="">\n <p class="bg-info text-center" style="padding: 8px;" _v-6123af14="">用气汇总</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-6123af14=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-6123af14="">\n <div class="row" _v-6123af14="">\n <div class="col-sm-4" _v-6123af14="">\n <label class="font_normal_body" for="startDate" _v-6123af14="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-6123af14="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-6123af14="">\n <label class="font_normal_body" for="endDate" _v-6123af14="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-6123af14="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-6123af14="">\n <label class="font_normal_body" _v-6123af14=""> 公司 </label>\n <right-tree @re-res="$parent.$parent.getRes" _v-6123af14=""></right-tree>\n </div>\n <div class="col-sm-4" _v-6123af14="">\n <label class="font_normal_body" _v-6123af14=""> 部门 </label>\n <res-select restype="department" is-mul="false" @res-select="$parent.$parent.getdep" :parentresid="$parent.$parent.depresid" :initresid="$parent.$parent.depid" _v-6123af14="">\n </res-select>\n\n </div>\n <div class="col-sm-4" _v-6123af14="">\n <label class="font_normal_body" _v-6123af14=""> 人员 </label>\n <res-select restype="user" is-mul="false" @res-select="$parent.$parent.getuser" :parentresid="$parent.$parent.userresid" :initresid="$parent.$parent.operatorid" _v-6123af14="">\n </res-select>\n </div>\n </div>\n <div class="span" style="float:right;" _v-6123af14="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-6123af14="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-6123af14=""></report-print>\n <report-excel id="gasprice" _v-6123af14=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-6123af14="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-6123af14="">\n <thead _v-6123af14="">\n <tr _v-6123af14="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: left;" _v-6123af14="">\n <h3 style="text-align: center" _v-6123af14="">用气汇总</h3>\n </th>\n </tr>\n <tr _v-6123af14="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: center;" _v-6123af14="">\n 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br _v-6123af14="">\n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-6123af14="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: center;" _v-6123af14="">\n <div _v-6123af14="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-6123af14="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-6123af14=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-6123af14="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-6123af14=""><tr _v-6123af14="">\n <td :colspan="$parent.tablen" _v-6123af14="">\n {{{ model.data.substring(26,model.data.length-8)}}}\n </td>\n </tr>\n </tbody><tfoot _v-6123af14="">\n <tr style="text-align: left" _v-6123af14="">\n <th :colspan="$parent.tablen/3" _v-6123af14="">财务审核:</th>\n <th :colspan="$parent.tablen/3" _v-6123af14="">收款审核:</th>\n <th :colspan="$parent.tablen/3" _v-6123af14="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n </criteria-paged>\n <modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-6123af14="">\n <header slot="modal-header" class="modal-header" _v-6123af14="">\n <h4 class="modal-title" _v-6123af14="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-6123af14="">\n <div class="form-group" _v-6123af14="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-6123af14="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-6123af14="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-6123af14="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-6123af14="">确认</button>\n </footer>\n </modal>\n</div>\n'},1464:function(e,t,n){var r;n(1123),(r=n(353))&&r.__esModule&&Object.keys(r).length,n=n(1344),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([163],{1:function(e,t){e.exports=function(){var i=[];return i.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},i.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),i.push(o))}},i}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var l={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),o=r(function(){return document.head||document.getElementsByTagName("head")[0]}),i=null,s=0,c=[];function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=l[r.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](r.parts[o]);for(;o<r.parts.length;o++)a.parts.push(u(r.parts[o],t))}else{for(var i=[],o=0;o<r.parts.length;o++)i.push(u(r.parts[o],t));l[r.id]={id:r.id,refs:1,parts:i}}}}function p(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],o=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[o]?n[o].parts.push(a):t.push(n[o]={id:o,parts:[a]})}return t}function d(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=o(),a=c[c.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),c.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,o;return o=e.singleton?(n=s++,r=i=i||d(e),a=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=d(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=c.indexOf(e))&&c.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):o()}}e.exports=function(e,i){void 0===(i=i||{}).singleton&&(i.singleton=a()),void 0===i.insertAt&&(i.insertAt="bottom");var s=p(e);return f(s,i),function(e){for(var t=[],n=0;n<s.length;n++){var r=s[n];(a=l[r.id]).refs--,t.push(a)}e&&f(p(e),i);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var o=0;o<a.parts.length;o++)a.parts[o]();delete l[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(s){var l=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(s="function"==typeof s?s.apply(l,e):s)||"function"!=typeof s.next)return n(s);function a(e){var t;try{t=s.next(e)}catch(e){return r(e)}i(t)}function o(e){var t;try{t=s.throw(e)}catch(e){return r(e)}i(t)}function i(e){var t;return e.done?n(e.value):(t=c.call(l,e.value))&&f(t)?t.then(a,o):void o(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function c(e){return e&&(f(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(c,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var o=t[a],i=c.call(this,e[o]);i&&f(i)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(i,o):n[o]=e[o]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function f(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},351:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=l(n(15)),a=l(n(6)),o=l(n(47)),i=n(5),s=l(n(3));function l(e){return e&&e.__esModule?e:{default:e}}c=(0,o.default)(a.default.mark(function e(t){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t.$refs.paged.$refs.criteria.model.startDate=t.$login.toStandardDateString()+" 00:00:00",t.$refs.paged.$refs.criteria.model.endDate=t.$login.toStandardDateString()+" 23:59:59",e.next=5,t.$MagLoadParams.loadParam();case 5:t.initParams(),t.$refs.paged.$refs.criteria.search();case 7:case"end":return e.stop()}},e,this)}));var c,f,p=function(e){return c.apply(this,arguments)},d=a.default.mark(function e(t){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"气价分组汇总表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],orgname:"",depname:"",operatorname:"",f_inputtor:[],f_user_type:"",criteriaShow:!1,orgCondtionStr:"1=1",model:new i.DataModel("api/af-revenue/report/gasPriceGroup",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,resshow:["company","department","operator"],initres:{org:[this.$login.f.orgid],dep:[],user:[]},f_filialeid:this.$login.f.orgid,show:!1}},ready:function(){var t=this;p(this).then(function(){t.$emit("ready")}).catch(function(e){t.$emit("error",e)})},methods:{initParams:function(){var n=[];this.$MagGetSaleParam.getGasbrand().forEach(function(e){var t={};t.label=e.label,t.value=e.value.f_meter_brand,n.push(t)}),this.meterbrands=[{label:"全部",value:""}].concat(n),this.prices=this.$MagGetSaleParam.getPrices()},hidden:function(){this.criteriaShow=!this.criteriaShow},searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){var t=e.condition+this.orgCondtionStr;this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:(f=(0,o.default)(a.default.mark(function e(t,n){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:this.orgCondtionStr=t,this.orgname=n.orgnames[0],this.depname=n.depnames[0];case 3:case"end":return e.stop()}},e,this)})),function(e,t){return f.apply(this,arguments)}),getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=d(this);(0,s.default)(e)},close:function(){this.show=!1},pricetypechanged:function(){this.$refs.paged.$refs.criteria.model.f_price_name=[]},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null}},computed:{getPricenames:function(){var e,n,t=this.$refs.paged.$refs.criteria.model.pricetype;if(null!==this.$refs.paged.$refs.criteria.model)return e=[],n=[],0<t.length&&(t={f_price_type:t[0],filter:this.f_filialeid,prices:this.prices},this.$MagGetSaleParam.getPrice(t).forEach(function(e){var t={};t.label=e.label,t.value=e.value.f_price_name,n.push(t)}),e=0==n.length?[{label:"全部",value:""}]:[].concat(n)),0===e.length&&(this.$refs.paged.$refs.criteria.model.f_price_name=""),e},pricetypes:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("气价类型")))},metertypes:function(){return[{label:" 全部 ",value:""}].concat((0,r.default)(this.$appdata.getParam("气表类型")))},payment:function(){return[].concat((0,r.default)(this.$appdata.getParam("付款方式查询")))}}}},573:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-023fe616]{\n border: none;\n}\n",""])},1019:function(e,t,n){var r=n(573);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1240:function(e,t){e.exports='\n<div class="basic-main" style="height: 100%" _v-023fe616="">\n<criteria-paged :model="model" :pager="false" v-ref:paged="" _v-023fe616="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-023fe616="">\n <p class="bg-info text-center" style="padding: 8px;" _v-023fe616="">天然气销售报表</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-023fe616=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-023fe616="">\n <div class="row" _v-023fe616="">\n <div class="col-sm-2 form-group" _v-023fe616="">\n <label class="font_normal_body" for="startDate" _v-023fe616="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-023fe616="">\n </datepicker>\n </div>\n <div class="col-sm-2 form-group" _v-023fe616="">\n <label class="font_normal_body" for="endDate" _v-023fe616="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-023fe616="">\n </datepicker>\n </div>\n <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" :cascade="true" @re-res="$parent.$parent.getRes" v-ref:sel="" _v-023fe616="">\n </res-select-group>\n\n </div>\n <div class="span" style="float:right;" _v-023fe616="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-023fe616="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-023fe616=""></report-print>\n <report-excel id="gasprice" _v-023fe616=""></report-excel>\n <div style="float: right" class="button_spacing" :class="{\'button_shrink_top\':$parent.$parent.criteriaShow,\n \'button_shrink_bottom\':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()" _v-023fe616=""></div>\n </div>\n <div class="row" v-show="$parent.$parent.criteriaShow" _v-023fe616="">\n <div class="col-sm-2 form-group" _v-023fe616="">\n <label class="font_normal_body" title="参数:付款方式查询" _v-023fe616="">付款方式</label>\n <v-select :value.sync="model.f_payment" multiple="" v-model="model.f_payment" :options="$parent.$parent.payment" placeholder="请选择" condition="s.f_payment in {}" close-on-select="" _v-023fe616=""></v-select>\n </div>\n <div class="col-sm-2 form-group" _v-023fe616="">\n <label class="font_normal_body" _v-023fe616="">气表类型</label>\n <v-select :value.sync="model.f_meter_type" multiple="" :options="$parent.$parent.metertypes" placeholder="请选择" v-model="model.f_meter_type" condition="s.f_meter_type in {}" close-on-select="" _v-023fe616=""></v-select>\n </div>\n <div class="col-sm-2 form-group" _v-023fe616="">\n <label class="font_normal_body" _v-023fe616="">气价类型</label>\n <v-select :value.sync="model.pricetype" v-model="model.pricetype" @change="$parent.$parent.pricetypechanged" placeholder="气价类型" :options="$parent.$parent.pricetypes" condition="sp.f_price_type = \'{}\'" close-on-select="" v-ref:type="" _v-023fe616="">\n </v-select>\n </div>\n <div class="col-sm-2 form-group" _v-023fe616="">\n <label class="font_normal_body" _v-023fe616="">气价名称</label>\n <v-select :value.sync="model.f_price_name" v-model="model.f_price_name" multiple="" :options="$parent.$parent.getPricenames" condition="sp.f_price_name in {}" _v-023fe616=""></v-select>\n </div>\n \x3c!--<div class="col-sm-2 form-group">--\x3e\n \x3c!--<label class="font_normal_body">收费状态</label>--\x3e\n \x3c!--<v-select :value.sync="$parent.$parent.f_state" multiple--\x3e\n \x3c!--v-model="$parent.$parent.f_state"--\x3e\n \x3c!--:options=\'$parent.$parent.charge_state\' placeholder=\'请选择\'--\x3e\n \x3c!--condition="f_state in {}"--\x3e\n \x3c!--close-on-select></v-select>--\x3e\n \x3c!--</div>--\x3e\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-023fe616="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-023fe616="">\n <thead _v-023fe616="">\n <tr _v-023fe616="">\n <th colspan="9" style="font-weight: normal; text-align: left;" _v-023fe616="">\n <h3 style="text-align: center" _v-023fe616="">天然气销售报表</h3>\n </th>\n </tr>\n <tr _v-023fe616="">\n <th colspan="8" style="font-weight: normal; text-align: center;" _v-023fe616="">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }}\n </th>\n </tr>\n <tr _v-023fe616="">\n <th colspan="8" style="font-weight: normal; text-align: center;" _v-023fe616="">\n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-023fe616="">\n <th colspan="8" style="font-weight: normal; text-align: center;" _v-023fe616="">\n <div _v-023fe616="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-023fe616="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-023fe616=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-023fe616="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-023fe616=""><tr _v-023fe616="">\n <td colspan="12" _v-023fe616="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-023fe616="">\n <tr style="text-align: left" _v-023fe616="">\n <th colspan="3" _v-023fe616="">财务审核:</th>\n <th colspan="3" _v-023fe616="">收款审核:</th>\n <th colspan="3" _v-023fe616="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n</criteria-paged>\n<modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-023fe616="">\n <header slot="modal-header" class="modal-header" _v-023fe616="">\n <h4 class="modal-title" _v-023fe616="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-023fe616="">\n <div class="form-group" _v-023fe616="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-023fe616="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-023fe616="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-023fe616="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-023fe616="">确认</button>\n </footer>\n</modal>\n</div>\n'},1462:function(e,t,n){var r;n(1019),(r=n(351))&&r.__esModule&&Object.keys(r).length,n=n(1240),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([164],{1:function(e,t){e.exports=function(){var s=[];return s.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},s.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),s.push(o))}},s}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var d={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),o=r(function(){return document.head||document.getElementsByTagName("head")[0]}),s=null,i=0,l=[];function c(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=d[r.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](r.parts[o]);for(;o<r.parts.length;o++)a.parts.push(u(r.parts[o],t))}else{for(var s=[],o=0;o<r.parts.length;o++)s.push(u(r.parts[o],t));d[r.id]={id:r.id,refs:1,parts:s}}}}function p(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],o=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[o]?n[o].parts.push(a):t.push(n[o]={id:o,parts:[a]})}return t}function f(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=o(),a=l[l.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),l.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,o;return o=e.singleton?(n=i++,r=s=s||f(e),a=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=f(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=l.indexOf(e))&&l.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):o()}}e.exports=function(e,s){void 0===(s=s||{}).singleton&&(s.singleton=a()),void 0===s.insertAt&&(s.insertAt="bottom");var i=p(e);return c(i,s),function(e){for(var t=[],n=0;n<i.length;n++){var r=i[n];(a=d[r.id]).refs--,t.push(a)}e&&c(p(e),s);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var o=0;o<a.parts.length;o++)a.parts[o]();delete d[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(i){var d=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(i="function"==typeof i?i.apply(d,e):i)||"function"!=typeof i.next)return n(i);function a(e){var t;try{t=i.next(e)}catch(e){return r(e)}s(t)}function o(e){var t;try{t=i.throw(e)}catch(e){return r(e)}s(t)}function s(e){var t;return e.done?n(e.value):(t=l.call(d,e.value))&&c(t)?t.then(a,o):void o(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function l(e){return e&&(c(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(l,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var o=t[a],s=l.call(this,e[o]);s&&c(s)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(s,o):n[o]=e[o]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function c(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},350:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(6)),a=n(5),o=s(n(3));function s(e){return e&&e.__esModule?e:{default:e}}var i=r.default.mark(function e(t){return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"气价明细报表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],orgname:"",depname:"",operatorname:"",orgCondtionStr:"1=1",model:new a.DataModel("api/af-revenue/report/gasprice",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59"},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){this.printTime=this.$login.toStandardTimeString();var t=" f_orgid in ('"+this.f_orgid+"')";this.f_depid[0]&&(t+=" and f_depid in ('"+this.f_depid+"')"),this.f_operatorid[0]&&(t+=" and f_operatorid in ('"+this.f_operatorid+"')"),this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:function(e){this.orgname=e.res[0],this.depresid=e.resids,this.f_orgid=e.resids},getdep:function(e,t){this.userresid=e,this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=i(this);(0,o.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null}},computed:{}}},737:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-e252d2ce]{\n border: none;\n}\n.fontSize[_v-e252d2ce]{\n font-size: 13px;\n}\n",""])},1183:function(e,t,n){var r=n(737);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1404:function(e,t){e.exports='\n<div class="basic-main" style="height: 98%" _v-e252d2ce="">\n <criteria-paged :model="model" :pager="false" v-ref:paged="" _v-e252d2ce="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-e252d2ce="">\n <p class="bg-info text-center" style="padding: 8px;" _v-e252d2ce="">气价明细报表</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-e252d2ce=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-e252d2ce="">\n <div class="row" _v-e252d2ce="">\n <div class="col-sm-4" _v-e252d2ce="">\n <label class="font_normal_body" for="startDate" _v-e252d2ce="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-e252d2ce="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-e252d2ce="">\n <label class="font_normal_body" for="endDate" _v-e252d2ce="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-e252d2ce="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-e252d2ce="">\n <label class="font_normal_body" _v-e252d2ce=""> 公司 </label>\n <right-tree @re-res="$parent.$parent.getRes" _v-e252d2ce=""></right-tree>\n </div>\n <div class="col-sm-4" _v-e252d2ce="">\n <label class="font_normal_body" _v-e252d2ce=""> 部门 </label>\n <res-select restype="department" is-mul="false" @res-select="$parent.$parent.getdep" :parentresid="$parent.$parent.depresid" :initresid="$parent.$parent.depid" _v-e252d2ce="">\n </res-select>\n\n </div>\n <div class="col-sm-4" _v-e252d2ce="">\n <label class="font_normal_body" _v-e252d2ce=""> 人员 </label>\n <res-select restype="user" is-mul="false" @res-select="$parent.$parent.getuser" :parentresid="$parent.$parent.userresid" :initresid="$parent.$parent.operatorid" _v-e252d2ce="">\n </res-select>\n </div>\n </div>\n <div class="span" style="float:right;" _v-e252d2ce="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-e252d2ce="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-e252d2ce=""></report-print>\n <report-excel id="gasprice" _v-e252d2ce=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-e252d2ce="">\n <table class="tableprint" style="margin: 0px auto;" _v-e252d2ce="">\n <thead _v-e252d2ce="">\n <tr _v-e252d2ce="">\n <th colspan="18" style="font-weight: normal; text-align: left;" _v-e252d2ce="">\n <h3 style="text-align: center" _v-e252d2ce="">气价明细报表</h3>\n </th>\n </tr>\n <tr _v-e252d2ce="">\n <th colspan="18" style="font-weight: normal; text-align: center;" _v-e252d2ce="">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }} <br _v-e252d2ce="">\n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-e252d2ce="">\n <th colspan="18" style="font-weight: normal; text-align: center;" _v-e252d2ce="">\n <div _v-e252d2ce="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-e252d2ce="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-e252d2ce=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-e252d2ce="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-e252d2ce=""><tr _v-e252d2ce="">\n <td colspan="18" _v-e252d2ce="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-e252d2ce="">\n <tr style="text-align: left" _v-e252d2ce="">\n <th colspan="6" _v-e252d2ce="">财务审核:</th>\n <th colspan="6" _v-e252d2ce="">收款审核:</th>\n <th colspan="6" _v-e252d2ce="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n </criteria-paged>\n <modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-e252d2ce="">\n <header slot="modal-header" class="modal-header" _v-e252d2ce="">\n <h4 class="modal-title" _v-e252d2ce="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-e252d2ce="">\n <div class="form-group" _v-e252d2ce="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-e252d2ce="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-e252d2ce="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-e252d2ce="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-e252d2ce="">确认</button>\n </footer>\n </modal>\n</div>\n'},1461:function(e,t,n){var r;n(1183),(r=n(350))&&r.__esModule&&Object.keys(r).length,n=n(1404),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([165],{1:function(e,t){e.exports=function(){var i=[];return i.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},i.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),i.push(o))}},i}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var l={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),o=r(function(){return document.head||document.getElementsByTagName("head")[0]}),i=null,s=0,f=[];function d(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=l[r.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](r.parts[o]);for(;o<r.parts.length;o++)a.parts.push(u(r.parts[o],t))}else{for(var i=[],o=0;o<r.parts.length;o++)i.push(u(r.parts[o],t));l[r.id]={id:r.id,refs:1,parts:i}}}}function p(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],o=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[o]?n[o].parts.push(a):t.push(n[o]={id:o,parts:[a]})}return t}function c(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=o(),a=f[f.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),f.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,o;return o=e.singleton?(n=s++,r=i=i||c(e),a=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=c(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=f.indexOf(e))&&f.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):o()}}e.exports=function(e,i){void 0===(i=i||{}).singleton&&(i.singleton=a()),void 0===i.insertAt&&(i.insertAt="bottom");var s=p(e);return d(s,i),function(e){for(var t=[],n=0;n<s.length;n++){var r=s[n];(a=l[r.id]).refs--,t.push(a)}e&&d(p(e),i);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var o=0;o<a.parts.length;o++)a.parts[o]();delete l[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(s){var l=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(s="function"==typeof s?s.apply(l,e):s)||"function"!=typeof s.next)return n(s);function a(e){var t;try{t=s.next(e)}catch(e){return r(e)}i(t)}function o(e){var t;try{t=s.throw(e)}catch(e){return r(e)}i(t)}function i(e){var t;return e.done?n(e.value):(t=f.call(l,e.value))&&d(t)?t.then(a,o):void o(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function f(e){return e&&(d(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(f,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var o=t[a],i=f.call(this,e[o]);i&&d(i)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(i,o):n[o]=e[o]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function d(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},349:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(6)),a=n(5),o=i(n(3));function i(e){return e&&e.__esModule?e:{default:e}}var s=r.default.mark(function e(t){return r.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"气量气费月报表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],tablen:0,orgname:"",depname:"",operatorname:"",orgCondtionStr:"1=1",model:new a.DataModel("api/af-revenue/report/gasMoneyReport",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59"},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){this.printTime=this.$login.toStandardTimeString();var t="1=1";this.f_orgid[0]&&(t+=" and f_orgid in('"+this.f_orgid.toString()+"')"),this.f_depid[0]&&(t+=" and f_depid in('"+this.f_depid.toString()+"')"),this.f_operatorid[0]&&(t+=" and f_operatorid in('"+this.f_operatorid.toString()+"')"),this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:function(e){this.orgname=e.res[0],this.depresid=e.resids,this.userresid=e.resids,this.f_orgid=e.resids},getdep:function(e,t){this.depname=t[0],this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=s(this);(0,o.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null},"model.data":function(e){for(var t=0,n=e.split("</tr>"),r=0;r<n.length;r++)n[r].split("</td>").length-1>t&&(t=n[r].split("</td>").length-1);this.tablen=t}},computed:{}}},592:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-15af0fe4]{\n border: none;\n}\n",""])},1038:function(e,t,n){var r=n(592);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1259:function(e,t){e.exports='\n<div class="basic-main" style="height: 100%" _v-15af0fe4="">\n <criteria-paged :model="model" :pager="false" v-ref:paged="" _v-15af0fe4="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-15af0fe4="">\n <p class="bg-info text-center" style="padding: 8px;" _v-15af0fe4="">气量气费月报表</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-15af0fe4=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-15af0fe4="">\n <div class="row" _v-15af0fe4="">\n <div class="col-sm-4" _v-15af0fe4="">\n <label class="font_normal_body" for="startDate" _v-15af0fe4="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-15af0fe4="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-15af0fe4="">\n <label class="font_normal_body" for="endDate" _v-15af0fe4="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-15af0fe4="">\n </datepicker>\n </div>\n <div class="col-sm-4 form-group" _v-15af0fe4="">\n <label class="font_normal_body" for="org" _v-15af0fe4="">公 司:</label>\n <right-tree id="org" @re-res="$parent.$parent.getRes" style="width: 60%" _v-15af0fe4=""></right-tree>\n </div>\n <div class="col-sm-4 form-group" _v-15af0fe4="">\n <label class="font_normal_body" for="dep" _v-15af0fe4="">部 门:</label>\n <res-select id="dep" restype="department" style="width: 60%" is-mul="false" @res-select="$parent.$parent.getdep" :parentresid="$parent.$parent.depresid" :initresid="$parent.$parent.depid" _v-15af0fe4="">\n </res-select>\n\n </div>\n <div class="col-sm-4 form-group" _v-15af0fe4="">\n <label class="font_normal_body" for="oper" _v-15af0fe4="">人 员:</label>\n <res-select id="oper" restype="user" style="width: 60%" is-mul="false" @res-select="$parent.$parent.getuser" :parentresid="$parent.$parent.userresid" :initresid="$parent.$parent.operatorid" _v-15af0fe4="">\n </res-select>\n </div>\n </div>\n <div class="span" style="float:right;" _v-15af0fe4="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-15af0fe4="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-15af0fe4=""></report-print>\n <report-excel id="gasprice" _v-15af0fe4=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-15af0fe4="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-15af0fe4="">\n <thead _v-15af0fe4="">\n <tr _v-15af0fe4="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: left;" _v-15af0fe4="">\n <h3 style="text-align: center" _v-15af0fe4="">气量气费月报表</h3>\n </th>\n </tr>\n <tr _v-15af0fe4="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: center;" _v-15af0fe4="">\n 时间区间:{{$refs.criteria.model.startDate}} - {{ $refs.criteria.model.endDate }}<br _v-15af0fe4="">\n 打印时间:{{$parent.printTime}}\n </th>\n </tr>\n <tr _v-15af0fe4="">\n <th :colspan="$parent.tablen" style="font-weight: normal; text-align: center;" _v-15af0fe4="">\n <div _v-15af0fe4="">\n <span v-show="$parent.orgname[0]" _v-15af0fe4="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname[0]" _v-15af0fe4=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname[0]" _v-15af0fe4="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-15af0fe4=""><tr _v-15af0fe4="">\n <td :colspan="$parent.tablen" class="noborder" _v-15af0fe4="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-15af0fe4="">\n <tr style="text-align: left" _v-15af0fe4="">\n <th :colspan="Math.floor($parent.tablen/3)" _v-15af0fe4="">财务审核:</th>\n <th :colspan="Math.round($parent.tablen/3)" _v-15af0fe4="">收款审核:</th>\n <th :colspan="Math.round($parent.tablen/3)" _v-15af0fe4="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n </criteria-paged>\n <modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-15af0fe4="">\n <header slot="modal-header" class="modal-header" _v-15af0fe4="">\n <h4 class="modal-title" _v-15af0fe4="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-15af0fe4="">\n <div class="form-group" _v-15af0fe4="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-15af0fe4="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-15af0fe4="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-15af0fe4="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-15af0fe4="">确认</button>\n </footer>\n </modal>\n</div>\n'},1460:function(e,t,n){var r;n(1038),(r=n(349))&&r.__esModule&&Object.keys(r).length,n=n(1259),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
webpackJsonp([166],{1:function(e,t){e.exports=function(){var s=[];return s.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},s.i=function(e,t){"string"==typeof e&&(e=[[null,e,""]]);for(var n={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(n[a]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&n[o[0]]||(t&&!o[2]?o[2]=t:t&&(o[2]="("+o[2]+") and ("+t+")"),s.push(o))}},s}},2:function(e,t,n){function r(e){var t;return function(){return t=void 0===t?e.apply(this,arguments):t}}var d={},a=r(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),o=r(function(){return document.head||document.getElementsByTagName("head")[0]}),s=null,i=0,l=[];function f(e,t){for(var n=0;n<e.length;n++){var r=e[n],a=d[r.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](r.parts[o]);for(;o<r.parts.length;o++)a.parts.push(u(r.parts[o],t))}else{for(var s=[],o=0;o<r.parts.length;o++)s.push(u(r.parts[o],t));d[r.id]={id:r.id,refs:1,parts:s}}}}function c(e){for(var t=[],n={},r=0;r<e.length;r++){var a=e[r],o=a[0],a={css:a[1],media:a[2],sourceMap:a[3]};n[o]?n[o].parts.push(a):t.push(n[o]={id:o,parts:[a]})}return t}function p(e){var t=document.createElement("style"),n=(t.type="text/css",t),r=o(),a=l[l.length-1];if("top"===e.insertAt)a?a.nextSibling?r.insertBefore(n,a.nextSibling):r.appendChild(n):r.insertBefore(n,r.firstChild),l.push(n);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");r.appendChild(n)}return t}function u(t,e){var n,r,a,o;return o=e.singleton?(n=i++,r=s=s||p(e),a=m.bind(null,r,n,!1),m.bind(null,r,n,!0)):(r=p(e),a=function(e,t){var n=t.css,r=t.media,t=t.sourceMap;r&&e.setAttribute("media",r);t&&(n=(n+="\n/*# sourceURL="+t.sources[0]+" */")+"\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */");if(e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}.bind(null,r),function(){var e;(e=r).parentNode.removeChild(e),0<=(e=l.indexOf(e))&&l.splice(e,1)}),a(t),function(e){e?e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap||a(t=e):o()}}e.exports=function(e,s){void 0===(s=s||{}).singleton&&(s.singleton=a()),void 0===s.insertAt&&(s.insertAt="bottom");var i=c(e);return f(i,s),function(e){for(var t=[],n=0;n<i.length;n++){var r=i[n];(a=d[r.id]).refs--,t.push(a)}e&&f(c(e),s);for(var a,n=0;n<t.length;n++)if(0===(a=t[n]).refs){for(var o=0;o<a.parts.length;o++)a.parts[o]();delete d[a.id]}}};h=[];var h,v=function(e,t){return h[e]=t,h.filter(Boolean).join("\n")};function m(e,t,n,r){var n=n?"":r.css;e.styleSheet?e.styleSheet.cssText=v(t,n):(r=document.createTextNode(n),(n=e.childNodes)[t]&&e.removeChild(n[t]),n.length?e.insertBefore(r,n[t]):e.appendChild(r))}},3:function(e,t){var a=Array.prototype.slice;function n(i){var d=this,e=a.call(arguments,1);return new Promise(function(n,r){if(!(i="function"==typeof i?i.apply(d,e):i)||"function"!=typeof i.next)return n(i);function a(e){var t;try{t=i.next(e)}catch(e){return r(e)}s(t)}function o(e){var t;try{t=i.throw(e)}catch(e){return r(e)}s(t)}function s(e){var t;return e.done?n(e.value):(t=l.call(d,e.value))&&f(t)?t.then(a,o):void o(new TypeError('You may only yield a function, promise, generator, array, or object, but the following object was passed: "'+String(e.value)+'"'))}a()})}function l(e){return e&&(f(e)?e:function(e){e=e.constructor;return e&&("GeneratorFunction"===e.name||"GeneratorFunction"===e.displayName||r(e.prototype))}(e)||r(e)?n.call(this,e):"function"==typeof e?function(e){var t=this;return new Promise(function(n,r){e.call(t,function(e,t){if(e)return r(e);2<arguments.length&&(t=a.call(arguments,1)),n(t)})})}.call(this,e):Array.isArray(e)?function(e){return Promise.all(e.map(l,this))}.call(this,e):Object==e.constructor?function(e){for(var n=new e.constructor,t=Object.keys(e),r=[],a=0;a<t.length;a++){var o=t[a],s=l.call(this,e[o]);s&&f(s)?function(e,t){n[t]=void 0,r.push(e.then(function(e){n[t]=e}))}(s,o):n[o]=e[o]}return Promise.all(r).then(function(){return n})}.call(this,e):e)}function f(e){return"function"==typeof e.then}function r(e){return"function"==typeof e.next&&"function"==typeof e.throw}(e.exports=n.default=n.co=n).wrap=function(e){return t.__generatorFunction__=e,t;function t(){return n.call(this,e.apply(this,arguments))}}},344:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=i(n(15)),a=i(n(6)),o=n(5),s=i(n(3));function i(e){return e&&e.__esModule?e:{default:e}}var d=a.default.mark(function e(t){return a.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t.$resetpost("api/af-revenue/sql/manageSingleTable",{data:{tablename:"t_report_record",condition:"f_files_name = '"+t.filename+"'"}},{resolveMsg:null,rejectMsg:null});case 2:if(0<e.sent.data.length)return t.$showAlert("无法保存,文件名重名","warning",3e3),e.abrupt("return");e.next=6;break;case 6:return e.next=8,t.$resetpost("api/af-revenue/logic/saveReport",{f_files_content:t.$refs.paged.$els.handcollect.innerHTML,f_files_name:t.filename,f_files_type:t.data.f_report_type,f_component_name:"manage-bus-summary",f_operator:this.$login.f.name,f_query_month:t.model.model.startDate+"-"+t.model.model.endDate,f_outlets:this.$login.f.depname});case 8:"succeed"===e.sent.data.status&&(t.show=!1,t.filename="",t.$dispatch("save-success",t.filename));case 10:case"end":return e.stop()}},e,this)});t.default={title:"日售气量汇总表",props:["data"],data:function(){return{printTime:this.$login.toStandardTimeString(),depresid:[],userresid:[],f_orgid:this.$login.f.orgid,f_depid:this.$login.f.depids,f_operatorid:this.$login.f.id,operatorid:[],depid:[],orgname:"",depname:"",operatorname:"",f_inputtor:[],f_user_type:"",orgCondtionStr:"1=1",model:new o.DataModel("api/af-revenue/report/gasMeterBrand",{startDate:"this.model.startDate",endDate:"this.model.endDate",f_orgid:"this.model.f_orgid"}),reportStr:null,show:!1}},ready:function(){this.$refs.paged.$refs.criteria.model.startDate=this.$login.toStandardDateString()+" 00:00:00",this.$refs.paged.$refs.criteria.model.endDate=this.$login.toStandardDateString()+" 23:59:59",this.$refs.paged.$refs.criteria.search()},methods:{searchData:function(){this.$refs.paged.$refs.criteria.search()},selfSearch:function(e){var t="f_orgid in ('"+this.f_orgid+"')";this.$refs.paged.$refs.criteria.model.f_orgid=t,this.$refs.paged.search(e)},getRes:function(e){this.orgname=e.res[0],this.depresid=e.resids,this.f_orgid=e.resids},getdep:function(e,t){this.userresid=e,this.f_depid=e},getuser:function(e,t){this.operatorname=t[0],this.f_operatorid=e},getFileContent:function(e){var t=this;this.$resetpost("api/af-revenue/logic/getReportFileContent",{f_files_path:e},{resolveMsg:null,rejectMsg:null}).then(function(e){t.reportStr=e.data.filecontent,t.model.state="正确"})},confirm:function(){this.filename&&""!==this.filename||this.$showAlert("无法保存,文件名不能为空","warning",3e3);var e=d(this);(0,s.default)(e)},close:function(){this.show=!1},confirmReport:function(){this.show=!0,this.filename=this.data.f_report_name+this.$login.toStandardDateString()}},watch:{data:function(e){e.f_files_path?this.getFileContent(e.f_files_path):this.reportStr=null}},computed:{usertypes:function(){return[{label:" 全部 ",value:""}].concat((0,r.default)(this.$appdata.getParam("用户类型")))},inputtor:function(){return[{label:"全部",value:""}].concat((0,r.default)(this.$appdata.getParam("抄表员")))}}}},659:function(e,t,n){(e.exports=n(1)()).push([e.id,"\n.noborder[_v-4f9d04de]{\n border: none;\n}\n",""])},1105:function(e,t,n){var r=n(659);"string"==typeof r&&(r=[[e.id,r,""]]),n(2)(r,{});r.locals&&(e.exports=r.locals)},1326:function(e,t){e.exports='\n<div class="basic-main" style="height: 100%" _v-4f9d04de="">\n<criteria-paged :model="model" :pager="false" v-ref:paged="" _v-4f9d04de="">\n <criteria partial="criteria" @condition-changed="$parent.selfSearch" v-ref:criteria="" _v-4f9d04de="">\n <p class="bg-info text-center" style="padding: 8px;" _v-4f9d04de="">日售气量汇总表</p>\n <div class="form-group" v-if="!$parent.$parent.data.f_files_path" _v-4f9d04de=""></div>\n <div novalidate="" class="form-horizontal select-overspread container-fluid auto" partial="" _v-4f9d04de="">\n <div class="row" _v-4f9d04de="">\n <div class="col-sm-4" _v-4f9d04de="">\n <label class="font_normal_body" for="startDate" _v-4f9d04de="">开始日期:</label>\n <datepicker id="startDate" placeholder="开始日期" style="width: 60%" v-model="model.startDate" :value.sync="model.startDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-4f9d04de="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-4f9d04de="">\n <label class="font_normal_body" for="endDate" _v-4f9d04de="">结束日期:</label>\n <datepicker id="endDate" placeholder="结束日期" style="width: 60%" v-model="model.endDate" :value.sync="model.endDate" :disabled-days-of-week="[]" :format="\'yyyy-MM-dd HH:mm:ss\'" :show-reset-button="reset" _v-4f9d04de="">\n </datepicker>\n </div>\n <div class="col-sm-4" _v-4f9d04de="">\n <label class="font_normal_body" _v-4f9d04de=""> 公司 </label>\n <right-tree @re-res="$parent.$parent.getRes" _v-4f9d04de=""></right-tree>\n </div>\n\n </div>\n <div class="span" style="float:right;" _v-4f9d04de="">\n <button class="button_search" @click="$parent.$parent.searchData()" _v-4f9d04de="">查询</button>\n <report-print id="gasprice" top="3cm" left="0" width="100%" height="100%" :preview="true" _v-4f9d04de=""></report-print>\n <report-excel id="gasprice" _v-4f9d04de=""></report-excel>\n </div>\n </div>\n </criteria>\n <div partial="list" v-el:handcollect="" id="gasprice" style="overflow-y: scroll" _v-4f9d04de="">\n <table class="tableprint" style="margin: 0px auto" v-if="!$parent.data.f_files_path" _v-4f9d04de="">\n <thead _v-4f9d04de="">\n <tr _v-4f9d04de="">\n <th colspan="7" style="font-weight: normal; text-align: left;" _v-4f9d04de="">\n <h3 style="text-align: center" _v-4f9d04de="">日售气量汇总表</h3>\n </th>\n </tr>\n <tr _v-4f9d04de="">\n <th colspan="7" style="font-weight: normal; text-align: center;" _v-4f9d04de="">\n 开始时间:{{model.model.startDate}} \n 结束时间:{{ model.model.endDate }}\n </th>\n </tr>\n <tr _v-4f9d04de="">\n <th colspan="7" style="font-weight: normal; text-align: center;" _v-4f9d04de="">\n 打印时间:{{{$parent.printTime}}}\n </th>\n </tr>\n <tr _v-4f9d04de="">\n <th colspan="7" style="font-weight: normal; text-align: center;" _v-4f9d04de="">\n <div _v-4f9d04de="">\n <span v-show="$parent.orgname.trim()!=\'\'" _v-4f9d04de="">公司:{{$parent.orgname}}</span>\n <span v-show="$parent.depname.trim()!=\'\'" _v-4f9d04de=""> 部门:{{$parent.depname}}</span>\n <span v-show="$parent.operatorname.trim()!=\'\'" _v-4f9d04de="">人员:{{$parent.operatorname}}</span>\n </div>\n </th>\n </tr>\n </thead>\n <tbody _v-4f9d04de=""><tr _v-4f9d04de="">\n <td colspan="7" _v-4f9d04de="">\n {{{ model.data.substring(26,model.data.length-8) }}}\n </td>\n </tr>\n </tbody><tfoot _v-4f9d04de="">\n <tr style="text-align: left" _v-4f9d04de="">\n <th colspan="3" _v-4f9d04de="">财务审核:</th>\n <th colspan="3" _v-4f9d04de="">收款审核:</th>\n <th colspan="1" _v-4f9d04de="">收款员:</th>\n </tr>\n </tfoot>\n </table>\n {{{ $parent.reportStr}}}\n </div>\n</criteria-paged>\n<modal :show.sync="show" v-ref:modal="" small="" backdrop="false" _v-4f9d04de="">\n <header slot="modal-header" class="modal-header" _v-4f9d04de="">\n <h4 class="modal-title" _v-4f9d04de="">输入文件名称</h4>\n </header>\n <article slot="modal-body" class="modal-body" _v-4f9d04de="">\n <div class="form-group" _v-4f9d04de="">\n <input type="text" class="form-control" v-model="filename" placeholder="保存的文件名" _v-4f9d04de="">\n </div>\n </article>\n <footer slot="modal-footer" class="modal-footer" _v-4f9d04de="">\n <button v-show="show" type="button" class="btn btn-default" @click="close" _v-4f9d04de="">取消</button>\n <button v-show="show" type="button" class="btn btn-success" @click="confirm(filename)" _v-4f9d04de="">确认</button>\n </footer>\n</modal>\n</div>\n'},1455:function(e,t,n){var r;n(1105),(r=n(344))&&r.__esModule&&Object.keys(r).length,n=n(1326),e.exports=r||{},e.exports.__esModule&&(e.exports=e.exports.default),n&&(("function"==typeof e.exports?e.exports.options||(e.exports.options={}):e.exports).template=n)}});
|