bigData.js 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. var bigData = {
  2. "上月": {
  3. "门急诊人次": 5567,
  4. "门诊人次": 3455,
  5. "急诊人次": 2112,
  6. "门诊总费用": 5615456.23,
  7. "急诊总费用": 861452.56,
  8. "住院人次": 1231,
  9. "住院总费用": 565486.45,
  10. "住院均次费用": 796.53,
  11. "住院床日数": 526,
  12. "住院平均床日数": 3.8
  13. },
  14. "本年": {
  15. "门急诊人次": 325567,
  16. "门诊人次": 213455,
  17. "急诊人次": 112112,
  18. "门诊总费用": 22565456.23,
  19. "急诊总费用": 5286452.56,
  20. "住院人次": 15623,
  21. "住院总费用": 32565486.45,
  22. "住院均次费用": 896.53,
  23. "住院床日数": 4526,
  24. "住院平均床日数": 2.3
  25. },
  26. "门诊人次月趋势": {
  27. "title": {
  28. "text": "门诊人次月趋势",
  29. "x": "center",
  30. textStyle: {
  31. color: '#b5e1fc',
  32. fontSize: 16,
  33. fontWeight: 'bold'
  34. }
  35. },
  36. tooltip: {
  37. trigger: 'axis',
  38. axisPointer: {
  39. type: 'cross',
  40. crossStyle: {
  41. color: '#fff'
  42. }
  43. }
  44. },
  45. "grid": {
  46. top: '50',
  47. left: '60'
  48. },
  49. legend: {
  50. data: ['门诊人次', '环比'],
  51. textStyle: {
  52. color: '#b5e1fc'
  53. },
  54. top: '40'
  55. },
  56. xAxis: [{
  57. type: 'category',
  58. data: ['1月', '2月', '3月', '4月', '5月', '6月'],
  59. axisPointer: {
  60. type: 'shadow'
  61. },
  62. axisTick: {
  63. show: false
  64. },
  65. axisLine: {
  66. lineStyle: {
  67. color: '#095f8e'
  68. }
  69. },
  70. axisLabel: {
  71. color: '#b5e1fc'
  72. }
  73. }],
  74. yAxis: [{
  75. type: 'value',
  76. name: '门诊人次',
  77. nameTextStyle: {
  78. color: '#b5e1fc' // 坐标轴名称颜色
  79. },
  80. splitLine: {
  81. show: false
  82. },
  83. axisLine: {
  84. lineStyle: {
  85. color: '#095f8e'
  86. }
  87. },
  88. axisLabel: {
  89. color: '#b5e1fc'
  90. }
  91. },
  92. {
  93. type: 'value',
  94. name: '环比',
  95. min: 0,
  96. max: 4,
  97. nameTextStyle: {
  98. color: '#b5e1fc' // 坐标轴名称颜色
  99. },
  100. splitLine: {
  101. show: false // 不显示坐标轴刻度
  102. },
  103. axisLine: {
  104. lineStyle: {
  105. color: '#095f8e' // 坐标轴轴线颜色
  106. }
  107. },
  108. axisLabel: {
  109. color: '#b5e1fc' // 坐标轴刻度标签文本颜色
  110. }
  111. }
  112. ],
  113. series: [{
  114. name: '门诊人次',
  115. type: 'bar',
  116. "data": [
  117. "23541",
  118. "45265",
  119. "41253",
  120. "45215",
  121. "52125",
  122. "48922"
  123. ],
  124. barWidth: 20,
  125. label: {
  126. normal: {
  127. show: true,
  128. position: 'top', // 在柱状图上方显示
  129. color: '#fff' // 柱状图上方显示的数值颜色
  130. }
  131. },
  132. itemStyle: {
  133. barBorderRadius: [8, 8, 0, 0],
  134. color: '#00e6f3'
  135. }
  136. },
  137. {
  138. name: '环比',
  139. type: 'line',
  140. yAxisIndex: 1,
  141. "data": [
  142. "1.6",
  143. "2.3",
  144. "2.1",
  145. "3.2",
  146. "2.3",
  147. "1.5"
  148. ],
  149. itemStyle: {
  150. color: '#03fa6d'
  151. }
  152. }
  153. ]
  154. },
  155. "住院人次月趋势": {
  156. "title": {
  157. "text": "住院人次月趋势",
  158. "x": "center",
  159. textStyle: {
  160. color: '#b5e1fc',
  161. fontSize: 16,
  162. fontWeight: 'bold'
  163. }
  164. },
  165. tooltip: {
  166. trigger: 'axis',
  167. axisPointer: {
  168. type: 'cross',
  169. crossStyle: {
  170. color: '#fff'
  171. }
  172. }
  173. },
  174. "grid": {
  175. top: '50'
  176. },
  177. legend: {
  178. data: ['住院人次', '环比'],
  179. textStyle: {
  180. color: '#b5e1fc'
  181. },
  182. top: '40'
  183. },
  184. xAxis: [{
  185. type: 'category',
  186. data: ['1月', '2月', '3月', '4月', '5月', '6月'],
  187. axisPointer: {
  188. type: 'shadow'
  189. },
  190. axisTick: {
  191. show: false
  192. },
  193. axisLine: {
  194. lineStyle: {
  195. color: '#095f8e'
  196. }
  197. },
  198. axisLabel: {
  199. color: '#b5e1fc'
  200. }
  201. }],
  202. yAxis: [{
  203. type: 'value',
  204. name: '住院人次',
  205. nameTextStyle: {
  206. color: '#b5e1fc' // 坐标轴名称颜色
  207. },
  208. splitLine: {
  209. show: false
  210. },
  211. axisLine: {
  212. lineStyle: {
  213. color: '#095f8e'
  214. }
  215. },
  216. axisLabel: {
  217. color: '#b5e1fc'
  218. }
  219. },
  220. {
  221. type: 'value',
  222. name: '环比',
  223. min: 0,
  224. max: 4,
  225. nameTextStyle: {
  226. color: '#b5e1fc' // 坐标轴名称颜色
  227. },
  228. splitLine: {
  229. show: false // 不显示坐标轴刻度
  230. },
  231. axisLine: {
  232. lineStyle: {
  233. color: '#095f8e' // 坐标轴轴线颜色
  234. }
  235. },
  236. axisLabel: {
  237. color: '#b5e1fc' // 坐标轴刻度标签文本颜色
  238. }
  239. }
  240. ],
  241. series: [{
  242. name: '住院人次',
  243. type: 'bar',
  244. "data": [
  245. "2354",
  246. "4526",
  247. "4125",
  248. "4521",
  249. "5212",
  250. "4892"
  251. ],
  252. barWidth: 20,
  253. label: {
  254. normal: {
  255. show: true,
  256. position: 'top', // 在柱状图上方显示
  257. color: '#fff' // 柱状图上方显示的数值颜色
  258. }
  259. },
  260. itemStyle: {
  261. barBorderRadius: [8, 8, 0, 0],
  262. color: '#ff616f'
  263. }
  264. },
  265. {
  266. name: '环比',
  267. type: 'line',
  268. yAxisIndex: 1,
  269. "data": [
  270. "1.5",
  271. "2.2",
  272. "2.3",
  273. "1.1",
  274. "1.3",
  275. "1.6"
  276. ],
  277. itemStyle: {
  278. color: '#03fa6d'
  279. }
  280. }
  281. ]
  282. },
  283. "昨日数据": {
  284. "门急诊人次": 2455,
  285. "住院人次": 623,
  286. "门急诊总费用": 565456.23,
  287. "住院总费用": 865486.45,
  288. "门急诊次均费用": 152.56,
  289. "住院均次费用": 796.53,
  290. "住院平均床日数": 3.1
  291. },
  292. "门急诊服务情况": [{
  293. "月份": "1",
  294. "门急诊总费用": "25486",
  295. "门急诊总费用环比": "1.3",
  296. "门急诊次均费用": "256",
  297. "门急诊次均费用环比": "1.2"
  298. },
  299. {
  300. "月份": "2",
  301. "门急诊总费用": "35486",
  302. "门急诊总费用环比": "2.3",
  303. "门急诊次均费用": "276",
  304. "门急诊次均费用环比": "2.2"
  305. },
  306. {
  307. "月份": "3",
  308. "门急诊总费用": "23481",
  309. "门急诊总费用环比": "2.3",
  310. "门急诊次均费用": "296",
  311. "门急诊次均费用环比": "1.6"
  312. },
  313. {
  314. "月份": "4",
  315. "门急诊总费用": "35482",
  316. "门急诊总费用环比": "1.5",
  317. "门急诊次均费用": "223",
  318. "门急诊次均费用环比": "1.4"
  319. },
  320. {
  321. "月份": "5",
  322. "门急诊总费用": "25482",
  323. "门急诊总费用环比": "2.3",
  324. "门急诊次均费用": "276",
  325. "门急诊次均费用环比": "1.2"
  326. },
  327. {
  328. "月份": "6",
  329. "门急诊总费用": "35486",
  330. "门急诊总费用环比": "2.3",
  331. "门急诊次均费用": "226",
  332. "门急诊次均费用环比": "2.2"
  333. }
  334. ],
  335. "门诊分类别月趋势": {
  336. "title": {
  337. "text": "门诊分类别月趋势",
  338. "x": "center"
  339. },
  340. "tooltip": {
  341. "trigger": "axis"
  342. },
  343. "grid": {
  344. "x2": "80px",
  345. "y2": "50px",
  346. "x": "50px",
  347. "y": "40px"
  348. },
  349. "xAxis": [{
  350. "type": "category",
  351. "name": "",
  352. "data": [
  353. "1月",
  354. "2月",
  355. "3月",
  356. "4月",
  357. "5月",
  358. "6月"
  359. ]
  360. }],
  361. "yAxis": [{
  362. "type": "value",
  363. "name": ""
  364. }],
  365. "series": [{
  366. "smooth": true,
  367. "name": "普通号",
  368. "type": "bar",
  369. "itemStyle": {
  370. "normal": {
  371. "lineStyle": {
  372. "shadowColor": "rgba(0,0,0,0.4)"
  373. }
  374. }
  375. },
  376. "data": [
  377. "13232",
  378. "26323",
  379. "25447",
  380. "21232",
  381. "22454",
  382. "22892"
  383. ]
  384. },
  385. {
  386. "smooth": true,
  387. "name": "专家号",
  388. "type": "bar",
  389. "itemStyle": {
  390. "normal": {
  391. "lineStyle": {
  392. "shadowColor": "rgba(0,0,0,0.4)"
  393. }
  394. }
  395. },
  396. "data": [
  397. "9232",
  398. "8323",
  399. "9247",
  400. "8232",
  401. "9454",
  402. "8892"
  403. ]
  404. },
  405. {
  406. "smooth": true,
  407. "name": "普通环比",
  408. "type": "line",
  409. "itemStyle": {
  410. "normal": {
  411. "lineStyle": {
  412. "shadowColor": "rgba(0,0,0,0.4)"
  413. }
  414. }
  415. },
  416. "data": [
  417. "1.5",
  418. "2.2",
  419. "2.3",
  420. "1.1",
  421. "1.3",
  422. "1.6"
  423. ]
  424. },
  425. {
  426. "smooth": true,
  427. "name": "专家环比",
  428. "type": "line",
  429. "itemStyle": {
  430. "normal": {
  431. "lineStyle": {
  432. "shadowColor": "rgba(0,0,0,0.4)"
  433. }
  434. }
  435. },
  436. "data": [
  437. "2.5",
  438. "3.2",
  439. "3.3",
  440. "2.1",
  441. "2.3",
  442. "2.6"
  443. ]
  444. }
  445. ]
  446. },
  447. "住院服务情况": [{
  448. "月份": "1",
  449. "住院总费用": "2548633",
  450. "住院总费用环比": "1.3",
  451. "住院次均费用": "256",
  452. "住院次均费用环比": "1.2"
  453. },
  454. {
  455. "月份": "2",
  456. "住院总费用": "3548645",
  457. "住院总费用环比": "2.3",
  458. "住院次均费用": "1276",
  459. "住院次均费用环比": "2.2"
  460. },
  461. {
  462. "月份": "3",
  463. "住院总费用": "2348156",
  464. "住院总费用环比": "2.3",
  465. "住院次均费用": "1296",
  466. "住院次均费用环比": "1.6"
  467. },
  468. {
  469. "月份": "4",
  470. "住院总费用": "3548562",
  471. "住院总费用环比": "1.5",
  472. "住院次均费用": "1223",
  473. "住院次均费用环比": "1.4"
  474. },
  475. {
  476. "月份": "5",
  477. "住院总费用": "2548243",
  478. "住院总费用环比": "2.3",
  479. "住院次均费用": "1276",
  480. "住院次均费用环比": "1.2"
  481. },
  482. {
  483. "月份": "6",
  484. "住院总费用": "3548623",
  485. "住院总费用环比": "2.3",
  486. "住院次均费用": "1226",
  487. "住院次均费用环比": "2.2"
  488. }
  489. ],
  490. "住院平均日数月趋势": {
  491. "title": {
  492. "text": "住院平均日数月趋势",
  493. "x": "center"
  494. },
  495. "tooltip": {
  496. "trigger": "axis"
  497. },
  498. "grid": {
  499. "x2": "80px",
  500. "y2": "50px",
  501. "x": "50px",
  502. "y": "40px"
  503. },
  504. "xAxis": [{
  505. "type": "category",
  506. "name": "",
  507. "data": [
  508. "1月",
  509. "2月",
  510. "3月",
  511. "4月",
  512. "5月",
  513. "6月"
  514. ]
  515. }],
  516. "yAxis": [{
  517. "type": "value",
  518. "name": ""
  519. }],
  520. "series": [{
  521. "smooth": true,
  522. "name": "住院平均床日数",
  523. "type": "bar",
  524. "itemStyle": {
  525. "normal": {
  526. "lineStyle": {
  527. "shadowColor": "rgba(0,0,0,0.4)"
  528. }
  529. }
  530. },
  531. "data": [
  532. "23.2",
  533. "46.1",
  534. "45.4",
  535. "41.2",
  536. "52.4",
  537. "42.4"
  538. ]
  539. },
  540. {
  541. "smooth": true,
  542. "name": "环比",
  543. "type": "line",
  544. "itemStyle": {
  545. "normal": {
  546. "lineStyle": {
  547. "shadowColor": "rgba(0,0,0,0.4)"
  548. }
  549. }
  550. },
  551. "data": [
  552. "1.5",
  553. "2.2",
  554. "2.3",
  555. "1.1",
  556. "1.3",
  557. "1.6"
  558. ]
  559. }
  560. ]
  561. }
  562. }