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

View File

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