Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
e77106e9
提交
e77106e9
编写于
11月 08, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
cf11a691
变更
5
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
22 行增加
和
17 行删除
+22
-17
ibizbook-ui-service-base.ts
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
+4
-0
ibizorder-ui-service-base.ts
app_Web/src/uiservice/ibizorder/ibizorder-ui-service-base.ts
+8
-0
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
default-searchform-base.vue
...sample0021/default-searchform/default-searchform-base.vue
+2
-2
main-grid-base.vue
...b/src/widgets/ibizsample0021/main-grid/main-grid-base.vue
+6
-13
未找到文件。
app_Web/src/uiservice/ibizbook/ibizbook-ui-service-base.ts
浏览文件 @
e77106e9
...
@@ -4,6 +4,7 @@ import UIService from '../ui-service';
...
@@ -4,6 +4,7 @@ import UIService from '../ui-service';
import
{
Subject
}
from
'rxjs'
;
import
{
Subject
}
from
'rxjs'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
IBIZBOOKService
from
'@/service/ibizbook/ibizbook-service'
;
import
IBIZBOOKAuthService
from
'@/authservice/ibizbook/ibizbook-auth-service'
;
import
IBIZBOOKAuthService
from
'@/authservice/ibizbook/ibizbook-auth-service'
;
import
GridLoadUILogic
from
'./grid-load-ui-logic'
;
/**
/**
* 图书UI服务对象基类
* 图书UI服务对象基类
...
@@ -582,6 +583,9 @@ export default class IBIZBOOKUIServiceBase extends UIService {
...
@@ -582,6 +583,9 @@ export default class IBIZBOOKUIServiceBase extends UIService {
* @memberof UIService
* @memberof UIService
*/
*/
public
executeUILogic
(
name
:
string
,
args
:
any
[],
context
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
|
undefined
):
void
{
public
executeUILogic
(
name
:
string
,
args
:
any
[],
context
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
|
undefined
):
void
{
if
(
name
===
'GridLoad'
)
{
GridLoadUILogic
.
getInstance
().
execute
(
args
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
}
}
}
}
\ No newline at end of file
app_Web/src/uiservice/ibizorder/ibizorder-ui-service-base.ts
浏览文件 @
e77106e9
...
@@ -4,6 +4,8 @@ import UIService from '../ui-service';
...
@@ -4,6 +4,8 @@ import UIService from '../ui-service';
import
{
Subject
}
from
'rxjs'
;
import
{
Subject
}
from
'rxjs'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
IBIZOrderService
from
'@/service/ibizorder/ibizorder-service'
;
import
IBIZOrderAuthService
from
'@/authservice/ibizorder/ibizorder-auth-service'
;
import
IBIZOrderAuthService
from
'@/authservice/ibizorder/ibizorder-auth-service'
;
import
GridViewLoadUILogic
from
'./grid-view-load-ui-logic'
;
import
OpenYuQueUILogic
from
'./open-yu-que-ui-logic'
;
/**
/**
* 订单UI服务对象基类
* 订单UI服务对象基类
...
@@ -819,6 +821,12 @@ export default class IBIZOrderUIServiceBase extends UIService {
...
@@ -819,6 +821,12 @@ export default class IBIZOrderUIServiceBase extends UIService {
* @memberof UIService
* @memberof UIService
*/
*/
public
executeUILogic
(
name
:
string
,
args
:
any
[],
context
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
|
undefined
):
void
{
public
executeUILogic
(
name
:
string
,
args
:
any
[],
context
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
|
undefined
):
void
{
if
(
name
===
'GridViewLoad'
)
{
GridViewLoadUILogic
.
getInstance
().
execute
(
args
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
if
(
name
===
'OpenYuQue'
)
{
OpenYuQueUILogic
.
getInstance
().
execute
(
args
,
context
,
params
,
$event
,
xData
,
actionContext
,
srfParentDeName
);
}
}
}
}
}
\ No newline at end of file
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
e77106e9
...
@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr3GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr3GridView
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
CustomView_layout
'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizsample0021/default-searchform/default-searchform-base.vue
浏览文件 @
e77106e9
...
@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -590,7 +590,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizsample0021/main-grid/main-grid-base.vue
浏览文件 @
e77106e9
...
@@ -345,13 +345,6 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -345,13 +345,6 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
return
this
.
selections
[
0
];
}
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
/**
* 打开编辑数据视图
* 打开编辑数据视图
*
*
...
@@ -882,7 +875,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -882,7 +875,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
pageReset
){
if
(
pageReset
){
...
@@ -977,7 +970,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -977,7 +970,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -1083,7 +1076,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1083,7 +1076,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
!
arg
){
if
(
!
arg
){
...
@@ -1976,7 +1969,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1976,7 +1969,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
@@ -1984,7 +1977,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1984,7 +1977,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizsample0021
){
if
(
item
.
ibizsample0021
){
...
@@ -2051,7 +2044,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2051,7 +2044,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZSample0021
WFDynaExp
GridView_layout'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
let
_this
=
this
;
let
_this
=
this
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录