Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
1256a64c
提交
1256a64c
编写于
12月 07, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
2ac497ab
变更
7
隐藏空白字符变更
内嵌
并排
正在显示
7 个修改的文件
包含
270 行增加
和
0 行删除
+270
-0
state.ts
app_Web/src/store/modules/view-action/state.ts
+3
-0
ibizappctrl-ui-service-base.ts
.../src/uiservice/ibizappctrl/ibizappctrl-ui-service-base.ts
+45
-0
ibizappeditor-ui-service-base.ts
.../uiservice/ibizappeditor/ibizappeditor-ui-service-base.ts
+45
-0
ibizappview-ui-service-base.ts
.../src/uiservice/ibizappview/ibizappview-ui-service-base.ts
+45
-0
app-ctrl-list-view-portlet-base.vue
...trl-list-view-portlet/app-ctrl-list-view-portlet-base.vue
+44
-0
app-editor-list-view-portlet-base.vue
...r-list-view-portlet/app-editor-list-view-portlet-base.vue
+44
-0
app-view-list-portlet-base.vue
...view/app-view-list-portlet/app-view-list-portlet-base.vue
+44
-0
未找到文件。
app_Web/src/store/modules/view-action/state.ts
浏览文件 @
1256a64c
...
...
@@ -2031,6 +2031,9 @@ export const viewstate: any = {
'92ba569083866d7476dbada9f26b0371'
,
'2b2bef1d622cb082cc17c12afe3ed894'
,
'fb7a06e43dfa51aaa792146e7df29357'
,
'64399ac8a26325db562c9ce747a20ccc'
,
'e3e4e02474933cacc98d320049dc1646'
,
'dbbbaa36390b7c2f2be33b8551b0d137'
,
],
},
{
...
...
app_Web/src/uiservice/ibizappctrl/ibizappctrl-ui-service-base.ts
浏览文件 @
1256a64c
...
...
@@ -117,6 +117,51 @@ export default class IBIZAPPCTRLUIServiceBase extends UIService {
public
initDeMainStateOPPrivsMap
(){
}
/**
* MORE
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
IBIZAPPCTRL_MORE
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'NONE'
;
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizappctrls'
,
parameterName
:
'ibizappctrl'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
return
null
;
}
openIndexViewTab
(
data
);
}
/**
* 获取指定数据的重定向页面
...
...
app_Web/src/uiservice/ibizappeditor/ibizappeditor-ui-service-base.ts
浏览文件 @
1256a64c
...
...
@@ -117,6 +117,51 @@ export default class IBIZAPPEDITORUIServiceBase extends UIService {
public
initDeMainStateOPPrivsMap
(){
}
/**
* MORE
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
IBIZAPPEDITOR_MORE
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'NONE'
;
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizappeditors'
,
parameterName
:
'ibizappeditor'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
return
null
;
}
openIndexViewTab
(
data
);
}
/**
* 获取指定数据的重定向页面
...
...
app_Web/src/uiservice/ibizappview/ibizappview-ui-service-base.ts
浏览文件 @
1256a64c
...
...
@@ -117,6 +117,51 @@ export default class IBIZAPPVIEWUIServiceBase extends UIService {
public
initDeMainStateOPPrivsMap
(){
}
/**
* MORE
*
* @param {any[]} args 当前数据
* @param {any} context 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @param {*} [srfParentDeName] 父实体名称
* @returns {Promise<any>}
*/
public
async
IBIZAPPVIEW_MORE
(
args
:
any
[],
context
:
any
=
{}
,
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
let
data
:
any
=
{};
let
parentContext
:
any
=
{};
let
parentViewParam
:
any
=
{};
const
_this
:
any
=
actionContext
;
const
_args
:
any
[]
=
Util
.
deepCopy
(
args
);
const
actionTarget
:
string
|
null
=
'NONE'
;
if
(
_this
.
context
){
parentContext
=
_this
.
context
;
}
if
(
_this
.
viewparams
){
parentViewParam
=
_this
.
viewparams
;
}
context
=
UIActionTool
.
handleContextParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
context
);
data
=
UIActionTool
.
handleActionParam
(
actionTarget
,
_args
,
parentContext
,
parentViewParam
,
params
);
context
=
Object
.
assign
({},
actionContext
.
context
,
context
);
let
parentObj
:
any
=
{
srfparentdename
:
srfParentDeName
?
srfParentDeName
:
null
,
srfparentkey
:
srfParentDeName
?
context
[
srfParentDeName
.
toLowerCase
()]:
null
};
Object
.
assign
(
data
,
parentObj
);
Object
.
assign
(
context
,
parentObj
);
let
deResParameters
:
any
[]
=
[];
const
parameters
:
any
[]
=
[
{
pathName
:
'ibizappviews'
,
parameterName
:
'ibizappview'
},
{
pathName
:
'gridview'
,
parameterName
:
'gridview'
},
];
const
openIndexViewTab
=
(
data
:
any
)
=>
{
const
routePath
=
actionContext
.
$viewTool
.
buildUpRoutePath
(
actionContext
.
$route
,
context
,
deResParameters
,
parameters
,
_args
,
data
);
actionContext
.
$router
.
push
(
routePath
);
return
null
;
}
openIndexViewTab
(
data
);
}
/**
* 获取指定数据的重定向页面
...
...
app_Web/src/widgets/ibizappctrl/app-ctrl-list-view-portlet/app-ctrl-list-view-portlet-base.vue
浏览文件 @
1256a64c
...
...
@@ -5,6 +5,11 @@
部件列表
</span>
<span
class=
"portlet-action"
>
<a
@
click=
"uiAction('u3572853', $event)"
v-show=
"uiactionModel['more'].visabled"
:disabled=
"uiactionModel['more'].disabled"
>
<span>
MORE
</span>
</a>
</span>
</p>
<el-divider
class=
"divider"
></el-divider>
<div
class=
"portlet-with-title"
>
...
...
@@ -120,6 +125,34 @@ export default class IBIZAPPCTRLAppCtrlListViewBase extends Vue implements Contr
public
appUIService
:
IBIZAPPCTRLUIService
=
new
IBIZAPPCTRLUIService
(
this
.
$store
);
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
db_sysportlet8_u3572853_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
IBIZAPPCTRLUIService
=
new
IBIZAPPCTRLUIService
();
curUIService
.
IBIZAPPCTRL_MORE
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZAPPCTRL"
);
}
/**
* 关闭视图
...
...
@@ -190,6 +223,7 @@ export default class IBIZAPPCTRLAppCtrlListViewBase extends Vue implements Contr
* @memberof AppCtrlListViewBase
*/
public
uiactionModel
:
any
=
{
more
:
{
name
:
'more'
,
actiontarget
:
'NONE'
,
caption
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'MORE'
,
target
:
'NONE'
}
},
}
...
...
@@ -299,6 +333,16 @@ export default class IBIZAPPCTRLAppCtrlListViewBase extends Vue implements Contr
}
}
/**
* 执行界面行为
*
* @memberof AppCtrlListViewBase
*/
public
uiAction
(
tag
:
string
,
event
:
any
){
if
(
Object
.
is
(
tag
,
'u3572853'
)){
this
.
db_sysportlet8_u3572853_click
(
null
,
tag
,
event
);
}
}
/**
* 计算界面行为权限
...
...
app_Web/src/widgets/ibizappeditor/app-editor-list-view-portlet/app-editor-list-view-portlet-base.vue
浏览文件 @
1256a64c
...
...
@@ -5,6 +5,11 @@
编辑器列表
</span>
<span
class=
"portlet-action"
>
<a
@
click=
"uiAction('u0ea663c', $event)"
v-show=
"uiactionModel['more'].visabled"
:disabled=
"uiactionModel['more'].disabled"
>
<span>
MORE
</span>
</a>
</span>
</p>
<el-divider
class=
"divider"
></el-divider>
<div
class=
"portlet-with-title"
>
...
...
@@ -120,6 +125,34 @@ export default class IBIZAPPEDITORAppEditorListViewBase extends Vue implements C
public
appUIService
:
IBIZAPPEDITORUIService
=
new
IBIZAPPEDITORUIService
(
this
.
$store
);
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
db_sysportlet9_u0ea663c_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
IBIZAPPEDITORUIService
=
new
IBIZAPPEDITORUIService
();
curUIService
.
IBIZAPPEDITOR_MORE
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZAPPEDITOR"
);
}
/**
* 关闭视图
...
...
@@ -190,6 +223,7 @@ export default class IBIZAPPEDITORAppEditorListViewBase extends Vue implements C
* @memberof AppEditorListViewBase
*/
public
uiactionModel
:
any
=
{
more
:
{
name
:
'more'
,
actiontarget
:
'NONE'
,
caption
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'MORE'
,
target
:
'NONE'
}
},
}
...
...
@@ -299,6 +333,16 @@ export default class IBIZAPPEDITORAppEditorListViewBase extends Vue implements C
}
}
/**
* 执行界面行为
*
* @memberof AppEditorListViewBase
*/
public
uiAction
(
tag
:
string
,
event
:
any
){
if
(
Object
.
is
(
tag
,
'u0ea663c'
)){
this
.
db_sysportlet9_u0ea663c_click
(
null
,
tag
,
event
);
}
}
/**
* 计算界面行为权限
...
...
app_Web/src/widgets/ibizappview/app-view-list-portlet/app-view-list-portlet-base.vue
浏览文件 @
1256a64c
...
...
@@ -5,6 +5,11 @@
视图列表
</span>
<span
class=
"portlet-action"
>
<a
@
click=
"uiAction('ua9d7226', $event)"
v-show=
"uiactionModel['more'].visabled"
:disabled=
"uiactionModel['more'].disabled"
>
<span>
MORE
</span>
</a>
</span>
</p>
<el-divider
class=
"divider"
></el-divider>
<div
class=
"portlet-with-title"
>
...
...
@@ -120,6 +125,34 @@ export default class IBIZAPPVIEWAppViewListBase extends Vue implements ControlIn
public
appUIService
:
IBIZAPPVIEWUIService
=
new
IBIZAPPVIEWUIService
(
this
.
$store
);
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public
db_sysportlet1_ua9d7226_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
// _this 指向容器对象
const
_this
:
any
=
this
;
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
const
curUIService
:
IBIZAPPVIEWUIService
=
new
IBIZAPPVIEWUIService
();
curUIService
.
IBIZAPPVIEW_MORE
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"IBIZAPPVIEW"
);
}
/**
* 关闭视图
...
...
@@ -190,6 +223,7 @@ export default class IBIZAPPVIEWAppViewListBase extends Vue implements ControlIn
* @memberof AppViewListBase
*/
public
uiactionModel
:
any
=
{
more
:
{
name
:
'more'
,
actiontarget
:
'NONE'
,
caption
:
''
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'MORE'
,
target
:
'NONE'
}
},
}
...
...
@@ -299,6 +333,16 @@ export default class IBIZAPPVIEWAppViewListBase extends Vue implements ControlIn
}
}
/**
* 执行界面行为
*
* @memberof AppViewListBase
*/
public
uiAction
(
tag
:
string
,
event
:
any
){
if
(
Object
.
is
(
tag
,
'ua9d7226'
)){
this
.
db_sysportlet1_ua9d7226_click
(
null
,
tag
,
event
);
}
}
/**
* 计算界面行为权限
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录