Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
35856d8e
提交
35856d8e
编写于
11月 03, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
a6872721
变更
16
隐藏空白字符变更
内嵌
并排
正在显示
16 个修改的文件
包含
77 行增加
和
57 行删除
+77
-57
edit-view2-engine.ts
app_Web/src/engine/view/edit-view2-engine.ts
+19
-0
ibizcustomer-media-test-edit-view-base.vue
...test-edit-view/ibizcustomer-media-test-edit-view-base.vue
+1
-2
ibizorder-sedit-view2-base.vue
...mple/ibizorder-sedit-view2/ibizorder-sedit-view2-base.vue
+2
-2
ibizorder-state10-edit-view2-base.vue
...-state10-edit-view2/ibizorder-state10-edit-view2-base.vue
+2
-2
ibizorder-state30-edit-view2-base.vue
...-state30-edit-view2/ibizorder-state30-edit-view2-base.vue
+2
-2
ibizorder-state40-edit-view2-base.vue
...-state40-edit-view2/ibizorder-state40-edit-view2-base.vue
+2
-2
ibizorder-test-cledit-view2-base.vue
...er-test-cledit-view2/ibizorder-test-cledit-view2-base.vue
+1
-2
ibizorder-test-custom-layout-panel-grid-exp-view-base.vue
...ibizorder-test-custom-layout-panel-grid-exp-view-base.vue
+1
-2
ibizorder-usr2-grid-view-base.vue
...bizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
+1
-2
index-base.vue
app_Web/src/pages/sample/index/index-base.vue
+5
-5
app-index-view-base.vue
.../src/pages/ungroup/app-index-view/app-index-view-base.vue
+13
-11
app-login-view-base.vue
.../src/pages/ungroup/app-login-view/app-login-view-base.vue
+17
-14
default-searchform-base.vue
...zappeditor/default-searchform/default-searchform-base.vue
+2
-2
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
default-drbar-base.vue
...rc/widgets/ibizorder/default-drbar/default-drbar-base.vue
+2
-2
sform-form-base.vue
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
+5
-5
未找到文件。
app_Web/src/engine/view/edit-view2-engine.ts
浏览文件 @
35856d8e
...
...
@@ -75,6 +75,7 @@ export default class EditView2Engine extends EditViewEngine {
public
drBarSelectionChange
(
data
:
any
):
void
{
if
(
data
)
{
this
.
view
.
drItem
=
data
;
this
.
setNavPosData
(
data
);
if
(
this
.
getDRBar
())
{
this
.
setViewState2
({
tag
:
this
.
getDRBar
().
name
,
action
:
'change'
,
viewdata
:
data
});
}
...
...
@@ -119,6 +120,24 @@ export default class EditView2Engine extends EditViewEngine {
}
}
/**
* 设置导航数据
*
* @protected
* @param {*} data
* @return {*}
* @memberof EditView2Engine
*/
protected
setNavPosData
(
data
:
any
)
{
if
(
!
this
.
view
.
layoutModelDetails
)
{
return
;
}
const
navPos
:
any
=
Object
.
values
(
this
.
view
.
layoutModelDetails
).
find
((
item
:
any
)
=>
{
return
item
.
predefinedType
===
"NAV_POS"
;
});
navPos
.
navData
=
data
;
}
/**
* 获取关系
*
...
...
app_Web/src/pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view-base.vue
浏览文件 @
35856d8e
...
...
@@ -438,8 +438,7 @@ export default class IBIZCustomerMediaTestEditViewBase extends Vue {
* @public
* @memberof IBIZCustomerMediaTestEditViewBase
*/
public
handleButtonClick
(
$event
:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
}
...
...
app_Web/src/pages/sample/ibizorder-sedit-view2/ibizorder-sedit-view2-base.vue
浏览文件 @
35856d8e
...
...
@@ -6,7 +6,7 @@
<app-alert-group
position=
'TOP'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup30'
viewname=
'ibizorderseditview2'
></app-alert-group>
</div>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
<template
v-if=
"
Object.is(drItem.id,
'form')"
>
<template
v-if=
"
!(drItem && drItem.id && drItem.id !==
'form')"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
...
...
@@ -95,7 +95,7 @@
<component
class=
"view-container2"
v-if=
"drItem && drItem.id && drItem.id !== 'form'"
:is=
"drItem.
dr
View"
:is=
"drItem.
nav
View"
:viewDefaultUsage=
"false"
:viewdata=
"JSON.stringify(drItem.srfnavdata.context)"
:viewparam=
"JSON.stringify(drItem.srfnavdata.viewparams)"
>
...
...
app_Web/src/pages/sample/ibizorder-state10-edit-view2/ibizorder-state10-edit-view2-base.vue
浏览文件 @
35856d8e
...
...
@@ -4,7 +4,7 @@
<card
class=
'view-card '
:dis-hover=
"true"
:bordered=
"false"
>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
<template
v-if=
"
Object.is(drItem.id,
'form')"
>
<template
v-if=
"
!(drItem && drItem.id && drItem.id !==
'form')"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
...
...
@@ -93,7 +93,7 @@
<component
class=
"view-container2"
v-if=
"drItem && drItem.id && drItem.id !== 'form'"
:is=
"drItem.
dr
View"
:is=
"drItem.
nav
View"
:viewDefaultUsage=
"false"
:viewdata=
"JSON.stringify(drItem.srfnavdata.context)"
:viewparam=
"JSON.stringify(drItem.srfnavdata.viewparams)"
>
...
...
app_Web/src/pages/sample/ibizorder-state30-edit-view2/ibizorder-state30-edit-view2-base.vue
浏览文件 @
35856d8e
...
...
@@ -4,7 +4,7 @@
<card
class=
'view-card '
:dis-hover=
"true"
:bordered=
"false"
>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
<template
v-if=
"
Object.is(drItem.id,
'form')"
>
<template
v-if=
"
!(drItem && drItem.id && drItem.id !==
'form')"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
...
...
@@ -93,7 +93,7 @@
<component
class=
"view-container2"
v-if=
"drItem && drItem.id && drItem.id !== 'form'"
:is=
"drItem.
dr
View"
:is=
"drItem.
nav
View"
:viewDefaultUsage=
"false"
:viewdata=
"JSON.stringify(drItem.srfnavdata.context)"
:viewparam=
"JSON.stringify(drItem.srfnavdata.viewparams)"
>
...
...
app_Web/src/pages/sample/ibizorder-state40-edit-view2/ibizorder-state40-edit-view2-base.vue
浏览文件 @
35856d8e
...
...
@@ -4,7 +4,7 @@
<card
class=
'view-card '
:dis-hover=
"true"
:bordered=
"false"
>
<div
slot=
'title'
class=
"header-container"
>
<span
class=
'caption-info'
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
<template
v-if=
"
Object.is(drItem.id,
'form')"
>
<template
v-if=
"
!(drItem && drItem.id && drItem.id !==
'form')"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.deuiaction1.visabled"
:disabled=
"toolBarModels.deuiaction1.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'deuiaction1' }, $event)">
...
...
@@ -93,7 +93,7 @@
<component
class=
"view-container2"
v-if=
"drItem && drItem.id && drItem.id !== 'form'"
:is=
"drItem.
dr
View"
:is=
"drItem.
nav
View"
:viewDefaultUsage=
"false"
:viewdata=
"JSON.stringify(drItem.srfnavdata.context)"
:viewparam=
"JSON.stringify(drItem.srfnavdata.viewparams)"
>
...
...
app_Web/src/pages/sample/ibizorder-test-cledit-view2/ibizorder-test-cledit-view2-base.vue
浏览文件 @
35856d8e
...
...
@@ -425,8 +425,7 @@ export default class IBIZOrderTestCLEditView2Base extends Vue {
* @public
* @memberof IBIZOrderTestCLEditView2Base
*/
public
handleButtonClick
(
$event
:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
}
...
...
app_Web/src/pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view-base.vue
浏览文件 @
35856d8e
...
...
@@ -297,8 +297,7 @@ export default class IBIZOrderTestCustomLayoutPanelGridExpViewBase extends Vue {
* @public
* @memberof IBIZOrderTestCustomLayoutPanelGridExpViewBase
*/
public
handleButtonClick
(
$event
:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
}
...
...
app_Web/src/pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
浏览文件 @
35856d8e
...
...
@@ -373,8 +373,7 @@ export default class IBIZOrderUsr2GridViewBase extends Vue {
* @public
* @memberof IBIZOrderUsr2GridViewBase
*/
public
handleButtonClick
(
$event
:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
}
...
...
app_Web/src/pages/sample/index/index-base.vue
浏览文件 @
35856d8e
...
...
@@ -322,8 +322,10 @@ export default class IndexBase extends Vue {
* @public
* @memberof IndexBase
*/
public
handleButtonClick
(
$event
:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
if
(
Object
.
is
(
name
,
'auth_logout1'
))
{
this
.
layoutpanel_button_auth_logout1_click
(
null
,
''
,
$event
);
}
}
/**
...
...
@@ -343,9 +345,7 @@ export default class IndexBase extends Vue {
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
datas
=
[
this
.
layoutData
];
if
(
params
){
datas
=
[
params
];
}
...
...
app_Web/src/pages/ungroup/app-index-view/app-index-view-base.vue
浏览文件 @
35856d8e
...
...
@@ -309,8 +309,16 @@ export default class AppIndexViewBase extends Vue {
* @public
* @memberof AppIndexViewBase
*/
public
handleButtonClick
(
$event
:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
if
(
Object
.
is
(
name
,
'button_link1'
))
{
this
.
layoutpanel_button_button_link1_click
(
null
,
''
,
$event
);
}
if
(
Object
.
is
(
name
,
'button_openview1'
))
{
this
.
layoutpanel_button_button_openview1_click
(
null
,
''
,
$event
);
}
if
(
Object
.
is
(
name
,
'button_calluilogic1'
))
{
this
.
layoutpanel_button_button_calluilogic1_click
(
null
,
''
,
$event
);
}
}
/**
...
...
@@ -330,9 +338,7 @@ export default class AppIndexViewBase extends Vue {
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
datas
=
[
this
.
layoutData
];
if
(
params
){
datas
=
[
params
];
}
...
...
@@ -356,9 +362,7 @@ export default class AppIndexViewBase extends Vue {
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
datas
=
[
this
.
layoutData
];
if
(
params
){
datas
=
[
params
];
}
...
...
@@ -382,9 +386,7 @@ export default class AppIndexViewBase extends Vue {
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
datas
=
[
this
.
layoutData
];
if
(
params
){
datas
=
[
params
];
}
...
...
app_Web/src/pages/ungroup/app-login-view/app-login-view-base.vue
浏览文件 @
35856d8e
...
...
@@ -289,8 +289,19 @@ export default class AppLoginViewBase extends Vue {
* @public
* @memberof AppLoginViewBase
*/
public
handleButtonClick
(
$event
:
any
)
{
public
handleButtonClick
(
name
:
string
,
$event
?:
any
)
{
if
(
Object
.
is
(
name
,
'auth_loginbutton1'
))
{
this
.
layoutpanel_button_auth_loginbutton1_click
(
null
,
''
,
$event
);
}
if
(
Object
.
is
(
name
,
'auth_registbutton1'
))
{
this
.
layoutpanel_button_auth_registbutton1_click
(
null
,
''
,
$event
);
}
if
(
Object
.
is
(
name
,
'auth_resetinput1'
))
{
this
.
layoutpanel_button_auth_resetinput1_click
(
null
,
''
,
$event
);
}
if
(
Object
.
is
(
name
,
'auth_logout1'
))
{
this
.
layoutpanel_button_auth_logout1_click
(
null
,
''
,
$event
);
}
}
/**
...
...
@@ -310,9 +321,7 @@ export default class AppLoginViewBase extends Vue {
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
datas
=
[
this
.
layoutData
];
if
(
params
){
datas
=
[
params
];
}
...
...
@@ -336,9 +345,7 @@ export default class AppLoginViewBase extends Vue {
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
datas
=
[
this
.
layoutData
];
if
(
params
){
datas
=
[
params
];
}
...
...
@@ -362,9 +369,7 @@ export default class AppLoginViewBase extends Vue {
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
datas
=
[
this
.
layoutData
];
if
(
params
){
datas
=
[
params
];
}
...
...
@@ -388,9 +393,7 @@ export default class AppLoginViewBase extends Vue {
let
paramJO
:
any
=
{};
let
contextJO
:
any
=
{};
xData
=
this
;
if
(
_this
.
getDatas
&&
_this
.
getDatas
instanceof
Function
)
{
datas
=
[...
_this
.
getDatas
()];
}
datas
=
[
this
.
layoutData
];
if
(
params
){
datas
=
[
params
];
}
...
...
app_Web/src/widgets/ibizappeditor/default-searchform/default-searchform-base.vue
浏览文件 @
35856d8e
...
...
@@ -590,7 +590,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
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -626,7 +626,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
:
'IBIZAPPEDITOR
Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZAPPEDITOR
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
35856d8e
...
...
@@ -663,7 +663,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
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -699,7 +699,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
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizorder/default-drbar/default-drbar-base.vue
浏览文件 @
35856d8e
...
...
@@ -233,7 +233,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
disabled
:
false
,
id
:
"dritem2"
,
groupCodeName
:
'a7c7923d37319b42645a41908d62bae9'
,
dr
View
:
'ibizorder-detail-sgrid-view'
,
nav
View
:
'ibizorder-detail-sgrid-view'
,
localContext
:{
CONTEXTPARAM1
:
"%orderstate%"
},
localViewParam
:{
param2
:
"%orderstate%"
}
},
...
...
@@ -397,7 +397,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
}
const
drItem
=
{
id
:
selectItem
.
id
,
drView
:
selectItem
.
dr
View
,
navView
:
selectItem
.
nav
View
,
srfnavdata
:
{
context
:
tempContext
,
viewparams
:
tempViewParams
...
...
app_Web/src/widgets/ibizorder/sform-form/sform-form-base.vue
浏览文件 @
35856d8e
...
...
@@ -1545,7 +1545,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1580,7 +1580,7 @@ export default class SFormBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1642,7 +1642,7 @@ export default class SFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1750,7 +1750,7 @@ export default class SFormBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1827,7 +1827,7 @@ export default class SFormBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
TestCLEditView2
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SEditView3
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录