From 25ab056acf500f74ff136c569c7fe566ff5253ff Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期五, 13 十月 2023 17:54:50 +0800 Subject: [PATCH] 优化车间看板页面功能,增加代码注释 --- src/views/system/modules/UserModal.vue | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/views/system/modules/UserModal.vue b/src/views/system/modules/UserModal.vue index ce46390..d46bccf 100644 --- a/src/views/system/modules/UserModal.vue +++ b/src/views/system/modules/UserModal.vue @@ -238,9 +238,9 @@ //鏍规嵁灞忓箷瀹藉害鑷�傚簲鎶藉眽瀹藉害 this.resetScreenSize(); that.userId = record.id; + that.model = Object.assign({},{selectedroles:'',selecteddeparts:''}, record); that.model = Object.assign({},{selectedroles:'',selectedProduction:''}, record); - //韬唤涓轰笂绾ф樉绀鸿礋璐i儴闂紝鍚﹀垯涓嶆樉绀� if(this.model.userIdentity==2){ this.departIdShow=true; @@ -252,7 +252,7 @@ that.getUserRoles(record.id); that.getUserDeparts(record.id); } - console.log('that.model=',that.model) + console.log('that.model',that.model) }, isDisabledAuth(code){ return disabledAuthFilter(code); @@ -366,8 +366,6 @@ return c; }) }, - - refresh () { this.userId="" -- Gitblit v1.9.3