From b8f05499cb0faaa1f1886578ed5fd2d286db484d Mon Sep 17 00:00:00 2001
From: duanxiaohai <1812246227@qq.com>
Date: Fri, 16 Aug 2024 14:54:26 +0800
Subject: [PATCH] gx
---
src/view/person/index.vue | 8 ++++---
src/view/sy_details.vue | 47 +++++++++++++++++++++------------------
2 files changed, 30 insertions(+), 25 deletions(-)
diff --git a/src/view/person/index.vue b/src/view/person/index.vue
index 9af3db5..693d3de 100644
--- a/src/view/person/index.vue
+++ b/src/view/person/index.vue
@@ -27,9 +27,9 @@
-
政治面貌
+
年 龄
-
{{ baseInfo.zzmm || "" }}
+
{{ baseInfo.age || "" }}
@@ -839,7 +839,9 @@ onMounted(() => {
if (routers.query.type) {
dataMyTag.identNo = routers.query.identNo;
jump.value = "detail";
- getData(routers.query.identNo);
+ if (routers.query.identNo !== undefined) {
+ getData(routers.query.identNo);
+ }
onClickTag2("出生", "出生");
} else {
jump.value = "map";
diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue
index e3b7a02..a342e20 100644
--- a/src/view/sy_details.vue
+++ b/src/view/sy_details.vue
@@ -143,6 +143,7 @@
class="table_border"
:row-style="rowState"
:header-cell-style="tableHeaderColor"
+ @row-click="handleRowClick"
>
{
case "慢性病患者健康管理":
break;
case "义务教育学生生活补助":
+ getTable(pagination);
break;
case "义务教育学生营养改善计划":
break;
@@ -1602,7 +1603,7 @@ const handleRowClick = (row, column, event) => {
console.log(row);
router.push({
path: `/home/index/person`,
- query: { identNo: row.sfzhm, type: "detail" },
+ query: { identNo: row.identNo, type: "detail" },
});
};
const updateFormDataAndTable = (formDataName, tableData) => {
@@ -1625,14 +1626,14 @@ const listAssignment = () => {
case "最低生活保障":
updateFormDataAndTable("低保", formData.dbTableData);
data.tableData2 = formData.dbTableData.resultsList;
- pagination.url = "/api/ggfwyth/pg/lyxsdbrymd";
+ pagination.url = "/api/ggfwyth/pg/shjzShbz";
getTable(pagination);
break;
case "老年人福利补贴":
data.tabelshow = false;
updateFormDataAndTable("户籍老年人", formData.hjlnrTableData);
- pagination.url = "/api/ggfwyth/pg/lnrfw";
- pagination2.url = "/api/ggfwyth/pg/lnrfw";
+ pagination.url = "/api/ggfwyth/pg/ylzlFlbt";
+ pagination2.url = "/api/ggfwyth/pg/ylzlFlbt";
getServiceList(pagination, 1);
getServiceList(pagination2, 0);
break;
@@ -1641,6 +1642,8 @@ const listAssignment = () => {
break;
case "义务教育学生生活补助":
updateFormDataAndTable("困难学生", formData.shbz_knxs_TableData);
+ pagination.url = "/api/ggfwyth/pg/ywjyShbz";
+ getTable(pagination);
break;
case "义务教育学生营养改善计划":
updateFormDataAndTable("困难学生", formData.yygs_knxs_TableData);