This commit is contained in:
姚宇浩 2024-06-12 11:27:16 +08:00
parent 7c15dbe66a
commit 4e7e00b234
4 changed files with 28 additions and 21 deletions

View File

@ -131,7 +131,7 @@ const option = {
title: [
{
text: "99.25%",
text: `${((dataList[0].value / dataList[1].value)*100).toFixed(2)}%`,
right: "18%",
bottom: "40%",
textStyle: {

View File

@ -127,8 +127,9 @@ const option = {
title: [
{
text: "0.03%",
right: "22%",
// text: "0.03%",
text:`${((dataList[0].value / dataList[1].value)*100).toFixed(2)}%`,
right: "19%",
bottom: "40%",
textStyle: {
color: "#ffffff",

View File

@ -126,8 +126,8 @@ const option = {
title: [
{
text: "0.02%",
right: "22%",
text: `${((dataList[0].value / dataList[1].value)*100).toFixed(2)}%`,
right: "19%",
bottom: "40%",
textStyle: {
color: "#ffffff",

View File

@ -183,7 +183,10 @@
</div>
</div>
<div class="history">
<div class="history1" @click="showDialog('养老机构', '')">
<div
class="history1"
@click="showDialog('养老机构', '/api/ggfwyth/yljghmcList')"
>
<div>
<span>{{ data.yljgzlzx.yljg }}<span class="unit"></span></span>
</div>
@ -198,7 +201,12 @@
<img src="@/assets/YLimg/ylimg3.png" alt="" />
<img class="historyimg" src="@/assets/YLimg/ylimg6.png" alt="" />
</div> -->
<div class="history1" @click="showDialog('居家养老服务照料中心', '')">
<div
class="history1"
@click="
showDialog('居家养老服务照料中心', '/api/ggfwyth/yljgzlzxList')
"
>
<div>
<span>{{ data.yljgzlzx.zlzx }}<span class="unit"></span></span>
</div>
@ -345,15 +353,15 @@ const xz_column = ref([
const yl_column = ref([
{
label: "机构名称",
property: "name",
property: "mc",
},
{
label: "机构地址",
property: "address",
property: "dz",
},
{
label: "老人数量",
property: "oldMan",
property: "rzlrsl",
},
]);
//
@ -379,17 +387,15 @@ const showDialog = (title, url) => {
};
//
const getTable = (url, currentPage) => {
http
.get(`${url}?page=${currentPage}&size=${pagination.pageSize}`)
.then((res) => {
if (res.code == 200) {
tableType.data = res.data;
pagination.total = res.count;
dialogShow.value = true;
tableType.data = [];
// http
// .get(`${url}?page=${currentPage}&size=${pagination.pageSize}`)
// .then((res) => {
// if (res.code == 200) {
// tableType.data = res.data;
// pagination.total = res.count;
// dialogShow.value = true;
// }
// });
}
});
};
const close = () => {
dialogShow.value = false;