This commit is contained in:
parent
7c15dbe66a
commit
4e7e00b234
|
@ -131,7 +131,7 @@ const option = {
|
||||||
|
|
||||||
title: [
|
title: [
|
||||||
{
|
{
|
||||||
text: "99.25%",
|
text: `${((dataList[0].value / dataList[1].value)*100).toFixed(2)}%`,
|
||||||
right: "18%",
|
right: "18%",
|
||||||
bottom: "40%",
|
bottom: "40%",
|
||||||
textStyle: {
|
textStyle: {
|
||||||
|
|
|
@ -127,8 +127,9 @@ const option = {
|
||||||
|
|
||||||
title: [
|
title: [
|
||||||
{
|
{
|
||||||
text: "0.03%",
|
// text: "0.03%",
|
||||||
right: "22%",
|
text:`${((dataList[0].value / dataList[1].value)*100).toFixed(2)}%`,
|
||||||
|
right: "19%",
|
||||||
bottom: "40%",
|
bottom: "40%",
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: "#ffffff",
|
color: "#ffffff",
|
||||||
|
|
|
@ -126,8 +126,8 @@ const option = {
|
||||||
|
|
||||||
title: [
|
title: [
|
||||||
{
|
{
|
||||||
text: "0.02%",
|
text: `${((dataList[0].value / dataList[1].value)*100).toFixed(2)}%`,
|
||||||
right: "22%",
|
right: "19%",
|
||||||
bottom: "40%",
|
bottom: "40%",
|
||||||
textStyle: {
|
textStyle: {
|
||||||
color: "#ffffff",
|
color: "#ffffff",
|
||||||
|
|
|
@ -183,7 +183,10 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="history">
|
<div class="history">
|
||||||
<div class="history1" @click="showDialog('养老机构', '')">
|
<div
|
||||||
|
class="history1"
|
||||||
|
@click="showDialog('养老机构', '/api/ggfwyth/yljghmcList')"
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ data.yljgzlzx.yljg }}<span class="unit">个</span></span>
|
<span>{{ data.yljgzlzx.yljg }}<span class="unit">个</span></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -198,7 +201,12 @@
|
||||||
<img src="@/assets/YLimg/ylimg3.png" alt="" />
|
<img src="@/assets/YLimg/ylimg3.png" alt="" />
|
||||||
<img class="historyimg" src="@/assets/YLimg/ylimg6.png" alt="" />
|
<img class="historyimg" src="@/assets/YLimg/ylimg6.png" alt="" />
|
||||||
</div> -->
|
</div> -->
|
||||||
<div class="history1" @click="showDialog('居家养老服务照料中心', '')">
|
<div
|
||||||
|
class="history1"
|
||||||
|
@click="
|
||||||
|
showDialog('居家养老服务照料中心', '/api/ggfwyth/yljgzlzxList')
|
||||||
|
"
|
||||||
|
>
|
||||||
<div>
|
<div>
|
||||||
<span>{{ data.yljgzlzx.zlzx }}<span class="unit">个</span></span>
|
<span>{{ data.yljgzlzx.zlzx }}<span class="unit">个</span></span>
|
||||||
</div>
|
</div>
|
||||||
|
@ -345,15 +353,15 @@ const xz_column = ref([
|
||||||
const yl_column = ref([
|
const yl_column = ref([
|
||||||
{
|
{
|
||||||
label: "机构名称",
|
label: "机构名称",
|
||||||
property: "name",
|
property: "mc",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "机构地址",
|
label: "机构地址",
|
||||||
property: "address",
|
property: "dz",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "老人数量",
|
label: "老人数量",
|
||||||
property: "oldMan",
|
property: "rzlrsl",
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
// 表格分页
|
// 表格分页
|
||||||
|
@ -379,17 +387,15 @@ const showDialog = (title, url) => {
|
||||||
};
|
};
|
||||||
//获取表格数据
|
//获取表格数据
|
||||||
const getTable = (url, currentPage) => {
|
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;
|
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 = () => {
|
const close = () => {
|
||||||
dialogShow.value = false;
|
dialogShow.value = false;
|
||||||
|
|
Loading…
Reference in New Issue