This commit is contained in:
duanxiaohai 2024-11-26 16:24:19 +08:00
parent f9db340e08
commit 042edaae09
2 changed files with 83 additions and 55 deletions

View File

@ -170,6 +170,8 @@ const data = reactive({
disposalTime: "", disposalTime: "",
completionTime: "", completionTime: "",
nr: "", nr: "",
verifyName: "",
verifyTime: "",
}, },
active: 4, // active: 4, //
stepdata: [ stepdata: [
@ -201,8 +203,8 @@ const onMenu = (val, index) => {
}); });
data.menu[index].show = true; data.menu[index].show = true;
// emit("openLCQX", val.bm); // emit("openLCQX", val.bm);
data.content.bm = val.bm data.content.bm = val.bm;
openLCQXs() openLCQXs();
}; };
const openLCQXs = () => { const openLCQXs = () => {
http http
@ -224,7 +226,9 @@ const openLCQXs = () => {
ywfzr: "", ywfzr: "",
disposalTime: "", disposalTime: "",
completionTime: "", completionTime: "",
nr: "" nr: "",
verifyName: "",
verifyTime: "",
}); });
if (res.data && res.data.length > 0) { if (res.data && res.data.length > 0) {
@ -236,6 +240,8 @@ const openLCQXs = () => {
data.content.completionTime = data.content.completionTime =
res.data[2]?.completionTime.split(" ")[0]; res.data[2]?.completionTime.split(" ")[0];
data.content.nr = res.data[2]?.nr; 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.stepdata[0].description = `推送时间:${
data.content.sendTime || "未核实" data.content.sendTime || "未核实"
@ -257,10 +263,9 @@ const openLCQXs = () => {
} else { } else {
data.stepdata[2].description = "未核实"; data.stepdata[2].description = "未核实";
} }
data.stepdata[3].description = `核实日期: ${ data.stepdata[3].description = `核实负责人:${
data.content.time1 || "未核实" data.content.verifyName || "未核实"
}`; }\n核实日期 ${data.content.verifyTime || "未核实"}`;
} }
}); });
}; };
@ -325,8 +330,10 @@ watch(
} else { } else {
data.stepdata[2].description = "未核实"; data.stepdata[2].description = "未核实";
} }
data.stepdata[3].description = `核实日期: ${ data.stepdata[3].description = `核实负责人:${
data.content.time1 || "未核实" data.content.verifyName || "未核实"
}\n核实日期 ${
data.content.verifyTime || "未核实"
}`; }`;
} else { } else {
// data.menu[0].label = data.content.bt // data.menu[0].label = data.content.bt
@ -369,8 +376,10 @@ watch(
} else { } else {
data.stepdata[2].description = "未核实"; data.stepdata[2].description = "未核实";
} }
data.stepdata[3].description = `核实日期: ${ data.stepdata[3].description = `核实负责人:${
data.content.time1 || "未核实" data.content.verifyName || "未核实"
}\n核实日期 ${
data.content.verifyTime || "未核实"
}`; }`;
} }
} }

View File

@ -625,6 +625,10 @@ const Process = reactive({
disposalTime: "未核实", disposalTime: "未核实",
completionTime: "未核实", completionTime: "未核实",
nr: "未核实", nr: "未核实",
verifyName: "未核实",
verifyTime: "未核实",
}, },
menu: [], menu: [],
}); });
@ -900,47 +904,58 @@ const openLC = (val) => {
} else if (data.name == "城乡居民基本医疗保险") { } else if (data.name == "城乡居民基本医疗保险") {
Process.data.show = false; Process.data.show = false;
Process.data.bt = data.name; 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) => { res.data.forEach((item, index) => {
Process.menu.push({ Process.menu.push({
label: item.bzlx, label: item.bzlx,
property: maskYwfzr(item.ywfzr), property: maskYwfzr(item.ywfzr),
yw: `${item.qtbm}-${item.zrks}`, yw: `${item.qtbm}-${item.zrks}`,
show: true, bm: item.bm,
show: false,
}); });
}); });
// openLCQX();
dialogShowProcess.value = true; // const rescueData = {
// 339655: " \n165250.359900 ",
// 345797: " \n50569.355330.52 ",
// 59715: " \n72308.796130 ",
// 259384: " \n82337.199900 ",
// 364099: " \n60668.461532.91 ",
// 37083: " \n76284.159900 ",
// };
// 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: "* \n2024.11.18",
// 259384: "* \n2024.11.18",
// 364099: "* \n2024.11.18",
// 37083: "* \n2024.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 { } else {
Process.data.show = true; Process.data.show = true;
Process.data.yw = "医保局-龙游县医疗保障事业管理中心"; Process.data.yw = "医保局-龙游县医疗保障事业管理中心";
@ -969,14 +984,18 @@ const openLCQX = () => {
Process.data.disposalTime = ""; Process.data.disposalTime = "";
Process.data.completionTime = ""; Process.data.completionTime = "";
Process.data.nr = ""; Process.data.nr = "";
Process.data.verifyName = "";
Process.data.verifyTime = "";
if (res.data && res.data.length > 0) { if (res.data && res.data.length > 0) {
Process.data.sendTime = res.data[0]?.sendTime.split(" ")[0]; Process.data.sendTime = res.data[0]?.sendTime.split(" ")[0];
Process.data.ywdw = res.data[1]?.ywdw; Process.data.ywdw = res.data[1]?.ywdw;
Process.data.ywfzr = res.data[1]?.ywfzr; Process.data.ywfzr = res.data[1]?.ywfzr;
Process.data.disposalTime = res.data[1]?.disposalTime.split(" ")[0]; Process.data.disposalTime = res.data[1]?.disposalTime.split(" ")[0];
Process.data.completionTime = Process.data.completionTime = res.data[2]?.completionTime.split(" ")[0];
res.data[2]?.completionTime.split(" ")[0];
Process.data.nr = res.data[2]?.nr; Process.data.nr = res.data[2]?.nr;
Process.data.verifyName = res.data[3]?.verifyName;
Process.data.verifyTime = res.data[3]?.verifyTime;
} }
dialogShowProcess.value = true; dialogShowProcess.value = true;
} }