Compare commits
No commits in common. '7b87d80120c764f388994cb8e601217a0fcf2c90' and '52aca1808b2e43032294a39046d8999d6c72fc13' have entirely different histories.
7b87d80120
...
52aca1808b
2 changed files with 0 additions and 79 deletions
@ -1,56 +0,0 @@ |
|||||||
package apelet.association.plugin; |
|
||||||
|
|
||||||
import apelet.common.core.object.ObjectValue; |
|
||||||
import apelet.common.online.abstractplugin.ExecutePluginParent; |
|
||||||
import apelet.common.online.model.ShowParameter; |
|
||||||
import apelet.common.online.model.constant.ShowTypeEnum; |
|
||||||
import apelet.common.online.model.constant.ViewStatus; |
|
||||||
|
|
||||||
import java.util.HashMap; |
|
||||||
import java.util.Map; |
|
||||||
|
|
||||||
/** |
|
||||||
* @ClassName: MembershipPayPopupPlugin |
|
||||||
* @Author: huangdehua |
|
||||||
* @Date: 2026/4/30 09:37 |
|
||||||
* @Description: |
|
||||||
*/ |
|
||||||
public class MembershipPayPopupPlugin extends ExecutePluginParent { |
|
||||||
|
|
||||||
/** |
|
||||||
* 目标表单ID - membershipFeePay 表单在平台中的表单ID |
|
||||||
*/ |
|
||||||
private static final Object FORM_ID = "2049040032123064320"; |
|
||||||
|
|
||||||
/** |
|
||||||
* 触发按钮的标识 - 对应表单上按钮的 key/标识 |
|
||||||
* 点击此按钮时触发弹窗 |
|
||||||
*/ |
|
||||||
private static final String BUTTON_KEY = "会费缴纳"; |
|
||||||
|
|
||||||
/** |
|
||||||
* 按钮点击事件 |
|
||||||
* 点击按钮时,以弹窗方式打开 membershipFeePay 表单 |
|
||||||
* |
|
||||||
* @param buttonKey 按钮标识 |
|
||||||
* @param objectValue 当前表单数据对象 |
|
||||||
*/ |
|
||||||
@Override |
|
||||||
public void buttonTriggered(String buttonKey, ObjectValue objectValue) { |
|
||||||
// 仅响应指定按钮的点击事件
|
|
||||||
if (!BUTTON_KEY.equals(buttonKey)) { |
|
||||||
return; |
|
||||||
} |
|
||||||
|
|
||||||
// 调用 showForm 打开 membershipFeePay 表单
|
|
||||||
ShowParameter showParameter = new ShowParameter(); |
|
||||||
showParameter.setFormId(FORM_ID.toString()); |
|
||||||
showParameter.setHowType(ShowTypeEnum.OPEN_ONLINE_MODAL); |
|
||||||
showParameter.setStatus(ViewStatus.EDIT); |
|
||||||
Map<String, Object> customParam = new HashMap<>(); |
|
||||||
customParam.put("id"," "); |
|
||||||
showParameter.setCustomParam(customParam); |
|
||||||
super.showForm(showParameter); |
|
||||||
} |
|
||||||
} |
|
||||||
|
|
||||||
@ -1,23 +0,0 @@ |
|||||||
package apelet.association.plugin; |
|
||||||
|
|
||||||
import apelet.common.core.object.ObjectValue; |
|
||||||
import apelet.common.online.abstractplugin.ExecutePluginParent; |
|
||||||
|
|
||||||
/** |
|
||||||
* @ClassName: UnitNameChangeFormPlugin |
|
||||||
* @Author: huangdehua |
|
||||||
* @Date: 2026/4/30 10:40 |
|
||||||
* @Description: 入会申请与审核界面初始化 |
|
||||||
*/ |
|
||||||
public class UnitNameChangeFormPlugin extends ExecutePluginParent { |
|
||||||
|
|
||||||
/** |
|
||||||
* 界面初始化事件 |
|
||||||
* 将单据状态 billStatus 赋值为 "A" |
|
||||||
*/ |
|
||||||
@Override |
|
||||||
public void formCreated(String str, ObjectValue objectValue) { |
|
||||||
super.formCreated(str, objectValue); |
|
||||||
objectValue.setString("billStatus", "A"); |
|
||||||
} |
|
||||||
} |
|
||||||
Loading…
Reference in new issue