From b59d89e4258d8e259d221dc7fc9f8f073f283d93 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: 星期三, 05 十一月 2025 16:50:17 +0800
Subject: [PATCH] 修改
---
src/views/build/conpanyFunctionConsult/riskManage/control/components/editDialog.vue | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/src/views/build/conpanyFunctionConsult/riskManage/control/components/editDialog.vue b/src/views/build/conpanyFunctionConsult/riskManage/control/components/editDialog.vue
index c78150e..6490c3c 100644
--- a/src/views/build/conpanyFunctionConsult/riskManage/control/components/editDialog.vue
+++ b/src/views/build/conpanyFunctionConsult/riskManage/control/components/editDialog.vue
@@ -247,7 +247,7 @@
id: '',
companyId: null,
deptId: null,
- year: '',
+ year: '2025',
fictionId: null,
checkId: null,
ratifyId: null,
@@ -316,6 +316,7 @@
state.form.companyName = value.companyName
state.companyList = companyList
}
+ 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));
@@ -391,18 +392,14 @@
const reset = () => {
state.form = {
id: '',
- qualityId: '',
-
- fictionId : '',
- fictionName: '',
- fictionTime:'',
- checkId :'',
- checkName: '',
- checkTime:'',
- ratifyId:'',
- ratifyName: '',
- ratifyTime: '',
- riskContents:[],
+ companyId: null,
+ deptId: null,
+ year: '2025',
+ fictionId: null,
+ checkId: null,
+ ratifyId: null,
+ document: null,
+ riskContents: []
}
state.peopleList = []
state.companyList = []
--
Gitblit v1.9.2