zhouwx
2025-10-14 9012c6da4622ae1548efc9c02a635a6ce78d8f30
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 = []