Browse Source

pc修改-边民与边民组管理

linbl 1 year ago
parent
commit
a8894d2dda
1 changed files with 7 additions and 3 deletions
  1. 7 3
      sa-view/tb-group/tb-group-people-add.html

+ 7 - 3
sa-view/tb-group/tb-group-people-add.html

@@ -90,11 +90,15 @@
 						let idArray = selectList.map(selection => selection.id);
 						let obj = {
 							groupId: this.groupId,
-							peopleIds: idArray.join(',')
+							peopleIds: idArray.join(','),
+							approve: 1
 						};
+						//边民申请加入互助组
 						sa.ajax('/level-one-server/TbPeople/applyAddGroup', obj, function(resp) {
-							parent.app.f5(); // 刷新父页面列表
-							sa.closeCurrIframe(); // 关闭本页
+						}.bind(this));
+						//组长同意边民加入互助组--目前跳过审核步骤,直接同意加入互助组
+						sa.ajax('/level-one-server/TbPeople/passApply', obj, function(resp) {
+							sa.f5TableHeight(); // 刷新表格高度
 						}.bind(this));
 					},
 					// 刷新