This commit is contained in:
姚宇浩 2024-08-06 11:23:18 +08:00
commit 6d3d21312c
9 changed files with 100 additions and 67 deletions

BIN
dist.zip Normal file

Binary file not shown.

View File

@ -16,6 +16,10 @@
font-family: titleNore; font-family: titleNore;
src: url('../css/优设标题黑.ttf') src: url('../css/优设标题黑.ttf')
} }
@font-face {
font-family: titletheRightWay;
src: url('../css/庞门正道标题体3.0.ttf')
}
span, span,
p, p,

Binary file not shown.

View File

@ -27,7 +27,7 @@
class="image-wall" class="image-wall"
style="transition: transform 1s ease 0.5s" style="transition: transform 1s ease 0.5s"
:style="{ :style="{
transform: `rotateY(${45 * indexP}deg) translateZ(450px)`, transform: `rotateY(${91.25 * indexP}deg) translateZ(350px)`,
}" }"
@click.stop="toPage(itemP.url)" @click.stop="toPage(itemP.url)"
> >
@ -137,13 +137,13 @@ const reset_font = () => {
"scale(" + width / 1920 + "," + height / 1080 + ")"; "scale(" + width / 1920 + "," + height / 1080 + ")";
}; };
onMounted(() => { onMounted(() => {
let token = tools.data.get("token"); // let token = tools.data.get("token");
// console.log(token, "token"); // // console.log(token, "token");
if (token == null) { // if (token == null) {
ElMessage.error("请重新登录!"); // ElMessage.error("!");
window.location.href = // window.location.href =
"http://220.191.238.50:996/api/login?returnURL=" + window.location.href; // "http://220.191.238.50:996/api/login?returnURL=" + window.location.href;
} // }
reset_font(); reset_font();
reset_font(); reset_font();
}); });
@ -157,6 +157,10 @@ const tabData = reactive({
tabNum: 0, tabNum: 0,
PageUrl: "/home/index/table", PageUrl: "/home/index/table",
tabList: [ tabList: [
{
name: "总体概况",
img: tab1,
},
{ {
name: "评估模型", name: "评估模型",
img: tab7, img: tab7,
@ -165,32 +169,32 @@ const tabData = reactive({
name: "要素一张图", name: "要素一张图",
img: tab8, img: tab8,
}, },
{ // {
name: "总体概况", // name: "",
img: tab1, // img: tab2,
}, // },
{ // {
name: "养老体系", // name: "",
img: tab2, // img: tab3,
}, // },
{ // {
name: "卫生体系", // name: "",
img: tab3, // img: tab4,
}, // },
{ // {
name: "教育体系", // name: "",
img: tab4, // img: tab5,
}, // },
{
name: "救助体系",
img: tab5,
},
{ {
name: "智能分析", name: "智能分析",
img: tab6, img: tab6,
}, },
], ],
scenList: [ scenList: [
{
img: png3,
url: "/home/index",
},
{ {
img: png1, img: png1,
url: "/home/index/table", url: "/home/index/table",
@ -199,26 +203,23 @@ const tabData = reactive({
img: png2, img: png2,
url: "/home/index/map", url: "/home/index/map",
}, },
{
img: png3, // {
url: "/home/index", // img: png4,
}, // url: "/home/yl",
{ // },
img: png4, // {
url: "/home/yl", // img: png5,
}, // url: "/home/hygiene",
{ // },
img: png5, // {
url: "/home/hygiene", // img: png6,
}, // url: "/home/education",
{ // },
img: png6, // {
url: "/home/education", // img: png7,
}, // url: "/home/work",
{ // },
img: png7,
url: "/home/work",
},
{ {
img: png8, img: png8,
url: "/home/analyze", url: "/home/analyze",
@ -230,7 +231,7 @@ const changeTab = (val) => {
tabData.PageUrl = tabData.scenList[val].url; tabData.PageUrl = tabData.scenList[val].url;
transTime.value = 0.8; transTime.value = 0.8;
tabData.tabNum = val; tabData.tabNum = val;
rotateY.value = 360 - 45 * val; rotateY.value = 360 - 91.25 * val;
rotateX.value = 0; rotateX.value = 0;
setTimeout(() => { setTimeout(() => {
transTime.value = 0; transTime.value = 0;

View File

@ -1,5 +1,7 @@
<template> <template>
<div class="person-container"> <div class="person-container">
<a @click="back()" class="page_back"><i class="el-icon-arrow-left" title="返回"></i>返回</a>
<div class="person-content"> <div class="person-content">
<div class="person-side"> <div class="person-side">
<div class="my-label"> <div class="my-label">
@ -390,6 +392,11 @@ const tableType = reactive({
const onClickTag = (item) => { const onClickTag = (item) => {
dialogShow.value = true; dialogShow.value = true;
}; };
const back = () =>{
// sessionStorage.setItem('return',true);
window.location.href = 'javascript:history.back(-1)';
}
const paginationDialog = reactive({ const paginationDialog = reactive({
current: 1, current: 1,
pageSize: 5, pageSize: 5,
@ -601,7 +608,8 @@ onMounted(() => {
.my-label-title { .my-label-title {
display: inline-block; display: inline-block;
font-family: PangMenZhengDao, PangMenZhengDao; // font-family: PangMenZhengDao, PangMenZhengDao;
font-family: titletheRightWay, titletheRightWay;
font-weight: normal; font-weight: normal;
font-size: 34px; font-size: 34px;
color: #b8fcfc; color: #b8fcfc;

View File

@ -1753,7 +1753,8 @@ const open_detail = () => {
const close = () => { const close = () => {
dialogShow.value = false; dialogShow.value = false;
pagination.total = 100; pagination.total = 100;
pagination.currentPage=1;
pagination.currentPage = 1;
}; };
// //
const handlePagination = (current) => { const handlePagination = (current) => {
@ -2487,7 +2488,7 @@ const addCsUnChoose = () => {
// }); // });
// getDataBqs(cfJd.value, cfCs.value); // getDataBqs(cfJd.value, cfCs.value);
getDataBq(cfJd.value, cfCs.value); getDataBq(cfJd.value, cfCs.value);
if (choose.value.person == 1) { if (choose.value.person == 1) {
getDatas2(cfJd.value, "0", cfCs.value); //0 getDatas2(cfJd.value, "0", cfCs.value); //0
} else { } else {
getDatas2(cfJd.value, choose.value.person - 1, cfCs.value); getDatas2(cfJd.value, choose.value.person - 1, cfCs.value);

View File

@ -624,7 +624,7 @@ const getData = async (name, fullName) => {
name: item.sx, name: item.sx,
text: item.bmfxqk, text: item.bmfxqk,
// progress: item.xh, // progress: item.xh,
progress: '95', progress: '95', //
}); });
}); });
} }

View File

@ -681,9 +681,20 @@ const getData = () => {
// //
data.smfwcs = res.data.zlfw.smfwcs; data.smfwcs = res.data.zlfw.smfwcs;
// //
res.data.zlfw.xzzccs.forEach((element) => { let elements = res.data.zlfw.xzzccs;
data.zccs1.push(element.xzjd); // // zccs 0
data.zccs2.push(element.zccs); // elements.forEach((element) => {
if (element.zccs !== 0) {
data.zccs1.push(element.xzjd); //
data.zccs2.push(element.zccs); //
}
});
// zccs 0
elements.forEach((element) => {
if (element.zccs === 0) {
data.zccs1.push(element.xzjd); //
data.zccs2.push(element.zccs); //
}
}); });
} }
showEchart.value = true; showEchart.value = true;

View File

@ -217,10 +217,7 @@
</div> </div>
</div> </div>
<div class="history"> <div class="history">
<div <div class="history1" @click="showMapDialog('养老机构')">
class="history1"
@click="showMapDialog('养老机构')"
>
<div> <div>
<span>{{ data.yljgzlzx.yljg }}<span class="unit"></span></span> <span>{{ data.yljgzlzx.yljg }}<span class="unit"></span></span>
</div> </div>
@ -313,7 +310,7 @@
<div v-else-if="currentData.itimetype == '2'">晚餐</div> <div v-else-if="currentData.itimetype == '2'">晚餐</div>
</template> </template>
</Dialog> </Dialog>
<DialogMap :dialogShowMap="dialogShowMap" :title="mapTitle" @close="close"> <DialogMap :dialogShowMap="dialogShowMap" :title="mapTitle" @close="close">
</DialogMap> </DialogMap>
</div> </div>
</template> </template>
@ -445,10 +442,10 @@ const showDialog = (title, url, coulumn) => {
getTable(url, pagination.currentPage); getTable(url, pagination.currentPage);
}; };
// //
const showMapDialog =(title)=>{ const showMapDialog = (title) => {
mapTitle.value = title; mapTitle.value = title;
dialogShowMap.value = true; dialogShowMap.value = true;
} };
// //
const getTable = (url, currentPage) => { const getTable = (url, currentPage) => {
http http
@ -657,7 +654,7 @@ const getData = () => {
// //
res.data.familyPlanning.familyPlanningData.forEach((element) => { res.data.familyPlanning.familyPlanningData.forEach((element) => {
data.centerBottom1.push(element.jhsyrs); // data.centerBottom1.push(element.jhsyrs); //
data.centerBottom2.push((element.jhsybtje / 10000)); // data.centerBottom2.push(element.jhsybtje / 10000); //
// data.centerBottom2.push(element.jhsybtje); // // data.centerBottom2.push(element.jhsybtje); //
}); });
// //
@ -668,9 +665,20 @@ const getData = () => {
// //
data.smfwcs = res.data.zlfw.smfwcs; data.smfwcs = res.data.zlfw.smfwcs;
// //
res.data.zlfw.xzzccs.forEach((element) => { let elements = res.data.zlfw.xzzccs;
data.zccs1.push(element.xzjd); // // zccs 0
data.zccs2.push(element.zccs); // elements.forEach((element) => {
if (element.zccs !== 0) {
data.zccs1.push(element.xzjd); //
data.zccs2.push(element.zccs); //
}
});
// zccs 0
elements.forEach((element) => {
if (element.zccs === 0) {
data.zccs1.push(element.xzjd); //
data.zccs2.push(element.zccs); //
}
}); });
} }
showEchart.value = true; showEchart.value = true;