From e6f2e152a23f5883215ab8dcb75718533c581ac7 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期二, 14 十月 2025 09:15:37 +0800
Subject: [PATCH] 修改

---
 src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue b/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
index f9085ba..177507c 100644
--- a/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/qualityObjectives/objective/components/objectiveDialog.vue
@@ -3,7 +3,7 @@
     <el-dialog
         v-model="dialogVisible"
         :title="title"
-        width="50%"
+        width="900px"
         :before-close="handleClose"
         :close-on-press-escape="false"
         :close-on-click-modal="false"
@@ -230,7 +230,7 @@
 const state = reactive({
   form: {
     id: '',
-    year: '',
+    year: '2025',
     num: '',
     type: '',
     departId: '',
@@ -306,6 +306,7 @@
     state.companyList = companyList
     state.form.companyId = null
   }
+  state.form.year = new Date().getFullYear().toString()
   title.value = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看' ;
   if(type === 'edit' || type === 'review') {
     state.form = JSON.parse(JSON.stringify(value));
@@ -392,7 +393,7 @@
 const reset = () => {
   state.form = {
     id: '',
-    year: '',
+    year: '2025',
     num: '',
     type: '',
     departId: '',

--
Gitblit v1.9.2