This commit is contained in:
duanxiaohai 2024-06-25 08:59:09 +08:00
parent e626d4576a
commit 53a323f554
2 changed files with 65 additions and 56 deletions

View File

@ -195,72 +195,72 @@ const data = reactive({
ViewData: [ ViewData: [
{ {
name: "医保支出万元以上", name: "医保支出万元以上",
value: "11112", value: "0",
show: true, show: true,
data: ["100", "120", "199", "133", "210"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
{ {
name: "大病住院", name: "大病住院",
value: "120", value: "0",
show: false, show: false,
data: ["10", "12", "19", "13", "21"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
{ {
name: "高血压", name: "高血压",
value: "2345", value: "0",
show: false, show: false,
data: ["100", "10", "199", "13", "210"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
{ {
name: "糖尿病", name: "糖尿病",
value: "1241", value: "0",
show: false, show: false,
data: ["100", "120", "19", "133", "210"], //尿 data: ["0", "0", "0", "0", "0", "0"], //尿
}, },
{ {
name: "高血脂", name: "高血脂",
value: "1414", value: "0",
show: false, show: false,
data: ["100", "120", "199", "13", "210"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
{ {
name: "高血糖", name: "高血糖",
value: "2355", value: "0",
show: false, show: false,
data: ["100", "120", "199", "133", "10"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
{ {
name: "残疾", name: "残疾",
value: "455", value: "0",
show: false, show: false,
data: ["100", "120", "199", "133", "210"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
{ {
name: "低保", name: "低保",
value: "142", value: "0",
show: false, show: false,
data: ["100", "120", "199", "133", "210"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
{ {
name: "特困", name: "特困",
value: "98", value: "0",
show: false, show: false,
data: ["100", "120", "199", "133", "210"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
{ {
name: "其他疾病", name: "其他疾病",
value: "144", value: "0",
show: false, show: false,
data: ["100", "120", "199", "133", "210"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
], ],
DataViewing: [ DataViewing: [
{ {
name: "医保支出万元以上", name: "医保支出万元以上",
data: ["100", "120", "199", "133", "210"], // data: ["0", "0", "0", "0", "0", "0"], //
}, },
], // ], //
leftCenterYear: ["2019", "2020", "2021", "2022", "2023"], // leftCenterYear: ["2019","2020", "2021", "2022", "2023", "2024"], //
zccs1: ["图书馆", "交通出行", "景区"], // zccs1: ["图书馆", "交通出行", "景区"], //
zccs2: ["100", "130", "220"], // zccs2: ["100", "130", "220"], //
analysis: { analysis: {
@ -310,7 +310,7 @@ const minData = reactive({
}); });
// //
const onViewData = (value, i) => { const onViewData = (value, i) => {
clearInterval(interval); // clearInterval(interval); //
data.ViewData[i].show = !data.ViewData[i].show; data.ViewData[i].show = !data.ViewData[i].show;
data.DataViewing = data.ViewData.filter((item) => item.show).map((item) => ({ data.DataViewing = data.ViewData.filter((item) => item.show).map((item) => ({
name: item.name, name: item.name,
@ -353,7 +353,16 @@ const getData = async () => {
data.whistleblower.culeTotal.data[index] = res.data.lnr.rksj[key]; data.whistleblower.culeTotal.data[index] = res.data.lnr.rksj[key];
}); });
// dataShow data.leftCenterYear = res.data.dataShow.year;
data.ViewData[2].data = res.data.dataShow.gxyrs.gxyrs;//
data.ViewData[2].value = res.data.dataShow.gxyrs.total;//
data.ViewData[3].data = res.data.dataShow.tnbrs.tnbrs;//尿
data.ViewData[3].value = res.data.dataShow.tnbrs.total;//尿
data.ViewData[7].data = res.data.dataShow.dibao.dbjzrc;//
data.ViewData[7].value = res.data.dataShow.dibao.total;//
data.ViewData[8].data = res.data.dataShow.tekun.tkjzrc;//
data.ViewData[8].value = res.data.dataShow.tekun.total;//
} }
}); });
}; };

View File

@ -92,32 +92,49 @@
<div class="schoolb"> <div class="schoolb">
<img src="../assets/eduImg/xxgkTop.png" class="gkTop" alt="" /> <img src="../assets/eduImg/xxgkTop.png" class="gkTop" alt="" />
<div class="grade"> <div class="grade">
<div class="schoolbs" @click="showDialog('学校', '/api/ggfwyth/schoolList')"> <div
class="schoolbs"
@click="showDialog('学校', '/api/ggfwyth/schoolList')"
>
<span class="spot">初中</span> <span class="spot">初中</span>
<span>{{ data.xxgk.czxxsl }}</span> <span>{{ data.xxgk.czxxsl }}</span>
</div> </div>
<div class="schoolbs" @click="showDialog('学校', '/api/ggfwyth/schoolList')"> <div
class="schoolbs"
@click="showDialog('学校', '/api/ggfwyth/schoolList')"
>
<span class="spot">高中</span> <span class="spot">高中</span>
<span>{{ data.xxgk.gzxxsl }}</span> <span>{{ data.xxgk.gzxxsl }}</span>
</div> </div>
</div> </div>
<div class="grade"> <div class="grade">
<div class="schoolbs" @click="showDialog('学校', '/api/ggfwyth/schoolList')"> <div
class="schoolbs"
@click="showDialog('学校', '/api/ggfwyth/schoolList')"
>
<span class="spot">小学</span> <span class="spot">小学</span>
<span>{{ data.xxgk.xxxxsl }}</span> <span>{{ data.xxgk.xxxxsl }}</span>
</div> </div>
<div class="schoolbs" @click="showDialog('学校', '/api/ggfwyth/schoolList')"> <div
class="schoolbs"
@click="showDialog('学校', '/api/ggfwyth/schoolList')"
>
<span class="spot">中职</span> <span class="spot">中职</span>
<span>{{ data.xxgk.zzxxsl }}</span> <span>{{ data.xxgk.zzxxsl }}</span>
</div> </div>
</div> </div>
<div class="grade grade1"> <div class="grade grade1">
<div class="schoolbs" @click="showDialog('学校', '/api/ggfwyth/schoolList')"> <div
class="schoolbs"
@click="showDialog('学校', '/api/ggfwyth/schoolList')"
>
<span class="spot">幼儿园</span> <span class="spot">幼儿园</span>
<span>{{ data.xxgk.yeyxxsl }}</span> <span>{{ data.xxgk.yeyxxsl }}</span>
</div> </div>
<div class="schoolbs"> <div class="schoolbs">
<span class="spot" @click="showDialog('学校', '/api/ggfwyth/schoolList')" <span
class="spot"
@click="showDialog('学校', '/api/ggfwyth/schoolList')"
>特殊教育</span >特殊教育</span
> >
<span>{{ data.xxgk.tsjyxxsl }}</span> <span>{{ data.xxgk.tsjyxxsl }}</span>
@ -426,31 +443,22 @@ const tableType = reactive({
url: "", url: "",
title: "", title: "",
columns: [ columns: [
// { {
// label: "", label: "学校名称",
// property: "school", property: "xxmc",
// }, },
// {
// label: "",
// property: "teacher",
// },
// {
// label: "",
// property: "student",
// },
// {
// label: "",
// property: "banji",
// },
{ {
label: "班级数", label: "班级数",
property: "bjs", property: "bjs",
}, },
{ {
label: " 教师数", label: "教师数",
property: "jss", property: "jss",
}, },
{
label: "学生数",
property: "xss",
},
{ {
label: "区域", label: "区域",
property: "qq", property: "qq",
@ -459,14 +467,6 @@ const tableType = reactive({
label: "学段", label: "学段",
property: "xd", property: "xd",
}, },
{
label: "学生数",
property: "xss",
},
{
label: " 学校名称",
property: "xxmc",
},
{ {
label: "性质", label: "性质",
property: "xz", property: "xz",