Compare commits

..

No commits in common. "045bc1f1557ca6cc8cda3e143d8da20ed7a21ea9" and "9c120f052544ec371b5f013a345e5038fa73a5ff" have entirely different histories.

2 changed files with 24 additions and 36 deletions

View File

@ -83,14 +83,6 @@ const getOption = () => {
// x: "center",
// y: "center",
// },
legend: {
top: '5%',
left: 'center',
//
textStyle: {
color: '#fff'
}
},
grid: {
bottom: 150,
left: 100,

View File

@ -50,7 +50,7 @@
<i></i>
</div>
</div>
<eP3></eP3>
<!-- <eP3></eP3> -->
</div>
</div>
@ -127,7 +127,7 @@ const data = reactive({
//
employmentList: [
{
name: "2024年发布人力资源供求信息",
name: "发布人力资源供求信息",
value: "0",
img: jy1,
dw: "次",
@ -206,10 +206,15 @@ const data = reactive({
show: true,
data: ["0", "0", "0", "0", "0", "0"], ///
},
],//
],
jnrcs: {
month: [],
}, //
// one: [], ///
// two: [], // /
// three: [], ///
// four: [], ///
// five: [], ///
}, //
syl: {
bf: [], //
zd: [], //
@ -239,35 +244,29 @@ const jzChange = (index, value) => {
data.list = value === "1" ? data.housing : data.temporary;
}
};
// employmentListvalue
const updateEmploymentValues = (list, data) => {
const regex = /(\d+)(次|个|人次|份|场)?/g; //
list.forEach((item) => {
const match = data.find((entry) => entry.includes(item.name));
if (match) {
const results = match.match(regex); //
if (results && results.length > 0) {
item.value = results[results.length - 1].replace(/[^\d]/g, ""); //
} else {
item.value = "0"; //
}
}
});
};
const getData = async () => {
await http.get("/api/ggfwyth/lysdOverview").then((res) => {
if (res.code == 200) {
data.jnrcs.month = res.data.jnrcs.month; //
// data.jnrcs.one = res.data.jnrcs.one; //
// data.jnrcs.two = res.data.jnrcs.two; //
// data.jnrcs.three = res.data.jnrcs.three; //
// data.jnrcs.four = res.data.jnrcs.four; //
// data.jnrcs.five = res.data.jnrcs.five; //
data.ViewData[0].data = res.data.jnrcs.one; ///
data.ViewData[1].data = res.data.jnrcs.two; ///
data.ViewData[2].data = res.data.jnrcs.three; ///
data.ViewData[3].data = res.data.jnrcs.four; ///
data.ViewData[4].data = res.data.jnrcs.five; ///
data.syl.bf = res.data.syl.bf; //
data.syl.zd = res.data.syl.zd; //
updateEmploymentValues(data.employmentList, res.data.jyfws); //
data.jyfws = res.data.jyfws; //
data.employmentList[0].value = res.data.jyfws; ///
data.rczy = res.data.rczy; //
data.sybx = res.data.sybx; //
data.gsbx = res.data.gsbx; //
@ -444,7 +443,7 @@ onMounted(() => {});
.familyPlanning {
width: 96%;
background-image: url(@/assets/images/lysd/lysd_4.png);
background-image: url(@/assets/images/infant/yysy_3.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
@ -456,7 +455,7 @@ onMounted(() => {});
}
.service {
background-image: url(@/assets/images/lysd/lysd_5.png);
background-image: url(@/assets/images/infant/yysy_4.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
@ -623,7 +622,7 @@ onMounted(() => {});
}
.center_2 {
width: 96%;
background-image: url(@/assets/images/lysd/lysd_3.png);
background-image: url(@/assets/images/infant/yysy_2.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
@ -660,9 +659,6 @@ onMounted(() => {});
}
.right5 {
margin-left: 14px;
display: flex;
flex-direction: column;
justify-content: space-between;
.font {
font-family: PingFangSC, PingFang SC;
font-weight: 500;
@ -678,7 +674,7 @@ onMounted(() => {});
height: 7px;
}
.right5_bottom {
// margin-top: 13px;
margin-top: 13px;
// padding: 5px;
font-size: 22px;
color: #2ef1ff;