fix:默认类型正式员工

This commit is contained in:
shijing 2025-04-18 14:34:54 +08:00
parent 62b5acce3f
commit 9084d91604
1 changed files with 17 additions and 11 deletions

View File

@ -355,7 +355,13 @@ export default {
add() { add() {
this.type = "add"; this.type = "add";
this.limitedVisible = true; this.limitedVisible = true;
this.addForm = {}; this.addForm.type='employee';
this.addForm.username='';
this.addForm.name='';
this.addForm.phone='';
this.addForm.is_deleted=false;
this.addForm.is_active = true;
}, },
// //
formReset(row){ formReset(row){