Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
4aa24310
提交
4aa24310
编写于
11月 03, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
tony001 发布系统代码 [后台服务,演示应用]
上级
ac87fe6d
变更
20
隐藏空白字符变更
内嵌
并排
正在显示
20 个修改的文件
包含
457 行增加
和
97 行删除
+457
-97
app-register.ts
app_Web/src/app-register.ts
+6
-1
app-scroll-container.vue
...t/container/app-scroll-container/app-scroll-container.vue
+29
-12
app-simpleflex-container.less
...er/app-simpleflex-container/app-simpleflex-container.less
+4
-0
app-simpleflex-container.vue
...ner/app-simpleflex-container/app-simpleflex-container.vue
+19
-30
app-preset-qrcode.less
...ment/interactive/app-preset-qrcode/app-preset-qrcode.less
+9
-0
app-preset-qrcode.vue
...ement/interactive/app-preset-qrcode/app-preset-qrcode.vue
+139
-0
app-preset-switch.less
...ment/interactive/app-preset-switch/app-preset-switch.less
+4
-0
app-preset-switch.vue
...ement/interactive/app-preset-switch/app-preset-switch.vue
+67
-0
app-preset-text-input.less
...eractive/app-preset-text-input/app-preset-text-input.less
+10
-0
app-preset-text-input.vue
...teractive/app-preset-text-input/app-preset-text-input.vue
+75
-0
app-preset-caption.vue
...ut-element/text/app-preset-caption/app-preset-caption.vue
+21
-3
app-preset-text.less
.../layout-element/text/app-preset-text/app-preset-text.less
+2
-2
app-preset-text.vue
...s/layout-element/text/app-preset-text/app-preset-text.vue
+21
-38
app-preset-title.vue
...layout-element/text/app-preset-title/app-preset-title.vue
+18
-2
panel-detail.ts
app_Web/src/model/panel-detail/panel-detail.ts
+17
-2
ibizcustomer-media-test-edit-view-base.vue
...test-edit-view/ibizcustomer-media-test-edit-view-base.vue
+5
-0
app-index-view-base.vue
.../src/pages/ungroup/app-index-view/app-index-view-base.vue
+4
-0
app-login-view-base.vue
.../src/pages/ungroup/app-login-view/app-login-view-base.vue
+3
-3
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
浏览文件 @
4aa24310
...
...
@@ -128,7 +128,9 @@ import AppLoginNoteVerify from './components/layout-element/login/app-login-note
import
AppRawItemImage
from
'./components/layout-element/media/app-rawitem-image/app-rawitem-image.vue'
;
import
AppRawItemCarousel
from
'./components/layout-element/media/app-rawitem-carousel/app-rawitem-carousel.vue'
;
import
AppRawItemVideo
from
'./components/layout-element/media/app-rawitem-video/app-rawitem-video.vue'
;
import
AppPresetQrCode
from
'./components/layout-element/interactive/app-preset-qrcode/app-preset-qrcode.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'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
...
...
@@ -271,5 +273,8 @@ export const AppComponents = {
v
.
component
(
'app-rawitem-image'
,
AppRawItemImage
);
v
.
component
(
'app-rawitem-carousel'
,
AppRawItemCarousel
);
v
.
component
(
'app-rawitem-video'
,
AppRawItemVideo
);
v
.
component
(
'app-preset-qr-code'
,
AppPresetQrCode
);
v
.
component
(
'app-preset-switch'
,
AppPresetSwitch
);
v
.
component
(
'app-preset-text-input'
,
AppPresetTextInput
);
},
};
\ No newline at end of file
app_Web/src/components/layout-element/container/app-scroll-container/app-scroll-container.vue
浏览文件 @
4aa24310
<
template
>
<div
:class=
"curClassName"
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<div
v-if=
"containerModel.NORTH"
:style=
"containerModel.NORTH.style"
class=
"no-style overflow-auto app-scroll-container__header"
>
<
template
v-for=
"name of containerModel.NORTH.name
"
>
<
div
v-for=
"name of containerModel.NORTH.name"
class=
"scroll-item__pos"
:style=
"getItemPosStyle(name)
"
>
<slot
:name=
"name"
></slot>
</
template
>
</
div
>
</div>
<div
class=
"app-scroll-container__middle"
:style=
"middleContainerStyle"
>
<div
v-if=
"containerModel.WEST"
:style=
"containerModel.WEST.style"
class=
"no-style overflow-auto app-scroll-container__left"
>
<
template
v-for=
"name of containerModel.WEST.name
"
>
<
div
v-for=
"name of containerModel.WEST.name"
class=
"scroll-item__pos"
:style=
"getItemPosStyle(name)
"
>
<slot
:name=
"name"
></slot>
</
template
>
</
div
>
</div>
<div
v-if=
"containerModel.CENTER"
:style=
"containerModel.CENTER.style"
class=
"no-style overflow-auto app-scroll-container__center"
>
<
template
v-for=
"name of containerModel.CENTER.name
"
>
<
div
v-for=
"name of containerModel.CENTER.name"
class=
"scroll-item__pos"
:style=
"getItemPosStyle(name)
"
>
<slot
:name=
"name"
></slot>
</
template
>
</
div
>
</div>
<div
v-if=
"containerModel.EAST"
:style=
"containerModel.EAST.style"
class=
"no-style overflow-auto app-scroll-container__right"
>
<
template
v-for=
"name of containerModel.EAST.name
"
>
<
div
v-for=
"name of containerModel.EAST.name"
class=
"scroll-item__pos"
:style=
"getItemPosStyle(name)
"
>
<slot
:name=
"name"
></slot>
</
template
>
</
div
>
</div>
</div>
<div
v-if=
"containerModel.SOUTH"
:style=
"containerModel.SOUTH.style"
class=
"no-style overflow-auto app-scroll-container__bottom"
>
<
template
v-for=
"name of containerModel.SOUTH.name
"
>
<
div
v-for=
"name of containerModel.SOUTH.name"
class=
"scroll-item__pos"
:style=
"getItemPosStyle(name)
"
>
<slot
:name=
"name"
></slot>
</
template
>
</
div
>
</div>
</div>
</
template
>
...
...
@@ -75,7 +75,24 @@ export default class AppScrollContainer extends Vue {
* 当前容器样式类
*/
get
curClassName
(){
return
`app-scroll-container
${
this
.
name
}
`
;
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
return
`app-scroll-container
${
this
.
name
}
${
layoutModel
.
sysCss
}
`
;
}
/**
* 当前容器样式
*/
get
curStyle
(){
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
return
layoutModel
.
getBoxSpacingStyle
();
}
/**
* 获取项布局样式
*/
public
getItemPosStyle
(
name
:
string
){
const
layoutModel
=
this
.
layoutModelDetails
[
name
];
return
layoutModel
.
getBorderLayoutStyle
();
}
/**
...
...
app_Web/src/components/layout-element/container/app-simpleflex-container/app-simpleflex-container.less
浏览文件 @
4aa24310
...
...
@@ -3,4 +3,8 @@
height: 100%;
display: flex;
border: 1px solid blue;
.simpleflex-item__pos{
height: 100%;
width: 100%;
}
}
\ No newline at end of file
app_Web/src/components/layout-element/container/app-simpleflex-container/app-simpleflex-container.vue
浏览文件 @
4aa24310
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle
Content
"
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<template
v-if=
"containerModel.length > 0"
>
<
template
v-for=
"name of containerModel
"
>
<
div
v-for=
"name of containerModel"
class=
"simpleflex-item__pos"
:style=
"getItemPosStyle(name)
"
>
<slot
:name=
"name"
></slot>
</
template
>
</
div
>
</
template
>
</div>
</template>
...
...
@@ -63,38 +63,27 @@ export default class AppSimpleFlexContainer extends Vue {
* 当前容器样式类
*/
get
curClassName
()
{
return
`app-simpleflex-container
${
this
.
name
}
`
;
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
return
`app-simpleflex-container
${
this
.
name
}
${
layoutModel
.
sysCss
}
`
;
}
/**
* 当前容器样式
*/
get
curStyleContent
()
{
let
boxLayoutPosStyle
=
""
;
const
curLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
curLayoutModel
)
{
const
{
layout
,
flexGrow
}
=
curLayoutModel
;
// 识别FLEX占位属性
if
(
layout
&&
layout
==
'FLEX'
)
{
boxLayoutPosStyle
+=
`'flex-grow':
${
flexGrow
?
flexGrow
:
0
}
;`
;
}
// 识别SIMPLEFLEX占位属性
if
(
layout
==
'SIMPLEFLEX'
)
{
if
(
flexGrow
)
{
boxLayoutPosStyle
+=
`width:
${(
100
/
12
)
*
flexGrow
}
%;height: 100%;`
;
}
else
{
// 简单FLEX布局自适应
boxLayoutPosStyle
+=
`flex-grow:1;min-width:
${(
100
/
12
)}
%;height:100%;`
;
}
}
// 识别边缘布局占位属性
if
(
layout
==
'BORDER'
)
{
boxLayoutPosStyle
+=
`display:flex;`
;
}
* 当前容器样式
*/
get
curStyle
()
{
const
layoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
return
layoutModel
.
getBoxSpacingStyle
();
}
}
return
boxLayoutPosStyle
;
/**
* 获取项布局样式
*/
public
getItemPosStyle
(
name
:
string
)
{
const
layoutModel
=
this
.
layoutModelDetails
[
name
];
return
layoutModel
.
getCommonLayoutStyle
();
}
}
</
script
>
<
style
lang=
'less'
>
...
...
app_Web/src/components/layout-element/interactive/app-preset-qrcode/app-preset-qrcode.less
0 → 100644
浏览文件 @
4aa24310
.app-preset-qr-code {
width: 100%;
height: 100%;
.ibiz-qr-code {
width: 100%;
height: 100%;
}
}
\ No newline at end of file
app_Web/src/components/layout-element/interactive/app-preset-qrcode/app-preset-qrcode.vue
0 → 100644
浏览文件 @
4aa24310
<
template
>
<div
:class=
"className"
>
<template
v-if=
"QRCodeConfig.url"
>
<ibiz-qr-code
:size=
"QRCodeConfig.size"
:url=
"QRCodeConfig.url"
:bgSrc=
"QRCodeConfig.bgSrc"
:margin=
"QRCodeConfig.margin"
:backgroundColor=
"QRCodeConfig.backgroundColor"
:logoSrc=
"QRCodeConfig.logoSrc"
:logoMargin=
"QRCodeConfig.logoMargin"
:logoBgColor=
"QRCodeConfig.logoBgColor"
:logoRadius=
"QRCodeConfig.logoRadius"
:whiteMargin=
"QRCodeConfig.whiteMargin"
class=
"ibiz-qr-code"
:callback=
"callback"
>
</ibiz-qr-code>
</
template
>
</div>
</template>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppPresetQrCode
extends
Vue
{
/**
* 内容 value数据格式:对象类型的JSON字符串,参数类型与QRCodeConfig一致:"{ "url": "http://www.baidu.com" }"
*
* @type {string}
* @memberof AppPresetQrCode
*/
@
Prop
()
public
value
?:
any
;
/**
* 名称
*
* @type {string}
* @memberof AppPresetQrCode
*/
@
Prop
()
public
name
!
:
string
;
/**
* 类名
*
* @memberof AppPresetQrCode
*/
get
className
():
string
{
return
`app-preset-qr-code
${
this
.
name
}
`
;
}
/**
* ibiz-qr-code组件可传参数
* @param {number} size 二维码大小,包含边框
* @param {string} url 二维码内容
* @param {string} bgSrc 背景图片
* @param {number} margin 二维码外边距
* @param {string} backgroundColor 背景颜色
* @param {string} logoSrc 中央图标logo地址
* @param {number} logoMargin logo周围的空白边框
* @param {string} logoBgColor logo边框的背景色
* @param {number} logoRadius logo边框圆角半径
* @param {boolean} whiteMargin 背景图外是否设置白色边框
* @type {*}
* @memberof AppPresetQrCode
*/
public
QRCodeConfig
:
{
size
?:
number
,
url
?:
string
,
bgSrc
?:
string
,
margin
?:
number
,
backgroundColor
?:
string
,
logoSrc
?:
string
,
logoMargin
?:
number
,
logoBgColor
?:
string
,
logoRadius
?:
number
,
whiteMargin
?:
boolean
,
}
=
{}
/**
* 二维码生成的回调函数
* @type {*}
* @memberof AppPresetQrCode
*/
public
callback
(
event
:
any
)
{
// TODO
}
/**
* 获取二维码数据
*
* @memberof AppPresetQrCode
*/
public
created
()
{
this
.
getQRCodeData
();
}
/**
* 获取二维码绘制数据
*
* @type {*}
* @memberof AppPresetQrCode
*/
public
getQRCodeData
()
{
if
(
this
.
value
&&
typeof
(
this
.
value
)
==
'string'
)
{
const
value
=
JSON
.
parse
(
this
.
value
);
const
{
size
,
url
,
bgSrc
,
margin
,
backgroundColor
,
logoSrc
,
logoMargin
,
logoBgColor
,
logoRadius
,
whiteMargin
,
}
=
value
;
this
.
QRCodeConfig
=
{
size
,
url
,
bgSrc
,
margin
,
backgroundColor
,
logoSrc
,
logoMargin
,
logoBgColor
,
logoRadius
,
whiteMargin
,
};
// TODO
}
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-preset-qrcode.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/interactive/app-preset-switch/app-preset-switch.less
0 → 100644
浏览文件 @
4aa24310
.app-preset-switch {
min-width: 40px;
height: 100%;
}
\ No newline at end of file
app_Web/src/components/layout-element/interactive/app-preset-switch/app-preset-switch.vue
0 → 100644
浏览文件 @
4aa24310
<
template
>
<el-switch
:class=
"className"
v-model=
"curValue"
:disabled=
"disabled"
></el-switch>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppPresetSwitch
extends
Vue
{
/**
* 开关值
*
* @type {*}
* @memberof AppPresetSwitch
*/
@
Prop
()
public
value
!
:
any
/**
* 名称
*
* @type {*}
* @memberof AppPresetSwitch
*/
@
Prop
()
public
name
!
:
string
/**
* 名称
*
* @type {*}
* @memberof AppPresetSwitch
*/
@
Prop
({
default
:
false
})
public
disabled
?:
boolean
/**
* 类名
*
* @memberof AppPresetSwitch
*/
get
className
():
string
{
return
`app-preset-switch
${
this
.
name
}
`
;
}
/**
* 获取开关状态
*
* @type {*}
* @memberof AppPresetSwitch
*/
get
curValue
():
boolean
{
return
!!
this
.
value
;
}
/**
* 开关状态发生变化
*
* @type {*}
* @memberof AppPresetSwitch
*/
set
curValue
(
value
:
boolean
)
{
this
.
$emit
(
'valueChange'
,
{
name
:
this
.
name
,
value
});
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-preset-switch.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/interactive/app-preset-text-input/app-preset-text-input.less
0 → 100644
浏览文件 @
4aa24310
.app-preset-text-input {
width: 100%;
height: 32px;
.el-input,
.el-input__inner {
width: 100%;
height: 32px;
}
}
\ No newline at end of file
app_Web/src/components/layout-element/interactive/app-preset-text-input/app-preset-text-input.vue
0 → 100644
浏览文件 @
4aa24310
<
template
>
<div
:class=
"className"
>
<el-input
v-model=
"curValue"
:placeholder=
"placeholder"
></el-input>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppPresetTextInput
extends
Vue
{
/**
* 输入值
*
* @type {*}
* @memberof AppPresetTextInput
*/
@
Prop
()
public
value
!
:
any
;
/**
* 名称
*
* @type {string}
* @memberof AppPresetTextInput
*/
@
Prop
()
public
name
!
:
string
;
/**
* 禁用
*
* @type {boolean}
* @memberof AppPresetTextInput
*/
@
Prop
()
public
disabled
?:
boolean
;
/**
* 占位文本
*
* @type {string}
* @memberof AppPresetTextInput
*/
@
Prop
({
default
:
''
})
public
placeholder
?:
string
;
/**
* 类名
*
* @memberof AppPresetSwitch
*/
get
className
():
string
{
return
`app-preset-text-input
${
this
.
name
}
`
;
}
/**
* 当前值
*
* @memberof AppPresetTextInput
*/
get
curValue
()
{
return
this
.
value
;
}
/**
* 值变化
*
* @memberof AppPresetTextInput
*/
set
curValue
(
val
:
any
)
{
this
.
$emit
(
'valueChange'
,
{
name
:
this
.
name
,
value
:
val
});
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-preset-text-input.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/text/app-preset-caption/app-preset-caption.vue
浏览文件 @
4aa24310
<
template
>
<div
class=
"app-preset-caption
"
>
<div
:class=
"className
"
>
<slot></slot>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
}
from
"vue-property-decorator"
;
import
{
Vue
,
Component
,
Prop
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppPresetCaption
extends
Vue
{}
export
default
class
AppPresetCaption
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppPresetCaption
*/
@
Prop
()
public
name
!
:
string
;
/**
* 类名
*
* @memberof AppPresetText
*/
get
className
():
string
{
return
`app-preset-caption
${
this
.
name
}
`
;
}
}
</
script
>
<
style
lang=
'less'
>
...
...
app_Web/src/components/layout-element/text/app-preset-text/app-preset-text.less
浏览文件 @
4aa24310
.app-preset-text {
width: 100%;
height: 100%;
width: 100%;
height: 100%;
}
\ No newline at end of file
app_Web/src/components/layout-element/text/app-preset-text/app-preset-text.vue
浏览文件 @
4aa24310
<
template
>
<div
:class=
"
['app-preset-text', `app-preset-text--$
{contentType.toLowerCase()}`]
">
<div
:class=
"
className
"
>
<!-- 直接内容类型 -->
<template
v-if=
"Object.is(contentType, 'RAW')"
>
<template
v-if=
"Object.is(renderMode, 'TEXT')"
>
...
...
@@ -58,6 +58,14 @@ export default class AppPresetText extends Vue {
*/
@
Prop
()
public
value
!
:
any
;
/**
* 名称
*
* @type {string}
* @memberof AppPresetText
*/
@
Prop
()
public
name
!
:
string
;
/**
* 内容类型
*
...
...
@@ -98,11 +106,11 @@ export default class AppPresetText extends Vue {
@
Prop
()
public
imageClass
?:
string
;
/**
*
动态
图片路径
* 图片路径
*
* @memberof AppPresetText
*/
protected
dynaImgUrl
:
string
=
''
;
@
Prop
()
public
imgUrl
?:
string
;
/**
* 样式
...
...
@@ -110,16 +118,7 @@ export default class AppPresetText extends Vue {
* @memberof AppPresetText
*/
protected
cssStyle
:
string
=
''
;
/**
* 图片路径
*
* @memberof AppPresetText
*/
get
imgUrl
():
string
{
return
this
.
dynaImgUrl
;
}
/**
* 内容
*
...
...
@@ -142,6 +141,15 @@ export default class AppPresetText extends Vue {
return
content
;
}
/**
* 类名
*
* @memberof AppPresetText
*/
get
className
():
string
{
return
`app-preset-text app-preset-text--
${
this
.
contentType
.
toLowerCase
()}
${
this
.
name
}
`
;
}
/**
* Vue生命周期 --- Created
*
...
...
@@ -149,7 +157,6 @@ export default class AppPresetText extends Vue {
*/
created
()
{
this
.
handleText
();
this
.
handleDynaImg
();
}
/**
...
...
@@ -163,30 +170,6 @@ export default class AppPresetText extends Vue {
}
}
/**
* 处理动态图片
*
* @memberof AppPresetText
*/
protected
handleDynaImg
()
{
// TODO 动态图片
// if (this.value && typeof this.value == 'string') {
// // 默认识别文件对象形式,识别失败则为全路径模式
// try {
// const _files = JSON.parse(this.value);
// const file = _files instanceof Array ? _files[0] : null;
// const url = file && file.id ? `${this.downloadUrl}/${file.id}` : '';
// ImgurlBase64.getInstance()
// .getImgURLOfBase64(url)
// .then((res: any) => {
// this.dynaImgUrl = res;
// });
// } catch (error) {
// this.dynaImgUrl = this.value;
// }
// }
}
}
</
script
>
<
style
lang=
"less"
>
...
...
app_Web/src/components/layout-element/text/app-preset-title/app-preset-title.vue
浏览文件 @
4aa24310
<
template
>
<h1
class=
"app-preset-titl
e"
>
{{
curValue
}}
</h1>
<h1
:class=
"classNam
e"
>
{{
curValue
}}
</h1>
</
template
>
<
script
lang=
"ts"
>
import
{
Environment
}
from
"@/environments/environment"
;
import
{
Vue
,
Component
}
from
'vue-property-decorator'
;
import
{
Vue
,
Component
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppPresetTitle
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppPresetTitle
*/
@
Prop
()
public
name
!
:
string
;
/**
* 类名
*
* @memberof AppPresetTitle
*/
get
className
():
string
{
return
`app-preset-title
${
this
.
name
}
`
;
}
/**
* 当前值
...
...
app_Web/src/model/panel-detail/panel-detail.ts
浏览文件 @
4aa24310
...
...
@@ -292,18 +292,33 @@ export class PanelDetailModel {
}
/**
* 获取
布局样式(布局,包含约束内容布局的样式,包含内容
的对齐方式)
* 获取
通用布局样式(SAMPLEFLEX/FLEX)(布局,包含约束内容区布局的样式,包含内容区
的对齐方式)
*
* @return {*}
* @memberof PanelDetailModel
*/
public
get
LayoutStyle
()
{
public
getCommon
LayoutStyle
()
{
const
layoutStyle
=
{};
Object
.
assign
(
layoutStyle
,
this
.
getBoxSelfAlignStyle
());
Object
.
assign
(
layoutStyle
,
this
.
getBoxLayOutStyle
());
Object
.
assign
(
layoutStyle
,
this
.
getBoxSelfAlignStyle
());
return
layoutStyle
;
}
/**
* 获取边缘布局样式
*
* @memberof PanelDetailModel
*/
public
getBorderLayoutStyle
()
{
const
borderLayoutStyle
:
any
=
{
width
:
'100%'
,
height
:
'100%'
};
if
(
this
.
layoutHeight
)
{
Object
.
assign
(
borderLayoutStyle
,
Util
.
getBoxSize
(
"HEIGHT"
,
this
.
heightMode
,
this
.
layoutHeight
));
}
// TODO 合入样式代码
return
borderLayoutStyle
;
}
/**
* 获取自身对齐模式(布局)
*
...
...
app_Web/src/pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view-base.vue
浏览文件 @
4aa24310
...
...
@@ -57,6 +57,7 @@
<app-simpleflex-container
name=
"container4"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label1
>
<app-preset-text
name=
"static_label1"
predefinedType=
"STATIC_LABEL"
renderMode=
"PARAGRAPH"
contentType=
"RAW"
...
...
@@ -78,6 +79,7 @@
<app-simpleflex-container
name=
"container5"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label2
>
<app-preset-text
name=
"static_label2"
predefinedType=
"STATIC_LABEL"
renderMode=
"PARAGRAPH"
contentType=
"RAW"
...
...
@@ -97,6 +99,7 @@
<app-simpleflex-container
name=
"container6"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label3
>
<app-preset-text
name=
"static_label3"
predefinedType=
"STATIC_LABEL"
renderMode=
"PARAGRAPH"
contentType=
"RAW"
...
...
@@ -113,6 +116,7 @@
<app-simpleflex-container
name=
"container7"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label4
>
<app-preset-text
name=
"static_label4"
predefinedType=
"STATIC_LABEL"
renderMode=
"PARAGRAPH"
contentType=
"RAW"
...
...
@@ -130,6 +134,7 @@
<app-standard-container
name=
"container8"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_label5
>
<app-preset-text
name=
"static_label5"
predefinedType=
"STATIC_LABEL"
renderMode=
"PARAGRAPH"
contentType=
"RAW"
...
...
app_Web/src/pages/ungroup/app-index-view/app-index-view-base.vue
浏览文件 @
4aa24310
...
...
@@ -3,6 +3,7 @@
<
template
>
<div
class=
"app-view-layout"
style=
"height: '100%'; width: '100%';'display': 'flex'; 'flex-direction': 'column';"
>
<app-preset-text
name=
"static_label1"
predefinedType=
"STATIC_LABEL"
renderMode=
"PARAGRAPH"
contentType=
"RAW"
...
...
@@ -19,6 +20,7 @@
</
template
>
<
template
#
static_label2
>
<app-preset-text
name=
"static_label2"
predefinedType=
"STATIC_LABEL"
renderMode=
"PARAGRAPH"
contentType=
"RAW"
...
...
@@ -27,6 +29,7 @@
</
template
>
<
template
#
static_text1
>
<app-preset-text
name=
"static_text1"
predefinedType=
"STATIC_TEXT"
renderMode=
"TEXT"
contentType=
"RAW"
...
...
@@ -34,6 +37,7 @@
contentStyle=
""
/>
</
template
>
<
template
#
field_text_dynamic
>
<app-preset-text
name=
"field_text_dynamic"
predefinedType=
"FIELD_TEXT_DYNAMIC"
/>
</
template
>
<
template
#
field_switch
>
<span>
属性项
</span>
...
...
app_Web/src/pages/ungroup/app-login-view/app-login-view-base.vue
浏览文件 @
4aa24310
...
...
@@ -16,16 +16,16 @@
<app-login-org
/>
</
template
>
<
template
#
auth_loginbutton1
>
<app-login-button
class=
"app-login
-login"
type=
'primary'
:caption=
"$t('components.login.name')"
@
itemClick=
"handleItemClick"
/>
<app-login-button
class=
"app-login
"
:model=
"layoutModelDetails.auth_loginbutton1"
type=
'primary'
:model=
"layoutModelDetails."
:caption=
"$t('components.login.name')"
@
itemClick=
"handleItemClick"
/>
</
template
>
<
template
#
auth_registbutton1
>
<span>
按钮
</span>
</
template
>
<
template
#
auth_resetinput1
>
<app-login-button
class=
"app-
login-reset"
type=
'success'
:caption=
"$t('components.login.reset')"
@
itemClick=
"handleItemClick"
/>
<app-login-button
class=
"app-
reset"
:model=
"layoutModelDetails.auth_resetinput1"
type=
'success'
:model=
"layoutModelDetails."
:caption=
"$t('components.login.reset')"
@
itemClick=
"handleItemClick"
/>
</
template
>
<
template
#
auth_logout1
>
<app-login-button
class=
"app-log
in-logout
"
:caption=
"$t('components.login.logout')"
@
itemClick=
"handleItemClick"
/>
<app-login-button
class=
"app-log
out"
:model=
"layoutModelDetails.auth_logout1
"
:caption=
"$t('components.login.logout')"
@
itemClick=
"handleItemClick"
/>
</
template
>
<
template
#
auth_captcha1
>
<app-login-captcha
/>
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
4aa24310
...
...
@@ -663,7 +663,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
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -699,7 +699,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr9Grid
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
GroupByCodelistList
View'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_Web/src/widgets/ibizbook/quicksearchform-searchform/quicksearchform-searchform-base.vue
浏览文件 @
4aa24310
...
...
@@ -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
}
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录