fix:coding#832
This commit is contained in:
parent
7bee077cd3
commit
d6b15093e5
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue