| | |
| | | form: { |
| | | id: '', |
| | | companyId: null, |
| | | year: "", //年份 |
| | | year: "2025", //年份 |
| | | fictionId: null, //编制 |
| | | checkId: null, //审核 |
| | | ratifyId: null, //批准 |
| | |
| | | state.companyList = companyList |
| | | } |
| | | title.value = type === 'add' ? '新增' : type ==='edit' ? '编辑' : '查看' ; |
| | | state.form.year = new Date().getFullYear().toString() |
| | | if(type === 'edit' || type === 'review') { |
| | | const res = await getInsideById({improveId: value.id}) |
| | | if(res.code === 200){ |
| | |
| | | state.form = { |
| | | id: '', |
| | | companyId: null, |
| | | year: "", //年份 |
| | | year: "2025", //年份 |
| | | fictionId: null, //编制 |
| | | checkId: null, //审核 |
| | | ratifyId: null, //批准 |