Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
06fb95b8
提交
06fb95b8
编写于
11月 14, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
RedPig97 发布系统代码 [后台服务,演示应用]
上级
217af54b
变更
32
隐藏空白字符变更
内嵌
并排
正在显示
32 个修改的文件
包含
625 行增加
和
384 行删除
+625
-384
ibizbookoption-view-layout-base.vue
...ookoption-view-layout/ibizbookoption-view-layout-base.vue
+30
-24
ibizbookusr2-custom-view-base.vue
...bizbookusr2-custom-view/ibizbookusr2-custom-view-base.vue
+30
-24
ibizcustomer-intfmpickup-view-base.vue
...r-intfmpickup-view/ibizcustomer-intfmpickup-view-base.vue
+45
-15
ibizcustomer-mpickup-view-layout-base.vue
...kup-view-layout/ibizcustomer-mpickup-view-layout-base.vue
+76
-39
ibizcustomer-mpickup-view-base.vue
...zcustomer-mpickup-view/ibizcustomer-mpickup-view-base.vue
+45
-15
ibizcustomer-pickup-view-layout-base.vue
...ckup-view-layout/ibizcustomer-pickup-view-layout-base.vue
+32
-26
ibizcustomer-pickup-view-base.vue
...bizcustomer-pickup-view/ibizcustomer-pickup-view-base.vue
+0
-1
ibizcustomer-usr2-mpickup-view-layout-base.vue
...iew-layout/ibizcustomer-usr2-mpickup-view-layout-base.vue
+76
-39
ibizcustomer-usr2-mpickup-view-base.vue
...usr2-mpickup-view/ibizcustomer-usr2-mpickup-view-base.vue
+45
-15
ibizcustomer-usr2-pickup-view-layout-base.vue
...view-layout/ibizcustomer-usr2-pickup-view-layout-base.vue
+32
-26
ibizcustomer-usr2-pickup-view-base.vue
...r-usr2-pickup-view/ibizcustomer-usr2-pickup-view-base.vue
+0
-1
ibizcustomer-usr3-edit-view-base.vue
...tomer-usr3-edit-view/ibizcustomer-usr3-edit-view-base.vue
+31
-25
ibizhardware-index-pickup-view-base.vue
...index-pickup-view/ibizhardware-index-pickup-view-base.vue
+0
-1
ibizorder-pickup-view-base.vue
...mple/ibizorder-pickup-view/ibizorder-pickup-view-base.vue
+0
-1
ibizsample0002-mpickup-view-base.vue
...ple0002-mpickup-view/ibizsample0002-mpickup-view-base.vue
+45
-15
ibizsample0002-pickup-view-base.vue
...ample0002-pickup-view/ibizsample0002-pickup-view-base.vue
+0
-1
ibizsample0003-pickup-view-base.vue
...ample0003-pickup-view/ibizsample0003-pickup-view-base.vue
+0
-1
ibizuniproduct-index-pickup-view-base.vue
...dex-pickup-view/ibizuniproduct-index-pickup-view-base.vue
+0
-1
ibizuniproduct-pickup-view-base.vue
...niproduct-pickup-view/ibizuniproduct-pickup-view-base.vue
+0
-1
app-index-view-base.vue
.../src/pages/ungroup/app-index-view/app-index-view-base.vue
+7
-1
default.less
app_Web/src/styles/default.less
+50
-3
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
guide-view-form-form-base.vue
...izbook/guide-view-form-form/guide-view-form-form-base.vue
+8
-7
main-grid-base.vue
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
+7
-21
main-grid-model.ts
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
+0
-15
Usr.json
...SSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSGANTTS/Usr.json
+20
-20
TreeTable.json
.../PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
+10
-10
IBIZBOOKGanttView.json
...temodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
+20
-20
IBIZBOOKTreeGridExView.json
...el/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
+10
-10
IBIZCustomerUsr3EditView.json
.../PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json
+2
-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/pages/sample/ibizbookoption-view-layout/ibizbookoption-view-layout-base.vue
浏览文件 @
06fb95b8
...
...
@@ -484,33 +484,39 @@ export default class IBIZBOOKOptionView_layoutBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称
*/
public
async
panel_Layoutpanel_button_calluilogic2_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizbook'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
// 选择视图保存变更
if
(
Object
.
is
(
this
.
viewType
,
'DEPICKUPVIEW'
)
||
Object
.
is
(
this
.
viewType
,
'DEMPICKUPVIEW'
))
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
else
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizbook'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}).
catch
((
error
:
any
)
=>
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
).
catch
((
error
:
any
)
=>
{
}
)
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
})
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
}
}
...
...
app_Web/src/pages/sample/ibizbookusr2-custom-view/ibizbookusr2-custom-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -692,33 +692,39 @@ export default class IBIZBOOKUsr2CustomViewBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称
*/
public
async
panel_Usr1110541566_button_calluilogic4_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizbook'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
// 选择视图保存变更
if
(
Object
.
is
(
this
.
viewType
,
'DEPICKUPVIEW'
)
||
Object
.
is
(
this
.
viewType
,
'DEMPICKUPVIEW'
))
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
else
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizbook'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}).
catch
((
error
:
any
)
=>
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
).
catch
((
error
:
any
)
=>
{
}
)
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
})
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
}
}
...
...
app_Web/src/pages/sample/ibizcustomer-intfmpickup-view/ibizcustomer-intfmpickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -5,21 +5,51 @@
<div
class=
"content-container pickup-view"
>
<div
class=
"translate-contant"
>
<div
class=
"center"
:style=
"
{width : !isShowButton ? '100%' : ''}">
<!-- DEMPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
class=
"pickupviewpanel__container"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__center"
>
<div
class=
"pickupviewpanel__center__buttons"
>
<i-button
type=
"primary"
:title=
"containerModel.view_rightbtn.text"
:disabled=
"containerModel.view_rightbtn.disabled"
@
click=
"onCLickRight"
>
<i
class=
"el-icon-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_leftbtn.text"
:disabled=
"containerModel.view_leftbtn.disabled"
@
click=
"onCLickLeft"
>
<i
class=
"el-icon-arrow-left"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allrightbtn.text"
@
click=
"onCLickAllRight"
>
<i
class=
"el-icon-d-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allleftbtn.text"
@
click=
"onCLickAllLeft"
>
<i
class=
"el-icon-d-arrow-left"
></i>
</i-button>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__right"
>
<div
class=
"pickupviewpanel__right__select"
>
<div
v-for=
"(item, index) in viewSelections"
:key=
"index"
:class=
"item._select ? 'select' : ''"
@
click=
"selectionsClick(item)"
@
dblclick=
"selectionsDBLClick(item)"
>
<span>
{{
item
.
srfmajortext
}}
</span>
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"translate-buttons"
>
<div
class=
"buttons"
>
...
...
app_Web/src/pages/sample/ibizcustomer-mpickup-view-layout/ibizcustomer-mpickup-view-layout-base.vue
浏览文件 @
06fb95b8
...
...
@@ -6,21 +6,52 @@
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
pickupviewpanel
>
<app-ctrl-pos
name=
"pickupviewpanel"
:layoutModelDetails=
"layoutModelDetails"
>
<!-- DEMPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
class=
"pickupviewpanel__container"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__center"
>
<div
class=
"pickupviewpanel__center__buttons"
>
<i-button
type=
"primary"
:title=
"containerModel.view_rightbtn.text"
:disabled=
"containerModel.view_rightbtn.disabled"
@
click=
"onCLickRight"
>
<i
class=
"el-icon-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_leftbtn.text"
:disabled=
"containerModel.view_leftbtn.disabled"
@
click=
"onCLickLeft"
>
<i
class=
"el-icon-arrow-left"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allrightbtn.text"
@
click=
"onCLickAllRight"
>
<i
class=
"el-icon-d-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allleftbtn.text"
@
click=
"onCLickAllLeft"
>
<i
class=
"el-icon-d-arrow-left"
></i>
</i-button>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__right"
>
<div
class=
"pickupviewpanel__right__select"
>
<div
v-for=
"(item, index) in viewSelections"
:key=
"index"
:class=
"item._select ? 'select' : ''"
@
click=
"selectionsClick(item)"
@
dblclick=
"selectionsDBLClick(item)"
>
<span>
{{
item
.
srfmajortext
}}
</span>
</div>
</div>
</div>
</div>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
...
...
@@ -469,33 +500,39 @@ export default class IBIZCustomerMPickupView_layoutBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称
*/
public
async
panel_Layoutpanel_button_calluilogic1_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
// 选择视图保存变更
if
(
Object
.
is
(
this
.
viewType
,
'DEPICKUPVIEW'
)
||
Object
.
is
(
this
.
viewType
,
'DEMPICKUPVIEW'
))
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
else
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}).
catch
((
error
:
any
)
=>
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
).
catch
((
error
:
any
)
=>
{
}
)
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
})
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
}
}
...
...
app_Web/src/pages/sample/ibizcustomer-mpickup-view/ibizcustomer-mpickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -5,21 +5,51 @@
<div
class=
"content-container pickup-view"
>
<div
class=
"translate-contant"
>
<div
class=
"center"
:style=
"
{width : !isShowButton ? '100%' : ''}">
<!-- DEMPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
class=
"pickupviewpanel__container"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__center"
>
<div
class=
"pickupviewpanel__center__buttons"
>
<i-button
type=
"primary"
:title=
"containerModel.view_rightbtn.text"
:disabled=
"containerModel.view_rightbtn.disabled"
@
click=
"onCLickRight"
>
<i
class=
"el-icon-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_leftbtn.text"
:disabled=
"containerModel.view_leftbtn.disabled"
@
click=
"onCLickLeft"
>
<i
class=
"el-icon-arrow-left"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allrightbtn.text"
@
click=
"onCLickAllRight"
>
<i
class=
"el-icon-d-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allleftbtn.text"
@
click=
"onCLickAllLeft"
>
<i
class=
"el-icon-d-arrow-left"
></i>
</i-button>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__right"
>
<div
class=
"pickupviewpanel__right__select"
>
<div
v-for=
"(item, index) in viewSelections"
:key=
"index"
:class=
"item._select ? 'select' : ''"
@
click=
"selectionsClick(item)"
@
dblclick=
"selectionsDBLClick(item)"
>
<span>
{{
item
.
srfmajortext
}}
</span>
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"translate-buttons"
>
<div
class=
"buttons"
>
...
...
app_Web/src/pages/sample/ibizcustomer-pickup-view-layout/ibizcustomer-pickup-view-layout-base.vue
浏览文件 @
06fb95b8
...
...
@@ -6,8 +6,7 @@
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
pickupviewpanel
>
<app-ctrl-pos
name=
"pickupviewpanel"
:layoutModelDetails=
"layoutModelDetails"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
...
...
@@ -21,6 +20,7 @@
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
...
...
@@ -468,33 +468,39 @@ export default class IBIZCustomerPickupView_layoutBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称
*/
public
async
panel_Layoutpanel_button_calluilogic1_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
// 选择视图保存变更
if
(
Object
.
is
(
this
.
viewType
,
'DEPICKUPVIEW'
)
||
Object
.
is
(
this
.
viewType
,
'DEMPICKUPVIEW'
))
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
else
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}).
catch
((
error
:
any
)
=>
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
).
catch
((
error
:
any
)
=>
{
}
)
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
})
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
}
}
...
...
app_Web/src/pages/sample/ibizcustomer-pickup-view/ibizcustomer-pickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -3,7 +3,6 @@
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizcustomerpickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
...
...
app_Web/src/pages/sample/ibizcustomer-usr2-mpickup-view-layout/ibizcustomer-usr2-mpickup-view-layout-base.vue
浏览文件 @
06fb95b8
...
...
@@ -6,21 +6,52 @@
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
pickupviewpanel
>
<app-ctrl-pos
name=
"pickupviewpanel"
:layoutModelDetails=
"layoutModelDetails"
>
<!-- DEMPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
class=
"pickupviewpanel__container"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__center"
>
<div
class=
"pickupviewpanel__center__buttons"
>
<i-button
type=
"primary"
:title=
"containerModel.view_rightbtn.text"
:disabled=
"containerModel.view_rightbtn.disabled"
@
click=
"onCLickRight"
>
<i
class=
"el-icon-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_leftbtn.text"
:disabled=
"containerModel.view_leftbtn.disabled"
@
click=
"onCLickLeft"
>
<i
class=
"el-icon-arrow-left"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allrightbtn.text"
@
click=
"onCLickAllRight"
>
<i
class=
"el-icon-d-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allleftbtn.text"
@
click=
"onCLickAllLeft"
>
<i
class=
"el-icon-d-arrow-left"
></i>
</i-button>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__right"
>
<div
class=
"pickupviewpanel__right__select"
>
<div
v-for=
"(item, index) in viewSelections"
:key=
"index"
:class=
"item._select ? 'select' : ''"
@
click=
"selectionsClick(item)"
@
dblclick=
"selectionsDBLClick(item)"
>
<span>
{{
item
.
srfmajortext
}}
</span>
</div>
</div>
</div>
</div>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
...
...
@@ -469,33 +500,39 @@ export default class IBIZCustomerUsr2MPickupView_layoutBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称
*/
public
async
panel_Layoutpanel_button_calluilogic1_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
// 选择视图保存变更
if
(
Object
.
is
(
this
.
viewType
,
'DEPICKUPVIEW'
)
||
Object
.
is
(
this
.
viewType
,
'DEMPICKUPVIEW'
))
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
else
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}).
catch
((
error
:
any
)
=>
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
).
catch
((
error
:
any
)
=>
{
}
)
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
})
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
}
}
...
...
app_Web/src/pages/sample/ibizcustomer-usr2-mpickup-view/ibizcustomer-usr2-mpickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -5,21 +5,51 @@
<div
class=
"content-container pickup-view"
>
<div
class=
"translate-contant"
>
<div
class=
"center"
:style=
"
{width : !isShowButton ? '100%' : ''}">
<!-- DEMPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
class=
"pickupviewpanel__container"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__center"
>
<div
class=
"pickupviewpanel__center__buttons"
>
<i-button
type=
"primary"
:title=
"containerModel.view_rightbtn.text"
:disabled=
"containerModel.view_rightbtn.disabled"
@
click=
"onCLickRight"
>
<i
class=
"el-icon-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_leftbtn.text"
:disabled=
"containerModel.view_leftbtn.disabled"
@
click=
"onCLickLeft"
>
<i
class=
"el-icon-arrow-left"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allrightbtn.text"
@
click=
"onCLickAllRight"
>
<i
class=
"el-icon-d-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allleftbtn.text"
@
click=
"onCLickAllLeft"
>
<i
class=
"el-icon-d-arrow-left"
></i>
</i-button>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__right"
>
<div
class=
"pickupviewpanel__right__select"
>
<div
v-for=
"(item, index) in viewSelections"
:key=
"index"
:class=
"item._select ? 'select' : ''"
@
click=
"selectionsClick(item)"
@
dblclick=
"selectionsDBLClick(item)"
>
<span>
{{
item
.
srfmajortext
}}
</span>
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"translate-buttons"
>
<div
class=
"buttons"
>
...
...
app_Web/src/pages/sample/ibizcustomer-usr2-pickup-view-layout/ibizcustomer-usr2-pickup-view-layout-base.vue
浏览文件 @
06fb95b8
...
...
@@ -6,8 +6,7 @@
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
pickupviewpanel
>
<app-ctrl-pos
name=
"pickupviewpanel"
:layoutModelDetails=
"layoutModelDetails"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
...
...
@@ -21,6 +20,7 @@
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
...
...
@@ -468,33 +468,39 @@ export default class IBIZCustomerUsr2PickupView_layoutBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称
*/
public
async
panel_Layoutpanel_button_calluilogic1_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
// 选择视图保存变更
if
(
Object
.
is
(
this
.
viewType
,
'DEPICKUPVIEW'
)
||
Object
.
is
(
this
.
viewType
,
'DEMPICKUPVIEW'
))
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
else
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}).
catch
((
error
:
any
)
=>
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
).
catch
((
error
:
any
)
=>
{
}
)
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
})
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
}
}
...
...
app_Web/src/pages/sample/ibizcustomer-usr2-pickup-view/ibizcustomer-usr2-pickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -3,7 +3,6 @@
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizcustomerusr2pickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
...
...
app_Web/src/pages/sample/ibizcustomer-usr3-edit-view/ibizcustomer-usr3-edit-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -533,7 +533,7 @@ export default class IBIZCustomerUsr3EditViewBase extends Vue {
view_pagecaption3
:{
name
:
'view_pagecaption3'
,
type
:
'VIEWLAYOUT'
,
caption
:
'页面标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'LEFT'
,
vAlignSelf
:
'TOP'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container21'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'VIEW_PAGECAPTION'
,
renderMode
:
'HEADING1'
,
dataItemName
:
''
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
view_pagecaption4
:{
name
:
'view_pagecaption4'
,
type
:
'VIEWLAYOUT'
,
caption
:
'页面标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container21'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'VIEW_PAGECAPTION'
,
renderMode
:
'HEADING1'
,
dataItemName
:
''
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
view_pagecaption5
:{
name
:
'view_pagecaption5'
,
type
:
'VIEWLAYOUT'
,
caption
:
'页面标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
'RIGHT'
,
vAlignSelf
:
'BOTTOM'
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container21'
,
panel
:
this
,
required
:
false
,
fieldState
:
'0'
,
predefinedType
:
'VIEW_PAGECAPTION'
,
renderMode
:
'HEADING1'
,
dataItemName
:
''
,
wrapMode
:
''
,
vAlign
:
''
,
hAlign
:
''
,
},
container21
:{
name
:
'container21'
,
type
:
'VIEWLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
1
00
,
heightMode
:
'PX'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
'center'
,
dir
:
'row'
,
vAlign
:
'center'
},
parentName
:
'container_scroll_main1'
,
panel
:
this
,
details
:[
'view_pagecaption3'
,
'view_pagecaption4'
,
'view_pagecaption5'
]
,
dataRegionType
:
'INHERIT'
},
container21
:{
name
:
'container21'
,
type
:
'VIEWLAYOUT'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
5
00
,
heightMode
:
'PX'
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
'center'
,
dir
:
'row'
,
vAlign
:
'center'
},
parentName
:
'container_scroll_main1'
,
panel
:
this
,
details
:[
'view_pagecaption3'
,
'view_pagecaption4'
,
'view_pagecaption5'
]
,
dataRegionType
:
'INHERIT'
},
container_scroll_main1
:{
name
:
'container_scroll_main1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'CENTER'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
parentName
:
'container_scroll1'
,
panel
:
this
,
details
:[
'static_label1'
,
'container_grid1'
,
'static_label2'
,
'container_grid2'
,
'static_label3'
,
'container_grid5'
,
'static_label4'
,
'container_grid3'
,
'container20'
,
'container21'
]
,
dataRegionType
:
'INHERIT'
},
container_scroll1
:{
name
:
'container_scroll1'
,
type
:
'VIEWLAYOUT'
,
caption
:
'滚动条容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
itemStyle
:
'DEFAULT'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container_scroll_main1'
]
,
dataRegionType
:
'INHERIT'
}
}
...
...
@@ -774,33 +774,39 @@ export default class IBIZCustomerUsr3EditViewBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称
*/
public
async
panel_Layoutpanel_button_calluilogic23_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
// 选择视图保存变更
if
(
Object
.
is
(
this
.
viewType
,
'DEPICKUPVIEW'
)
||
Object
.
is
(
this
.
viewType
,
'DEMPICKUPVIEW'
))
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
else
{
// 准备上下文参数
const
tempContext
=
{...
context
};
if
(
xData
&&
xData
.
context
)
{
Object
.
assign
(
tempContext
,
xData
.
context
);
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
const
data
=
args
[
0
];
let
action
:
string
|
undefined
=
undefined
;
const
service
=
await
window
.
entityServiceRegister
.
getService
(
'ibizcustomer'
);
if
(
service
)
{
const
key
=
service
.
APPDEKEY
.
toLowerCase
();
const
name
=
service
.
APPLYDEKEY
.
toLowerCase
();
if
(
data
.
hasOwnProperty
(
key
))
{
Object
.
assign
(
tempContext
,
{
[
name
]:
data
[
key
]
});
action
=
'Update'
;
}
else
{
action
=
'Create'
;
}
if
(
service
[
action
]
&&
service
[
action
]
instanceof
Function
)
{
service
[
action
](
tempContext
,
data
).
then
((
response
:
any
)
=>
{
if
(
!
response
.
status
||
response
.
status
!==
200
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}).
catch
((
error
:
any
)
=>
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
).
catch
((
error
:
any
)
=>
{
}
)
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
})
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'当前环境无法执行保存变更逻辑[执行行为异常]'
});
}
}
}
}
...
...
app_Web/src/pages/sample/ibizhardware-index-pickup-view/ibizhardware-index-pickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -3,7 +3,6 @@
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizhardwareindexpickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
...
...
app_Web/src/pages/sample/ibizorder-pickup-view/ibizorder-pickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -3,7 +3,6 @@
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizorderpickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
...
...
app_Web/src/pages/sample/ibizsample0002-mpickup-view/ibizsample0002-mpickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -5,21 +5,51 @@
<div
class=
"content-container pickup-view"
>
<div
class=
"translate-contant"
>
<div
class=
"center"
:style=
"
{width : !isShowButton ? '100%' : ''}">
<!-- DEMPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
class=
"pickupviewpanel__container"
>
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
:context=
"JSON.parse(JSON.stringify(context))"
:isSingleSelect=
"isSingleSelect"
:selectedData=
"selectedData"
:isShowButton=
"isShowButton"
name=
"pickupviewpanel"
ref=
'pickupviewpanel'
@
selectionchange=
"pickupviewpanel_selectionchange($event)"
@
load=
"pickupviewpanel_load($event)"
@
activated=
"pickupviewpanel_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_pickupviewpanel
>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__center"
>
<div
class=
"pickupviewpanel__center__buttons"
>
<i-button
type=
"primary"
:title=
"containerModel.view_rightbtn.text"
:disabled=
"containerModel.view_rightbtn.disabled"
@
click=
"onCLickRight"
>
<i
class=
"el-icon-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_leftbtn.text"
:disabled=
"containerModel.view_leftbtn.disabled"
@
click=
"onCLickLeft"
>
<i
class=
"el-icon-arrow-left"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allrightbtn.text"
@
click=
"onCLickAllRight"
>
<i
class=
"el-icon-d-arrow-right"
></i>
</i-button>
<i-button
type=
"primary"
:title=
"containerModel.view_allleftbtn.text"
@
click=
"onCLickAllLeft"
>
<i
class=
"el-icon-d-arrow-left"
></i>
</i-button>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"pickupviewpanel__right"
>
<div
class=
"pickupviewpanel__right__select"
>
<div
v-for=
"(item, index) in viewSelections"
:key=
"index"
:class=
"item._select ? 'select' : ''"
@
click=
"selectionsClick(item)"
@
dblclick=
"selectionsDBLClick(item)"
>
<span>
{{
item
.
srfmajortext
}}
</span>
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"isShowButton"
class=
"translate-buttons"
>
<div
class=
"buttons"
>
...
...
app_Web/src/pages/sample/ibizsample0002-pickup-view/ibizsample0002-pickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -3,7 +3,6 @@
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizsample0002pickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
...
...
app_Web/src/pages/sample/ibizsample0003-pickup-view/ibizsample0003-pickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -3,7 +3,6 @@
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizsample0003pickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
...
...
app_Web/src/pages/sample/ibizuniproduct-index-pickup-view/ibizuniproduct-index-pickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -3,7 +3,6 @@
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizuniproductindexpickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
...
...
app_Web/src/pages/sample/ibizuniproduct-pickup-view/ibizuniproduct-pickup-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -3,7 +3,6 @@
<app-studioaction
:viewTitle=
"$t(model.srfCaption)"
viewName=
"ibizuniproductpickupview"
></app-studioaction>
<card
class=
'view-card view-no-caption view-no-toolbar'
:dis-hover=
"true"
:padding=
"0"
:bordered=
"false"
>
<div
class=
"content-container pickup-view"
>
<!-- DEPICKUPVIEW -->
<view
_pickupviewpanel
:viewState=
"viewState"
:viewparams=
"JSON.parse(JSON.stringify(viewparams))"
...
...
app_Web/src/pages/ungroup/app-index-view/app-index-view-base.vue
浏览文件 @
06fb95b8
...
...
@@ -712,7 +712,13 @@ export default class AppIndexViewBase extends Vue {
* @param {*} [srfParentDeName] 父实体名称
*/
public
async
panel_Usr1102678360_button_calluilogic6_click
(
args
:
any
[],
context
:
any
=
{},
params
:
any
=
{},
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'保存变更行为未配置实体'
});
// 选择视图保存变更
if
(
Object
.
is
(
this
.
viewType
,
'DEPICKUPVIEW'
)
||
Object
.
is
(
this
.
viewType
,
'DEMPICKUPVIEW'
))
{
this
.
$emit
(
'viewdataschange'
,
this
.
viewSelections
);
this
.
$emit
(
'close'
,
null
);
}
else
{
actionContext
.
$Notice
.
error
({
title
:
'错误'
,
desc
:
'保存变更行为未配置实体'
});
}
}
/**
* 删除数据按钮
...
...
app_Web/src/styles/default.less
浏览文件 @
06fb95b8
...
...
@@ -315,9 +315,56 @@
margin: 6px 0 4px 4px;
}
}
.app-ctrl-pos>.pickupviewpanel {
height: 100%;
padding-top: 8px;
.app-ctrl-pos.pickupviewpanel {
.pickupviewpanel__container {
overflow: auto;
flex-grow: 1;
display: flex;
justify-content: flex-end;
height: 100%;
.pickupviewpanel__center {
width: 80px;
display: flex;
align-items: center;
text-align: center;
button {
margin-bottom: 5px;
}
}
.pickupviewpanel__right {
width: 300px;
border: 1px solid #e9e9e9;
.pickupviewpanel__right__select {
font-family: helvetica, sans-serif;
font-size: 16px;
text-align: justify;
word-spacing: -3.8pt;
line-height: 1.6;
font-weight: bold;
word-spacing: 10px;
height: 100%;
overflow: auto;
}
.pickupviewpanel__right__select > div {
padding: 3px 10px;
font-size: 14px;
color: rgba(0, 0, 0, 0.85);
font-weight: initial;
cursor: pointer;
min-height: 28px;
border: 1px solid #e9e9e9;
margin: 4px 4px;
transition: all .3s;
}
.pickupviewpanel__right__select > div:hover {
background: #ecf6fd;
}
.pickupviewpanel__right__select > .select{
color: #108ee9;
background: #ecf6fd;
}
}
}
}
}
.app-view-layout__appindexview,.app-view-layout__apploginview {
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
06fb95b8
...
...
@@ -712,7 +712,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
};
...
...
@@ -748,7 +748,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
Promise
<
any
>
{
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/guide-view-form-form/guide-view-form-form-base.vue
浏览文件 @
06fb95b8
...
...
@@ -1447,7 +1447,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
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
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1494,7 +1494,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
*/
public
async
loadDraft
(
opt
:
any
=
{}):
Promise
<
any
>
{
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
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1564,7 +1564,7 @@ export default class GuideViewFormBase 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
:
'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
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -1672,7 +1672,7 @@ export default class GuideViewFormBase 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
:
'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
;
}
Object
.
assign
(
arg
,
{
viewparams
:
this
.
viewparams
});
...
...
@@ -1764,7 +1764,7 @@ export default class GuideViewFormBase 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
:
'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
;
}
const
arg
:
any
=
opt
[
0
];
...
...
@@ -1830,7 +1830,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
// 極雿,憛怠摮
Object
.
assign
(
arg
,
copyData
);
// 漱
if
(
t
his
.
viewparams
){
if
(
嶕
is
.
viewparams
){
let
copyViewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
if
(
copyViewParams
.
w
){
delete
copyViewParams
.
w
;
...
...
@@ -1993,7 +1993,7 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
this
.
onFormLoad
(
data
,
emitAction
);
this
.
$emit
(
emitAction
,
data
);
this
.
$nextTick
(()
=>
{
this
.
formState
.
next
({
type
:
emitAction
,
data
:
data
});
i
this
.
formState
.
next
({
type
:
emitAction
,
data
:
data
});
});
}).
catch
((
response
:
any
)
=>
{
if
(
response
&&
response
.
status
&&
response
.
data
)
{
...
...
@@ -2194,4 +2194,5 @@ export default class GuideViewFormBase extends Vue implements ControlInterface {
<
style
lang=
'less'
>
@import './guide-view-form-form.less';
</
style
>
uide-view-form-form.less';
</style>
\ No newline at end of file
app_Web/src/widgets/ibizorder/main-grid/main-grid-base.vue
浏览文件 @
06fb95b8
...
...
@@ -319,7 +319,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrder
SF1
GridViewBase
* @memberof IBIZOrder
Pickup
GridViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -462,20 +462,6 @@ 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
;
/**
* 是否嵌入关系界面
...
...
@@ -1010,7 +996,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
fetchAction
)
{
this
.
$Notice
.
error
({
title
:
this
.
$t
(
"app.commonWords.wrong"
)
as
string
,
desc
:
"IBIZOrder
SF1
GridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
desc
:
"IBIZOrder
Pickup
GridView"
+
(
this
.
$t
(
"app.gridpage.notConfig.fetchAction"
)
as
string
),
});
return
;
}
...
...
@@ -1139,7 +1125,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
removeAction
)
{
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
...
...
@@ -1253,7 +1239,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -2184,7 +2170,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2193,7 +2179,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
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,
{
viewparams
:
this
.
viewparams
});
const
tempContext
=
Util
.
deepCopy
(
this
.
context
);
...
...
@@ -2269,7 +2255,7 @@ export default class MainBase extends Vue implements ControlInterface {
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZOrder
SF1
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
desc
:
'IBIZOrder
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
...
...
app_Web/src/widgets/ibizorder/main-grid/main-grid-model.ts
浏览文件 @
06fb95b8
...
...
@@ -105,21 +105,6 @@ 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/PSGANTTS/Usr.json
浏览文件 @
06fb95b8
...
...
@@ -11,51 +11,51 @@
"path"
:
"PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK.json"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"
借出
日期"
,
"codeName"
:
"
lendout
time"
,
"caption"
:
"
归还
日期"
,
"codeName"
:
"
return
time"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
lendout
time"
,
"name"
:
"
lendout
time"
,
"dataItemName"
:
"
return
time"
,
"name"
:
"
return
time"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"caption"
:
"
出版社
"
,
"codeName"
:
"
press
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"name"
:
"
author
"
,
"dataItemName"
:
"
press
"
,
"name"
:
"
press
"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
图书名称
"
,
"codeName"
:
"
ibizbookna
me"
,
"caption"
:
"
借出日期
"
,
"codeName"
:
"
lendoutti
me"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
ibizbookna
me"
,
"name"
:
"
ibizbookna
me"
,
"dataItemName"
:
"
lendoutti
me"
,
"name"
:
"
lendoutti
me"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
归还日期
"
,
"codeName"
:
"
returntime
"
,
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
returntime
"
,
"name"
:
"
returntime
"
,
"dataItemName"
:
"
author
"
,
"name"
:
"
author
"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
出版社
"
,
"codeName"
:
"
press
"
,
"caption"
:
"
图书名称
"
,
"codeName"
:
"
ibizbookname
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
press
"
,
"name"
:
"
press
"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
ibizbookname
"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDATAENTITIES/IBIZBOOK/PSTREEGRIDICES/TreeTable.json
浏览文件 @
06fb95b8
...
...
@@ -19,6 +19,16 @@
}
}
],
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"name"
:
"ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -38,16 +48,6 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"name"
:
"ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKGanttView.json
浏览文件 @
06fb95b8
...
...
@@ -34,51 +34,51 @@
"id"
:
"GANTT"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"
借出
日期"
,
"codeName"
:
"
lendout
time"
,
"caption"
:
"
归还
日期"
,
"codeName"
:
"
return
time"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
lendout
time"
,
"name"
:
"
lendout
time"
,
"dataItemName"
:
"
return
time"
,
"name"
:
"
return
time"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"caption"
:
"
出版社
"
,
"codeName"
:
"
press
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
author
"
,
"name"
:
"
author
"
,
"dataItemName"
:
"
press
"
,
"name"
:
"
press
"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
图书名称
"
,
"codeName"
:
"
ibizbookna
me"
,
"caption"
:
"
借出日期
"
,
"codeName"
:
"
lendoutti
me"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
ibizbookna
me"
,
"name"
:
"
ibizbookna
me"
,
"dataItemName"
:
"
lendoutti
me"
,
"name"
:
"
lendoutti
me"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
归还日期
"
,
"codeName"
:
"
returntime
"
,
"caption"
:
"
作者
"
,
"codeName"
:
"
author
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
returntime
"
,
"name"
:
"
returntime
"
,
"dataItemName"
:
"
author
"
,
"name"
:
"
author
"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"
出版社
"
,
"codeName"
:
"
press
"
,
"caption"
:
"
图书名称
"
,
"codeName"
:
"
ibizbookname
"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"
press
"
,
"name"
:
"
press
"
,
"dataItemName"
:
"
ibizbookname
"
,
"name"
:
"
ibizbookname
"
,
"width"
:
200
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZBOOKTreeGridExView.json
浏览文件 @
06fb95b8
...
...
@@ -75,6 +75,16 @@
"id"
:
"TREEGRIDEX"
},
"getPSDETreeColumns"
:
[
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"name"
:
"ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"作者"
,
"codeName"
:
"author"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
...
...
@@ -94,16 +104,6 @@
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
},
{
"caption"
:
"图书名称"
,
"codeName"
:
"ibizbookname"
,
"columnType"
:
"DEFGRIDCOLUMN"
,
"dataItemName"
:
"ibizbookname"
,
"name"
:
"ibizbookname"
,
"width"
:
50
,
"widthUnit"
:
"px"
,
"enableExpand"
:
false
,
"enableSort"
:
false
}
],
"getPSDETreeNodeRSs"
:
[
{
"getChildPSDETreeNode"
:
{
...
...
demo-boot/src/main/resources/static/remotemodel/PSSYSAPPS/Web/PSAPPDEVIEWS/IBIZCustomerUsr3EditView.json
浏览文件 @
06fb95b8
...
...
@@ -2137,7 +2137,7 @@
}
]
},
{
"caption"
:
"容器"
,
"contentHeight"
:
1
00.0
,
"contentHeight"
:
5
00.0
,
"itemStyle"
:
"DEFAULT"
,
"itemType"
:
"CONTAINER"
,
"name"
:
"container21"
,
...
...
@@ -2148,7 +2148,7 @@
"vAlign"
:
"center"
},
"getPSLayoutPos"
:
{
"height"
:
1
00
,
"height"
:
5
00
,
"heightMode"
:
"PX"
,
"layout"
:
"BORDER"
,
"layoutPos"
:
"CENTER"
...
...
demo-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
06fb95b8
...
...
@@ -278,7 +278,7 @@
<!--输出实体[IBIZCUSTOMER]数据结构 -->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-45
2
-10"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"tab-ibizcustomer-45
6
-10"
>
<createTable
tableName=
"T_IBIZCUSTOMER"
>
<column
name=
"CREATEMAN"
remarks=
""
type=
"VARCHAR(60)"
>
</column>
...
...
demo-core/src/main/resources/liquibase/view.xml
浏览文件 @
06fb95b8
...
...
@@ -19,7 +19,7 @@
</createView>
</changeSet>
<!--输出实体[IBIZCUSTOMER]视图结构信息 runOnChange="true" 当视图发生变更时,通过liquibase强刷prod的视图,实现视图的同步-->
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-45
2
-4"
runOnChange=
"true"
>
<changeSet
author=
"a_LAB01_df847bdfd"
id=
"view-ibizcustomer-45
6
-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
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录