diff --git a/src/views/xm/core/xmProjectGroup/XmProjectGroupMng.vue b/src/views/xm/core/xmProjectGroup/XmProjectGroupMng.vue
index bc3df2d6..79b89f4d 100644
--- a/src/views/xm/core/xmProjectGroup/XmProjectGroupMng.vue
+++ b/src/views/xm/core/xmProjectGroup/XmProjectGroupMng.vue
@@ -40,11 +40,11 @@
width="50%" >
新增下级小组
- 通过模板批量导入下级小组
+ 通过模板批量导入下级小组
新增下级小组
- 通过模板批量导入下级小组
+ 通过模板批量导入下级小组
@@ -361,15 +361,35 @@
if(this.xmProduct && this.xmProduct.id){
this.addForm.productId=this.xmProduct.id
this.addForm.pgClass="1"
- this.addForm.projectId=""
+ this.addForm.projectId=null
}else{
- this.addForm.productId=""
+ this.addForm.productId=null
this.addForm.pgClass="0"
this.addForm.projectId=this.selProject.id
}
this.addFormVisible = true;
//this.addForm=Object.assign({}, this.editForm);
},
+ //显示新增界面 XmProjectGroup xm_project_group
+ showAddSub: function (row) {
+ if(this.xmProduct && this.xmProduct.id){
+ this.addForm.productId=this.xmProduct.id
+ this.addForm.pgClass="1"
+ this.addForm.projectId=null
+ }else{
+ this.addForm.productId=null
+ this.addForm.pgClass="0"
+ this.addForm.projectId=this.selProject.id
+ }
+ if(row){
+ this.addForm.pgroupId=row.id
+ this.addForm.pgroupName=row.groupName
+ this.addForm.groupName=row.groupName+"-"+"下级小组xx"
+ this.addForm.id=null
+ }
+ this.addFormVisible = true;
+ //this.addForm=Object.assign({}, this.editForm);
+ },
afterAddSubmit(){
this.addFormVisible=false;
this.pageInfo.count=true;