This commit is contained in:
lnn19986213 2024-05-13 13:35:17 +08:00
parent 9ad39f8396
commit a297d468bc
1 changed files with 34 additions and 32 deletions

View File

@ -40,42 +40,42 @@
<div class="school">
<div class="schoolaBox">
<div class="schoola">
<span>1,211</span>
<span>{{ data.xxgk.xxzs }}</span>
<span class="schoola1">学校总数</span>
</div>
<div class="schoola">
<span>46,718</span> <span class="schoola1">学生总数</span>
<span>{{ data.xxgk.xszs }}</span> <span class="schoola1">学生总数</span>
</div>
<div class="schoola">
<span>883</span> <span class="schoola1">班级总数</span>
<span>{{ data.xxgk.bjzs }}</span> <span class="schoola1">班级总数</span>
</div>
<div class="schoola">
<span>4,381</span> <span class="schoola1">教职工总数</span>
<span>{{ data.xxgk.jzgzs }}</span> <span class="schoola1">教职工总数</span>
</div>
</div>
<div class="schoolb">
<div class="grade">
<div class="schoolbs">
<span class="spot">初中</span> <span>7</span>
<span class="spot">初中</span> <span>{{ data.xxgk.czxxsl }}</span>
</div>
<div class="schoolbs">
<span class="spot">高中</span> <span>7</span>
<span class="spot">高中</span> <span>{{ data.xxgk.gzxxsl }}</span>
</div>
</div>
<div class="grade">
<div class="schoolbs">
<span class="spot">小学</span> <span>7</span>
<span class="spot">小学</span> <span>{{ data.xxgk.xxxxsl }}</span>
</div>
<div class="schoolbs">
<span class="spot">中职</span> <span>7</span>
<span class="spot">中职</span> <span>{{ data.xxgk.zzxxsl }}</span>
</div>
</div>
<div class="grade grade1">
<div class="schoolbs">
<span class="spot">幼儿园</span> <span>7</span>
<span class="spot">幼儿园</span> <span>{{ data.xxgk.yeyxxsl }}</span>
</div>
<div class="schoolbs">
<span class="spot">特殊教育</span> <span>7</span>
<span class="spot">特殊教育</span> <span>{{ data.xxgk.tsjyxxsl }}</span>
</div>
</div>
</div>
@ -373,13 +373,14 @@ const data = reactive({
value: 0.1,
cls: "left4",
},
]
],
xxgk: {}
})
onBeforeMount(() => {
selectData.list = roseData1.value;
selectData.list1 = schoolData.value;
http.get("/api/ggfwyth/education").then((res) => {
if (res.code == 200){
if (res.code == 200) {
data.xsql.push(res.data.xssl.zz)
data.xsql.push(res.data.xssl.gz)
data.xsql.push(res.data.xssl.cz)
@ -390,6 +391,7 @@ onBeforeMount(() => {
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
}
});
});