This commit is contained in:
duanxiaohai 2024-05-21 16:20:38 +08:00
parent 2b717611d7
commit 13160e4954
2 changed files with 22 additions and 21 deletions

View File

@ -13,13 +13,13 @@
<span class="left">收入</span
><span class="right">{{
data.LivelihoodWelfare.zgylbxzsr
}}</span>
}}万元</span>
</div>
<div class="sr" style="margin-top: 5px">
<span class="left">支出</span
><span class="right">{{
data.LivelihoodWelfare.zgylbxzzc
}}</span>
}}万元</span>
</div>
</div>
</div>
@ -28,11 +28,13 @@
<div class="item_content">
<div class="sr">
<span class="left">收入</span
><span class="right">{{ data.LivelihoodWelfare.gsbxzsr }}</span>
><span class="right"
>{{ data.LivelihoodWelfare.gsbxzsr }}万元</span
>
</div>
<div class="sr" style="margin-top: 5px">
<span class="left">支出</span
><span class="right">{{ data.LivelihoodWelfare.gsbxzzc }}</span>
><span class="right">{{ data.LivelihoodWelfare.gsbxzzc }}万元</span>
</div>
</div>
</div>
@ -45,13 +47,13 @@
<span class="left">收入</span
><span class="right">{{
data.LivelihoodWelfare.cxylbxzsr
}}</span>
}}万元</span>
</div>
<div class="sr" style="margin-top: 5px">
<span class="left">支出</span
><span class="right">{{
data.LivelihoodWelfare.cxylbxzzc
}}</span>
}}万元</span>
</div>
</div>
</div>
@ -64,13 +66,13 @@
<span class="left">收入</span
><span class="right">{{
data.LivelihoodWelfare.zgyilbxzsr
}}</span>
}}万元</span>
</div>
<div class="sr" style="margin-top: 5px">
<span class="left">支出</span
><span class="right">{{
data.LivelihoodWelfare.zgyilbxzzc
}}</span>
}}万元</span>
</div>
</div>
</div>
@ -83,13 +85,13 @@
<span class="left">收入</span
><span class="right">{{
data.LivelihoodWelfare.cxyilbxzsr
}}</span>
}}万元</span>
</div>
<div class="sr" style="margin-top: 5px">
<span class="left">支出</span
><span class="right">{{
data.LivelihoodWelfare.cxyilbxzzc
}}</span>
}}万元</span>
</div>
</div>
</div>
@ -357,9 +359,9 @@ const data = reactive({
jzgzs: "0", //
},
employmentService: {
jypx: '0', //
jyjxfw: '0', //
jyyz: '0', //
jypx: "0", //
jyjxfw: "0", //
jyyz: "0", //
}, //
LivelihoodWelfare: {
zgylbxzsr: "0", //
@ -637,7 +639,6 @@ const ylwsList = ref([
},
]);
const jtsyList = ref([
{
name: "公共自行车",
@ -748,9 +749,7 @@ const getData = async () => {
];
if (data.LivelihoodWelfare) {
msfzKeys.forEach((key) => {
data.LivelihoodWelfare[key] = addThousandSeparator(
res.data.msfz[key]
);
data.LivelihoodWelfare[key] = (res.data.msfz[key] / 10000).toFixed(2) ;
});
}
//
@ -768,7 +767,9 @@ const getData = async () => {
//
const jyfwKeys = ["jypx", "jyjxfw", "jyyz"];
jyfwKeys.forEach((key) => {
data.employmentService[key] = addThousandSeparator(res.data.jyfw[key].toString());
data.employmentService[key] = addThousandSeparator(
res.data.jyfw[key].toString()
);
});
// &&
data.PopulationData = res.data.rksj;

View File

@ -15,8 +15,8 @@ export default defineConfig({
// 第一个代理
"/api": {
// 匹配到啥来进行方向代理
// target: "http://192.168.2.42:8095/", //周源
target: "http://220.191.238.50:996/", //周源
target: "http://192.168.2.42:8095/", //周源
// target: "http://220.191.238.50:996/", //周源
changeOrigin: true, //是否支持跨域
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
},