Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
8e084026
提交
8e084026
编写于
11月 03, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
f219e290
变更
13
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
432 行增加
和
40 行删除
+432
-40
app-register.ts
app_Web/src/app-register.ts
+4
-0
app-scroll-container.vue
...t/container/app-scroll-container/app-scroll-container.vue
+1
-1
app-simpleflex-container.vue
...ner/app-simpleflex-container/app-simpleflex-container.vue
+1
-1
app-standard-container.less
...tainer/app-standard-container/app-standard-container.less
+5
-0
app-standard-container.vue
...ntainer/app-standard-container/app-standard-container.vue
+18
-11
app-index-nav-breadcrumb.less
...ex/app-index-nav-breadcrumb/app-index-nav-breadcrumb.less
+0
-0
app-index-nav-breadcrumb.vue
...dex/app-index-nav-breadcrumb/app-index-nav-breadcrumb.vue
+91
-0
app-preset-button.less
...ment/interactive/app-preset-button/app-preset-button.less
+52
-0
app-preset-button.vue
...ement/interactive/app-preset-button/app-preset-button.vue
+167
-0
panel-container.ts
app_Web/src/model/panel-detail/panel-container.ts
+49
-2
panel-detail.ts
app_Web/src/model/panel-detail/panel-detail.ts
+40
-21
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
未找到文件。
app_Web/src/app-register.ts
浏览文件 @
8e084026
...
@@ -132,9 +132,11 @@ import AppPresetQrCode from './components/layout-element/interactive/app-preset-
...
@@ -132,9 +132,11 @@ import AppPresetQrCode from './components/layout-element/interactive/app-preset-
import
AppPresetSwitch
from
'./components/layout-element/interactive/app-preset-switch/app-preset-switch.vue'
;
import
AppPresetSwitch
from
'./components/layout-element/interactive/app-preset-switch/app-preset-switch.vue'
;
import
AppPresetTextInput
from
'./components/layout-element/interactive/app-preset-text-input/app-preset-text-input.vue'
;
import
AppPresetTextInput
from
'./components/layout-element/interactive/app-preset-text-input/app-preset-text-input.vue'
;
import
AppIndexNavTabs
from
'./components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.vue'
;
import
AppIndexNavTabs
from
'./components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.vue'
;
import
AppIndexNavBreadcrumb
from
'./components/layout-element/index/app-index-nav-breadcrumb/app-index-nav-breadcrumb.vue'
;
import
AppIndexOrgSelect
from
'./components/layout-element/index/app-index-org-select/app-index-org-select.vue'
;
import
AppIndexOrgSelect
from
'./components/layout-element/index/app-index-org-select/app-index-org-select.vue'
;
import
AppIndexUserInfo
from
'./components/layout-element/index/app-index-user-info/app-index-user-info.vue'
;
import
AppIndexUserInfo
from
'./components/layout-element/index/app-index-user-info/app-index-user-info.vue'
;
import
AppCtrlPos
from
'./components/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue'
;
import
AppCtrlPos
from
'./components/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue'
;
import
AppPresetButton
from
'./components/layout-element/interactive/app-preset-button/app-preset-button.vue'
;
// 全局挂载UI实体服务注册中心
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
// 全局挂载实体权限服务注册中心
...
@@ -281,8 +283,10 @@ export const AppComponents = {
...
@@ -281,8 +283,10 @@ export const AppComponents = {
v
.
component
(
'app-preset-switch'
,
AppPresetSwitch
);
v
.
component
(
'app-preset-switch'
,
AppPresetSwitch
);
v
.
component
(
'app-preset-text-input'
,
AppPresetTextInput
);
v
.
component
(
'app-preset-text-input'
,
AppPresetTextInput
);
v
.
component
(
'app-index-nav-tabs'
,
AppIndexNavTabs
);
v
.
component
(
'app-index-nav-tabs'
,
AppIndexNavTabs
);
v
.
component
(
'app-index-nav-breadcrumb'
,
AppIndexNavBreadcrumb
);
v
.
component
(
'app-index-org-select'
,
AppIndexOrgSelect
);
v
.
component
(
'app-index-org-select'
,
AppIndexOrgSelect
);
v
.
component
(
'app-index-user-info'
,
AppIndexUserInfo
);
v
.
component
(
'app-index-user-info'
,
AppIndexUserInfo
);
v
.
component
(
'app-ctrl-pos'
,
AppCtrlPos
);
v
.
component
(
'app-ctrl-pos'
,
AppCtrlPos
);
v
.
component
(
'app-preset-button'
,
AppPresetButton
);
},
},
};
};
\ No newline at end of file
app_Web/src/components/layout-element/container/app-scroll-container/app-scroll-container.vue
浏览文件 @
8e084026
...
@@ -84,7 +84,7 @@ export default class AppScrollContainer extends Vue {
...
@@ -84,7 +84,7 @@ export default class AppScrollContainer extends Vue {
*/
*/
get
curStyle
(){
get
curStyle
(){
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
return
layoutModel
.
get
BoxSpacing
Style
();
return
layoutModel
.
get
Element
Style
();
}
}
/**
/**
...
...
app_Web/src/components/layout-element/container/app-simpleflex-container/app-simpleflex-container.vue
浏览文件 @
8e084026
...
@@ -72,7 +72,7 @@ export default class AppSimpleFlexContainer extends Vue {
...
@@ -72,7 +72,7 @@ export default class AppSimpleFlexContainer extends Vue {
*/
*/
get
curStyle
()
{
get
curStyle
()
{
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
return
layoutModel
.
get
BoxSpacing
Style
();
return
layoutModel
.
get
Element
Style
();
}
}
/**
/**
...
...
app_Web/src/components/layout-element/container/app-standard-container/app-standard-container.less
浏览文件 @
8e084026
// 标准容器大小靠内容撑
.app-standard-container{
.app-standard-container{
display: block;
display: block;
.container-item__pos{
width: 100%;
height: 100%;
}
}
}
\ No newline at end of file
app_Web/src/components/layout-element/container/app-standard-container/app-standard-container.vue
浏览文件 @
8e084026
<
template
>
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle
Content
"
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<template
v-if=
"containerModel.length > 0"
>
<template
v-if=
"containerModel.length > 0"
>
<
template
v-for=
"name of containerModel
"
>
<
div
v-for=
"name of containerModel"
class=
"container-item__pos"
:style=
"getItemPosStyle(name)
"
>
<slot
:name=
"name"
></slot>
<slot
:name=
"name"
></slot>
</
template
>
</
div
>
</
template
>
</
template
>
</div>
</div>
</template>
</template>
...
@@ -63,17 +63,24 @@ export default class AppStandardContainer extends Vue {
...
@@ -63,17 +63,24 @@ export default class AppStandardContainer extends Vue {
* 当前容器样式类
* 当前容器样式类
*/
*/
get
curClassName
()
{
get
curClassName
()
{
return
`app-standard-container
${
this
.
name
}
`
;
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
return
`app-standard-container
${
this
.
name
}
${
layoutModel
.
sysCss
}
`
;
}
}
/**
/**
* 当前容器样式
* 当前容器样式
*/
*/
get
curStyleContent
()
{
get
curStyle
()
{
let
boxLayoutPosStyle
=
""
;
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
const
curLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
return
layoutModel
.
getElementStyle
();
console
.
log
(
curLayoutModel
);
}
return
boxLayoutPosStyle
;
/**
* 获取项布局样式
*/
public
getItemPosStyle
(
name
:
string
)
{
const
layoutModel
=
this
.
layoutModelDetails
[
name
];
return
layoutModel
.
getCommonLayoutStyle
();
}
}
}
}
</
script
>
</
script
>
...
...
app_Web/src/components/layout-element/index/app-index-nav-breadcrumb/app-index-nav-breadcrumb.less
0 → 100644
浏览文件 @
8e084026
app_Web/src/components/layout-element/index/app-index-nav-breadcrumb/app-index-nav-breadcrumb.vue
0 → 100644
浏览文件 @
8e084026
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<app-breadcrumb
:navModel=
"navModel"
:indexViewTag=
"indexViewTag"
></app-breadcrumb>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Inject
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexNavBreadcrumb
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexNavBreadcrumb
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexNavBreadcrumb
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 首页视图标识
*
* @type {*}
* @memberof AppIndexNavBreadcrumb
*/
@
Prop
()
public
indexViewTag
?:
string
;
/**
* 视图默认使用
*
* @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
@
Inject
({
from
:
'navModel'
,
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexNavBreadcrumb
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexNavBreadcrumb
*/
get
curClassName
()
{
return
{
'app-index-nav-breadcrumb'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexNavBreadcrumb
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexNavBreadcrumb
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-nav-breadcrumb.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/interactive/app-preset-button/app-preset-button.less
0 → 100644
浏览文件 @
8e084026
.app-preset-button.ivu-button {
font-size: 12px;
>span {
display: flex;
align-items: center;
justify-content: center;
}
.button-content {
display: flex;
&.left {
justify-content: flex-start;
align-items: center;
.icon+.caption {
padding-left: 6px;
}
}
&.right {
flex-direction: row-reverse;
justify-content: flex-start;
align-items: center;
.icon+.caption {
padding-right: 6px;
}
}
&.top {
flex-direction: column;
justify-content: flex-start;
}
&.bottom {
flex-direction: column-reverse;
justify-content: flex-start;
}
}
}
// 加载效果
.app-preset-button.ivu-btn-loading {
display: flex;
line-height: 2;
.ivu-icon-ios-loading {
line-height: 2;
}
}
\ No newline at end of file
app_Web/src/components/layout-element/interactive/app-preset-button/app-preset-button.vue
0 → 100644
浏览文件 @
8e084026
<
template
>
<i-button
:class=
"className"
:type=
"buttonType"
:disabled=
"disabled"
:title=
"tooltip"
:loading=
"loading"
:ghost=
"buttonGhost"
@
click=
"handleClick"
>
<div
:class=
"['button-content', iconAlign.toLowerCase()]"
>
<span
v-if=
"cssClass || imagePath"
class=
"icon"
>
<i
v-if=
"cssClass"
:class=
"cssClass"
/>
<img
v-else
:src=
"imagePath"
/>
</span>
<span
v-if=
"showCaption"
class=
"caption"
>
{{
caption
}}
</span>
</div>
</i-button>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppPresetButton
extends
Vue
{
/**
* 按钮name
*
* @type {any}
* @memberof AppPresetButton
*/
@
Prop
()
public
name
!
:
string
;
/**
* 显示提示
*
* @memberof AppPresetButton
*/
@
Prop
()
public
tooltip
?:
string
;
/**
* 标题
*
* @memberof AppPresetButton
*/
@
Prop
()
public
caption
?:
string
;
/**
* 显示标题
*
* @memberof AppPresetButton
*/
@
Prop
({
default
:
true
})
public
showCaption
!
:
boolean
;
/**
* 禁用状态
*
* @memberof AppPresetButton
*/
@
Prop
({
default
:
false
})
public
disabled
?:
boolean
;
/**
* 加载状态
*
* @memberof AppPresetButton
*/
@
Prop
({
default
:
false
})
public
loading
?:
boolean
;
/**
* 传入数据
*
* @memberof AppPresetButton
*/
@
Prop
()
public
data
:
any
;
/**
* 图标
*
* @memberof AppPresetButton
*/
@
Prop
()
public
cssClass
?:
string
;
/**
* 图片路径
*
* @memberof AppPresetButton
*/
@
Prop
()
public
imagePath
?:
string
;
/**
* 按钮绘制模式
*
* @memberof AppPresetButton
*/
@
Prop
({
default
:
'BUTTON'
})
public
renderMode
!
:
'BUTTON'
|
'LINK'
;
/**
* 按钮样式
*
* @memberof AppPresetButton
*/
@
Prop
({
default
:
'DEFAULT'
})
public
buttonStyle
!
:
'DEFAULT'
|
'INVERSE'
|
'PRIMARY'
|
'INFO'
|
'SUCCESS'
|
'WARNING'
|
'DANGER'
|
'STYLE2'
|
'STYLE3'
|
'STYLE4'
;
/**
* 按钮图标方向
*
* @memberof AppPresetButton
*/
@
Prop
({
default
:
'LEFT'
})
public
iconAlign
!
:
'LEFT'
|
'TOP'
|
'RIGHT'
|
'BOTTOM'
;
/**
* 按钮类型
*
* @memberof AppPresetButton
*/
get
buttonType
()
{
if
(
Object
.
is
(
this
.
renderMode
,
'LINK'
))
{
return
'text'
;
}
else
{
if
(
Object
.
is
(
this
.
buttonStyle
,
'DEFAULT'
)
||
Object
.
is
(
this
.
buttonStyle
,
'STYLE2'
)
||
Object
.
is
(
this
.
buttonStyle
,
'STYLE3'
)
||
Object
.
is
(
this
.
buttonStyle
,
'STYLE4'
)
)
{
return
'default'
;
}
else
if
(
Object
.
is
(
this
.
buttonStyle
,
'DANGER'
))
{
return
'error'
;
}
else
if
(
Object
.
is
(
this
.
buttonStyle
,
'INVERSE'
))
{
return
'primary'
;
}
else
{
return
this
.
buttonStyle
.
toLowerCase
();
}
}
}
/**
* 按钮幽灵属性,使按钮背景透明
*
* @memberof AppPresetButton
*/
get
buttonGhost
()
{
return
Object
.
is
(
this
.
buttonStyle
,
'INVERSE'
);
}
/**
* 类名
*
* @memberof AppPresetButton
*/
get
className
():
string
{
return
`app-preset-button
${
this
.
name
}
`
;
}
/**
* 点击按钮
*
* @param {*} event
* @memberof AppPresetButton
*/
public
handleClick
(
event
:
any
)
{
this
.
$emit
(
'itemClick'
,
this
.
name
);
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-preset-button.less';
</
style
>
\ No newline at end of file
app_Web/src/model/panel-detail/panel-container.ts
浏览文件 @
8e084026
...
@@ -15,7 +15,7 @@ export class PanelContainerModel extends PanelDetailModel {
...
@@ -15,7 +15,7 @@ export class PanelContainerModel extends PanelDetailModel {
* @type {string[]}
* @type {string[]}
* @memberof PanelContainerModel
* @memberof PanelContainerModel
*/
*/
public
details
:
string
[]
=
[];
public
details
:
string
[]
=
[];
/**
/**
* 标题关闭模式
* 标题关闭模式
...
@@ -23,7 +23,15 @@ export class PanelContainerModel extends PanelDetailModel {
...
@@ -23,7 +23,15 @@ export class PanelContainerModel extends PanelDetailModel {
* @type {number}
* @type {number}
* @memberof PanelContainerModel
* @memberof PanelContainerModel
*/
*/
public
titleBarCloseMode
:
number
=
0
;
public
titleBarCloseMode
:
number
=
0
;
/**
* 背景图片
*
* @type {*}
* @memberof PanelContainerModel
*/
public
sysImage
:
any
=
{};
/**
/**
* Creates an instance of PanelContainerModel.
* Creates an instance of PanelContainerModel.
...
@@ -34,6 +42,45 @@ export class PanelContainerModel extends PanelDetailModel {
...
@@ -34,6 +42,45 @@ export class PanelContainerModel extends PanelDetailModel {
super
(
opts
);
super
(
opts
);
this
.
details
=
opts
.
details
;
this
.
details
=
opts
.
details
;
this
.
titleBarCloseMode
=
opts
.
titleBarCloseMode
;
this
.
titleBarCloseMode
=
opts
.
titleBarCloseMode
;
this
.
sysImage
=
opts
.
sysImage
;
}
/**
* 获取容器元素样式(仅限容器元素)
*
* @return {*}
* @memberof PanelContainerModel
*/
public
getElementStyle
()
{
const
containerStyle
=
{};
Object
.
assign
(
containerStyle
,
this
.
getFlexStyle
());
//边缘布局容器盒子大小由布局组件内部计算
if
(
this
.
layout
!==
"BORDER"
)
{
Object
.
assign
(
containerStyle
,
this
.
getBoxSizeStyle
());
}
Object
.
assign
(
containerStyle
,
this
.
getBoxSpacingStyle
());
Object
.
assign
(
containerStyle
,
this
.
getSpecificStyle
());
return
containerStyle
;
}
/**
* 获取容器特有样式(主要包含背景图片)
*
* @protected
* @memberof PanelContainerModel
*/
protected
getSpecificStyle
()
{
const
boxStyle
=
{};
if
(
Object
.
is
(
this
.
itemStyle
,
'STYLE2'
)
&&
this
.
sysImage
&&
(
this
.
sysImage
.
imagePath
||
this
.
sysImage
.
rawContent
))
{
Object
.
assign
(
boxStyle
,
{
background
:
`url('
${
this
.
sysImage
.
imagePath
||
this
.
sysImage
.
rawContent
}
') no-repeat 0px 0px`
,
'background-size'
:
'100% 100%'
});
if
(
!
this
.
layoutWidth
)
{
Object
.
assign
(
boxStyle
,
{
width
:
'100%'
});
}
if
(
!
this
.
layoutHeight
)
{
Object
.
assign
(
boxStyle
,
{
height
:
'100%'
});
}
}
return
boxStyle
;
}
}
...
...
app_Web/src/model/panel-detail/panel-detail.ts
浏览文件 @
8e084026
...
@@ -24,6 +24,14 @@ export class PanelDetailModel {
...
@@ -24,6 +24,14 @@ export class PanelDetailModel {
*/
*/
public
itemType
:
string
=
''
;
public
itemType
:
string
=
''
;
/**
* 成员样式
*
* @type {string}
* @memberof PanelDetailModel
*/
public
itemStyle
:
string
=
''
;
/**
/**
* 面板对象
* 面板对象
*
*
...
@@ -214,10 +222,11 @@ export class PanelDetailModel {
...
@@ -214,10 +222,11 @@ export class PanelDetailModel {
this
.
isShowCaption
=
opts
.
isShowCaption
;
this
.
isShowCaption
=
opts
.
isShowCaption
;
this
.
sysCss
=
opts
.
sysCss
;
this
.
sysCss
=
opts
.
sysCss
;
this
.
predefinedType
=
opts
.
predefinedType
;
this
.
predefinedType
=
opts
.
predefinedType
;
this
.
itemStyle
=
opts
.
itemStyle
;
}
}
/**
/**
* 获取元素样式(元素,包含内容盒子 大小/边距/内容 的样式)
* 获取元素样式(
除容器之外的
元素,包含内容盒子 大小/边距/内容 的样式)
*
*
* @memberof PanelDetailModel
* @memberof PanelDetailModel
*/
*/
...
@@ -234,7 +243,7 @@ export class PanelDetailModel {
...
@@ -234,7 +243,7 @@ export class PanelDetailModel {
*
*
* @memberof PanelDetailModel
* @memberof PanelDetailModel
*/
*/
p
ublic
getBoxSpacingStyle
()
{
p
rotected
getBoxSpacingStyle
()
{
const
boxStyle
=
{};
const
boxStyle
=
{};
// 上方间隔模式
// 上方间隔模式
if
(
this
.
spacingTop
)
{
if
(
this
.
spacingTop
)
{
...
@@ -255,12 +264,35 @@ export class PanelDetailModel {
...
@@ -255,12 +264,35 @@ export class PanelDetailModel {
return
boxStyle
;
return
boxStyle
;
}
}
/**
* 识别flex布局方向,横轴对齐,纵轴对齐(元素)
*
* @return {*}
* @memberof PanelDetailModel
*/
protected
getFlexStyle
()
{
const
boxStyle
=
{};
if
(
this
.
flexParams
.
align
||
this
.
flexParams
.
dir
||
this
.
flexParams
.
vAlign
)
{
Object
.
assign
(
boxStyle
,
{
'display'
:
'flex'
});
if
(
this
.
flexParams
.
dir
)
{
Object
.
assign
(
boxStyle
,
{
'flex-direction'
:
this
.
flexParams
.
dir
});
}
if
(
this
.
flexParams
.
align
)
{
Object
.
assign
(
boxStyle
,
{
'justify-content'
:
this
.
flexParams
.
align
});
}
if
(
this
.
flexParams
.
vAlign
)
{
Object
.
assign
(
boxStyle
,
{
'align-items'
:
this
.
flexParams
.
vAlign
});
}
}
return
boxStyle
;
}
/**
/**
* 获取盒子大小样式(元素)
* 获取盒子大小样式(元素)
*
*
* @memberof PanelDetailModel
* @memberof PanelDetailModel
*/
*/
p
ublic
getBoxSizeStyle
()
{
p
rotected
getBoxSizeStyle
()
{
const
boxStyle
=
{};
const
boxStyle
=
{};
if
(
this
.
widthMode
||
this
.
layoutWidth
)
{
if
(
this
.
widthMode
||
this
.
layoutWidth
)
{
Object
.
assign
(
boxStyle
,
Util
.
getBoxSize
(
"WIDTH"
,
this
.
widthMode
,
this
.
layoutWidth
));
Object
.
assign
(
boxStyle
,
Util
.
getBoxSize
(
"WIDTH"
,
this
.
widthMode
,
this
.
layoutWidth
));
...
@@ -276,7 +308,7 @@ export class PanelDetailModel {
...
@@ -276,7 +308,7 @@ export class PanelDetailModel {
*
*
* @memberof PanelDetailModel
* @memberof PanelDetailModel
*/
*/
p
ublic
getBoxContentStyle
()
{
p
rotected
getBoxContentStyle
()
{
const
boxStyle
=
{};
const
boxStyle
=
{};
return
boxStyle
;
return
boxStyle
;
}
}
...
@@ -286,7 +318,7 @@ export class PanelDetailModel {
...
@@ -286,7 +318,7 @@ export class PanelDetailModel {
*
*
* @memberof PanelDetailModel
* @memberof PanelDetailModel
*/
*/
p
ublic
getBoxBorderStyle
()
{
p
rotected
getBoxBorderStyle
()
{
const
boxStyle
=
{};
const
boxStyle
=
{};
return
boxStyle
;
return
boxStyle
;
}
}
...
@@ -297,7 +329,7 @@ export class PanelDetailModel {
...
@@ -297,7 +329,7 @@ export class PanelDetailModel {
* @return {*}
* @return {*}
* @memberof PanelDetailModel
* @memberof PanelDetailModel
*/
*/
public
getCommonLayoutStyle
()
{
public
getCommonLayoutStyle
()
{
const
layoutStyle
=
{};
const
layoutStyle
=
{};
Object
.
assign
(
layoutStyle
,
this
.
getBoxSelfAlignStyle
());
Object
.
assign
(
layoutStyle
,
this
.
getBoxSelfAlignStyle
());
Object
.
assign
(
layoutStyle
,
this
.
getBoxLayOutStyle
());
Object
.
assign
(
layoutStyle
,
this
.
getBoxLayOutStyle
());
...
@@ -324,7 +356,7 @@ export class PanelDetailModel {
...
@@ -324,7 +356,7 @@ export class PanelDetailModel {
*
*
* @memberof PanelDetailModel
* @memberof PanelDetailModel
*/
*/
p
ublic
getBoxSelfAlignStyle
()
{
p
rotected
getBoxSelfAlignStyle
()
{
const
boxStyle
=
{};
const
boxStyle
=
{};
// 自身对齐方式
// 自身对齐方式
if
(
this
.
vAlignSelf
||
this
.
hAlignSelf
)
{
if
(
this
.
vAlignSelf
||
this
.
hAlignSelf
)
{
...
@@ -369,25 +401,12 @@ export class PanelDetailModel {
...
@@ -369,25 +401,12 @@ export class PanelDetailModel {
*
*
* @memberof PanelDetailModel
* @memberof PanelDetailModel
*/
*/
p
ublic
getBoxLayOutStyle
()
{
p
rotected
getBoxLayOutStyle
()
{
const
boxStyle
=
{};
const
boxStyle
=
{};
// 识别FLEX
// 识别FLEX
if
(
this
.
layout
==
'FLEX'
)
{
if
(
this
.
layout
==
'FLEX'
)
{
Object
.
assign
(
boxStyle
,
{
'display'
:
'flex'
,
'flex-grow'
:
this
.
flexGrow
?
this
.
flexGrow
:
0
});
Object
.
assign
(
boxStyle
,
{
'display'
:
'flex'
,
'flex-grow'
:
this
.
flexGrow
?
this
.
flexGrow
:
0
});
}
}
// 识别flex布局方向,横轴对齐,纵轴对齐
if
(
this
.
flexParams
.
align
||
this
.
flexParams
.
dir
||
this
.
flexParams
.
vAlign
)
{
Object
.
assign
(
boxStyle
,
{
'display'
:
'flex'
});
if
(
this
.
flexParams
.
dir
)
{
Object
.
assign
(
boxStyle
,
{
'flex-direction'
:
this
.
flexParams
.
dir
});
}
if
(
this
.
flexParams
.
align
)
{
Object
.
assign
(
boxStyle
,
{
'justify-content'
:
this
.
flexParams
.
align
});
}
if
(
this
.
flexParams
.
vAlign
)
{
Object
.
assign
(
boxStyle
,
{
'align-items'
:
this
.
flexParams
.
vAlign
});
}
}
// 识别SIMPLEFLEX
// 识别SIMPLEFLEX
if
(
this
.
layout
==
'SIMPLEFLEX'
)
{
if
(
this
.
layout
==
'SIMPLEFLEX'
)
{
if
(
this
.
flexGrow
)
{
if
(
this
.
flexGrow
)
{
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
8e084026
...
@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -663,7 +663,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
...
@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
8e084026
...
@@ -621,7 +621,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -621,7 +621,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
*/
public
load
(
opt
:
any
=
{}):
void
{
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Data
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
;
return
;
}
}
const
arg
:
any
=
{
...
opt
};
const
arg
:
any
=
{
...
opt
};
...
@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
...
@@ -657,7 +657,7 @@ export default class QUICKSEARCHFORMBase extends Vue implements ControlInterface
*/
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Data
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
;
return
;
}
}
const
arg
:
any
=
{
...
opt
}
;
const
arg
:
any
=
{
...
opt
}
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录