diff --git a/src/assets/images/sjfx/lnsjfx.png b/src/assets/images/sjfx/lnsjfx.png new file mode 100644 index 0000000..e643d12 Binary files /dev/null and b/src/assets/images/sjfx/lnsjfx.png differ diff --git a/src/view/analyze.vue b/src/view/analyze.vue index f3bb002..33cb8fa 100644 --- a/src/view/analyze.vue +++ b/src/view/analyze.vue @@ -1,7 +1,7 @@ @@ -186,6 +192,7 @@ import { computed, } from "vue"; import DialogEnrol from "./dialog/dialogEnrol.vue"; +import DialogElderly from "./dialog/diaLogElderlyData.vue"; import right2 from "./echart_analyze/right2.vue"; import right1 from "./echart_analyze/right1.vue"; import jypx from "./echart_analyze/jypx.vue"; @@ -210,6 +217,7 @@ import Map from "./echart_analyze/map.vue"; const showR = ref(false); //loading // 入学分析数据 const dialogShowEnrol = ref(false); +const dialogShowElderly = ref(false); const dataTab = reactive({ url: "", title: "", @@ -307,6 +315,131 @@ const dataEnrol = reactive({ }, ], }); +const dataElderly = reactive({ + title: "老年人数据分析", + // 幼儿园名称 + kidName: [ + "第一幼儿园", + "第二幼儿园", + "第三幼儿园", + "第四幼儿园", + "第五幼儿园", + "第六幼儿园", + "第七幼儿园", + "第八幼儿园", + ], + // 托班 + kidZs1: [100, 105, 369, 523, 651, 225, 664, 245], + kidBm1: [100, 105, 369, 523, 651, 225, 664, 245], + // 小班 + kidZs2: [100, 105, 369, 523, 651, 225, 664, 245], + kidBm2: [100, 105, 369, 523, 651, 225, 664, 245], + // 中班 + kidZs3: [100, 105, 369, 523, 651, 225, 664, 245], + kidBm3: [100, 105, 369, 523, 651, 225, 664, 245], + // 大班 + kidZs4: [100, 105, 369, 523, 651, 225, 664, 245], + kidBm4: [100, 105, 369, 523, 651, 225, 664, 245], + // 小学 + primaryName: [ + "第一小学", + "第二小学", + "第三小学", + "第四小学", + "第五小学", + "第六小学", + ], + primaryZs: [231, 544, 343, 444, 335, 632], + primaryBm: [231, 544, 343, 444, 335, 632], + // 初中 + middleName: ["第一初中", "第二初中", "第三初中", "第四初中"], + middleZs: [231, 544, 343, 444], + // 高中 + highName: ["第一高中", "第二高中", "第三高中"], + highZs: [231, 335, 632], + // 年龄选择 + schoolNmae: [ + { + name: "60-69年岁段", + id: 0, + }, + { + name: "70-79年岁段", + id: 1, + }, + { + name: "80-89年岁段", + id: 2, + }, + { + name: "90-99年岁段", + id: 3, + }, + { + name: "100-109年岁段", + id: 4, + }, + ], + // 疾病选择 + schoolNmae1: [ + { + name: "高血压", + id: 0, + }, + { + name: "医保支出万元以上", + id: 1, + }, + { + name: "大病住院", + id: 2, + }, + { + name: "糖尿病", + id: 3, + }, + { + name: "高血脂", + id: 4, + }, + { + name: "高血糖", + id: 5, + }, + { + name: "残疾", + id: 6, + }, + { + name: "低保", + id: 7, + }, + { + name: "特困", + id: 8, + }, + { + name: "其他疾病", + id: 9, + }, + ], + schoolYear: [2022, 2023, 2024], + schoolData: [ + { + id: 0, + bm: [335, 654, 365], + zs: [335, 654, 521], + }, + { + id: 1, + zs: [335, 654, 521], + }, + { + id: 2, + zs: [355, 652, 721], + }, + ], +}); const showEnrol = () => { dialogShowEnrol.value = true; @@ -314,6 +447,12 @@ const showEnrol = () => { const close = () => { dialogShowEnrol.value = false; }; +const showEnrol1 = () => { + dialogShowElderly.value = true; +}; +const close1 = () => { + dialogShowElderly.value = false; +}; //数据切换 const tab_choose = ref([ @@ -345,9 +484,9 @@ const jypxList = reactive([ ]); // 救助分析tap切换 const jz = ref("1"); -const jzChange = (value,label) => { +const jzChange = (value, label) => { jz.value = value; - data.jzfxName=label; + data.jzfxName = label; data.list = data.dataAnalysis[value - 1]; }; const showEchart = ref(false); @@ -358,7 +497,7 @@ const data = reactive({ }, list1: {}, list2: {}, - jzfxName:'特困', + jzfxName: "特困", options: [ { value: "1", label: "特困" }, { value: "2", label: "低保" }, @@ -687,7 +826,7 @@ onBeforeUnmount(() => { } .left_1 { - background-image: url(@/assets/images/sjfx/lnrsjfx.png); + background-image: url(@/assets/images/sjfx/lnsjfx.png); background-repeat: no-repeat; background-size: 100% 100%; } diff --git a/src/view/dialog/diaLogElderlyData.vue b/src/view/dialog/diaLogElderlyData.vue new file mode 100644 index 0000000..0cc6ccf --- /dev/null +++ b/src/view/dialog/diaLogElderlyData.vue @@ -0,0 +1,495 @@ + + + +