Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
3a9f6b9a
提交
3a9f6b9a
编写于
11月 03, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Mosher 发布系统代码 [后台服务,演示应用]
上级
33e66edc
变更
23
显示空白字符变更
内嵌
并排
正在显示
23 个修改的文件
包含
612 行增加
和
68 行删除
+612
-68
app-register.ts
app_Web/src/app-register.ts
+13
-1
app-nav-pos.vue
...ents/layout-element/container/app-nav-pos/app-nav-pos.vue
+46
-1
app-tab-page.vue
...ts/layout-element/container/app-tab-page/app-tab-page.vue
+38
-18
app-tab-panel.vue
.../layout-element/container/app-tab-panel/app-tab-panel.vue
+37
-10
app-ctrl-pos.less
...nts/layout-element/control/app-ctrl-pos/app-ctrl-pos.less
+0
-0
app-ctrl-pos.vue
...ents/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue
+74
-0
app-index-default-menu.less
.../index/app-index-default-menu/app-index-default-menu.less
+0
-0
app-index-default-menu.vue
...t/index/app-index-default-menu/app-index-default-menu.vue
+74
-0
app-index-logout.less
...yout-element/index/app-index-logout/app-index-logout.less
+0
-0
app-index-logout.vue
...ayout-element/index/app-index-logout/app-index-logout.vue
+74
-0
app-index-nav-tabs.less
...-element/index/app-index-nav-tabs/app-index-nav-tabs.less
+0
-0
app-index-nav-tabs.vue
...t-element/index/app-index-nav-tabs/app-index-nav-tabs.vue
+74
-0
app-index-org-select.less
...ment/index/app-index-org-select/app-index-org-select.less
+0
-0
app-index-org-select.vue
...ement/index/app-index-org-select/app-index-org-select.vue
+74
-0
app-index-user-info.less
...lement/index/app-index-user-info/app-index-user-info.less
+0
-0
app-index-user-info.vue
...element/index/app-index-user-info/app-index-user-info.vue
+74
-0
app-preset-qrcode.less
...ment/interactive/app-preset-qrcode/app-preset-qrcode.less
+1
-1
app-preset-qrcode.vue
...ement/interactive/app-preset-qrcode/app-preset-qrcode.vue
+1
-1
ibizcustomer-media-test-edit-view-base.vue
...test-edit-view/ibizcustomer-media-test-edit-view-base.vue
+6
-2
ibizorder-test-custom-layout-panel-grid-exp-view-base.vue
...ibizorder-test-custom-layout-panel-grid-exp-view-base.vue
+3
-1
ibizorder-usr2-grid-view-base.vue
...bizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
+12
-4
index-base.vue
app_Web/src/pages/sample/index/index-base.vue
+9
-27
default-searchform-base.vue
...s/ibizbook/default-searchform/default-searchform-base.vue
+2
-2
未找到文件。
app_Web/src/app-register.ts
浏览文件 @
3a9f6b9a
...
...
@@ -131,6 +131,12 @@ import AppRawItemVideo from './components/layout-element/media/app-rawitem-video
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'
;
import
AppIndexDefaultMenu
from
'./components/layout-element/index/app-index-default-menu/app-index-default-menu.vue'
;
import
AppIndexLogout
from
'./components/layout-element/index/app-index-logout/app-index-logout.vue'
;
import
AppIndexNavTabs
from
'./components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.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
AppCtrlPos
from
'./components/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
...
...
@@ -273,8 +279,14 @@ 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-qrcode'
,
AppPresetQrCode
);
v
.
component
(
'app-preset-switch'
,
AppPresetSwitch
);
v
.
component
(
'app-preset-text-input'
,
AppPresetTextInput
);
v
.
component
(
'app-index-default-menu'
,
AppIndexDefaultMenu
);
v
.
component
(
'app-index-logout'
,
AppIndexLogout
);
v
.
component
(
'app-index-nav-tabs'
,
AppIndexNavTabs
);
v
.
component
(
'app-index-org-select'
,
AppIndexOrgSelect
);
v
.
component
(
'app-index-user-info'
,
AppIndexUserInfo
);
v
.
component
(
'app-ctrl-pos'
,
AppCtrlPos
);
},
};
\ No newline at end of file
app_Web/src/components/layout-element/container/app-nav-pos/app-nav-pos.vue
浏览文件 @
3a9f6b9a
<
template
>
<div
class=
"app-nav-pos
"
>
<div
:class=
"curClassName"
:style=
"curStyle
"
>
<template
v-if=
"dynaNavMode === 'ROUTEVIEW'"
>
<template
v-if=
"enableCache"
>
<app-keep-alive
:routerList=
"routerList"
>
...
...
@@ -51,6 +51,14 @@ export default class AppNavPos extends Vue {
*/
@
Prop
()
public
navData
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppNavPos
*/
public
currentLayoutModel
:
any
;
/**
* 获取动态导航模式(DYNAMICCOMP:动态组件 ROUTEVIEW:路由出口)
*
...
...
@@ -98,6 +106,40 @@ export default class AppNavPos extends Vue {
return
_this
.
$route
.
fullPath
;
}
/**
* 当前容器类名
*
* @memberof AppNavPos
*/
get
curClassName
()
{
return
{
'app-nav-pos'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppNavPos
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppNavPos
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
/**
* 执行视图事件
*
...
...
@@ -110,3 +152,6 @@ export default class AppNavPos extends Vue {
}
</
script
>
<
style
lang=
'less'
>
@import './app-nav-pos.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/container/app-tab-page/app-tab-page.vue
浏览文件 @
3a9f6b9a
<
template
>
<TabPane
:label=
"current
ModelDetail.caption"
:name=
"currentModelDetail.name"
tab=
"tabpanel1"
:class=
"curClassNam
e"
>
<TabPane
:label=
"current
LayoutModel.caption"
:name=
"currentLayoutModel.name"
tab=
"tabpanel1"
:class=
"curClassName"
:style=
"curStyl
e"
>
<template
v-if=
"containerModel.length > 0"
>
<template
v-for=
"name of containerModel"
>
<slot
:name=
"name"
></slot>
...
...
@@ -12,12 +12,12 @@
import
{
Component
,
Prop
,
Vue
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppTabPa
nel
extends
Vue
{
export
default
class
AppTabPa
ge
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppTabPa
nel
* @memberof AppTabPa
ge
*/
@
Prop
()
public
name
!
:
string
;
...
...
@@ -25,28 +25,29 @@ export default class AppTabPanel extends Vue {
* 布局模型详情
*
* @type {string}
* @memberof AppTabPa
nel
* @memberof AppTabPa
ge
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
*
插槽对象
*
当前布局模型
*
* @memberof AppTabPanel
* @type {*}
* @memberof AppTabPage
*/
public
c
ontainerModel
:
any
[]
=
[]
;
public
c
urrentLayoutModel
:
any
;
/**
*
当前模型
*
插槽对象
*
* @memberof AppTabPa
nel
* @memberof AppTabPa
ge
*/
public
c
urrentModelDetail
:
any
;
public
c
ontainerModel
:
any
[]
=
[]
;
/**
* 组件初始化
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPage
*/
public
created
()
{
this
.
init
();
...
...
@@ -55,12 +56,12 @@ export default class AppTabPanel extends Vue {
/**
* 初始化子项
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPage
*/
public
init
()
{
this
.
current
ModelDetai
l
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
this
.
current
ModelDetail
&&
this
.
currentModelDetail
.
details
&&
this
.
currentModelDetai
l
.
details
.
length
>
0
)
{
this
.
current
ModelDetai
l
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
current
LayoutMode
l
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
this
.
current
LayoutModel
&&
this
.
currentLayoutModel
.
details
&&
this
.
currentLayoutMode
l
.
details
.
length
>
0
)
{
this
.
current
LayoutMode
l
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
containerModel
.
push
(
key
);
})
}
...
...
@@ -68,12 +69,31 @@ export default class AppTabPanel extends Vue {
/**
* 当前容器样式类
*
* @memberof AppTabPage
*/
get
curClassName
()
{
return
`app-tab-page
${
this
.
name
}
`
;
return
{
'app-tab-page'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppTabPage
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-tab-page.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/container/app-tab-panel/app-tab-panel.vue
浏览文件 @
3a9f6b9a
...
...
@@ -24,11 +24,19 @@ export default class AppTabPanel extends Vue {
/**
* 布局模型详情
*
* @type {
string
}
* @type {
*
}
* @memberof AppTabPanel
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppTabPanel
*/
public
currentLayoutModel
:
any
;
/**
* 插槽对象
*
...
...
@@ -46,7 +54,7 @@ export default class AppTabPanel extends Vue {
/**
* 组件初始化
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPanel
*/
public
created
()
{
this
.
initTabPage
();
...
...
@@ -55,12 +63,12 @@ export default class AppTabPanel extends Vue {
/**
* 初始化分页
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPanel
*/
public
initTabPage
()
{
const
cur
LayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
curLayoutModel
&&
curLayoutModel
.
details
&&
cur
LayoutModel
.
details
.
length
>
0
)
{
cur
LayoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
current
LayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
if
(
this
.
currentLayoutModel
&&
this
.
currentLayoutModel
.
details
&&
this
.
current
LayoutModel
.
details
.
length
>
0
)
{
this
.
current
LayoutModel
.
details
.
forEach
((
key
:
string
)
=>
{
this
.
containerModel
.
push
(
key
);
})
}
...
...
@@ -71,19 +79,38 @@ export default class AppTabPanel extends Vue {
/**
* 处理分页点击
*
* @memberof
SimpleFlexContainer
* @memberof
AppTabPanel
*/
public
handleClick
(
tab
:
any
)
{
this
.
layoutModelDetails
[
this
.
name
].
clickPage
(
tab
);
}
/**
* 当前容器样式类
* 当前容器类名
*
* @memberof AppTabPanel
*/
get
curClassName
()
{
return
`app-tab-panel
${
this
.
name
}
`
;
return
{
'app-tab-panel'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppTabPanel
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-tab-panel.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/control/app-ctrl-pos/app-ctrl-pos.less
0 → 100644
浏览文件 @
3a9f6b9a
app_Web/src/components/layout-element/control/app-ctrl-pos/app-ctrl-pos.vue
0 → 100644
浏览文件 @
3a9f6b9a
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<slot></slot>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppCtrlPos
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppCtrlPos
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppCtrlPos
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppCtrlPos
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppCtrlPos
*/
get
curClassName
()
{
return
{
'app-ctrl-pos'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppCtrlPos
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppCtrlPos
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-ctrl-pos.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/index/app-index-default-menu/app-index-default-menu.less
0 → 100644
浏览文件 @
3a9f6b9a
app_Web/src/components/layout-element/index/app-index-default-menu/app-index-default-menu.vue
0 → 100644
浏览文件 @
3a9f6b9a
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
默认菜单
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexDefaultMenu
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexDefaultMenu
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexDefaultMenu
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexDefaultMenu
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexDefaultMenu
*/
get
curClassName
()
{
return
{
'app-index-default-menu'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexDefaultMenu
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexDefaultMenu
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-default-menu.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/index/app-index-logout/app-index-logout.less
0 → 100644
浏览文件 @
3a9f6b9a
app_Web/src/components/layout-element/index/app-index-logout/app-index-logout.vue
0 → 100644
浏览文件 @
3a9f6b9a
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
登出
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexLogout
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexLogout
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexLogout
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexLogout
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexLogout
*/
get
curClassName
()
{
return
{
'app-index-logout'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexLogout
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexLogout
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-logout.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.less
0 → 100644
浏览文件 @
3a9f6b9a
app_Web/src/components/layout-element/index/app-index-nav-tabs/app-index-nav-tabs.vue
0 → 100644
浏览文件 @
3a9f6b9a
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<tab-page-exp></tab-page-exp>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexNavTabs
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexNavTabs
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexNavTabs
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexNavTabs
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexNavTabs
*/
get
curClassName
()
{
return
{
'app-index-nav-tabs'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexNavTabs
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexNavTabs
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-nav-tabs.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/index/app-index-org-select/app-index-org-select.less
0 → 100644
浏览文件 @
3a9f6b9a
app_Web/src/components/layout-element/index/app-index-org-select/app-index-org-select.vue
0 → 100644
浏览文件 @
3a9f6b9a
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<app-orgsector></app-orgsector>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexOrgSelect
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexOrgSelect
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexOrgSelect
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexOrgSelect
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexOrgSelect
*/
get
curClassName
()
{
return
{
'app-index-org-select'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexOrgSelect
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexOrgSelect
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-org-select.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/index/app-index-user-info/app-index-user-info.less
0 → 100644
浏览文件 @
3a9f6b9a
app_Web/src/components/layout-element/index/app-index-user-info/app-index-user-info.vue
0 → 100644
浏览文件 @
3a9f6b9a
<
template
>
<div
:class=
"curClassName"
:style=
"curStyle"
>
<app-user></app-user>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Prop
,
Vue
}
from
"vue-property-decorator"
;
@
Component
({})
export
default
class
AppIndexUserInfo
extends
Vue
{
/**
* 名称
*
* @type {string}
* @memberof AppIndexUserInfo
*/
@
Prop
()
public
name
!
:
string
;
/**
* 布局模型详情
*
* @type {*}
* @memberof AppIndexUserInfo
*/
@
Prop
()
public
layoutModelDetails
:
any
;
/**
* 当前布局模型
*
* @type {*}
* @memberof AppIndexUserInfo
*/
public
currentLayoutModel
:
any
;
/**
* 当前容器类名
*
* @memberof AppIndexUserInfo
*/
get
curClassName
()
{
return
{
'app-index-user-info'
:
true
,
[
this
.
name
]:
true
,
[
this
.
currentLayoutModel
.
sysCss
]:
this
.
currentLayoutModel
.
sysCss
?
true
:
false
}
}
/**
* 当前容器样式
*
* @memberof AppIndexUserInfo
*/
get
curStyle
()
{
if
(
this
.
currentLayoutModel
)
{
return
this
.
currentLayoutModel
.
getElementStyle
();
}
return
''
;
}
/**
* Vue生命周期 --- created
*
* @memberof AppIndexUserInfo
*/
created
()
{
this
.
currentLayoutModel
=
this
.
layoutModelDetails
[
this
.
name
];
}
}
</
script
>
<
style
lang=
'less'
>
@import './app-index-user-info.less';
</
style
>
\ No newline at end of file
app_Web/src/components/layout-element/interactive/app-preset-qrcode/app-preset-qrcode.less
浏览文件 @
3a9f6b9a
.app-preset-qr
-
code {
.app-preset-qrcode {
width: 100%;
height: 100%;
...
...
app_Web/src/components/layout-element/interactive/app-preset-qrcode/app-preset-qrcode.vue
浏览文件 @
3a9f6b9a
...
...
@@ -46,7 +46,7 @@ export default class AppPresetQrCode extends Vue {
* @memberof AppPresetQrCode
*/
get
className
():
string
{
return
`app-preset-qr
-
code
${
this
.
name
}
`
;
return
`app-preset-qrcode
${
this
.
name
}
`
;
}
/**
...
...
app_Web/src/pages/sample/ibizcustomer-media-test-edit-view/ibizcustomer-media-test-edit-view-base.vue
浏览文件 @
3a9f6b9a
...
...
@@ -15,7 +15,9 @@
<
template
#
container_2
>
<app-simpleflex-container
name=
"container_2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
toolbar
>
<app-ctrl-pos
name=
"toolbar"
:layoutModelDetails=
"layoutModelDetails"
>
<span>
部件占位toolbar
</span>
</app-ctrl-pos>
</
template
>
</app-simpleflex-container>
</template>
...
...
@@ -24,6 +26,7 @@
<
template
#
container3
>
<app-standard-container
name=
"container3"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
form
>
<app-ctrl-pos
name=
"form"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_form
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -46,6 +49,7 @@
@
remove=
"form_remove($event)"
@
closeview=
"closeView($event)"
>
</view
_form
>
</app-ctrl-pos>
</
template
>
</app-standard-container>
</template>
...
...
app_Web/src/pages/sample/ibizorder-test-custom-layout-panel-grid-exp-view/ibizorder-test-custom-layout-panel-grid-exp-view-base.vue
浏览文件 @
3a9f6b9a
...
...
@@ -22,6 +22,7 @@
<
template
#
container_scroll_left1
>
<app-scroll-container
name=
"container_scroll_left1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
gridexpbar
>
<app-ctrl-pos
name=
"gridexpbar"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_gridexpbar
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -37,6 +38,7 @@
@
activated=
"gridexpbar_activated($event)"
@
closeview=
"closeView($event)"
>
</view
_gridexpbar
>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
</template>
...
...
app_Web/src/pages/sample/ibizorder-usr2-grid-view/ibizorder-usr2-grid-view-base.vue
浏览文件 @
3a9f6b9a
...
...
@@ -15,15 +15,19 @@
<
template
#
container2
>
<app-simpleflex-container
name=
"container2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
quicksearchbar
>
<app-ctrl-pos
name=
"quicksearchbar"
:layoutModelDetails=
"layoutModelDetails"
>
<span>
部件占位quicksearchbar
</span>
</app-ctrl-pos>
</
template
>
</app-simpleflex-container>
</template>
<
template
#
container_2
>
<app-simpleflex-container
name=
"container_2"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
toolbar
>
<app-ctrl-pos
name=
"toolbar"
:layoutModelDetails=
"layoutModelDetails"
>
<div
class=
'toolbar-container'
>
</div>
</app-ctrl-pos>
</
template
>
</app-simpleflex-container>
</template>
...
...
@@ -36,6 +40,7 @@
<template
#
search
>
<app-tab-page
name=
"search"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
searchform
>
<app-ctrl-pos
name=
"searchform"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_searchform
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -52,12 +57,14 @@
@
save=
"searchform_save($event)"
@
closeview=
"closeView($event)"
>
</view
_searchform
>
</app-ctrl-pos>
</
template
>
</app-tab-page>
</template>
<
template
#
content
>
<app-tab-page
name=
"content"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
grid
>
<app-ctrl-pos
name=
"grid"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_grid
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -85,6 +92,7 @@
@
beforeload=
"grid_beforeload($event)"
@
closeview=
"closeView($event)"
>
</view
_grid
>
</app-ctrl-pos>
</
template
>
</app-tab-page>
</template>
...
...
app_Web/src/pages/sample/index/index-base.vue
浏览文件 @
3a9f6b9a
...
...
@@ -6,7 +6,7 @@
<template
#
container_scroll_main1
>
<app-scroll-container
name=
"container_scroll_main1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
nav_tabs2
>
<
tab-page-exp></tab-page-exp
>
<
app-index-nav-tabs
name=
"nav_tabs2"
:layoutModelDetails=
"layoutModelDetails"
></app-index-nav-tabs
>
</
template
>
<
template
#
nav_pos1
>
<app-nav-pos
name=
"nav_pos1"
:layoutModelDetails=
"layoutModelDetails"
:navData=
"layoutModelDetails['nav_pos1'].navData"
></app-nav-pos>
...
...
@@ -16,6 +16,7 @@
<
template
#
container_scroll_left1
>
<app-scroll-container
name=
"container_scroll_left1"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
appmenu
>
<app-ctrl-pos
name=
"appmenu"
:layoutModelDetails=
"layoutModelDetails"
>
<view
_appmenu
:viewState=
"viewState"
:viewparams=
"viewparams"
...
...
@@ -33,6 +34,7 @@
ref=
'appmenu'
@
closeview=
"closeView($event)"
>
</view
_appmenu
>
</app-ctrl-pos>
</
template
>
</app-scroll-container>
</template>
...
...
@@ -53,28 +55,10 @@
<app-standard-container
name=
"container4"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
container5
>
<app-standard-container
name=
"container5"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_text1
>
<app-preset-text
name=
"static_text1"
predefinedType=
"STATIC_TEXT"
renderMode=
"TEXT"
contentType=
"RAW"
value=
"文本内容"
contentStyle=
""
/>
</
template
>
</app-standard-container>
</
template
>
<
template
#
container6
>
<app-standard-container
name=
"container6"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
static_text2
>
<app-preset-text
name=
"static_text2"
predefinedType=
"STATIC_TEXT"
renderMode=
"TEXT"
contentType=
"RAW"
value=
"文本内容"
contentStyle=
""
/>
</
template
>
</app-standard-container>
</
template
>
</app-standard-container>
...
...
@@ -84,7 +68,9 @@
<
template
#
container3
>
<app-simpleflex-container
name=
"container3"
:layoutModelDetails=
"layoutModelDetails"
>
<template
#
auth_userinfo1
>
<app-ctrl-pos
name=
"auth_userinfo1"
:layoutModelDetails=
"layoutModelDetails"
>
<span>
部件占位auth_userinfo1
</span>
</app-ctrl-pos>
</
template
>
</app-simpleflex-container>
</template>
...
...
@@ -281,9 +267,7 @@ export default class IndexBase extends Vue {
container_scroll_left1
:
null
,
app_apptitle
:
null
,
container1
:
null
,
static_text1
:
null
,
container5
:
null
,
static_text2
:
null
,
container6
:
null
,
container4
:
null
,
container2
:
null
,
...
...
@@ -308,10 +292,8 @@ export default class IndexBase extends Vue {
container_scroll_left1
:
new
PanelContainerModel
({
name
:
'container_scroll_left1'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'BORDER'
,
layoutPos
:
'WEST'
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
20
,
widthMode
:
'PERCENTAGE'
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
0
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'appmenu'
]}),
app_apptitle
:
new
PanelFieldModel
({
name
:
'app_apptitle'
,
caption
:
'应用标题'
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'FIELD'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
}),
container1
:
new
PanelContainerModel
({
name
:
'container1'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
3
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'app_apptitle'
]}),
static_text1
:
new
PanelRawitemModel
({
name
:
'static_text1'
,
caption
:
'文本'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'RAWITEM'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
predefinedType
:
'STATIC_TEXT'
,
panel
:
this
,
viewType
:
'APPINDEXVIEW'
}),
container5
:
new
PanelContainerModel
({
name
:
'container5'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'static_text1'
]}),
static_text2
:
new
PanelRawitemModel
({
name
:
'static_text2'
,
caption
:
'文本'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'RAWITEM'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
predefinedType
:
'STATIC_TEXT'
,
panel
:
this
,
viewType
:
'APPINDEXVIEW'
}),
container6
:
new
PanelContainerModel
({
name
:
'container6'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'static_text2'
]}),
container5
:
new
PanelContainerModel
({
name
:
'container5'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[]}),
container6
:
new
PanelContainerModel
({
name
:
'container6'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[]}),
container4
:
new
PanelContainerModel
({
name
:
'container4'
,
caption
:
'容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'FLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
'space-between'
,
dir
:
'row'
,
vAlign
:
'center'
},
panel
:
this
,
details
:[
'container5'
,
'container6'
]}),
container2
:
new
PanelContainerModel
({
name
:
'container2'
,
caption
:
'面板容器'
,
titleBarCloseMode
:
0
,
isShowCaption
:
false
,
sysCss
:
''
,
itemType
:
'CONTAINER'
,
visible
:
true
,
disabled
:
false
,
layout
:
'SIMPLEFLEX'
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
6
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
,
details
:[
'container4'
]}),
auth_userinfo1
:
new
PanelCtrlPosModel
({
name
:
'auth_userinfo1'
,
caption
:
'用户信息'
,
isShowCaption
:
true
,
sysCss
:
''
,
itemType
:
'CTRLPOS'
,
visible
:
true
,
disabled
:
false
,
layout
:
''
,
layoutPos
:
''
,
layoutHeight
:
0
,
heightMode
:
''
,
layoutWidth
:
0
,
widthMode
:
''
,
spacingBottom
:
''
,
spacingLeft
:
''
,
spacingRight
:
''
,
spacingTop
:
''
,
hAlignSelf
:
''
,
vAlignSelf
:
''
,
flexGrow
:
-
1
,
flexParams
:{
align
:
''
,
dir
:
''
,
vAlign
:
''
},
panel
:
this
}),
...
...
app_Web/src/widgets/ibizbook/default-searchform/default-searchform-base.vue
浏览文件 @
3a9f6b9a
...
...
@@ -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
:
'IBIZBOOKUsr
9
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5
GridView'
+
(
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
:
'IBIZBOOKUsr
9
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOKUsr
5
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录