Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
f1fe5662
提交
f1fe5662
编写于
11月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
763ea8ac
变更
17
隐藏空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
89 行增加
和
55 行删除
+89
-55
ibizbookgrid-load-custom-view-base.vue
...d-load-custom-view/ibizbookgrid-load-custom-view-base.vue
+10
-8
app-index-view-base.vue
.../src/pages/ungroup/app-index-view/app-index-view-base.vue
+10
-8
custom-edit-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic-base.ts
+20
-2
grid-load-ui-logic-base.ts
app_Web/src/uiservice/ibizbook/grid-load-ui-logic-base.ts
+0
-1
open-yu-que-ui-logic-base.ts
app_Web/src/uiservice/ibizorder/open-yu-que-ui-logic-base.ts
+20
-2
app-panel-view-panel-base.vue
...ts/app/app-panel-view-panel/app-panel-view-panel-base.vue
+1
-1
auto1-panel-base.vue
...Web/src/widgets/ibizbook/auto1-panel/auto1-panel-base.vue
+1
-1
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
has-panel-kan-ban-panel-base.vue
.../has-panel-kan-ban-panel/has-panel-kan-ban-panel-base.vue
+1
-1
has-panel-list-panel-base.vue
...izbook/has-panel-list-panel/has-panel-list-panel-base.vue
+1
-1
listpanel-panel-base.vue
...widgets/ibizbook/listpanel-panel/listpanel-panel-base.vue
+11
-9
timelineitemlayoutpanel-panel-base.vue
...mlayoutpanel-panel/timelineitemlayoutpanel-panel-base.vue
+1
-1
usr-panel-base.vue
app_Web/src/widgets/ibizbook/usr-panel/usr-panel-base.vue
+1
-1
usr4-panel-base.vue
app_Web/src/widgets/ibizbook/usr4-panel/usr4-panel-base.vue
+1
-1
usr5-panel-base.vue
app_Web/src/widgets/ibizbook/usr5-panel/usr5-panel-base.vue
+1
-1
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/pages/sample/ibizbookgrid-load-custom-view/ibizbookgrid-load-custom-view-base.vue
浏览文件 @
f1fe5662
...
...
@@ -496,16 +496,18 @@ export default class IBIZBOOKGridLoadCustomViewBase extends Vue {
const
contextJO
:
any
=
{};
const
_this
:
any
=
this
;
if
(
Object
.
is
(
name
,
'button_calluilogic1'
))
{
const
UIService
=
await
window
.
uiServiceRegister
.
getService
(
'IBIZBOOK'
);
if
(
UIService
&&
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic1_click`
]
&&
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic1_click`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic1_click`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
window
.
uiServiceRegister
.
getService
(
'ibizbook'
).
then
((
UIService
:
any
)
=>
{
if
(
UIService
&&
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic1_click`
]
&&
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic1_click`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic1_click`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
})
}
if
(
Object
.
is
(
name
,
'button_calluilogic2'
))
{
const
UIService
=
await
window
.
uiServiceRegister
.
getService
(
'IBIZBOOK'
);
if
(
UIService
&&
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic2_click`
]
&&
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic2_click`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic2_click`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
window
.
uiServiceRegister
.
getService
(
'ibizbook'
).
then
((
UIService
:
any
)
=>
{
if
(
UIService
&&
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic2_click`
]
&&
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic2_click`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_panel_Usr1109586119_button_calluilogic2_click`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
})
}
}
...
...
app_Web/src/pages/ungroup/app-index-view/app-index-view-base.vue
浏览文件 @
f1fe5662
...
...
@@ -482,10 +482,11 @@ export default class AppIndexViewBase extends Vue {
_this
.
panel_Usr1102678360_button_openview_click
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
if
(
Object
.
is
(
name
,
'button_calluilogic2'
))
{
const
UIService
=
await
window
.
uiServiceRegister
.
getService
(
'IBIZBOOK'
);
if
(
UIService
&&
UIService
[
`IBIZBOOK_openDocument`
]
&&
UIService
[
`IBIZBOOK_openDocument`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_openDocument`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
window
.
uiServiceRegister
.
getService
(
'ibizbook'
).
then
((
UIService
:
any
)
=>
{
if
(
UIService
&&
UIService
[
`IBIZBOOK_openDocument`
]
&&
UIService
[
`IBIZBOOK_openDocument`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_openDocument`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
})
}
if
(
Object
.
is
(
name
,
'button_calluilogic3'
))
{
_this
.
panel_Usr1102678360_button_calluilogic3_click
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
...
...
@@ -506,10 +507,11 @@ export default class AppIndexViewBase extends Vue {
_this
.
panel_Usr1102678360_button_calluilogic10_click
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
if
(
Object
.
is
(
name
,
'open_yuque'
))
{
const
UIService
=
await
window
.
uiServiceRegister
.
getService
(
'IBIZOrder'
);
if
(
UIService
&&
UIService
[
`IBIZOrder_panel_Usr1102678360_open_yuque_click`
]
&&
UIService
[
`IBIZOrder_panel_Usr1102678360_open_yuque_click`
]
instanceof
Function
)
{
UIService
[
`IBIZOrder_panel_Usr1102678360_open_yuque_click`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
window
.
uiServiceRegister
.
getService
(
'ibizorder'
).
then
((
UIService
:
any
)
=>
{
if
(
UIService
&&
UIService
[
`IBIZOrder_panel_Usr1102678360_open_yuque_click`
]
&&
UIService
[
`IBIZOrder_panel_Usr1102678360_open_yuque_click`
]
instanceof
Function
)
{
UIService
[
`IBIZOrder_panel_Usr1102678360_open_yuque_click`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
})
}
}
...
...
app_Web/src/uiservice/ibizbook/custom-edit-ui-logic-base.ts
浏览文件 @
f1fe5662
...
...
@@ -217,9 +217,27 @@ export default class CustomEditUILogicBase {
* @memberof CustomEditUILogicBase
*/
protected
async
execute_deuiaction1_node
(
actionContext
:
UIActionContext
)
{
const
data
=
actionContext
.
defaultParam
.
getReal
(
);
const
data
=
actionContext
.
getParam
(
'SA.SRFDA.PS.Core.DataEntity.Logic.PSDEUILogicParamImpl@cd1940.codeName'
);
const
{
context
,
viewparams
}
=
actionContext
;
// TODO 调用实体界面行为节点
const
additionalParam
=
actionContext
.
additionalParam
;
const
uiService
=
await
window
.
uiServiceRegister
.
getService
(
'ibizbook'
);
if
(
uiService
&&
uiService
[
'Edit'
]
&&
uiService
[
'Edit'
]
instanceof
Function
)
{
const
xData
=
actionContext
.
activeCtrlParamName
?
actionContext
.
getParam
(
actionContext
.
activeCtrlParamName
).
getReal
()
:
additionalParam
&&
additionalParam
.
xData
?
additionalParam
.
xData
:
{};
const
container
=
actionContext
.
activeContainerParamName
?
actionContext
.
getParam
(
actionContext
.
activeContainerParamName
).
getReal
()
:
additionalParam
&&
additionalParam
.
actioncontext
?
additionalParam
.
actioncontext
:
{};
const
result
=
await
uiService
[
'Edit'
](
Object
.
prototype
.
toString
.
call
(
data
)
===
'[object Array]'
?
data
:
[
data
],
context
,
viewparams
,
additionalParam
&&
additionalParam
.
$event
?
additionalParam
.
$event
:
{},
xData
,
container
,
additionalParam
&&
additionalParam
.
parentDeName
?
additionalParam
.
parentDeName
:
''
);
if
(
result
&&
result
.
ok
&&
result
.
result
)
{
dstParam
.
bind
(
Array
.
isArray
(
result
.
result
)
?
result
.
result
[
0
]
:
result
.
result
);
actionContext
.
bindLastReturnParam
(
Array
.
isArray
(
result
.
result
)
?
result
.
result
[
0
]
:
result
.
result
);
}
}
console
.
log
(
'已完成执行 界面行为 节点'
);
await
this
.
execute_end1_node
(
actionContext
);
}
...
...
app_Web/src/uiservice/ibizbook/grid-load-ui-logic-base.ts
浏览文件 @
f1fe5662
...
...
@@ -275,7 +275,6 @@ export default class GridLoadUILogicBase {
* @memberof GridLoadUILogicBase
*/
protected
async
execute_viewctrlfireevent1_node
(
actionContext
:
UIActionContext
)
{
// TODO 等待补充
// 事件名称
const
eventName
:
string
=
'load'
;
// 事件参数
...
...
app_Web/src/uiservice/ibizorder/open-yu-que-ui-logic-base.ts
浏览文件 @
f1fe5662
...
...
@@ -143,9 +143,27 @@ export default class OpenYuQueUILogicBase {
* @memberof OpenYuQueUILogicBase
*/
protected
async
execute_deuiaction1_node
(
actionContext
:
UIActionContext
)
{
const
data
=
actionContext
.
defaultParam
.
getReal
(
);
const
data
=
actionContext
.
getParam
(
'SA.SRFDA.PS.Core.DataEntity.Logic.PSDEUILogicParamImpl@54e8bed4.codeName'
);
const
{
context
,
viewparams
}
=
actionContext
;
// TODO 调用实体界面行为节点
const
additionalParam
=
actionContext
.
additionalParam
;
const
uiService
=
await
window
.
uiServiceRegister
.
getService
(
'ibizorder'
);
if
(
uiService
&&
uiService
[
'open_document'
]
&&
uiService
[
'open_document'
]
instanceof
Function
)
{
const
xData
=
actionContext
.
activeCtrlParamName
?
actionContext
.
getParam
(
actionContext
.
activeCtrlParamName
).
getReal
()
:
additionalParam
&&
additionalParam
.
xData
?
additionalParam
.
xData
:
{};
const
container
=
actionContext
.
activeContainerParamName
?
actionContext
.
getParam
(
actionContext
.
activeContainerParamName
).
getReal
()
:
additionalParam
&&
additionalParam
.
actioncontext
?
additionalParam
.
actioncontext
:
{};
const
result
=
await
uiService
[
'open_document'
](
Object
.
prototype
.
toString
.
call
(
data
)
===
'[object Array]'
?
data
:
[
data
],
context
,
viewparams
,
additionalParam
&&
additionalParam
.
$event
?
additionalParam
.
$event
:
{},
xData
,
container
,
additionalParam
&&
additionalParam
.
parentDeName
?
additionalParam
.
parentDeName
:
''
);
if
(
result
&&
result
.
ok
&&
result
.
result
)
{
dstParam
.
bind
(
Array
.
isArray
(
result
.
result
)
?
result
.
result
[
0
]
:
result
.
result
);
actionContext
.
bindLastReturnParam
(
Array
.
isArray
(
result
.
result
)
?
result
.
result
[
0
]
:
result
.
result
);
}
}
console
.
log
(
'已完成执行 界面行为 节点'
);
await
this
.
execute_end1_node
(
actionContext
);
}
...
...
app_Web/src/widgets/app/app-panel-view-panel/app-panel-view-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -538,7 +538,7 @@ export default class AppPanelViewBase extends Vue implements ControlInterface {
* @public
* @memberof PanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
...
...
app_Web/src/widgets/ibizbook/auto1-panel/auto1-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -580,7 +580,7 @@ export default class Auto1Base extends Vue implements ControlInterface {
* @public
* @memberof Item1layoutpanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
f1fe5662
...
...
@@ -671,7 +671,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -707,7 +707,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/has-panel-kan-ban-panel/has-panel-kan-ban-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -580,7 +580,7 @@ export default class HasPanelKanBanBase extends Vue implements ControlInterface
* @public
* @memberof ItemlayoutpanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
...
...
app_Web/src/widgets/ibizbook/has-panel-list-panel/has-panel-list-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -580,7 +580,7 @@ export default class HasPanelListBase extends Vue implements ControlInterface {
* @public
* @memberof List_itempanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
...
...
app_Web/src/widgets/ibizbook/listpanel-panel/listpanel-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -595,23 +595,25 @@ export default class ListpanelBase extends Vue implements ControlInterface {
* @public
* @memberof List_itempanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
const
contextJO
:
any
=
{};
const
_this
:
any
=
this
;
if
(
Object
.
is
(
name
,
'button_link1'
))
{
const
UIService
=
await
window
.
uiServiceRegister
.
getService
(
'IBIZBOOK'
);
if
(
UIService
&&
UIService
[
`IBIZBOOK_panel_Listpanel_button_link1_click`
]
&&
UIService
[
`IBIZBOOK_panel_Listpanel_button_link1_click`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_panel_Listpanel_button_link1_click`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
window
.
uiServiceRegister
.
getService
(
'ibizbook'
).
then
((
UIService
:
any
)
=>
{
if
(
UIService
&&
UIService
[
`IBIZBOOK_panel_Listpanel_button_link1_click`
]
&&
UIService
[
`IBIZBOOK_panel_Listpanel_button_link1_click`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_panel_Listpanel_button_link1_click`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
})
}
if
(
Object
.
is
(
name
,
'button_calluilogic1'
))
{
const
UIService
=
await
window
.
uiServiceRegister
.
getService
(
'IBIZBOOK'
);
if
(
UIService
&&
UIService
[
`IBIZBOOK_openDocument`
]
&&
UIService
[
`IBIZBOOK_openDocument`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_openDocument`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
window
.
uiServiceRegister
.
getService
(
'ibizbook'
).
then
((
UIService
:
any
)
=>
{
if
(
UIService
&&
UIService
[
`IBIZBOOK_openDocument`
]
&&
UIService
[
`IBIZBOOK_openDocument`
]
instanceof
Function
)
{
UIService
[
`IBIZBOOK_openDocument`
](
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
undefined
);
}
})
}
}
...
...
app_Web/src/widgets/ibizbook/timelineitemlayoutpanel-panel/timelineitemlayoutpanel-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -565,7 +565,7 @@ export default class TIMELINEITEMLAYOUTPANELBase extends Vue implements ControlI
* @public
* @memberof ItemlayoutpanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
...
...
app_Web/src/widgets/ibizbook/usr-panel/usr-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -565,7 +565,7 @@ export default class UsrBase extends Vue implements ControlInterface {
* @public
* @memberof List_itempanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
...
...
app_Web/src/widgets/ibizbook/usr4-panel/usr4-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -580,7 +580,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
* @public
* @memberof ItemlayoutpanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
...
...
app_Web/src/widgets/ibizbook/usr5-panel/usr5-panel-base.vue
浏览文件 @
f1fe5662
...
...
@@ -565,7 +565,7 @@ export default class Usr5Base extends Vue implements ControlInterface {
* @public
* @memberof ItemlayoutpanelBase
*/
public
async
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
const
datas
:
any
[]
=
[
this
.
layoutData
];
const
xData
:
any
=
this
.
getButtonXData
(
name
);
const
paramJO
:
any
=
{};
...
...
app_Web/src/widgets/ibizsample0021/default-searchform/default-searchform-base.vue
浏览文件 @
f1fe5662
...
...
@@ -598,7 +598,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
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
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -634,7 +634,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
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
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizsample0021/main-grid/main-grid-base.vue
浏览文件 @
f1fe5662
...
...
@@ -353,13 +353,6 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
...
...
@@ -890,7 +883,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
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
;
}
if
(
pageReset
){
...
...
@@ -985,7 +978,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
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
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1091,7 +1084,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
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
;
}
if
(
!
arg
){
...
...
@@ -1984,7 +1977,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
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
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -1992,7 +1985,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
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
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizsample0021
){
...
...
@@ -2059,7 +2052,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
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
;
}
let
_this
=
this
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录