diff --git a/src/App.vue b/src/App.vue index edec5d4..e9b701a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -40,7 +40,7 @@ const resetTimer = () => { } }; onMounted(() => { - window.addEventListener("mousemove", resetTimer); - window.addEventListener("keydown", resetTimer); + // window.addEventListener("mousemove", resetTimer); + // window.addEventListener("keydown", resetTimer); }); diff --git a/src/view/person/index.vue b/src/view/person/index.vue index a026eb3..3e61720 100644 --- a/src/view/person/index.vue +++ b/src/view/person/index.vue @@ -132,6 +132,7 @@ :label="item.label" :prop="item.property" :width="item.width" + :align="item.align || 'left'" > @@ -545,6 +547,23 @@ const dataMyTag = reactive({ * @description 标题头 */ myTag1: [ + { + name: "置业", + label: "置业", + }, + { + name: "退休养老", + label: "养老金发放情况", + }, + { + name: "身后事", + label: "身后事", + }, + { + name: "综合", + label: "医疗保险", + }, + { name: "出生", label: "出生", @@ -553,31 +572,15 @@ const dataMyTag = reactive({ name: "学习", label: "学习", }, - { - name: "工作", - label: "工作", - }, { name: "婚育", label: "婚育", }, { - name: "置业", - label: "置业", - }, - { - name: "退休养老", - label: "养老金发放情况", + name: "工作", + label: "工作", }, - { - name: "综合", - label: "医疗保险", - }, - { - name: "身后事", - label: "身后事", - }, ], form: { data: [], @@ -681,6 +684,7 @@ const tableMain = reactive({ property: "xs", type: "slot", width: "200px", + align: "center", }, ], }); @@ -1129,7 +1133,7 @@ const visitRecords = () => { }); }; //获取服务内容 -const showFw=ref(false) +const showFw = ref(false); const getFw = () => { http .get( @@ -1137,16 +1141,16 @@ const getFw = () => { ) .then((res) => { if (res.code == 200) { - showFw.value=true; + showFw.value = true; // tableType.data = res.data; // tableType.name = data.name; // tableType.typeId = routers.query.id; // dialogShow.value = true; - tableMain.data.length=0; + tableMain.data.length = 0; if (res.data.wxs.length > 0) { res.data.wxs.forEach((item, index) => { let obj = { - xs:'0', + xs: "0", date: item.bzlx, }; tableMain.data.push(obj); @@ -1156,7 +1160,7 @@ const getFw = () => { if (res.data.ysx.length > 0) { res.data.ysx.forEach((item, index) => { let obj = { - xs:'1', + xs: "1", date: item.bzlx, }; tableMain.data.push(obj);