fix:coding#832
This commit is contained in:
parent
7bee077cd3
commit
d6b15093e5
|
|
@ -199,6 +199,7 @@ const defaultForm = {
|
||||||
route: "",
|
route: "",
|
||||||
equipment: "",
|
equipment: "",
|
||||||
handle_user: null,
|
handle_user: null,
|
||||||
|
handle_user_name: "",
|
||||||
work_start_time: "",
|
work_start_time: "",
|
||||||
work_end_time:null,
|
work_end_time:null,
|
||||||
note:'',
|
note:'',
|
||||||
|
|
@ -379,7 +380,13 @@ export default {
|
||||||
},
|
},
|
||||||
//显示
|
//显示
|
||||||
open(mode = "add",type) {
|
open(mode = "add",type) {
|
||||||
|
let that = this;
|
||||||
this.mode = mode;
|
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;
|
this.visible = true;
|
||||||
if(type!==''&&type!==undefined&&type!==null){
|
if(type!==''&&type!==undefined&&type!==null){
|
||||||
this.mlogtype = type;
|
this.mlogtype = type;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue