This commit is contained in:
parent
55aed6b79f
commit
155450ecf4
|
@ -92,32 +92,32 @@
|
||||||
<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">
|
<div class="schoolbs" @click="showDialog('学校','')">
|
||||||
<span class="spot">初中</span>
|
<span class="spot">初中</span>
|
||||||
<span>{{ data.xxgk.czxxsl }}</span>
|
<span>{{ data.xxgk.czxxsl }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="schoolbs">
|
<div class="schoolbs" @click="showDialog('学校','')">
|
||||||
<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">
|
<div class="schoolbs" @click="showDialog('学校','')">
|
||||||
<span class="spot">小学</span>
|
<span class="spot">小学</span>
|
||||||
<span>{{ data.xxgk.xxxxsl }}</span>
|
<span>{{ data.xxgk.xxxxsl }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="schoolbs">
|
<div class="schoolbs" @click="showDialog('学校','')">
|
||||||
<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">
|
<div class="schoolbs" @click="showDialog('学校','')">
|
||||||
<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">特殊教育</span>
|
<span class="spot" @click="showDialog('学校','')">特殊教育</span>
|
||||||
<span>{{ data.xxgk.tsjyxxsl }}</span>
|
<span>{{ data.xxgk.tsjyxxsl }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -187,11 +187,11 @@
|
||||||
<div class="czr-sl">
|
<div class="czr-sl">
|
||||||
<div class="historyimg historyimg1">
|
<div class="historyimg historyimg1">
|
||||||
<span>覆盖医疗机构数量</span>
|
<span>覆盖医疗机构数量</span>
|
||||||
<span>{{data.whistleblower.yljgsl}}</span>
|
<span>{{ data.whistleblower.yljgsl }}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="historyimg historyimg2">
|
<div class="historyimg historyimg2">
|
||||||
<span>启用角色数量</span>
|
<span>启用角色数量</span>
|
||||||
<span>{{data.whistleblower.qyjssl}}</span>
|
<span>{{ data.whistleblower.qyjssl }}</span>
|
||||||
</div>
|
</div>
|
||||||
<!-- <img src="@/assets/eduImg/jyImg14.png" alt="" />
|
<!-- <img src="@/assets/eduImg/jyImg14.png" alt="" />
|
||||||
<img src="@/assets/eduImg/jyImg15.png" alt="" /> -->
|
<img src="@/assets/eduImg/jyImg15.png" alt="" /> -->
|
||||||
|
@ -202,7 +202,7 @@
|
||||||
<div class="earlyWarning">
|
<div class="earlyWarning">
|
||||||
<div class="earlyWarning1">
|
<div class="earlyWarning1">
|
||||||
<div>
|
<div>
|
||||||
<span class="green">{{data.whistleblower.green}}</span>
|
<span class="green">{{ data.whistleblower.green }}</span>
|
||||||
</div>
|
</div>
|
||||||
<img src="@/assets/eduImg/jyImg10.png" alt="" />
|
<img src="@/assets/eduImg/jyImg10.png" alt="" />
|
||||||
<img src="@/assets/eduImg/pp3.gif" alt="" class="ppImg" />
|
<img src="@/assets/eduImg/pp3.gif" alt="" class="ppImg" />
|
||||||
|
@ -212,7 +212,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="earlyWarning1">
|
<div class="earlyWarning1">
|
||||||
<div>
|
<div>
|
||||||
<span class="yellow">{{data.whistleblower.yellow}}</span>
|
<span class="yellow">{{ data.whistleblower.yellow }}</span>
|
||||||
</div>
|
</div>
|
||||||
<img src="@/assets/eduImg/jyImg9.png" alt="" />
|
<img src="@/assets/eduImg/jyImg9.png" alt="" />
|
||||||
<img src="@/assets/eduImg/pp2.gif" alt="" class="ppImg" />
|
<img src="@/assets/eduImg/pp2.gif" alt="" class="ppImg" />
|
||||||
|
@ -222,7 +222,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="earlyWarning1">
|
<div class="earlyWarning1">
|
||||||
<div>
|
<div>
|
||||||
<span class="red">{{data.whistleblower.red}}</span>
|
<span class="red">{{ data.whistleblower.red }}</span>
|
||||||
</div>
|
</div>
|
||||||
<img src="@/assets/eduImg/jyImg8.png" alt="" />
|
<img src="@/assets/eduImg/jyImg8.png" alt="" />
|
||||||
<img src="@/assets/eduImg/pp1.gif" alt="" class="ppImg" />
|
<img src="@/assets/eduImg/pp1.gif" alt="" class="ppImg" />
|
||||||
|
@ -253,6 +253,16 @@
|
||||||
<!-- <eBubble></eBubble> -->
|
<!-- <eBubble></eBubble> -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<Dialog
|
||||||
|
:dialogShow="dialogShow"
|
||||||
|
:columns="tableType.columns"
|
||||||
|
:title="tableType.title"
|
||||||
|
:tableData="tableType.data"
|
||||||
|
:pagination="pagination"
|
||||||
|
@close="close"
|
||||||
|
@handle="handlePagination"
|
||||||
|
>
|
||||||
|
</Dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -269,7 +279,7 @@ import ePie4 from "./echarts_education/pie4.vue";
|
||||||
import ePieRose from "./echarts_education/pieRose.vue";
|
import ePieRose from "./echarts_education/pieRose.vue";
|
||||||
import eP1 from "./echarts_education/eP1.vue";
|
import eP1 from "./echarts_education/eP1.vue";
|
||||||
import http from "@/utils/request.js";
|
import http from "@/utils/request.js";
|
||||||
|
import Dialog from "./dialog/dialog.vue";
|
||||||
const selectData = reactive({
|
const selectData = reactive({
|
||||||
value1: "111",
|
value1: "111",
|
||||||
value2: "tes1",
|
value2: "tes1",
|
||||||
|
@ -367,31 +377,66 @@ var roseData3 = ref([
|
||||||
value: 78,
|
value: 78,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
// var schoolData = ref([
|
//详情弹框
|
||||||
// { name: "副高级", value: 44 },
|
const dialogShow = ref(false);
|
||||||
// { name: "正高级", value: 22 },
|
const tableType = reactive({
|
||||||
// { name: "未定级", value: 11 },
|
url: "",
|
||||||
// { name: "员级", value: 12 },
|
title: "",
|
||||||
// { name: "中级", value: 54 },
|
columns: [
|
||||||
// { name: "助理级", value: 74 },
|
{
|
||||||
// ]);
|
label: "学校",
|
||||||
// var schoolData1 = ref([
|
property: "school",
|
||||||
// { name: "副高级", value: 11 },
|
},
|
||||||
// { name: "正高级", value: 22 },
|
{
|
||||||
// { name: "未定级", value: 11 },
|
label: "教师数",
|
||||||
// { name: "员级", value: 12 },
|
property: "teacher",
|
||||||
// { name: "中级", value: 22 },
|
},
|
||||||
// { name: "助理级", value: 74 },
|
{
|
||||||
// ]);
|
label: "学生数",
|
||||||
// var schoolData2 = ref([
|
property: "student",
|
||||||
// { name: "副高级", value: 22 },
|
},
|
||||||
// { name: "正高级", value: 22 },
|
{
|
||||||
// { name: "未定级", value: 11 },
|
label: "班级数",
|
||||||
// { name: "员级", value: 33 },
|
property: "banji",
|
||||||
// { name: "中级", value: 54 },
|
},
|
||||||
// { name: "助理级", value: 74 },
|
],
|
||||||
// ]);
|
data: [],
|
||||||
|
});
|
||||||
|
// 表格分页
|
||||||
|
const pagination = reactive({
|
||||||
|
total: 100,
|
||||||
|
pageSize: 10,
|
||||||
|
currentPage: 1,
|
||||||
|
});
|
||||||
|
const handlePagination = (current) => {
|
||||||
|
pagination.currentPage = current;
|
||||||
|
getTable(tableType.url, pagination.currentPage);
|
||||||
|
};
|
||||||
|
const showDialog = (title, url) => {
|
||||||
|
tableType.title = title;
|
||||||
|
tableType.url = url;
|
||||||
|
pagination.currentPage = 1;
|
||||||
|
dialogShow.value = true;
|
||||||
|
// getTable(url, pagination.currentPage);
|
||||||
|
};
|
||||||
|
//获取表格数据
|
||||||
|
const getTable = (url, currentPage) => {
|
||||||
|
dialogShow.value = true;
|
||||||
|
// http
|
||||||
|
// .get(`${url}?page=${currentPage}&size=${pagination.pageSize}`)
|
||||||
|
// .then((res) => {
|
||||||
|
// if (res.code == 200) {
|
||||||
|
// tableType.data = res.data;
|
||||||
|
// pagination.total = res.count;
|
||||||
|
// dialogShow.value = true;
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
};
|
||||||
|
const close = () => {
|
||||||
|
dialogShow.value = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
//----
|
||||||
const selectChange1 = () => {
|
const selectChange1 = () => {
|
||||||
if (selectData.value1 == "111") {
|
if (selectData.value1 == "111") {
|
||||||
selectData.list = roseData1.value;
|
selectData.list = roseData1.value;
|
||||||
|
|
|
@ -183,7 +183,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="history">
|
<div class="history">
|
||||||
<div class="history1">
|
<div class="history1" @click="showDialog('养老机构', '')">
|
||||||
<div>
|
<div>
|
||||||
<span>{{ data.yljgzlzx.yljg }}<span class="unit">个</span></span>
|
<span>{{ data.yljgzlzx.yljg }}<span class="unit">个</span></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -198,7 +198,7 @@
|
||||||
<img src="@/assets/YLimg/ylimg3.png" alt="" />
|
<img src="@/assets/YLimg/ylimg3.png" alt="" />
|
||||||
<img class="historyimg" src="@/assets/YLimg/ylimg6.png" alt="" />
|
<img class="historyimg" src="@/assets/YLimg/ylimg6.png" alt="" />
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="history1">
|
<div class="history1" @click="showDialog('居家养老服务照料中心', '')">
|
||||||
<div>
|
<div>
|
||||||
<span>{{ data.yljgzlzx.zlzx }}<span class="unit">个</span></span>
|
<span>{{ data.yljgzlzx.zlzx }}<span class="unit">个</span></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -294,8 +294,12 @@ const showR = ref(false);
|
||||||
// 详情弹框
|
// 详情弹框
|
||||||
const dialogShow = ref(false);
|
const dialogShow = ref(false);
|
||||||
const tableType = reactive({
|
const tableType = reactive({
|
||||||
|
url: "",
|
||||||
title: "",
|
title: "",
|
||||||
columns: [
|
columns: [],
|
||||||
|
data: [],
|
||||||
|
});
|
||||||
|
const xz_column = ref([
|
||||||
{
|
{
|
||||||
label: "照料中心",
|
label: "照料中心",
|
||||||
property: "sdailycarecentername",
|
property: "sdailycarecentername",
|
||||||
|
@ -337,9 +341,21 @@ const tableType = reactive({
|
||||||
label: "订单结束时间",
|
label: "订单结束时间",
|
||||||
property: "dtfinishtime",
|
property: "dtfinishtime",
|
||||||
},
|
},
|
||||||
],
|
]);
|
||||||
data: [],
|
const yl_column = ref([
|
||||||
});
|
{
|
||||||
|
label: "机构名称",
|
||||||
|
property: "name",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "机构地址",
|
||||||
|
property: "address",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "老人数量",
|
||||||
|
property: "oldMan",
|
||||||
|
},
|
||||||
|
]);
|
||||||
// 表格分页
|
// 表格分页
|
||||||
const pagination = reactive({
|
const pagination = reactive({
|
||||||
total: 100,
|
total: 100,
|
||||||
|
@ -351,15 +367,41 @@ const change = (name, index) => {
|
||||||
};
|
};
|
||||||
const chooseVillage = (village) => {
|
const chooseVillage = (village) => {
|
||||||
tableType.title = village;
|
tableType.title = village;
|
||||||
|
tableType.columns = xz_column.value;
|
||||||
|
tableType.url = "/api/ggfwyth/zcxxList";
|
||||||
getTownDetail();
|
getTownDetail();
|
||||||
};
|
};
|
||||||
|
const showDialog = (title, url) => {
|
||||||
|
tableType.title = title;
|
||||||
|
tableType.url = url;
|
||||||
|
tableType.columns = yl_column.value;
|
||||||
|
getTable(url, pagination.currentPage);
|
||||||
|
};
|
||||||
|
//获取表格数据
|
||||||
|
const getTable = (url, currentPage) => {
|
||||||
|
dialogShow.value = true;
|
||||||
|
tableType.data = [];
|
||||||
|
// http
|
||||||
|
// .get(`${url}?page=${currentPage}&size=${pagination.pageSize}`)
|
||||||
|
// .then((res) => {
|
||||||
|
// if (res.code == 200) {
|
||||||
|
// tableType.data = res.data;
|
||||||
|
// pagination.total = res.count;
|
||||||
|
// dialogShow.value = true;
|
||||||
|
// }
|
||||||
|
// });
|
||||||
|
};
|
||||||
const close = () => {
|
const close = () => {
|
||||||
dialogShow.value = false;
|
dialogShow.value = false;
|
||||||
pagination.currentPage = 1;
|
pagination.currentPage = 1;
|
||||||
};
|
};
|
||||||
const handlePagination = (current) => {
|
const handlePagination = (current) => {
|
||||||
pagination.currentPage = current;
|
pagination.currentPage = current;
|
||||||
|
if (tableType.url == "/api/ggfwyth/zcxxList") {
|
||||||
getTownDetail();
|
getTownDetail();
|
||||||
|
} else {
|
||||||
|
getTable(tableType.url, pagination.currentPage);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
const getTownDetail = () => {
|
const getTownDetail = () => {
|
||||||
let params = {
|
let params = {
|
||||||
|
|
Loading…
Reference in New Issue