Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
a449e5f2
提交
a449e5f2
编写于
11月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
4106f079
变更
15
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
15 个修改的文件
包含
481 行增加
和
214 行删除
+481
-214
ibizcustomer-usr2-pickup-view-layout-base.vue
...view-layout/ibizcustomer-usr2-pickup-view-layout-base.vue
+221
-29
ibizcustomer-usr2-pickup-view-layout.less
...kup-view-layout/ibizcustomer-usr2-pickup-view-layout.less
+2
-16
custom-view-grid-load-ui-logic-base.ts
...uiservice/ibizbook/custom-view-grid-load-ui-logic-base.ts
+73
-73
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
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-26
usr2-dataview-model.ts
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
+12
-1
list-exp-list-base.vue
...rc/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
+4
-4
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+21
-7
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+15
-0
IBIZBOOK.json
...remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
+47
-46
IBIZCustomerUsr2PickupView_layout.json
...S/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView_layout.json
+50
-2
h2_table.xml
demo-core/src/main/resources/liquibase/h2_table.xml
+3
-3
view.xml
demo-core/src/main/resources/liquibase/view.xml
+1
-1
未找到文件。
app_Web/src/pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout-base.vue
浏览文件 @
a449e5f2
此差异已折叠。
点击以展开。
app_Web/src/pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout.less
浏览文件 @
a449e5f2
.ibizcustomer-usr2-pickup-view-layout{
position: relative;
}
.pickup-view {
>.pickupviewpanel {
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: calc(100% - 64px);
}
>.footer {
height: 64px;
}
.ibizcustomer-usr2-pickup-view-layout {
display: block;
}
app_Web/src/uiservice/ibizbook/custom-view-grid-load-ui-logic-base.ts
浏览文件 @
a449e5f2
...
...
@@ -28,27 +28,27 @@ export default class CustomViewGridLoadUILogicBase {
* @memberof CustomViewGridLoadUILogicBase
*/
protected
logicParams
:
any
[]
=
[
{
name
:
'搜索表单部件'
,
codeName
:
'searchForm'
,
ctrlParam
:
true
,
},
{
name
:
'传入变量'
,
codeName
:
'Default'
,
default
:
true
,
entityParam
:
true
,
},
{
name
:
'视图参数'
,
codeName
:
'viewParam'
,
viewNavDataParam
:
true
,
},
{
name
:
'表格部件'
,
codeName
:
'grid'
,
ctrlParam
:
true
,
},
{
name
:
'搜索表单部件'
,
codeName
:
'searchForm'
,
ctrlParam
:
true
,
},
{
name
:
'视图参数'
,
codeName
:
'viewParam'
,
viewNavDataParam
:
true
,
},
{
name
:
'当前视图'
,
codeName
:
'view'
,
...
...
@@ -129,6 +129,37 @@ export default class CustomViewGridLoadUILogicBase {
await
this
.
execute_bindparam1_node
(
actionContext
);
}
/**
* 表格加载
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected
async
execute_viewctrlinvoke1_node
(
actionContext
:
UIActionContext
)
{
const
invokeCtrl
=
'grid'
;
const
invokeMethod
=
'load'
;
const
invokeParam
=
'viewParam'
;
if
(
!
invokeCtrl
||
!
invokeMethod
)
{
throw
new
Error
(
`界面对象或者调用方法缺失`
);
}
const
invokeUICtrl
=
actionContext
.
getParam
(
invokeCtrl
).
getReal
();
if
(
invokeUICtrl
[
invokeMethod
]
&&
invokeUICtrl
[
invokeMethod
]
instanceof
Function
)
{
try
{
const
result
=
await
invokeUICtrl
[
invokeMethod
]();
if
(
invokeParam
)
{
actionContext
.
getParam
(
invokeParam
).
bind
(
result
);
}
actionContext
.
bindLastReturnParam
(
result
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象调用
${
invokeMethod
}
方法发生异常`
);
}
}
else
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象不存在
${
invokeMethod
}
方法`
);
}
console
.
log
(
'已完成执行 表格加载 节点'
);
await
this
.
execute_end1_node
(
actionContext
);
}
/**
* 绑定表格
*
...
...
@@ -161,37 +192,6 @@ export default class CustomViewGridLoadUILogicBase {
}
}
/**
* 搜索表单加载草稿
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected
async
execute_viewctrlinvoke2_node
(
actionContext
:
UIActionContext
)
{
const
invokeCtrl
=
'searchForm'
;
const
invokeMethod
=
'loadDraft'
;
const
invokeParam
=
'viewParam'
;
if
(
!
invokeCtrl
||
!
invokeMethod
)
{
throw
new
Error
(
`界面对象或者调用方法缺失`
);
}
const
invokeUICtrl
=
actionContext
.
getParam
(
invokeCtrl
).
getReal
();
if
(
invokeUICtrl
[
invokeMethod
]
&&
invokeUICtrl
[
invokeMethod
]
instanceof
Function
)
{
try
{
const
result
=
await
invokeUICtrl
[
invokeMethod
]();
if
(
invokeParam
)
{
actionContext
.
getParam
(
invokeParam
).
bind
(
result
);
}
actionContext
.
bindLastReturnParam
(
result
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象调用
${
invokeMethod
}
方法发生异常`
);
}
}
else
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象不存在
${
invokeMethod
}
方法`
);
}
console
.
log
(
'已完成执行 搜索表单加载草稿 节点'
);
await
this
.
execute_viewctrlinvoke1_node
(
actionContext
);
}
/**
* 绑定搜索表单
*
...
...
@@ -205,7 +205,7 @@ export default class CustomViewGridLoadUILogicBase {
// 目标数据
const
dstParam
=
actionContext
.
getParam
(
'searchForm'
);
// 源属性
const
srcFieldName
:
string
=
''
;
const
srcFieldName
:
string
=
'
searchform
'
;
if
(
srcFieldName
)
{
dstParam
.
bind
(
srcParam
.
get
(
srcFieldName
));
}
else
{
...
...
@@ -219,37 +219,6 @@ export default class CustomViewGridLoadUILogicBase {
await
this
.
execute_bindparam2_node
(
actionContext
);
}
/**
* 表格加载
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected
async
execute_viewctrlinvoke1_node
(
actionContext
:
UIActionContext
)
{
const
invokeCtrl
=
'grid'
;
const
invokeMethod
=
'load'
;
const
invokeParam
=
'viewParam'
;
if
(
!
invokeCtrl
||
!
invokeMethod
)
{
throw
new
Error
(
`界面对象或者调用方法缺失`
);
}
const
invokeUICtrl
=
actionContext
.
getParam
(
invokeCtrl
).
getReal
();
if
(
invokeUICtrl
[
invokeMethod
]
&&
invokeUICtrl
[
invokeMethod
]
instanceof
Function
)
{
try
{
const
result
=
await
invokeUICtrl
[
invokeMethod
]();
if
(
invokeParam
)
{
actionContext
.
getParam
(
invokeParam
).
bind
(
result
);
}
actionContext
.
bindLastReturnParam
(
result
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象调用
${
invokeMethod
}
方法发生异常`
);
}
}
else
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象不存在
${
invokeMethod
}
方法`
);
}
console
.
log
(
'已完成执行 表格加载 节点'
);
await
this
.
execute_end1_node
(
actionContext
);
}
/**
* 结束
*
...
...
@@ -277,5 +246,36 @@ export default class CustomViewGridLoadUILogicBase {
console
.
log
(
'已完成执行 结束 节点'
);
}
/**
* 搜索表单加载草稿
*
* @param {UIActionContext} actionContext 界面逻辑上下文
* @memberof CustomViewGridLoadUILogicBase
*/
protected
async
execute_viewctrlinvoke2_node
(
actionContext
:
UIActionContext
)
{
const
invokeCtrl
=
'searchForm'
;
const
invokeMethod
=
'loadDraft'
;
const
invokeParam
=
'viewParam'
;
if
(
!
invokeCtrl
||
!
invokeMethod
)
{
throw
new
Error
(
`界面对象或者调用方法缺失`
);
}
const
invokeUICtrl
=
actionContext
.
getParam
(
invokeCtrl
).
getReal
();
if
(
invokeUICtrl
[
invokeMethod
]
&&
invokeUICtrl
[
invokeMethod
]
instanceof
Function
)
{
try
{
const
result
=
await
invokeUICtrl
[
invokeMethod
]();
if
(
invokeParam
)
{
actionContext
.
getParam
(
invokeParam
).
bind
(
result
);
}
actionContext
.
bindLastReturnParam
(
result
);
}
catch
(
error
:
any
)
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象调用
${
invokeMethod
}
方法发生异常`
);
}
}
else
{
throw
new
Error
(
`
${
invokeCtrl
}
界面对象不存在
${
invokeMethod
}
方法`
);
}
console
.
log
(
'已完成执行 搜索表单加载草稿 节点'
);
await
this
.
execute_viewctrlinvoke1_node
(
actionContext
);
}
}
\ No newline at end of file
app_Web/src/widgets/ibizappeditor/default-searchform/default-searchform-base.vue
浏览文件 @
a449e5f2
...
...
@@ -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
:
'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
};
...
...
@@ -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
:
'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
浏览文件 @
a449e5f2
...
...
@@ -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
:
'IBIZBOOK
Usr9Grid
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
;
}
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
:
'IBIZBOOK
Usr9Grid
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
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
a449e5f2
...
...
@@ -629,7 +629,7 @@ export default class QUICKSEARCHFORMBase 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
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
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -665,7 +665,7 @@ export default class QUICKSEARCHFORMBase 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
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
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
a449e5f2
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
浏览文件 @
a449e5f2
...
...
@@ -10,7 +10,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Data
viewexpbar_datav
iewMode
* @memberof Usr2Data
V
iewMode
*/
public
getDataItems
():
any
[]
{
return
[
...
...
@@ -39,6 +39,17 @@ export default class Usr2Model {
dataType
:
'FONTKEY'
,
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
app_Web/src/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
浏览文件 @
a449e5f2
...
...
@@ -530,7 +530,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -646,7 +646,7 @@ export default class ListExpBase 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
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
@@ -741,7 +741,7 @@ export default class ListExpBase 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
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.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
);
...
...
@@ -749,7 +749,7 @@ export default class ListExpBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView
_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZOrderListExpView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
a449e5f2
...
...
@@ -299,7 +299,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
Pickup
GridViewBase
* @memberof IBIZOrder
SF1
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -421,6 +421,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -953,7 +967,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -1048,7 +1062,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1154,7 +1168,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2071,7 +2085,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
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
);
...
...
@@ -2079,7 +2093,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizorder
){
...
...
@@ -2146,7 +2160,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
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
a449e5f2
...
...
@@ -104,6 +104,21 @@ export default class MainModel {
prop
:
'n_ibizordername_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_orderstate_eq'
,
prop
:
'n_orderstate_eq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_gt'
,
prop
:
'n_ordertime_gt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_ordertime_lt'
,
prop
:
'n_ordertime_lt'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json
浏览文件 @
a449e5f2
...
...
@@ -2207,6 +2207,31 @@
}
}
],
"parallelOutput"
:
true
},
{
"codeName"
:
"VIEWCTRLINVOKE1"
,
"getInvokeCtrl"
:
{
"modelref"
:
true
,
"id"
:
"grid"
},
"invokeMethod"
:
"load"
,
"getInvokeParam"
:
{
"modelref"
:
true
,
"id"
:
"viewParam"
},
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"name"
:
"表格加载"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"END1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE1"
}
}
]
},
{
"codeName"
:
"BINDPARAM2"
,
"getDstPSDEUILogicParam"
:
{
...
...
@@ -2269,31 +2294,6 @@
"modelref"
:
true
,
"id"
:
"view"
}
},
{
"codeName"
:
"VIEWCTRLINVOKE2"
,
"getInvokeCtrl"
:
{
"modelref"
:
true
,
"id"
:
"searchForm"
},
"invokeMethod"
:
"loadDraft"
,
"getInvokeParam"
:
{
"modelref"
:
true
,
"id"
:
"viewParam"
},
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"name"
:
"搜索表单加载草稿"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE2"
}
}
]
},
{
"codeName"
:
"BINDPARAM1"
,
"getDstPSDEUILogicParam"
:
{
...
...
@@ -2314,62 +2314,63 @@
"id"
:
"BINDPARAM1"
}
}
],
"srcFieldName"
:
"searchForm"
,
"getSrcPSDEUILogicParam"
:
{
"modelref"
:
true
,
"id"
:
"view"
}
},
{
"codeName"
:
"VIEWCTRLINVOKE1"
,
"codeName"
:
"END1"
,
"logicNodeType"
:
"END"
,
"name"
:
"结束"
,
"returnType"
:
"NONEVALUE"
},
{
"codeName"
:
"VIEWCTRLINVOKE2"
,
"getInvokeCtrl"
:
{
"modelref"
:
true
,
"id"
:
"
grid
"
"id"
:
"
searchForm
"
},
"invokeMethod"
:
"load"
,
"invokeMethod"
:
"load
Draft
"
,
"getInvokeParam"
:
{
"modelref"
:
true
,
"id"
:
"viewParam"
},
"logicNodeType"
:
"VIEWCTRLINVOKE"
,
"name"
:
"
表格加载
"
,
"name"
:
"
搜索表单加载草稿
"
,
"getPSDEUILogicLinks"
:
[
{
"getDstPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"
END
1"
"id"
:
"
VIEWCTRLINVOKE
1"
},
"linkMode"
:
0
,
"name"
:
"连接名称"
,
"getSrcPSDEUILogicNode"
:
{
"modelref"
:
true
,
"id"
:
"VIEWCTRLINVOKE
1
"
"id"
:
"VIEWCTRLINVOKE
2
"
}
}
]
},
{
"codeName"
:
"END1"
,
"logicNodeType"
:
"END"
,
"name"
:
"结束"
,
"returnType"
:
"NONEVALUE"
}
],
"getPSDEUILogicParams"
:
[
{
"codeName"
:
"searchForm"
,
"logicName"
:
"搜索表单部件"
,
"name"
:
"搜索表单部件"
,
"ctrlParam"
:
true
},
{
"codeName"
:
"Default"
,
"logicName"
:
"传入变量"
,
"name"
:
"传入变量"
,
"default"
:
true
,
"entityParam"
:
true
},
{
"codeName"
:
"viewParam"
,
"logicName"
:
"视图参数"
,
"name"
:
"视图参数"
,
"viewNavDataParam"
:
true
},
{
"codeName"
:
"grid"
,
"logicName"
:
"表格部件"
,
"name"
:
"表格部件"
,
"ctrlParam"
:
true
},
{
"codeName"
:
"searchForm"
,
"logicName"
:
"搜索表单部件"
,
"name"
:
"搜索表单部件"
,
"ctrlParam"
:
true
},
{
"codeName"
:
"viewParam"
,
"logicName"
:
"视图参数"
,
"name"
:
"视图参数"
,
"viewNavDataParam"
:
true
},
{
"codeName"
:
"view"
,
"logicName"
:
"当前视图"
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr2PickupView_layout.json
浏览文件 @
a449e5f2
...
...
@@ -402,17 +402,65 @@
"getPSDEViewId"
:
"77A182D2-AD26-4B9C-A10C-D30A863D3131"
,
"getPSViewLayoutPanel"
:
{
"codeName"
:
"Layoutpanel"
,
"controlStyle"
:
"APPDEPICKUPVIEW"
,
"controlType"
:
"VIEWLAYOUTPANEL"
,
"layoutMode"
:
"TABLE_24COL"
,
"logicName"
:
"选择视图面板"
,
"name"
:
"layoutpanel"
,
"getPSAppDataEntity"
:
{
"modelref"
:
true
,
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZCustomer.json"
},
"getPSControlParam"
:
{
},
"getPSLayout"
:
{
"columnCount"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getRootPSPanelItems"
:
[
{
"caption"
:
"滚动条容器"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"colMD"
:
24
,
"layout"
:
"TABLE_24COL"
},
"getPSPanelItems"
:
[
{
"caption"
:
"面板容器"
,
"contentWidth"
:
100.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container_scroll_main1"
,
"getPSLayout"
:
{
"layout"
:
"BORDER"
},
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
,
"width"
:
100
,
"widthMode"
:
"PX"
},
"getPSPanelItems"
:
[
{
"caption"
:
"PICKUPVIEWPANEL部件"
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CTRLPOS"
,
"name"
:
"pickupviewpanel"
,
"getPSLayoutPos"
:
{
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
},
"showCaption"
:
true
}
],
"showCaption"
:
true
}
]
}
],
"layoutBodyOnly"
:
true
,
"layoutPanel"
:
true
,
"useDefaultLayout"
:
true
"useDefaultLayout"
:
false
,
"modelid"
:
"C8C35576-88F9-41A0-A10A-60DAD8AF6CBB"
,
"modeltype"
:
"PSSYSVIEWLAYOUTPANEL"
},
"title"
:
"客户实体数据选择视图(树视图)"
,
"viewStyle"
:
"DEFAULT"
,
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
a449e5f2
...
...
@@ -172,7 +172,7 @@
<!--输出实体[IBIZBOOK]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-52
5
-7"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizbook-52
9
-7"
>
<createTable
tableName=
"T_IBIZBOOK"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-1
57
-10"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-1
65
-10"
>
<createTable
tableName=
"T_IBIZCUSTOMER"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
@@ -1160,7 +1160,7 @@
<!--输出实体[IBIZSAMPLE0021]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0021-3
4
-39"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizsample0021-3
5
-39"
>
<createTable
tableName=
"T_IBIZSAMPLE0021"
>
<column
name=
"IBIZSAMPLE0021ID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_IBIZSAMPLE0021_IBIZSAMPLE00"
/>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
a449e5f2
...
...
@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-1
57
-4"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-1
65
-4"
runOnChange=
"true"
>
<createView
fullDefinition=
"false"
replaceIfExists=
"true"
viewName=
"V_IBIZCUSTOMER"
>
<![CDATA[ SELECT t1.[ADDRESS], t1.[CREATEDATE], t1.[CREATEMAN], t1.[CUSTOMERUID], t1.[IBIZCUSTOMERID], t1.[IBIZCUSTOMERNAME], t1.[SN], t1.[UPDATEDATE], t1.[UPDATEMAN] FROM [T_IBIZCUSTOMER] t1 ]]>
</createView>
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录