fix:coding#832

This commit is contained in:
shijing 2025-05-22 10:59:59 +08:00
parent 7bee077cd3
commit d6b15093e5
1 changed files with 7 additions and 0 deletions

View File

@ -199,6 +199,7 @@ const defaultForm = {
route: "",
equipment: "",
handle_user: null,
handle_user_name: "",
work_start_time: "",
work_end_time:null,
note:'',
@ -379,7 +380,13 @@ export default {
},
//
open(mode = "add",type) {
let that = this;
this.mode = mode;
if(mode == "add"){
let userInfo = that.$TOOL.data.get("USER_INFO");
this.form.handle_user = userInfo.id;
this.form.handle_user_name = userInfo.name;
}
this.visible = true;
if(type!==''&&type!==undefined&&type!==null){
this.mlogtype = type;