123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362 |
- function healthCareNew() {
- var chartDom = document.getElementById("wsylchar");
- var myChart = echarts.init(chartDom);
- var option;
- myChart.clear();
- option = {
- xAxis: {
- type: "category",
- data: ["2021年", "2022年", "2023年"],
- },
- yAxis: {
- type: "value",
- axisLabel: {
- formatter: "{value} 家",
- },
- },
- grid: {
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- },
- backgroundColor: "rgb(0 0 0 / 40%)",
- borderColor: "transparent",
- textStyle: {
- color: "#fff",
- },
- valueFormatter: function (value) {
- return value + " 家";
- },
- confine: true
- },
- series: [
- {
- name: "在园幼儿",
- data: [682, 707, 753],
- type: "bar",
- barWidth: "60",
- },
- ],
- };
- option && myChart.setOption(option);
- var chartDom = document.getElementById("other1");
- var myChart = echarts.init(chartDom);
- myChart.clear();
- var option;
- option = {
- xAxis: {
- type: "category",
- data: ["2021年", "2022年", "2023年"],
- },
- yAxis: {
- type: "value",
- axisLabel: {
- formatter: "{value} 个",
- },
- },
- grid: {
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- legend: {
- type: "plain",
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- },
- backgroundColor: "rgb(0 0 0 / 40%)",
- borderColor: "transparent",
- textStyle: {
- color: "#fff",
- },
- valueFormatter: function (value) {
- return value + " 个";
- },
- confine: true
- },
- series: [
- {
- name: "医疗机构床位数",
- data: [7208, 7200, 5396],
- type: "bar",
- barWidth: "60",
- },
- ],
- };
- option && myChart.setOption(option);
- var chartDom = document.getElementById("ylryEchar");
- var myChart = echarts.init(chartDom);
- myChart.clear();
- var option;
- option = {
- xAxis: {
- type: "category",
- data: ["2021年", "2022年", "2023年"],
- },
- yAxis: {
- type: "value",
- axisLabel: {
- formatter: "{value} 家",
- },
- },
- grid: {
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- legend: {
- show: true,
- type: "scroll",
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- },
- backgroundColor: "rgb(0 0 0 / 40%)",
- borderColor: "transparent",
- textStyle: {
- color: "#fff",
- },
- valueFormatter: function (value) {
- return value + " 家";
- },
- confine: true
- },
- series: [
- {
- name: "医院",
- data: [24, 24, 24],
- type: "bar",
- itemStyle: {
- color: "#27C2C1",
- },
- },
- {
- name: "卫生院",
- data: [7, 7, 6],
- type: "bar",
- itemStyle: {
- color: "#3377D6",
- },
- },
- {
- name: "社区卫生服务中心(站)",
- data: [46, 46, 45],
- type: "bar",
- itemStyle: {
- color: "#5470C6",
- },
- },
- {
- name: "村卫生室",
- data: [33, 31, 28],
- type: "bar",
- itemStyle: {
- color: "#91CC75",
- },
- },
- {
- name: "疾控中心",
- data: [1, 1, 1],
- type: "bar",
- itemStyle: {
- color: "#FAC03E",
- },
- },
- {
- name: "妇幼保健院",
- data: [1, 1, 1],
- type: "bar",
- itemStyle: {
- color: "#FA8319",
- },
- },
- ],
- };
- option && myChart.setOption(option);
- var chartDom = document.getElementById("zlrsEchar");
- var myChart = echarts.init(chartDom);
- myChart.clear();
- var option;
- option = {
- xAxis: {
- type: "category",
- data: ["2021年", "2022年", "2023年"],
- },
- yAxis: {
- type: "value",
- axisLabel: {
- formatter: "{value} 人",
- },
- },
- grid: {
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- },
- backgroundColor: "rgb(0 0 0 / 40%)",
- borderColor: "transparent",
- textStyle: {
- color: "#fff",
- },
- valueFormatter: function (value) {
- return value + " 人";
- },
- confine: true
- },
- legend: {
- show: true,
- type: "scroll",
- },
- series: [
- {
- name: "卫生技术人员",
- data: [10856, 10435, 11596],
- type: "bar",
- itemStyle: {
- color: "#3377D6",
- },
- },
- {
- name: "执业(助理)医师",
- data: [4267, 3360, 4554],
- type: "bar",
- itemStyle: {
- color: "#FA8319",
- },
- },
- {
- name: "注册护士",
- data: [6589, 4054, 7042],
- type: "bar",
- itemStyle: {
- color: "#2294FF",
- },
- },
- {
- name: "每千人口执业(助理)医师",
- data: [3.36, 2.8, 3.79],
- type: "bar",
- itemStyle: {
- color: "#91CC75",
- },
- },
- {
- name: "每千人口注册护士",
- data: [5.19, 3.38, 5.86],
- type: "bar",
- itemStyle: {
- color: "#27C2C1",
- },
- },
- ],
- };
- option && myChart.setOption(option);
- var chartDom = document.getElementById("zlrs");
- var myChart = echarts.init(chartDom);
- myChart.clear();
- var option;
- option = {
- xAxis: {
- type: "category",
- data: ["2021年", "2022年", "2023年"],
- },
- yAxis: {
- type: "value",
- axisLabel: {
- formatter: "{value} 万人",
- },
- },
- grid: {
- left: "3%",
- right: "4%",
- bottom: "3%",
- containLabel: true,
- },
- tooltip: {
- trigger: "axis",
- axisPointer: {
- type: "shadow",
- },
- backgroundColor: "rgb(0 0 0 / 40%)",
- borderColor: "transparent",
- textStyle: {
- color: "#fff",
- },
- valueFormatter: function (value) {
- return value + " 万人";
- },
- confine: true
- },
- legend: {
- show: true,
- type: "scroll",
- },
- series: [
- {
- name: "总诊疗人次",
- data: [576.8, 564.99, 342.5],
- type: "bar",
- itemStyle: {
- color: "#3377D6",
- },
- },
- {
- name: "门急诊人次",
- data: [529.7, 530.2, 342.6],
- type: "bar",
- itemStyle: {
- color: "#27C2C1",
- },
- },
- {
- name: "入院人次",
- data: [11.3, 11.3, "一年统计一次"],
- type: "bar",
- itemStyle: {
- color: "#2294FF",
- },
- },
- {
- name: "出院人次",
- data: [11.3, 11.2, 12],
- type: "bar",
- itemStyle: {
- color: "#91CC75",
- },
- },
- ],
- };
- option && myChart.setOption(option);
- }
|