From 97fe5fa8f39f27d06a61054a4619c6607a0d51d7 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: 星期一, 10 十一月 2025 15:23:55 +0800
Subject: [PATCH] 修改新增

---
 src/views/work/selfProblems/plan/components/planDialog.vue |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/views/work/selfProblems/plan/components/planDialog.vue b/src/views/work/selfProblems/plan/components/planDialog.vue
index a003a96..b0cf2e5 100644
--- a/src/views/work/selfProblems/plan/components/planDialog.vue
+++ b/src/views/work/selfProblems/plan/components/planDialog.vue
@@ -299,7 +299,7 @@
   form: {
     id: '',
     companyId: null,
-    year: "", //年份
+    year: "2025", //年份
     auditPurpose: "", //审核目的
     reviewBasis: "", //审核依据
     reviewScope: "", //审核范围
@@ -381,6 +381,7 @@
   }
   await getDeptList()
   title.value = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看' ;
+  state.form.year = new Date().getFullYear().toString()
   if(type === 'edit' || type === 'review') {
     state.form = JSON.parse(JSON.stringify(value));
     checkTime.value = [state.form.reviewStart,state.form.reviewEnd]
@@ -547,7 +548,7 @@
   state.form = {
     id: '',
     companyId: null,
-    year: "", //年份
+    year: "2025", //年份
     auditPurpose: "", //审核目的
     reviewBasis: "", //审核依据
     reviewScope: "", //审核范围

--
Gitblit v1.9.2