From 4d3b88f1874c6753d129e05b8a1f75b899a97e25 Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Tue, 10 Sep 2024 17:18:52 +0800 Subject: [PATCH] gx --- src/view/sy_details.vue | 179 +++++++++++++++++++++++++++++++++------- 1 file changed, 151 insertions(+), 28 deletions(-) diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue index 17ba4c9..f0a6bcb 100644 --- a/src/view/sy_details.vue +++ b/src/view/sy_details.vue @@ -1429,6 +1429,20 @@ const formData = reactive({ property: "bq", }, ], + column_3: [ + { + label: "服务内容", + property: "fwnr", + align: "left", + }, + { + label: "结果", + property: "zt", + width: "200", + align: "center", + type: "slot", + }, + ], tableData: [ { SerialNumber: "01", @@ -1441,11 +1455,12 @@ const formData = reactive({ resultsList: [], tableData2: [ { - xm: "吴*琴", + xm: "方*英", zt: 1, dz: "浙江省龙游县龙*****1单元401室", age: "38", bq: "糖尿病,高血压", + identNo: 74, }, { xm: "吴*琴", @@ -1520,6 +1535,23 @@ const formData = reactive({ bq: "糖尿病,高血压", }, ], + tableData3: [ + { + fwnr: "经济困难老年人发放养老护理补贴每月125", + zt: 1, + identNo: "309601", + }, + { + fwnr: "经济困难老年人发放养老护理补贴每月125", + zt: 2, + identNo: "309601", + }, + { + fwnr: "经济困难老年人发放养老护理补贴每月125", + zt: 3, + identNo: "309601", + }, + ], }, shbz_knxs_TableData: { url: "", @@ -1571,6 +1603,7 @@ const formData = reactive({ label: "姓名", property: "xm", width: "90", + type: "slot", }, { label: "状态", @@ -1592,6 +1625,20 @@ const formData = reactive({ // property: "ident_no", // }, ], + column_3: [ + { + label: "服务内容", + property: "fwnr", + align: "left", + }, + { + label: "结果", + property: "zt", + width: "200", + align: "center", + type: "slot", + }, + ], tableData: [ { SerialNumber: "01", @@ -1730,6 +1777,7 @@ const formData = reactive({ zt: 1, xx: "寺后小学", bzlx: "原外地建档", + identNo:'369167', }, { xm: "何*媱", @@ -1816,6 +1864,28 @@ const formData = reactive({ bzlx: "原外地建档", }, ], + tableData3: [ + { + fwnr: "经济困难老年人发放养老护理补贴每月125元,同时很据能力评估等级发放养老服务补贴:重度失能每人每月500元、中度失能每人每月250元、轻度失能每人每月125元。", + zt: 1, + identNo: "309601", + }, + { + fwnr: "80周岁(含)至89周岁的老年人,每人每月享受60元高龄老人生活津贴:90周岁(含)至98司岁的老年人,每人每明享受160元高龄老人生活连贴:99同岁及以上的老年人,每人每月享安1000元长寿保健补助金。", + zt: 2, + identNo: "309601", + }, + { + fwnr: "80周岁以上老年人每年,80周岁以下老年人每两年可申请免费评估一次。", + zt: 3, + identNo: "309601", + }, + { + fwnr: "病儿童经济困难老年人发放养老护理补贴每月125元,同时很据能力评估等级发放养老服务补贴:重度失能每人每月500元、中度失能每人每月250元、轻度失能每人每月125元。171.4元/月", + zt: 1, + identNo: "309601", + }, + ], }, yygs_knxs_TableData: { url: "", @@ -1863,6 +1933,7 @@ const formData = reactive({ label: "姓名", property: "xm", width: "90", + type: "slot", }, { label: "状态", @@ -1884,6 +1955,20 @@ const formData = reactive({ // property: "ident_no", // }, ], + column_3: [ + { + label: "服务内容", + property: "fwnr", + align: "left", + }, + { + label: "结果", + property: "zt", + width: "200", + align: "center", + type: "slot", + }, + ], tableData: [ { SerialNumber: "01", @@ -2017,11 +2102,12 @@ const formData = reactive({ }, ], tableData2: [ - { + { xm: "何*媱", zt: 1, xx: "寺后小学", bzlx: "原外地建档", + identNo:'369167', }, { xm: "何*媱", @@ -2108,6 +2194,28 @@ const formData = reactive({ bzlx: "原外地建档", }, ], + tableData3: [ + { + fwnr: "经济困难老年人发放养老护理补贴每月125元,同时很据能力评估等级发放养老服务补贴:重度失能每人每月500元、中度失能每人每月250元、轻度失能每人每月125元。", + zt: 1, + identNo: "309601", + }, + { + fwnr: "80周岁(含)至89周岁的老年人,每人每月享受60元高龄老人生活津贴:90周岁(含)至98司岁的老年人,每人每明享受160元高龄老人生活连贴:99同岁及以上的老年人,每人每月享安1000元长寿保健补助金。", + zt: 2, + identNo: "309601", + }, + { + fwnr: "80周岁以上老年人每年,80周岁以下老年人每两年可申请免费评估一次。", + zt: 3, + identNo: "309601", + }, + { + fwnr: "病儿童经济困难老年人发放养老护理补贴每月125元,同时很据能力评估等级发放养老服务补贴:重度失能每人每月500元、中度失能每人每月250元、轻度失能每人每月125元。171.4元/月", + zt: 1, + identNo: "309601", + }, + ], }, }); // 表格分页1、2、3 @@ -2388,38 +2496,52 @@ const statusDetails = (val) => { offset: 100, // 距离窗口顶部的偏移量 }); } else { - tableType.columns = formData.hjlnrTableData.column_3; - tableType.data = formData.hjlnrTableData.tableData3; - pagination3.total = formData.hjlnrTableData.tableData3.length; + tableType.columns = formData.lmbhzTableData.column_3; + tableType.data = formData.lmbhzTableData.tableData3; + pagination3.total = formData.lmbhzTableData.tableData3.length; + tableType.character = { + ...val, + titleName: formData.name, + }; dialogShow.value = true; } break; case "义务教育学生生活补助": data.identNo = val.identNo; - if (data.identNo !== null) { - tableType.columns = formData.hjlnrTableData.column_3; - tableType.data = formData.hjlnrTableData.tableData3; - pagination3.total = formData.hjlnrTableData.tableData3.length; - dialogShow.value = true; - } else { + if (data.identNo == null) { ElMessage.warning({ message: `${val.xm}无id!`, offset: 100, // 距离窗口顶部的偏移量 }); + } else { + tableType.columns = formData.hjlnrTableData.column_3; + tableType.data = formData.hjlnrTableData.tableData3; + pagination3.total = formData.hjlnrTableData.tableData3.length; + tableType.character = { + ...val, + titleName: formData.name, + }; + dialogShow.value = true; + } break; case "义务教育学生营养改善计划": data.identNo = val.identNo; if (data.identNo !== null) { - tableType.columns = formData.hjlnrTableData.column_3; - tableType.data = formData.hjlnrTableData.tableData3; - pagination3.total = formData.hjlnrTableData.tableData3.length; - dialogShow.value = true; - } else { ElMessage.warning({ message: `${val.xm}无id!`, offset: 100, // 距离窗口顶部的偏移量 }); + } else { + tableType.columns = formData.hjlnrTableData.column_3; + tableType.data = formData.hjlnrTableData.tableData3; + pagination3.total = formData.hjlnrTableData.tableData3.length; + tableType.character = { + ...val, + titleName: formData.name, + }; + dialogShow.value = true; + } break; default: @@ -2529,30 +2651,31 @@ const handleRowClick = (row) => { break; case "义务教育学生生活补助": data.identNo = row.identNo; - if (data.identNo !== null) { - router.push({ - path: `/home/index/person`, - query: { identNo: data.identNo, type: "detail" }, - }); - } else { + if (data.identNo == null) { ElMessage.warning({ message: `${row.xm}无id!`, offset: 100, // 距离窗口顶部的偏移量 }); + } else { + router.push({ + path: `/home/index/person`, + query: { identNo: data.identNo, type: "detail" }, + }); + } break; case "义务教育学生营养改善计划": data.identNo = row.identNo; - if (data.identNo !== null) { - router.push({ - path: `/home/index/person`, - query: { identNo: data.identNo, type: "detail" }, - }); - } else { + if (data.identNo == null) { ElMessage.warning({ message: `${row.xm}无id!`, offset: 100, // 距离窗口顶部的偏移量 }); + } else { + router.push({ + path: `/home/index/person`, + query: { identNo: data.identNo, type: "detail" }, + }); } break; default: