1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import { AppGlobalService } from '../app-service';
import { AppDEUIAction } from './app-ui-action';
export class AppSysAction extends AppDEUIAction {
/**
* 初始化AppSysAction
*
* @memberof AppSysAction
*/
constructor(opts: any, context?: any) {
super(opts, context);
}
/**
* 执行界面行为
*
* @param args
* @param context
* @param params
* @param $event
* @param xData
* @param actionContext
* @param srfParentDeName
*
* @memberof AppSysAction
*/
public async execute(
args: any[],
context: any = {},
params: any = {},
$event?: any,
xData?: any,
actionContext?: any,
srfParentDeName?: string,
deUIService?: any,
) {
(AppGlobalService.getInstance() as any).executeGlobalAction(
this.actionModel.uIActionTag,
args,
context,
params,
$event,
xData,
actionContext,
srfParentDeName,
);
}
}