Browse Source

优化

master
陈裕财 3 years ago
parent
commit
bdf6798a6d
  1. 3
      src/components/UserField/index.vue
  2. 1
      src/views/xm/core/xmProject/XmProjectEdit.vue

3
src/components/UserField/index.vue

@ -56,7 +56,8 @@
value:{ value:{
handler(){ handler(){
this.initData(); this.initData();
}
},
deep:true,
}, },

1
src/views/xm/core/xmProject/XmProjectEdit.vue

@ -824,6 +824,7 @@
initData(){ initData(){
this.editForm=Object.assign(this.editForm,this.selProject) this.editForm=Object.assign(this.editForm,this.selProject)
if(this.opType==='add'){ if(this.opType==='add'){
debugger;
this.editForm.pmUserid=this.userInfo.userid this.editForm.pmUserid=this.userInfo.userid
this.editForm.pmUsername=this.userInfo.username this.editForm.pmUsername=this.userInfo.username
this.editForm.admUserid=this.userInfo.userid this.editForm.admUserid=this.userInfo.userid

Loading…
Cancel
Save