diff --git a/dist.zip b/dist.zip deleted file mode 100644 index c74bc64..0000000 Binary files a/dist.zip and /dev/null differ diff --git a/src/view/sy.vue b/src/view/sy.vue index df28190..86289c3 100644 --- a/src/view/sy.vue +++ b/src/view/sy.vue @@ -292,12 +292,16 @@ > {{ item.name }} -
{{ item.key1 }}
- :{{ item.key1_value }} +
{{ item.key1 }}
+ :{{ + item.key1_value + }} - {{ item.key2 }}:{{ item.key2_value }} + {{ item.key2 }}:{{ + item.key2_value + }} @@ -320,9 +324,9 @@ import http from "@/utils/request.js"; const data = reactive({ PopulationData: { - rkzs: "", - man: "", - woman: "", + rkzs: "0", + man: "0", + woman: "0", }, //人口数据 ageGroup: { nl17: "0", // 17岁以下人口总数 @@ -343,9 +347,9 @@ const data = reactive({ }, ageRatio: [], salvageServices: { - jzrc: "", //救助人次 - jzje: "", //救助金额 - nf: "", //救助年份 + jzrc: "0", //救助人次 + jzje: "0", //救助金额 + nf: "0", //救助年份 }, //救助服务 LivelihoodWelfare: { zgylbxzsr: "0", //职工基本养老保险总收入 @@ -417,31 +421,31 @@ const data = reactive({ ylwsList: [ { name: "医院卫生院", - value: 50, + value: 0, }, { name: "注册护士", - value: 38.871, + value: 0, }, { name: "职业医生", - value: 28.871, + value: 0, }, { name: "家庭签约医生", - value: 6.871, + value: 0, }, { name: "医院卫生院床位数", - value: 18.261, + value: 0, }, { name: "健康档案建档", - value: 129.371, + value: 0, }, { name: "村社卫生服务站", - value: 98, + value: 0, }, ], whsyList: [ @@ -903,7 +907,20 @@ const getData = async () => { }); // 公共服务&企业服务&政府服务 // 医疗卫生 - // 文化事业 + const ylwsKeys = [ + "yywsysl", + "zchssl", + "zyyssl", + "jtqyyssl", + "yywsycws", + "jkdajdfs", + "cswsfwzs", + ]; + + ylwsKeys.forEach((key, index) => { + data.ylwsList[index].value = addThousandSeparator(res.data.ylws[key]); + }); + // 文化体育事业 // data.whsyList[0].value = addThousandSeparator(res.data.whtysy.ggtsg); // data.whsyList[1].value = addThousandSeparator(res.data.whtysy.zcs); // data.whsyList[2].value = addThousandSeparator(res.data.whtysy.sxxxcs); @@ -1804,7 +1821,6 @@ table { padding-left: 30px; box-sizing: border-box; letter-spacing: 2px; - } } }