From 042edaae09cb95905b957312a0440bb903fd4fa7 Mon Sep 17 00:00:00 2001 From: duanxiaohai <1812246227@qq.com> Date: Tue, 26 Nov 2024 16:24:19 +0800 Subject: [PATCH] gx --- src/view/dialog/dialogLC.vue | 37 ++++++++----- src/view/sy_details.vue | 101 +++++++++++++++++++++-------------- 2 files changed, 83 insertions(+), 55 deletions(-) diff --git a/src/view/dialog/dialogLC.vue b/src/view/dialog/dialogLC.vue index b612abc..440593d 100644 --- a/src/view/dialog/dialogLC.vue +++ b/src/view/dialog/dialogLC.vue @@ -170,6 +170,8 @@ const data = reactive({ disposalTime: "", completionTime: "", nr: "", + verifyName: "", + verifyTime: "", }, active: 4, //步骤条进度 stepdata: [ @@ -201,8 +203,8 @@ const onMenu = (val, index) => { }); data.menu[index].show = true; // emit("openLCQX", val.bm); - data.content.bm = val.bm - openLCQXs() + data.content.bm = val.bm; + openLCQXs(); }; const openLCQXs = () => { http @@ -217,16 +219,18 @@ const openLCQXs = () => { // data.content.disposalTime = ""; // data.content.completionTime = ""; // data.content.nr = ""; - // 初始化字段为空 - Object.assign(data.content, { + // 初始化字段为空 + Object.assign(data.content, { sendTime: "", ywdw: "", ywfzr: "", disposalTime: "", completionTime: "", - nr: "" + nr: "", + verifyName: "", + verifyTime: "", }); - + if (res.data && res.data.length > 0) { data.content.sendTime = res.data[0]?.sendTime.split(" ")[0]; data.content.ywdw = "asdasd "; @@ -236,6 +240,8 @@ const openLCQXs = () => { data.content.completionTime = res.data[2]?.completionTime.split(" ")[0]; data.content.nr = res.data[2]?.nr; + data.content.verifyName = res.data[3]?.verifyName; + data.content.verifyTime = res.data[3]?.verifyTime; } data.stepdata[0].description = `推送时间:${ data.content.sendTime || "未核实" @@ -257,10 +263,9 @@ const openLCQXs = () => { } else { data.stepdata[2].description = "未核实"; } - data.stepdata[3].description = `核实日期: ${ - data.content.time1 || "未核实" - }`; - + data.stepdata[3].description = `核实负责人:${ + data.content.verifyName || "未核实" + }\n核实日期: ${data.content.verifyTime || "未核实"}`; } }); }; @@ -325,8 +330,10 @@ watch( } else { data.stepdata[2].description = "未核实"; } - data.stepdata[3].description = `核实日期: ${ - data.content.time1 || "未核实" + data.stepdata[3].description = `核实负责人:${ + data.content.verifyName || "未核实" + }\n核实日期: ${ + data.content.verifyTime || "未核实" }`; } else { // data.menu[0].label = data.content.bt @@ -369,8 +376,10 @@ watch( } else { data.stepdata[2].description = "未核实"; } - data.stepdata[3].description = `核实日期: ${ - data.content.time1 || "未核实" + data.stepdata[3].description = `核实负责人:${ + data.content.verifyName || "未核实" + }\n核实日期: ${ + data.content.verifyTime || "未核实" }`; } } diff --git a/src/view/sy_details.vue b/src/view/sy_details.vue index 8ac7b9c..9ee2de5 100644 --- a/src/view/sy_details.vue +++ b/src/view/sy_details.vue @@ -283,7 +283,7 @@ :tableData="Process.data" :menu="Process.menu" @close="closeProcess" - > + > @@ -625,6 +625,10 @@ const Process = reactive({ disposalTime: "未核实", completionTime: "未核实", nr: "未核实", + verifyName: "未核实", + verifyTime: "未核实", + + }, menu: [], }); @@ -824,7 +828,7 @@ const openLC = (val) => { data.identNo = val.sfzhm; Process.data.sfzhm = val.sfzhm; Process.data.xh = routers.query.xh; - + http .get(`/api/ggfwyth/pg/fwllclx?sfzhm=${data.identNo}&xh=${routers.query.xh}`) .then((res) => { @@ -870,7 +874,7 @@ const openLC = (val) => { }); } if (data.name == "最低生活保障") { - Process.data.show = false; + Process.data.show = false; res.data.forEach((item, index) => { Process.menu.push({ label: item.bzlx, @@ -900,47 +904,58 @@ const openLC = (val) => { } else if (data.name == "城乡居民基本医疗保险") { Process.data.show = false; Process.data.bt = data.name; - const rescueData = { - 339655: "符合救助条件 \n自付金额165250.35元,已临时救助9900元 ", - 345797: "符合救助条件 \n自付金额50569.35元,已临时救助5330.52元 ", - 59715: "符合救助条件 \n自付金额72308.79元,已临时救助6130元 ", - 259384: "符合救助条件 \n自付金额82337.19元,已临时救助9900元 ", - 364099: "符合救助条件 \n自付金额60668.46元,已临时救助1532.91元 ", - 37083: "符合救助条件 \n自付金额76284.15元,已临时救助9900元 ", - }; - const timeData = { - 339655: "2024.11.19", - 345797: "2024.11.19", - 59715: "2024.11.15", - 259384: "2024.11.15", - 364099: "2024.11.15", - 37083: "2024.11.15", - }; - const timeData1 = { - 339655: "未核实", - 345797: "未核实", - 59715: "网格员:张* \n核实日期:2024.11.18", - 259384: "网格员:王* \n核实日期:2024.11.18", - 364099: "网格员:李* \n核实日期:2024.11.18", - 37083: "网格员:陈* \n核实日期:2024.11.18", - }; - - if (rescueData[val.sfzhm]) { - Process.data.ywfzr = rescueData[val.sfzhm]; - Process.data.completionTime = timeData[val.sfzhm]; - Process.data.time1 = timeData1[val.sfzhm]; - } - res.data.forEach((item, index) => { Process.menu.push({ label: item.bzlx, property: maskYwfzr(item.ywfzr), yw: `${item.qtbm}-${item.zrks}`, - show: true, + bm: item.bm, + show: false, }); }); - // openLCQX(); - dialogShowProcess.value = true; + + // const rescueData = { + // 339655: "符合救助条件 \n自付金额165250.35元,已临时救助9900元 ", + // 345797: "符合救助条件 \n自付金额50569.35元,已临时救助5330.52元 ", + // 59715: "符合救助条件 \n自付金额72308.79元,已临时救助6130元 ", + // 259384: "符合救助条件 \n自付金额82337.19元,已临时救助9900元 ", + // 364099: "符合救助条件 \n自付金额60668.46元,已临时救助1532.91元 ", + // 37083: "符合救助条件 \n自付金额76284.15元,已临时救助9900元 ", + // }; + // const timeData = { + // 339655: "2024.11.19", + // 345797: "2024.11.19", + // 59715: "2024.11.15", + // 259384: "2024.11.15", + // 364099: "2024.11.15", + // 37083: "2024.11.15", + // }; + // const timeData1 = { + // 339655: "未核实", + // 345797: "未核实", + // 59715: "网格员:张* \n核实日期:2024.11.18", + // 259384: "网格员:王* \n核实日期:2024.11.18", + // 364099: "网格员:李* \n核实日期:2024.11.18", + // 37083: "网格员:陈* \n核实日期:2024.11.18", + // }; + + // if (rescueData[val.sfzhm]) { + // Process.data.ywfzr = rescueData[val.sfzhm]; + // Process.data.completionTime = timeData[val.sfzhm]; + // Process.data.time1 = timeData1[val.sfzhm]; + // } + + // res.data.forEach((item, index) => { + // Process.menu.push({ + // label: item.bzlx, + // property: maskYwfzr(item.ywfzr), + // yw: `${item.qtbm}-${item.zrks}`, + // show: true, + // }); + // }); + + openLCQX(); + // dialogShowProcess.value = true; } else { Process.data.show = true; Process.data.yw = "医保局-龙游县医疗保障事业管理中心"; @@ -969,14 +984,18 @@ const openLCQX = () => { Process.data.disposalTime = ""; Process.data.completionTime = ""; Process.data.nr = ""; + Process.data.verifyName = ""; + Process.data.verifyTime = ""; + if (res.data && res.data.length > 0) { Process.data.sendTime = res.data[0]?.sendTime.split(" ")[0]; Process.data.ywdw = res.data[1]?.ywdw; Process.data.ywfzr = res.data[1]?.ywfzr; Process.data.disposalTime = res.data[1]?.disposalTime.split(" ")[0]; - Process.data.completionTime = - res.data[2]?.completionTime.split(" ")[0]; + Process.data.completionTime = res.data[2]?.completionTime.split(" ")[0]; Process.data.nr = res.data[2]?.nr; + Process.data.verifyName = res.data[3]?.verifyName; + Process.data.verifyTime = res.data[3]?.verifyTime; } dialogShowProcess.value = true; } @@ -984,7 +1003,7 @@ const openLCQX = () => { }; // const openLCQXs = (val) => { // console.log(u.value); - + // http // .get( // `/api/ggfwyth/pg/fwllcxq?sfzhm=${data.identNo}&xh=${routers.query.xh}&bm=${val}` @@ -1047,7 +1066,7 @@ const openLCQX = () => { // }); // u.value=Process.data; // console.log(u.value); - + // }; const isLoading = ref(true);