diff --git a/src/view/echarts_hygiene/eP4.vue b/src/view/echarts_hygiene/eP4.vue index 01e110d..ac624a6 100644 --- a/src/view/echarts_hygiene/eP4.vue +++ b/src/view/echarts_hygiene/eP4.vue @@ -3,178 +3,166 @@ diff --git a/src/view/echarts_hygiene/eP4_1.vue b/src/view/echarts_hygiene/eP4_1.vue index f5c6753..c2cbb02 100644 --- a/src/view/echarts_hygiene/eP4_1.vue +++ b/src/view/echarts_hygiene/eP4_1.vue @@ -3,17 +3,39 @@ diff --git a/src/view/echarts_yl/ylSMFW.vue b/src/view/echarts_yl/ylSMFW.vue index e65d0fc..4a8253f 100644 --- a/src/view/echarts_yl/ylSMFW.vue +++ b/src/view/echarts_yl/ylSMFW.vue @@ -300,22 +300,6 @@ const getOption = () => { }; }; -// // 使用生命钩子 -// onMounted(() => { -// // 基于准备好的dom,初始化echarts实例 -// // var myChart = echarts.init(document.getElementById('main')); -// // Vue3中: 需要引入 -// var myChart = echarts.init(chart.value); - -// // init(); // vue3.2没有this -// // 使用刚指定的配置项和数据显示图表。 -// myChart.setOption(option); - -// // 单图表响应式: 跟随浏览器大小改变 -// // window.addEventListener("resize", () => { -// // myChart.resize(); -// // }); -// }); const setChart = () => { var myChart = echarts.init(chart.value); myChart.setOption(data.option); @@ -324,12 +308,16 @@ const setChart = () => { const setChart1 = () => { data.list1 = []; data.list2 = []; + // var myChart = echarts.init(chart.value); + // // 显示加载动画 + // myChart.showLoading(); if (data.list.length !== 0) { - // console.log(data.list, "助老服务"); data.list.data.forEach((item) => { data.list1.push(item.sc); //服务时长 data.list2.push(item.fwcs); //服务次数 }); + // // 隐藏加载动画 + // myChart.hideLoading(); } }; @@ -338,6 +326,7 @@ onBeforeMount(() => { setTimeout(() => { data.list = props.list; data.day = props.list.day; + console.log(data.list, "助老服务"); setChart1(); getOption(); setChart(); diff --git a/src/view/education.vue b/src/view/education.vue index 8961cb5..02ddd55 100644 --- a/src/view/education.vue +++ b/src/view/education.vue @@ -90,11 +90,7 @@
- +
初中 @@ -191,11 +187,11 @@
覆盖医疗机构数量 - 22 + {{data.whistleblower.yljgsl}}
启用角色数量 - 101 + {{data.whistleblower.qyjssl}}
@@ -206,7 +202,7 @@
- 16 + {{data.whistleblower.green}}
@@ -216,7 +212,7 @@
- 239 + {{data.whistleblower.yellow}}
@@ -226,7 +222,7 @@
- 139 + {{data.whistleblower.red}}
@@ -460,6 +456,7 @@ const data = reactive({ xxgk: {}, xzncjszcsl: [], xzncxxsl: [[], []], + whistleblower: {}, zzxm: [], schoolData: [ { name: "副高级", value: "" }, @@ -485,6 +482,7 @@ const getData = async () => { data.zdgz[1].value = res.data.zdgz.dszn; data.zdgz[2].value = res.data.zdgz.dqjt; data.zdgz[3].value = res.data.zdgz.xsdb; + // 测评分析 // 学校概况 data.xxgk = res.data.xxgk; // 县镇农村学校数量 初始化数据 @@ -498,8 +496,8 @@ const getData = async () => { data.xzncjszcsl = res.data.xzncjszcsl; // 资助项目 data.zzxm = res.data.zzxm; - // ratingBtn("县镇"); // 吹哨人 + data.whistleblower = res.data.whistleblower; } }); }; diff --git a/src/view/hygiene.vue b/src/view/hygiene.vue index 507dac1..4f48296 100644 --- a/src/view/hygiene.vue +++ b/src/view/hygiene.vue @@ -123,7 +123,7 @@
-
33.67万
+
{{ data.jkda.jdfs }}
- +
建档率
-
92.96%
+
{{ data.jkda.jdl }}%
- +
家庭医生签约率
-
62.16%
+
{{ data.jkda.jtysqyl }}%
@@ -293,7 +293,7 @@ const data = reactive({ medicalInsurance: {}, //医疗保险 lmb: {}, //两慢病 mz: {}, //门诊住院 - jkda: [], //健康档案 + jkda: {}, //健康档案 jsbgl: [], //精神病管理 fyglrs: {}, //系统管理 jktj: {}, //65岁健康体检 @@ -345,7 +345,7 @@ const getData = async () => { data.medicalInsurance = res.data.medicalInsurance; data.lmb = res.data.lmb; data.mz = res.data.mz; - // data.jkda = res.data.jkda; + data.jkda = res.data.jkda; data.jsbgl = res.data.jsbgl; data.fyglrs = res.data.fyglrs; data.jktj = res.data.jktj; diff --git a/src/view/yl.vue b/src/view/yl.vue index 4ceadd3..1768c59 100644 --- a/src/view/yl.vue +++ b/src/view/yl.vue @@ -1,5 +1,5 @@