Merge branch 'main' of git.zdool.com:xs/ggfwjsc

This commit is contained in:
lnn19986213 2024-06-04 17:04:52 +08:00
commit d339906493
3 changed files with 16 additions and 24 deletions

View File

@ -7,12 +7,6 @@ import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import './assets/css/common.css'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
zhCn.el.pagination = {
goto: "跳转至",
pageClassifier: "",
pagesize: "",
total: "共 {total} 条",
};
createApp(App).use(router).use(ElementPlus,{
locale: zhCn,
}).mount('#app')

View File

@ -246,7 +246,7 @@ const getOption = () => {
yAxisIndex: 0,
name: "特困救助人次",
data: data.list1,
barWidth: 15,
barWidth: 10,
type: "bar",
// itemStyle: {
// color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
@ -282,7 +282,7 @@ const getOption = () => {
yAxisIndex: 0,
name: "低保救助人次",
data: data.list2,
barWidth: 15,
barWidth: 10,
type: "bar",
itemStyle: {
color: {
@ -318,7 +318,7 @@ const getOption = () => {
yAxisIndex: 0,
name: "低边救助人次",
data: data.list3,
barWidth: 15,
barWidth: 10,
type: "bar",
itemStyle: {
color: {
@ -386,8 +386,8 @@ const getOption = () => {
symbolPosition: "end",
data: data.list1,
symbol: "diamond",
symbolOffset: ["-45%", "-50%"],
symbolSize: [16, 8],
symbolOffset: ["-20%", "-50%"],
symbolSize: [14, 8],
itemStyle: {
borderColor: "#2fffa4",
color: "rgba(142, 187, 255, 1)",
@ -401,7 +401,7 @@ const getOption = () => {
data: data.list2,
symbol: "diamond",
symbolOffset: ["0", "-50%"],
symbolSize: [16, 8],
symbolSize: [14, 8],
itemStyle: {
borderColor: "#2fffa4",
color: "rgba(23, 136, 255, 1)",
@ -414,8 +414,8 @@ const getOption = () => {
symbolPosition: "end",
data: data.list3,
symbol: "diamond",
symbolOffset: [7.5, "-50%"],
symbolSize: [16, 8],
symbolOffset: [5, "-50%"],
symbolSize: [14, 8],
itemStyle: {
borderColor: "#32ffee",
color: "rgba(23, 237, 255, 1)",

View File

@ -909,7 +909,7 @@ const data = reactive({
{
name: "总藏书",
value: "1983",
dw: "册",
dw: "册",
},
{
name: "送戏下乡次数",
@ -1173,20 +1173,18 @@ const getData = async () => {
const jzfwKeys = ["jzrc", "jzje", "nf"];
if (data.salvageServices) {
jzfwKeys.forEach((key) => {
data.salvageServices[key] = addThousandSeparator(res.data.jzfw[key]);
data.salvageServices[key] = res.data.jzfw[key];
});
}
// &
const jysyKeys = ["xxzs", "xszs", "jzgzs"];
jysyKeys.forEach((key) => {
data.education[key] = addThousandSeparator(res.data.xxgk[key]);
data.education[key] = res.data.xxgk[key];
});
//
const jyfwKeys = ["jypx", "jyjxfw", "jyyz"];
jyfwKeys.forEach((key) => {
data.employmentService[key] = addThousandSeparator(
res.data.jyfw[key].toString()
);
data.employmentService[key] = res.data.jyfw[key].toString();
});
// &&
data.PopulationData = res.data.rksj;
@ -1194,7 +1192,7 @@ const getData = async () => {
if (data.PopulationData) {
const rkjsKeys = ["rkzs", "man", "woman"];
rkjsKeys.forEach((key) => {
data.PopulationData[key] = addThousandSeparator(res.data.rksj[key]);
data.PopulationData[key] = res.data.rksj[key];
});
//
const ageGroupKeys = [
@ -1240,17 +1238,17 @@ const getData = async () => {
"cswsfwzs",
];
ylwsKeys.forEach((key, index) => {
data.ylwsList[index].value = addThousandSeparator(res.data.ylws[key]);
data.ylwsList[index].value = res.data.ylws[key];
});
//
const whsyKeys = ["ggtsg", "zcs", "sxxxcs", "bwgcgcs", "tsjycs"];
whsyKeys.forEach((key, index) => {
data.whsyList[index].value = addThousandSeparator(res.data.whtysy[key]);
data.whsyList[index].value =res.data.whtysy[key];
});
//
const tysyKeys = ["zqcs", "lqcs", "ppqcs", "ymqcs", "lsbdcd"];
tysyKeys.forEach((key, index) => {
data.tysyList[index].value = addThousandSeparator(res.data.whtysy[key]);
data.tysyList[index].value =res.data.whtysy[key];
});
//
}