Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
2613f76a
提交
2613f76a
编写于
11月 07, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
9d044396
变更
13
显示空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
326 行增加
和
233 行删除
+326
-233
ui-logic-param-type.ts
app_Web/src/logic/const/ui-logic-param-type.ts
+98
-0
uiaction-context.ts
app_Web/src/logic/ui-logic/uiaction-context.ts
+11
-9
ibizorder-sedit-view3-layout-base.vue
...-sedit-view3-layout/ibizorder-sedit-view3-layout-base.vue
+109
-197
ibizorder-sedit-view3-layout.less
...rder-sedit-view3-layout/ibizorder-sedit-view3-layout.less
+69
-1
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
guide-return-form-form-base.vue
...ok/guide-return-form-form/guide-return-form-form-base.vue
+6
-5
main-form-base.vue
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
+5
-5
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
card-navigation-dataview-base.vue
...ard-navigation-dataview/card-navigation-dataview-base.vue
+4
-4
list-exp-list-base.vue
...rc/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
+4
-4
IBIZOrderSEditView3_layout.json
...SSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderSEditView3_layout.json
+14
-2
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+1
-1
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
未找到文件。
app_Web/src/logic/const/ui-logic-param-type.ts
0 → 100644
浏览文件 @
2613f76a
export
enum
UILogicParamType
{
/**
* 当前容器对象
*/
activeContainerParam
=
'activeContainerParam'
,
/**
* 当前部件对象
*/
activeCtrlParam
=
'activeCtrlParam'
,
/**
* 当前视图对象
*/
activeViewParam
=
'activeViewParam'
,
/**
* 应用全局参数绑定参数
*/
appGlobalParam
=
'appGlobalParam'
,
/**
* 指定部件对象
*/
ctrlParam
=
'ctrlParam'
,
/**
* 导航上下文绑定参数
*/
navContextParam
=
'navContextParam'
,
/**
* 导航视图参数绑定参数
*/
navViewParamParam
=
'navViewParamParam'
,
/**
* 参数子参数
*/
paramSubParam
=
'paramSubParam'
,
/**
* 顶级视图会话共享参数绑定参数
*/
routeViewSessionParam
=
'routeViewSessionParam'
,
/**
* 导航数据参数绑定参数
*/
viewNavDataParam
=
'viewNavDataParam'
,
/**
* 当前视图会话共享参数绑定参数
*/
viewSessionParam
=
'viewSessionParam'
,
/**
* 简单数据变量
*/
simpleParam
=
'simpleParam'
,
/**
* 数据对象变量
*/
entityParam
=
'entityParam'
,
/**
* 分页查询结果变量
*/
entityPageParam
=
'entityPageParam'
,
/**
* 数据对象列表变量
*/
entityListParam
=
'entityListParam'
,
/**
* 上一次调用返回变量
*/
lastReturnParam
=
'lastReturnParam'
,
/**
* 过滤器对象变量
*/
filterParam
=
'filterParam'
,
/**
* 简单数据列表变量
*/
simpleListParam
=
'simpleListParam'
,
/**
* 应用程序变量
*/
applicationParam
=
'applicationParam'
,
}
\ No newline at end of file
app_Web/src/logic/ui-logic/uiaction-context.ts
浏览文件 @
2613f76a
import
{
UILogicParamService
}
from
"./logic-param/ui-logic-param-service"
;
/**
/**
* 界面处理逻辑上下文参数对象
* 界面处理逻辑上下文参数对象
*
*
...
@@ -215,15 +217,15 @@ export class UIActionContext {
...
@@ -215,15 +217,15 @@ export class UIActionContext {
// 初始化界面逻辑处理参数
// 初始化界面逻辑处理参数
if
(
logicParams
&&
logicParams
.
length
>
0
)
{
if
(
logicParams
&&
logicParams
.
length
>
0
)
{
for
(
let
logicParam
of
logicParams
)
{
for
(
let
logicParam
of
logicParams
)
{
// const uiLogicParamInstance = AppDe
UILogicParamService.getLogicParamInstance(this, logicParam, { args, context, params, $event, xData, actioncontext, srfParentDeName });
const
uiLogicParamInstance
=
UILogicParamService
.
getLogicParamInstance
(
this
,
logicParam
,
{
args
,
context
,
params
,
$event
,
xData
,
actioncontext
,
srfParentDeName
});
//
this.paramsMap.set(logicParam.codeName, uiLogicParamInstance);
this
.
paramsMap
.
set
(
logicParam
.
codeName
,
uiLogicParamInstance
);
//
if (logicParam.default) this.defaultParamName = logicParam.codeName;
if
(
logicParam
.
default
)
this
.
defaultParamName
=
logicParam
.
codeName
;
//
if (logicParam.navContextParam) this.navContextParamName = logicParam.codeName;
if
(
logicParam
.
navContextParam
)
this
.
navContextParamName
=
logicParam
.
codeName
;
//
if (logicParam.navViewParamParam) this.navViewParamParamName = logicParam.codeName;
if
(
logicParam
.
navViewParamParam
)
this
.
navViewParamParamName
=
logicParam
.
codeName
;
//
if (logicParam.activeContainerParam) this.activeContainerParamName = logicParam.codeName;
if
(
logicParam
.
activeContainerParam
)
this
.
activeContainerParamName
=
logicParam
.
codeName
;
//
if (logicParam.activeCtrlParam) this.activeCtrlParamName = logicParam.codeName;
if
(
logicParam
.
activeCtrlParam
)
this
.
activeCtrlParamName
=
logicParam
.
codeName
;
//
if (logicParam.activeViewParam) this.activeViewParamName = logicParam.codeName;
if
(
logicParam
.
activeViewParam
)
this
.
activeViewParamName
=
logicParam
.
codeName
;
//
if (logicParam.lastReturnParam) this.lastReturnParamName = logicParam.codeName;
if
(
logicParam
.
lastReturnParam
)
this
.
lastReturnParamName
=
logicParam
.
codeName
;
}
}
}
}
}
}
...
...
app_Web/src/pages/sample/ibizorder-sedit-view3-layout/ibizorder-sedit-view3-layout-base.vue
浏览文件 @
2613f76a
<
template
>
<
template
>
<div
v-show=
"!isLayoutLoadding"
class=
"app-view-layout ibizorder-sedit-view3-layout"
:style=
"
{height: '100%', width: '100%','display': 'flex', 'flex-direction': 'column'}">
<div
class=
"view-container deeditview3 ibizorder-sedit-view3-layout"
>
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizorderseditview3_layout"
></app-studioaction>
<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=
"drItem && 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)">
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.deuiaction1.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.deuiaction1.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem3.visabled"
:disabled=
"toolBarModels.tbitem3.disabled"
class=
' deepskyblueToolBar'
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'tbitem3' }, $event)">
<i
class=
'fa fa-save'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.tbitem3.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.tbitem3.tip'
)
}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem5.visabled"
:disabled=
"toolBarModels.tbitem5.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'tbitem5' }, $event)">
<i
class=
'sx-tb-saveandclose'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.tbitem5.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.tbitem5.tip'
)
}}
</div>
</tooltip>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem9_saveandstart.visabled"
:disabled=
"toolBarModels.tbitem9_saveandstart.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'tbitem9_saveandstart' }, $event)">
<i
class=
''
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.tbitem9_saveandstart.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.tbitem9_saveandstart.tip'
)
}}
</div>
</tooltip>
<span
class=
'seperator'
>
|
</span>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"toolBarModels.tbitem15.visabled"
:disabled=
"toolBarModels.tbitem15.disabled"
class=
''
v-loading:i-button
@
click=
"toolbar_click(
{ tag: 'tbitem15' }, $event)">
<i
class=
'fa fa-print'
></i>
<span
class=
'caption'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.tbitem15.caption'
)
}}
</span>
</i-button>
<div
slot=
'content'
>
{{
$t
(
'entities.ibizorder.seditview3_layouttoolbar_toolbar.tbitem15.tip'
)
}}
</div>
</tooltip>
</div>
</div>
</
template
>
</div>
<div
class=
'view-top-messages'
>
<app-alert-group
position=
'TOP'
:context=
"context"
:viewparam=
"viewparams"
infoGroup=
'VMGroup32'
viewname=
'ibizorderseditview3_layout'
></app-alert-group>
</div>
<div
class=
"content-container"
>
<div
class=
"edit-view3"
>
<div
class=
"edit-view3-drheader"
>
<span
:class=
"{ 'dr-tab-item': true, 'is-active': drItem && drItem.id === 'form' }"
@
click=
"handleDrTabChange"
>
订单
</span>
<view
_drtab
:viewState=
"viewState"
name=
'drtab'
ref=
'drtab'
:viewparams=
"viewparams"
:context=
"context"
parentName =
"IBIZOrder"
@
selectionchange=
'drtab_selectionchange($event)'
@
closeview=
'closeView($event)'
>
</view
_drtab
>
</div>
<div
class=
"edit-view3-content"
>
<div
class=
"edit-view3-content__form"
:style=
"drItem && drItem.id !== 'form' ? 'display: none;' : ''"
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
:context=
"context"
:autosave=
"false"
:viewtag=
"viewtag"
:showBusyIndicator=
"true"
updateAction=
"Update"
removeAction=
"Remove"
loaddraftAction=
"GetDraft"
loadAction=
"Get"
createAction=
"Create"
WFSubmitAction=
""
WFStartAction=
""
style=
''
name=
"form"
ref=
'form'
@
load=
"form_load($event)"
@
save=
"form_save($event)"
@
remove=
"form_remove($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</div>
<component
class=
"view-container2"
v-if=
"drItem && drItem.id && drItem.id !== 'form' && drItem.navView"
:is=
"drItem.navView"
:viewDefaultUsage=
"false"
:viewdata=
"JSON.stringify(drItem.srfnavdata.context)"
:viewparam=
"JSON.stringify(drItem.srfnavdata.viewparams)"
>
</component>
</div>
</div>
</div>
</card>
</div>
</template>
</template>
<
script
lang=
'tsx'
>
<
script
lang=
'tsx'
>
...
@@ -14,7 +116,6 @@ import IBIZOrderAuthService from '@/authservice/ibizorder/ibizorder-auth-service
...
@@ -14,7 +116,6 @@ import IBIZOrderAuthService from '@/authservice/ibizorder/ibizorder-auth-service
import
EditView3Engine
from
'@engine/view/edit-view3-engine'
;
import
EditView3Engine
from
'@engine/view/edit-view3-engine'
;
import
IBIZOrderUIService
from
'@/uiservice/ibizorder/ibizorder-ui-service'
;
import
IBIZOrderUIService
from
'@/uiservice/ibizorder/ibizorder-ui-service'
;
import
{
PanelContainerModel
,
PanelRawitemModel
,
PanelFieldModel
,
PanelControlModel
,
PanelButtonModel
,
PanelUserControlModel
,
PanelTabPanelModel
,
PanelTabPageModel
,
PanelCtrlPosModel
}
from
'@/model/panel-detail'
;
@
Component
({
@
Component
({
...
@@ -263,192 +364,6 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
...
@@ -263,192 +364,6 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
};
};
/**
* 视图布局顶级成员名称
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
rootLayoutDetailNames
:
string
[]
=
[
];
/**
* 视图布局面板项模型对象
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
layoutItems
:
any
=
{
};
/**
* 视图布局是否加载
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
isLayoutLoadding
:
boolean
=
true
;
/**
* 视图布局数据
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
layoutData
:
any
=
{};
/**
* 视图布局面板模型对象
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
layoutModelDetails
:
any
=
{};
/**
* 初始化布局
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
async
initLayout
()
{
if
(
this
.
rootLayoutDetailNames
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
this
.
rootLayoutDetailNames
.
length
;
i
++
)
{
const
name
=
this
.
rootLayoutDetailNames
[
i
];
const
rootItem
=
this
.
layoutItems
[
name
];
if
(
!
rootItem
)
{
return
;
}
await
this
.
initLayoutItem
(
rootItem
);
}
}
return
true
;
}
/**
* 初始化布局项
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
async
initLayoutItem
(
layoutModelItem
:
any
,
index
:
number
=
0
)
{
const
{
name
}
=
layoutModelItem
;
const
layoutModelDetail
=
Util
.
getLayoutItemInstance
(
layoutModelItem
);
if
(
!
index
)
{
await
layoutModelDetail
.
load
(
this
.
context
,
this
.
viewparams
);
this
.
layoutData
[
name
]
=
layoutModelDetail
.
getData
();
this
.
$set
(
this
.
layoutData
,
name
,
layoutModelDetail
.
getData
());
this
.
$set
(
this
.
layoutModelDetails
,
name
,
layoutModelDetail
);
}
else
{
layoutModelDetail
.
setIndex
(
index
);
await
layoutModelDetail
.
load
(
this
.
context
,
this
.
viewparams
);
this
.
$set
(
this
.
layoutModelDetails
,
`
${
name
}
_
${
index
}
`
,
layoutModelDetail
);
this
.
$set
(
this
.
layoutData
,
`
${
name
}
_
${
index
}
`
,
layoutModelDetail
.
getData
());
}
if
(
layoutModelDetail
&&
layoutModelDetail
.
details
)
{
if
(
layoutModelDetail
.
dataRegionType
===
'MULTIDATA'
)
{
const
multiData
=
layoutModelDetail
.
getData
();
if
(
multiData
&&
multiData
.
length
>
0
)
{
for
(
let
i
=
0
;
i
<
multiData
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
layoutModelDetail
.
details
.
length
;
j
++
)
{
const
key
=
layoutModelDetail
.
details
[
j
];
if
(
this
.
layoutItems
[
key
])
{
await
this
.
initLayoutItem
(
this
.
layoutItems
[
key
],
i
);
}
}
}
}
}
else
{
for
(
let
i
=
0
;
i
<
layoutModelDetail
.
details
.
length
;
i
++
)
{
const
key
=
layoutModelDetail
.
details
[
i
];
if
(
this
.
layoutItems
[
key
])
{
await
this
.
initLayoutItem
(
this
.
layoutItems
[
key
],
index
);
}
}
}
}
}
/**
* 处理值改变
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
handleValueChange
(
$event
:
{
name
:
string
,
value
:
any
})
{
if
(
!
$event
||
!
$event
.
name
||
Object
.
is
(
$event
.
name
,
''
)
||
!
this
.
layoutData
.
hasOwnProperty
(
$event
.
name
))
{
return
;
}
this
.
layoutData
[
$event
.
name
]
=
$event
.
value
;
}
/**
* 获取按钮行为xData
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
public
getButtonXData
(
name
:
string
):
any
{
let
xData
=
null
;
let
curLayoutModel
=
null
;
Object
.
values
(
this
.
layoutModelDetails
).
forEach
((
layoutModel
:
any
)
=>
{
if
(
layoutModel
.
name
==
name
)
{
curLayoutModel
=
layoutModel
;
}
})
// 获取数据容器
if
(
curLayoutModel
)
{
const
getDataArea
=
(
cLayoutModel
:
any
):
any
=>
{
let
dataArea
=
null
;
let
parentLayoutModel
=
null
;
Object
.
values
(
this
.
layoutModelDetails
).
forEach
((
pLayoutModel
:
any
)
=>
{
if
(
pLayoutModel
.
name
==
cLayoutModel
.
parentName
)
{
parentLayoutModel
=
pLayoutModel
;
if
(
parentLayoutModel
.
dataRegionType
==
'SINGLEDATA'
||
parentLayoutModel
.
dataRegionType
==
'MULTIDATA'
)
{
dataArea
=
parentLayoutModel
;
}
}
})
if
(
!
dataArea
&&
parentLayoutModel
)
{
dataArea
=
getDataArea
(
parentLayoutModel
);
}
return
dataArea
;
}
xData
=
getDataArea
(
curLayoutModel
);
// 获取激活部件
if
(
!
xData
)
{
const
xDataControlName
=
"form"
;
let
xDataControl
=
null
;
Object
.
values
(
this
.
layoutModelDetails
).
forEach
((
layoutModel
:
any
)
=>
{
if
(
layoutModel
.
name
.
toLowerCase
()
==
xDataControlName
.
toLowerCase
())
{
xDataControl
=
layoutModel
;
return
}
})
xData
=
xDataControl
;
}
}
// 获取当前视图
if
(
!
xData
)
{
xData
=
this
;
}
return
xData
;
}
/**
* 处理按钮点击
*
* @public
* @memberof IBIZOrderSEditView3_layoutBase
*/
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
;
}
/**
/**
* 视图引擎
* 视图引擎
...
@@ -784,14 +699,11 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
...
@@ -784,14 +699,11 @@ export default class IBIZOrderSEditView3_layoutBase extends Vue {
*/
*/
public
afterMounted
(){
public
afterMounted
(){
const
_this
:
any
=
this
;
const
_this
:
any
=
this
;
_this
.
initLayout
().
then
((
result
:
any
)
=>
{
_this
.
isLayoutLoadding
=
false
;
_this
.
engineInit
();
_this
.
engineInit
();
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
if
(
_this
.
loadModel
&&
_this
.
loadModel
instanceof
Function
)
{
_this
.
loadModel
();
_this
.
loadModel
();
}
}
})
}
}
...
...
app_Web/src/pages/sample/ibizorder-sedit-view3-layout/ibizorder-sedit-view3-layout.less
浏览文件 @
2613f76a
.view-card {
> .ivu-card-extra {
top: 5px;
right: 0px;
}
}
.edit-view3 {
height: 100%;
}
.edit-view3-drheader {
height: 40px;
line-height: 40px;
display: flex;
flex-direction: row;
align-items: center;
border-bottom: 1px solid rgb(220, 222, 226);
.dr-tab-item {
cursor: pointer;
padding: 0 16px;
&.is-active,
&:hover {
color: #2d8cf0;
}
&.is-active {
position: relative;
}
&.is-active::after {
content: '';
width: 100%;
height: 2px;
background: #2d8cf0;
position: absolute;
left: 0px;
bottom: 0px;
}
}
}
.edit-view3-content {
height: calc(100% - 40px);
.edit-view3-content__form,
> .view-container2 {
height: 100%;
}
}
.ibizorder-sedit-view3-layout {
.ibizorder-sedit-view3-layout {
display: block;
height: 100%;
}
.ibizorder-sedit-view3-layout{
position: relative;
}
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
2613f76a
...
@@ -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
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
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
:
'IBIZBOOKUsr
9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5Data
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/guide-return-form-form/guide-return-form-form-base.vue
浏览文件 @
2613f76a
...
@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1266,7 +1266,7 @@ export default class GuideReturnFormBase 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
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1301,7 +1301,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
*/
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1362,7 +1362,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1362,7 +1362,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1470,7 +1470,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1470,7 +1470,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -1544,7 +1544,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1544,7 +1544,7 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKWizardView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
@@ -1961,4 +1961,5 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
...
@@ -1961,4 +1961,5 @@ export default class GuideReturnFormBase extends Vue implements ControlInterface
<
style
lang=
'less'
>
<
style
lang=
'less'
>
@import './guide-return-form-form.less';
@import './guide-return-form-form.less';
</
style
>
de-return-form-form.less';
</style>
</style>
\ No newline at end of file
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
浏览文件 @
2613f76a
...
@@ -1800,7 +1800,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1800,7 +1800,7 @@ export default class MainBase 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
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -1835,7 +1835,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1835,7 +1835,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
@@ -1897,7 +1897,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1897,7 +1897,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -2005,7 +2005,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2005,7 +2005,7 @@ export default class MainBase extends Vue implements ControlInterface {
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
const
action
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)
?
this
.
updateAction
:
this
.
createAction
;
if
(
!
action
){
if
(
!
action
){
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
let
actionName
:
any
=
Object
.
is
(
data
.
srfuf
,
'1'
)?
"updateAction"
:
"createAction"
;
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
return
;
}
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -2082,7 +2082,7 @@ export default class MainBase extends Vue implements ControlInterface {
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
public
remove
(
opt
:
Array
<
any
>
=
[],
showResultInfo
?:
boolean
):
Promise
<
any
>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
return
new
Promise
((
resolve
:
any
,
reject
:
any
)
=>
{
if
(
!
this
.
removeAction
){
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
opt
[
0
];
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
2613f76a
...
@@ -621,7 +621,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -621,7 +621,7 @@ export default class QUICKSEARCHFORMBase 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
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase 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
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizorder/card-navigation-dataview/card-navigation-dataview-base.vue
浏览文件 @
2613f76a
...
@@ -657,7 +657,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
...
@@ -657,7 +657,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
*/
*/
public
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
void
{
public
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -736,7 +736,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
...
@@ -736,7 +736,7 @@ export default class CardNavigationBase 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
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
let
_datas
:
any
[]
=
[];
let
_datas
:
any
[]
=
[];
...
@@ -845,7 +845,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
...
@@ -845,7 +845,7 @@ export default class CardNavigationBase 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
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.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
);
...
@@ -853,7 +853,7 @@ export default class CardNavigationBase extends Vue implements ControlInterface
...
@@ -853,7 +853,7 @@ export default class CardNavigationBase 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
:
'IBIZOrderDataViewExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderDataViewExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
if
(
item
.
ibizorder
){
...
...
app_Web/src/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
浏览文件 @
2613f76a
...
@@ -522,7 +522,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
...
@@ -522,7 +522,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{...
opt
};
const
arg
:
any
=
{...
opt
};
...
@@ -638,7 +638,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
...
@@ -638,7 +638,7 @@ export default class ListExpBase 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
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
return
;
}
}
if
(
datas
.
length
===
0
)
{
if
(
datas
.
length
===
0
)
{
...
@@ -733,7 +733,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
...
@@ -733,7 +733,7 @@ export default class ListExpBase 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
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.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
);
...
@@ -741,7 +741,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
...
@@ -741,7 +741,7 @@ export default class ListExpBase 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.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
if
(
item
.
ibizorder
){
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZOrderSEditView3_layout.json
浏览文件 @
2613f76a
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
"getPSDEViewCodeName"
:
"SEditView3_layout"
,
"getPSDEViewCodeName"
:
"SEditView3_layout"
,
"getPSDEViewId"
:
"23CE50EF-DA4E-4DCD-AF6E-DEEE4FFF92FA"
,
"getPSDEViewId"
:
"23CE50EF-DA4E-4DCD-AF6E-DEEE4FFF92FA"
,
"getPSViewLayoutPanel"
:
{
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Usr1107
327680
"
,
"codeName"
:
"Usr1107
424558
"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"layoutMode"
:
"FLEX"
,
"layoutMode"
:
"FLEX"
,
"logicName"
:
"SEditView3_layoutDEEDITVIEW3"
,
"logicName"
:
"SEditView3_layoutDEEDITVIEW3"
,
...
@@ -37,11 +37,23 @@
...
@@ -37,11 +37,23 @@
"getPSLayout"
:
{
"getPSLayout"
:
{
"layout"
:
"FLEX"
"layout"
:
"FLEX"
},
},
"getRootPSPanelItems"
:
[
{
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container1"
,
"getPSLayout"
:
{
"layout"
:
"FLEX"
},
"getPSLayoutPos"
:
{
"grow"
:
-1
,
"layout"
:
"FLEX"
}
}
],
"layoutBodyOnly"
:
false
,
"layoutBodyOnly"
:
false
,
"layoutPanel"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
false
,
"useDefaultLayout"
:
false
,
"viewProxyMode"
:
true
,
"viewProxyMode"
:
true
,
"modelid"
:
"B
2BB9850-28D9-49FB-8374-DFCF16AB953D
"
,
"modelid"
:
"B
5B14783-E693-40F6-86D4-5D3C75CE53C4
"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
,
"getPSAppViewEngines"
:
[
{
"getPSAppViewEngines"
:
[
{
"engineCat"
:
"VIEW"
,
"engineCat"
:
"VIEW"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
2613f76a
...
@@ -340,7 +340,7 @@
...
@@ -340,7 +340,7 @@
<!--输出实体[IBIZORDER]数据结构 -->
<!--输出实体[IBIZORDER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-26
0
-14"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizorder-26
8
-14"
>
<createTable
tableName=
"T_IBIZORDER"
>
<createTable
tableName=
"T_IBIZORDER"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
<column
name=
"TP"
remarks=
""
type=
"TEXT(1048576)"
>
</column>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
2613f76a
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</createView>
</createView>
</changeSet>
</changeSet>
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<!--输出实体[IBIZORDER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-26
0
-8"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizorder-26
8
-8"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDER"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZORDER"
>
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
<![CDATA[ SELECT t1.[AMOUNT], t1.[CREATEDATE], t1.[CREATEMAN], t1.[DETAILNUM], t1.[IBIZCUSTOMERID], t11.[IBIZCUSTOMERNAME], t1.[IBIZORDERID], t1.[IBIZORDERNAME], t1.[MEMO], t1.[ORDERSTATE], t1.[ORDERTIME], t1.[ORDERTYPE], t1.[ORDERUID], t1.[UPDATEDATE], t1.[UPDATEMAN], t1.[WFINSTANCEID], t1.[WFSTATE], t1.[WFSTEP] FROM [T_IBIZORDER] t1 LEFT JOIN T_IBIZCUSTOMER t11 ON t1.IBIZCUSTOMERID = t11.IBIZCUSTOMERID ]]>
</createView>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录