Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
cadf4599
提交
cadf4599
编写于
11月 05, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
9149966b
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
47 行增加
和
30 行删除
+47
-30
app-login-button.vue
...ayout-element/login/app-login-button/app-login-button.vue
+4
-0
app-scroll-container.vue
...t/structure/app-scroll-container/app-scroll-container.vue
+28
-19
app-simpleflex-container.vue
...ure/app-simpleflex-container/app-simpleflex-container.vue
+1
-0
app-standard-container.vue
...ructure/app-standard-container/app-standard-container.vue
+1
-0
app-tab-page.vue
...ts/layout-element/structure/app-tab-page/app-tab-page.vue
+1
-0
app-tab-panel.vue
.../layout-element/structure/app-tab-panel/app-tab-panel.vue
+1
-0
main-form-base.vue
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
+5
-5
quicksearchform-searchform-base.vue
...searchform-searchform/quicksearchform-searchform-base.vue
+2
-2
list-exp-list-base.vue
...rc/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
+4
-4
未找到文件。
app_Web/src/components/layout-element/login/app-login-button/app-login-button.vue
浏览文件 @
cadf4599
...
...
@@ -215,6 +215,8 @@ export default class AppLoginButton extends Vue {
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
layoutModel
)
{
return
layoutModel
.
iconAlign
||
'LEFT'
;
}
else
{
return
'LEFT'
;
}
}
...
...
@@ -227,6 +229,8 @@ export default class AppLoginButton extends Vue {
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
layoutModel
)
{
return
Object
.
is
(
layoutModel
.
buttonStyle
,
'INVERSE'
);
}
else
{
return
false
;
}
}
...
...
app_Web/src/components/layout-element/structure/app-scroll-container/app-scroll-container.vue
浏览文件 @
cadf4599
...
...
@@ -114,7 +114,7 @@ export default class AppScrollContainer extends Vue {
*/
get
curStyle
()
{
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
layoutModel
)
{
if
(
layoutModel
)
{
return
layoutModel
.
getElementStyle
();
}
}
...
...
@@ -124,7 +124,7 @@ export default class AppScrollContainer extends Vue {
*/
public
getItemPosStyle
(
name
:
string
)
{
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
layoutModel
)
{
if
(
layoutModel
)
{
return
layoutModel
.
getBorderLayoutStyle
();
}
}
...
...
@@ -137,28 +137,37 @@ export default class AppScrollContainer extends Vue {
public
initScrollContainer
()
{
let
minusHeight
=
''
;
let
minusWidth
:
string
=
''
;
this
.
containerModel
=
{};
const
curLayoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
curLayoutModel
&&
curLayoutModel
.
details
&&
curLayoutModel
.
details
.
length
>
0
)
{
curLayoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
const
{
name
,
layoutWidth
,
widthMode
,
layoutHeight
,
heightMode
,
layoutPos
}
=
this
.
layoutModelDetails
[
key
];
const
style
=
{};
if
(
layoutWidth
)
{
Object
.
assign
(
style
,
{
width
:
Util
.
getBoxSize
(
'WIDTH'
,
widthMode
,
layoutWidth
).
width
});
if
(
layoutPos
&&
(
Object
.
is
(
layoutPos
,
'WEST'
)
||
Object
.
is
(
layoutPos
,
'EAST'
)))
{
minusWidth
+=
` -
${
Util
.
getBoxSize
(
'WIDTH'
,
widthMode
,
layoutWidth
).
width
}
`
;
}
let
childModelDetail
:
any
;
if
(
this
.
index
)
{
childModelDetail
=
this
.
layoutModelDetails
[
`
${
key
}
_
${
this
.
index
}
`
];
}
else
{
childModelDetail
=
this
.
layoutModelDetails
[
key
];
}
if
(
layoutHeight
)
{
Object
.
assign
(
style
,
{
height
:
Util
.
getBoxSize
(
'HEIGHT'
,
heightMode
,
layoutHeight
).
height
});
if
(
layoutPos
&&
(
Object
.
is
(
layoutPos
,
'NORTH'
)
||
Object
.
is
(
layoutPos
,
'SOUTH'
)))
{
minusHeight
+=
` -
${
Util
.
getBoxSize
(
'HEIGHT'
,
heightMode
,
layoutHeight
).
height
}
`
;
if
(
childModelDetail
)
{
const
{
name
,
layoutWidth
,
widthMode
,
layoutHeight
,
heightMode
,
layoutPos
}
=
childModelDetail
;
const
style
=
{};
if
(
layoutWidth
)
{
Object
.
assign
(
style
,
{
width
:
Util
.
getBoxSize
(
'WIDTH'
,
widthMode
,
layoutWidth
).
width
});
if
(
layoutPos
&&
(
Object
.
is
(
layoutPos
,
'WEST'
)
||
Object
.
is
(
layoutPos
,
'EAST'
)))
{
minusWidth
+=
` -
${
Util
.
getBoxSize
(
'WIDTH'
,
widthMode
,
layoutWidth
).
width
}
`
;
}
}
if
(
layoutHeight
)
{
Object
.
assign
(
style
,
{
height
:
Util
.
getBoxSize
(
'HEIGHT'
,
heightMode
,
layoutHeight
).
height
});
if
(
layoutPos
&&
(
Object
.
is
(
layoutPos
,
'NORTH'
)
||
Object
.
is
(
layoutPos
,
'SOUTH'
)))
{
minusHeight
+=
` -
${
Util
.
getBoxSize
(
'HEIGHT'
,
heightMode
,
layoutHeight
).
height
}
`
;
}
}
if
(
this
.
containerModel
.
hasOwnProperty
(
layoutPos
))
{
Object
.
assign
(
this
.
containerModel
[
layoutPos
],
{
style
});
this
.
containerModel
[
layoutPos
].
name
.
push
(
name
);
}
else
{
this
.
containerModel
[
layoutPos
]
=
{
style
,
name
:
[
name
]
};
}
}
if
(
this
.
containerModel
.
hasOwnProperty
(
layoutPos
))
{
Object
.
assign
(
this
.
containerModel
[
layoutPos
],
{
style
});
this
.
containerModel
[
layoutPos
].
name
.
push
(
name
);
}
else
{
this
.
containerModel
[
layoutPos
]
=
{
style
,
name
:
[
name
]
};
}
});
}
...
...
app_Web/src/components/layout-element/structure/app-simpleflex-container/app-simpleflex-container.vue
浏览文件 @
cadf4599
...
...
@@ -70,6 +70,7 @@ export default class AppSimpleFlexContainer extends Vue {
* @memberof SimpleFlexContainer
*/
public
initSimpleFlexContainer
()
{
this
.
containerModel
=
[];
const
curLayoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
curLayoutModel
&&
curLayoutModel
.
details
&&
curLayoutModel
.
details
.
length
>
0
)
{
curLayoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
...
...
app_Web/src/components/layout-element/structure/app-standard-container/app-standard-container.vue
浏览文件 @
cadf4599
...
...
@@ -70,6 +70,7 @@ export default class AppStandardContainer extends Vue {
* @memberof AppStandardContainer
*/
public
initStandardContainer
()
{
this
.
containerModel
=
[];
const
curLayoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
curLayoutModel
&&
curLayoutModel
.
details
&&
curLayoutModel
.
details
.
length
>
0
)
{
curLayoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
...
...
app_Web/src/components/layout-element/structure/app-tab-page/app-tab-page.vue
浏览文件 @
cadf4599
...
...
@@ -78,6 +78,7 @@ export default class AppTabPage extends Vue {
* @memberof AppTabPage
*/
public
initTabPage
()
{
this
.
containerModel
=
[];
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
layoutModel
&&
layoutModel
.
details
&&
layoutModel
.
details
.
length
>
0
)
{
this
.
currentLayoutModel
=
layoutModel
;
...
...
app_Web/src/components/layout-element/structure/app-tab-panel/app-tab-panel.vue
浏览文件 @
cadf4599
...
...
@@ -77,6 +77,7 @@ export default class AppTabPanel extends Vue {
* @memberof AppTabPanel
*/
public
initTabPanel
()
{
this
.
containerModel
=
[];
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
itemName
];
if
(
layoutModel
&&
layoutModel
.
details
&&
layoutModel
.
details
.
length
>
0
)
{
layoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
...
...
app_Web/src/widgets/ibizbook/main-form/main-form-base.vue
浏览文件 @
cadf4599
...
...
@@ -1800,7 +1800,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.loadaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -1835,7 +1835,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.loaddraftaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
@@ -1897,7 +1897,7 @@ export default class MainBase 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
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -2005,7 +2005,7 @@ export default class MainBase 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
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.actionname'
)
as
string
)
});
return
;
}
Object
.
assign
(
arg
,{
viewparams
:
this
.
viewparams
});
...
...
@@ -2082,7 +2082,7 @@ export default class MainBase 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
:
'IBIZBOOKOptionView
_layout
'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKOptionView'
+
(
this
.
$t
(
'app.formpage.notconfig.removeaction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
opt
[
0
];
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
cadf4599
...
...
@@ -621,7 +621,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
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -657,7 +657,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
Calendar
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
List
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizorder/list-exp-list/list-exp-list-base.vue
浏览文件 @
cadf4599
...
...
@@ -522,7 +522,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
};
...
...
@@ -638,7 +638,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
)
{
...
...
@@ -733,7 +733,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
);
...
...
@@ -741,7 +741,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
){
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录