This commit is contained in:
姚宇浩 2024-12-04 10:25:36 +08:00
parent 18b7dbfe7d
commit be0ea9ffbd
2 changed files with 29 additions and 25 deletions

View File

@ -40,7 +40,7 @@ const resetTimer = () => {
} }
}; };
onMounted(() => { onMounted(() => {
window.addEventListener("mousemove", resetTimer); // window.addEventListener("mousemove", resetTimer);
window.addEventListener("keydown", resetTimer); // window.addEventListener("keydown", resetTimer);
}); });
</script> </script>

View File

@ -132,6 +132,7 @@
:label="item.label" :label="item.label"
:prop="item.property" :prop="item.property"
:width="item.width" :width="item.width"
:align="item.align || 'left'"
> >
<template #default="scope"> <template #default="scope">
<!-- 医疗保险类型 --> <!-- 医疗保险类型 -->
@ -146,6 +147,7 @@
:width="item.width" :width="item.width"
:prop="item.property" :prop="item.property"
:label="item.label" :label="item.label"
:align="item.align || 'left'"
/> />
</template> </template>
</el-table> </el-table>
@ -545,6 +547,23 @@ const dataMyTag = reactive({
* @description 标题头 * @description 标题头
*/ */
myTag1: [ myTag1: [
{
name: "置业",
label: "置业",
},
{
name: "退休养老",
label: "养老金发放情况",
},
{
name: "身后事",
label: "身后事",
},
{
name: "综合",
label: "医疗保险",
},
{ {
name: "出生", name: "出生",
label: "出生", label: "出生",
@ -553,31 +572,15 @@ const dataMyTag = reactive({
name: "学习", name: "学习",
label: "学习", label: "学习",
}, },
{
name: "工作",
label: "工作",
},
{ {
name: "婚育", name: "婚育",
label: "婚育", label: "婚育",
}, },
{ {
name: "置业", name: "工作",
label: "置业", label: "工作",
},
{
name: "退休养老",
label: "养老金发放情况",
}, },
{
name: "综合",
label: "医疗保险",
},
{
name: "身后事",
label: "身后事",
},
], ],
form: { form: {
data: [], data: [],
@ -681,6 +684,7 @@ const tableMain = reactive({
property: "xs", property: "xs",
type: "slot", type: "slot",
width: "200px", width: "200px",
align: "center",
}, },
], ],
}); });
@ -1129,7 +1133,7 @@ const visitRecords = () => {
}); });
}; };
// //
const showFw=ref(false) const showFw = ref(false);
const getFw = () => { const getFw = () => {
http http
.get( .get(
@ -1137,16 +1141,16 @@ const getFw = () => {
) )
.then((res) => { .then((res) => {
if (res.code == 200) { if (res.code == 200) {
showFw.value=true; showFw.value = true;
// tableType.data = res.data; // tableType.data = res.data;
// tableType.name = data.name; // tableType.name = data.name;
// tableType.typeId = routers.query.id; // tableType.typeId = routers.query.id;
// dialogShow.value = true; // dialogShow.value = true;
tableMain.data.length=0; tableMain.data.length = 0;
if (res.data.wxs.length > 0) { if (res.data.wxs.length > 0) {
res.data.wxs.forEach((item, index) => { res.data.wxs.forEach((item, index) => {
let obj = { let obj = {
xs:'0', xs: "0",
date: item.bzlx, date: item.bzlx,
}; };
tableMain.data.push(obj); tableMain.data.push(obj);
@ -1156,7 +1160,7 @@ const getFw = () => {
if (res.data.ysx.length > 0) { if (res.data.ysx.length > 0) {
res.data.ysx.forEach((item, index) => { res.data.ysx.forEach((item, index) => {
let obj = { let obj = {
xs:'1', xs: "1",
date: item.bzlx, date: item.bzlx,
}; };
tableMain.data.push(obj); tableMain.data.push(obj);