Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
9fe872e8
提交
9fe872e8
编写于
12月 13, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
1c12b183
变更
13
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
234 行增加
和
455 行删除
+234
-455
ctrl.scss
app_Web/src/styles/ctrl.scss
+178
-0
index.scss
app_Web/src/styles/element/index.scss
+0
-1
app-index-view-appmenu-base.vue
...pp/app-index-view-appmenu/app-index-view-appmenu-base.vue
+5
-102
app-index-view-appmenu.scss
...ts/app/app-index-view-appmenu/app-index-view-appmenu.scss
+0
-22
icon-menu-appmenu-base.vue
.../widgets/app/icon-menu-appmenu/icon-menu-appmenu-base.vue
+1
-1
icon-menu-appmenu.scss
.../src/widgets/app/icon-menu-appmenu/icon-menu-appmenu.scss
+0
-22
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+5
-102
main-menu-appmenu.scss
.../src/widgets/app/main-menu-appmenu/main-menu-appmenu.scss
+0
-22
usr1207222915-menu-appmenu-base.vue
...07222915-menu-appmenu/usr1207222915-menu-appmenu-base.vue
+5
-102
usr1207222915-menu-appmenu.scss
...sr1207222915-menu-appmenu/usr1207222915-menu-appmenu.scss
+0
-22
main-multieditviewpanel-base.vue
.../main-multieditviewpanel/main-multieditviewpanel-base.vue
+2
-2
usr2-dataview-base.vue
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
+26
-56
usr2-dataview-model.ts
...src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
+12
-1
未找到文件。
app_Web/src/styles/ctrl.scss
浏览文件 @
9fe872e8
...
...
@@ -28,4 +28,182 @@
margin
:
0
5px
;
}
}
}
// 应用菜单样式
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
&
.app-menu--horizontal
{
display
:
flex
;
>
.app-menu-item
{
display
:
flex
;
height
:
64px
;
}
.el-menu-item
,
.el-submenu__title
{
height
:
64px
;
line-height
:
64px
;
background-color
:
var
(
--
app-color-black
);
color
:
var
(
--
app-color-white
)
!
important
;
.fa
{
color
:
var
(
--
app-color-white
);
}
&
:hover
,
&
.is-active
{
background
:
#202027
;
}
}
.el-menu-item
{
&
.is-active
{
border-bottom
:
4px
solid
var
(
--
app-color-yellow
);
border-bottom-color
:
var
(
--
app-color-yellow
);
}
}
.el-submenu
{
&
.is-active
,
&
.is-opened
{
.el-submenu__title
{
border-bottom
:
4px
solid
var
(
--
app-color-yellow
);
border-bottom-color
:
var
(
--
app-color-yellow
)
!
important
;
}
}
}
.el-submenu
{
&
.is-active
{
>
.el-submenu__title
{
background
:
#202027
;
}
}
}
.el-submenu__icon-arrow
{
display
:
none
;
}
}
&
.app-menu--vertical
{
color
:
var
(
--
app-color-white
);
background-color
:
#001529
;
border-right
:
none
;
.el-menu-item
,
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
color
:
var
(
--
app-color-white
);
background-color
:
#001529
;
.fa
,
.el-submenu__icon-arrow
{
color
:
var
(
--
app-color-white
);
}
&
:hover
,
&
.is-active
{
background-color
:
var
(
--
app-color-blue
);
}
}
.el-submenu
{
&
.is-active
{
>
.el-submenu__title
{
background-color
:
var
(
--
app-color-blue
);
}
}
}
&
.el-menu--collapse
{
.el-menu-item
,
.el-submenu__title
{
overflow
:
visible
;
}
.el-submenu__icon-arrow
{
display
:
none
;
}
}
}
}
.app-popper-menu--horizontal
{
.el-menu--popup
{
padding
:
0
;
.el-submenu__icon-arrow
{
display
:
none
;
}
.el-menu-item
,
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
padding
:
0
12px
;
background-color
:
var
(
--
app-color-black
);
color
:
var
(
--
app-color-white
)
!
important
;
border-bottom
:
1px
solid
var
(
--
app-color-gray-250
);
border-bottom-color
:
var
(
--
app-color-gray-250
)
!
important
;
}
.el-submenu
{
&
.is-active
{
>
.el-submenu__title
{
background
:
#202027
;
}
}
}
.el-menu-item
{
&
.is-active
{
background
:
#202027
;
}
}
}
}
.app-popper-menu--vertical
{
.el-menu--popup
{
padding
:
0
;
.el-submenu__icon-arrow
{
display
:
none
;
}
.el-menu-item
,
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
padding
:
0
12px
;
color
:
var
(
--
app-color-white
)
!
important
;
background-color
:
#001529
;
border-bottom
:
1px
solid
var
(
--
app-color-gray-250
);
border-bottom-color
:
var
(
--
app-color-gray-250
)
!
important
;
}
.el-submenu
{
&
.is-active
{
>
.el-submenu__title
{
background-color
:
var
(
--
app-color-blue
);
}
}
}
.el-menu-item
{
&
.is-active
{
background-color
:
var
(
--
app-color-blue
);
}
}
}
}
\ No newline at end of file
app_Web/src/styles/element/index.scss
浏览文件 @
9fe872e8
@import
'./radio-group.scss'
;
@import
'./menu.scss'
;
@import
'./autocomplete.scss'
;
@import
'./input.scss'
;
@import
'./select.scss'
;
...
...
app_Web/src/widgets/app/app-index-view-appmenu/app-index-view-appmenu-base.vue
浏览文件 @
9fe872e8
...
...
@@ -5,107 +5,10 @@
:mode=
"mode"
:menu-trigger=
"trigger"
:collapse=
"isCollapse"
@
select=
"select"
:default-active=
"defaultActive"
>
<template
v-if=
"Object.is(mode,'horizontal')"
>
<template
v-for=
"item0 in menus"
>
<template
v-if=
"item0.items && Array.isArray(item0.items) && item0.items.length > 0"
>
<el-submenu
v-show=
"!item0.hidden"
:index=
"item0.name"
:popper-class=
"popperClass"
:key=
"item0.id"
:class=
"item0.textcls"
>
<template
slot=
'title'
>
<template
v-if=
"item0.icon && item0.icon != ''"
>
<img
:src=
"item0.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item0.iconcls && item0.iconcls != ''"
>
<i
:class=
"[item0.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
v-else
>
<i
class=
'app-menu-icon'
></i>
</
template
>
<span
class=
'text'
:title=
"$t('app.menus.appindexview.' + item0.name)"
>
{{$t('app.menus.appindexview.' + item0.name)}}
</span>
</template>
<
template
v-for=
"item1 in item0.items"
>
<template
v-if=
"item1.items && Array.isArray(item1.items) && item1.items.length > 0"
>
<el-submenu
v-show=
"!item1.hidden"
:index=
"item1.name"
:popper-class=
"popperClass"
:key=
"item1.id"
:class=
"item1.textcls"
>
<template
slot=
'title'
>
<template
v-if=
"item1.icon && item1.icon != ''"
>
<img
:src=
"item1.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item1.iconcls && item1.iconcls != ''"
>
<i
:class=
"[item1.iconcls, 'app-menu-icon']"
></i>
</
template
>
<span
class=
'text'
:title=
"$t('app.menus.appindexview.' + item1.name)"
>
{{$t('app.menus.appindexview.' + item1.name)}}
</span>
</template>
<
template
v-for=
"item2 in item1.items"
>
<template
v-if=
"item2.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item2.hidden"
:index=
"item2.name"
:key=
"item2.id"
:class=
"item2.textcls"
>
<template
v-if=
"item2.icon && item2.icon != ''"
>
<img
:src=
"item2.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item2.iconcls && item2.iconcls != ''"
>
<i
:class=
"[item2.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.appindexview.' + item2.name)"
>
{{
$t
(
'app.menus.appindexview.'
+
item2
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item2.counterid] && counterdata[item2.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item2.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</el-submenu>
</template>
<
template
v-else
>
<template
v-if=
"item1.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item1.hidden"
:index=
"item1.name"
:key=
"item1.id"
:class=
"item1.textcls"
>
<template
v-if=
"item1.icon && item1.icon != ''"
>
<img
:src=
"item1.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item1.iconcls && item1.iconcls != ''"
>
<i
:class=
"[item1.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.appindexview.' + item1.name)"
>
{{
$t
(
'app.menus.appindexview.'
+
item1
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item1.counterid] && counterdata[item1.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item1.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</template>
</el-submenu>
</template>
<
template
v-else
>
<template
v-if=
"item0.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item0.hidden"
:index=
"item0.name"
:key=
"item0.id"
:class=
"item0.textcls"
>
<template
v-if=
"item0.icon && item0.icon != ''"
>
<img
:src=
"item0.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item0.iconcls && item0.iconcls != ''"
>
<i
:class=
"[item0.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
v-else
>
<i
class=
'app-menu-icon'
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.appindexview.' + item0.name)"
>
{{
$t
(
'app.menus.appindexview.'
+
item0
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item0.counterid] && counterdata[item0.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item0.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</template>
</template>
<app-menu-item
v-else
class=
"el-menu--vertical"
:isCollapse=
"isCollapse"
:menus=
"menus"
:ctrlName=
"'appindexview'"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
:collapse-transition=
"false"
:default-active=
"defaultActive"
@
select=
"select"
>
<app-menu-item
:isCollapse=
"isCollapse"
:menus=
"menus"
ctrlName=
"appindexview"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
</el-menu>
</
template
>
// 基于 @CONTROL/应用菜单/CONTROL-BASE.vue.ftl 生成
...
...
@@ -672,7 +575,7 @@ export default class AppIndexViewBase extends Vue implements ControlInterface {
* @memberof AppIndexViewBase
*/
get
popperClass
():
string
{
return
'app-popper-menu '
+
this
.
selectTheme
;
return
`app-popper-menu app-popper-menu--
${
this
.
mode
}
`
;
}
}
...
...
app_Web/src/widgets/app/app-index-view-appmenu/app-index-view-appmenu.scss
浏览文件 @
9fe872e8
// 基于 @CONTROL/应用菜单/CONTROL.scss.ftl 生成
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
&
.app-menu--vertical
{
border-right
:
none
;
background-color
:
#001529
;
&
.el-menu--collapse
{
.el-menu-item
,
.el-submenu__title
{
overflow
:
auto
;
}
.el-submenu__icon-arrow
{
display
:
none
;
}
}
}
}
// this is scss
app_Web/src/widgets/app/icon-menu-appmenu/icon-menu-appmenu-base.vue
浏览文件 @
9fe872e8
...
...
@@ -579,7 +579,7 @@ export default class IconMenuBase extends Vue implements ControlInterface {
* @memberof IconMenuBase
*/
get
popperClass
():
string
{
return
'app-popper-menu '
+
this
.
selectTheme
;
return
`app-popper-menu app-popper-menu--
${
this
.
mode
}
`
;
}
}
...
...
app_Web/src/widgets/app/icon-menu-appmenu/icon-menu-appmenu.scss
浏览文件 @
9fe872e8
// 基于 @CONTROL/应用菜单/CONTROL.scss.ftl 生成
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
&
.app-menu--vertical
{
border-right
:
none
;
background-color
:
#001529
;
&
.el-menu--collapse
{
.el-menu-item
,
.el-submenu__title
{
overflow
:
auto
;
}
.el-submenu__icon-arrow
{
display
:
none
;
}
}
}
}
// this is scss
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
9fe872e8
...
...
@@ -5,107 +5,10 @@
:mode=
"mode"
:menu-trigger=
"trigger"
:collapse=
"isCollapse"
@
select=
"select"
:default-active=
"defaultActive"
>
<template
v-if=
"Object.is(mode,'horizontal')"
>
<template
v-for=
"item0 in menus"
>
<template
v-if=
"item0.items && Array.isArray(item0.items) && item0.items.length > 0"
>
<el-submenu
v-show=
"!item0.hidden"
:index=
"item0.name"
:popper-class=
"popperClass"
:key=
"item0.id"
:class=
"item0.textcls"
>
<template
slot=
'title'
>
<template
v-if=
"item0.icon && item0.icon != ''"
>
<img
:src=
"item0.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item0.iconcls && item0.iconcls != ''"
>
<i
:class=
"[item0.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
v-else
>
<i
class=
'app-menu-icon'
></i>
</
template
>
<span
class=
'text'
:title=
"$t('app.menus.mainmenu.' + item0.name)"
>
{{$t('app.menus.mainmenu.' + item0.name)}}
</span>
</template>
<
template
v-for=
"item1 in item0.items"
>
<template
v-if=
"item1.items && Array.isArray(item1.items) && item1.items.length > 0"
>
<el-submenu
v-show=
"!item1.hidden"
:index=
"item1.name"
:popper-class=
"popperClass"
:key=
"item1.id"
:class=
"item1.textcls"
>
<template
slot=
'title'
>
<template
v-if=
"item1.icon && item1.icon != ''"
>
<img
:src=
"item1.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item1.iconcls && item1.iconcls != ''"
>
<i
:class=
"[item1.iconcls, 'app-menu-icon']"
></i>
</
template
>
<span
class=
'text'
:title=
"$t('app.menus.mainmenu.' + item1.name)"
>
{{$t('app.menus.mainmenu.' + item1.name)}}
</span>
</template>
<
template
v-for=
"item2 in item1.items"
>
<template
v-if=
"item2.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item2.hidden"
:index=
"item2.name"
:key=
"item2.id"
:class=
"item2.textcls"
>
<template
v-if=
"item2.icon && item2.icon != ''"
>
<img
:src=
"item2.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item2.iconcls && item2.iconcls != ''"
>
<i
:class=
"[item2.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.mainmenu.' + item2.name)"
>
{{
$t
(
'app.menus.mainmenu.'
+
item2
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item2.counterid] && counterdata[item2.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item2.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</el-submenu>
</template>
<
template
v-else
>
<template
v-if=
"item1.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item1.hidden"
:index=
"item1.name"
:key=
"item1.id"
:class=
"item1.textcls"
>
<template
v-if=
"item1.icon && item1.icon != ''"
>
<img
:src=
"item1.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item1.iconcls && item1.iconcls != ''"
>
<i
:class=
"[item1.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.mainmenu.' + item1.name)"
>
{{
$t
(
'app.menus.mainmenu.'
+
item1
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item1.counterid] && counterdata[item1.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item1.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</template>
</el-submenu>
</template>
<
template
v-else
>
<template
v-if=
"item0.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item0.hidden"
:index=
"item0.name"
:key=
"item0.id"
:class=
"item0.textcls"
>
<template
v-if=
"item0.icon && item0.icon != ''"
>
<img
:src=
"item0.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item0.iconcls && item0.iconcls != ''"
>
<i
:class=
"[item0.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
v-else
>
<i
class=
'app-menu-icon'
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.mainmenu.' + item0.name)"
>
{{
$t
(
'app.menus.mainmenu.'
+
item0
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item0.counterid] && counterdata[item0.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item0.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</template>
</template>
<app-menu-item
v-else
class=
"el-menu--vertical"
:isCollapse=
"isCollapse"
:menus=
"menus"
:ctrlName=
"'mainmenu'"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
:collapse-transition=
"false"
:default-active=
"defaultActive"
@
select=
"select"
>
<app-menu-item
:isCollapse=
"isCollapse"
:menus=
"menus"
ctrlName=
"mainmenu"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
</el-menu>
</
template
>
// 基于 @CONTROL/应用菜单/CONTROL-BASE.vue.ftl 生成
...
...
@@ -4991,7 +4894,7 @@ export default class MainMenuBase extends Vue implements ControlInterface {
* @memberof MainMenuBase
*/
get
popperClass
():
string
{
return
'app-popper-menu '
+
this
.
selectTheme
;
return
`app-popper-menu app-popper-menu--
${
this
.
mode
}
`
;
}
}
...
...
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu.scss
浏览文件 @
9fe872e8
// 基于 @CONTROL/应用菜单/CONTROL.scss.ftl 生成
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
&
.app-menu--vertical
{
border-right
:
none
;
background-color
:
#001529
;
&
.el-menu--collapse
{
.el-menu-item
,
.el-submenu__title
{
overflow
:
auto
;
}
.el-submenu__icon-arrow
{
display
:
none
;
}
}
}
}
// this is scss
app_Web/src/widgets/app/usr1207222915-menu-appmenu/usr1207222915-menu-appmenu-base.vue
浏览文件 @
9fe872e8
...
...
@@ -5,107 +5,10 @@
:mode=
"mode"
:menu-trigger=
"trigger"
:collapse=
"isCollapse"
@
select=
"select"
:default-active=
"defaultActive"
>
<template
v-if=
"Object.is(mode,'horizontal')"
>
<template
v-for=
"item0 in menus"
>
<template
v-if=
"item0.items && Array.isArray(item0.items) && item0.items.length > 0"
>
<el-submenu
v-show=
"!item0.hidden"
:index=
"item0.name"
:popper-class=
"popperClass"
:key=
"item0.id"
:class=
"item0.textcls"
>
<template
slot=
'title'
>
<template
v-if=
"item0.icon && item0.icon != ''"
>
<img
:src=
"item0.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item0.iconcls && item0.iconcls != ''"
>
<i
:class=
"[item0.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
v-else
>
<i
class=
'app-menu-icon'
></i>
</
template
>
<span
class=
'text'
:title=
"$t('app.menus.usr1207222915menu.' + item0.name)"
>
{{$t('app.menus.usr1207222915menu.' + item0.name)}}
</span>
</template>
<
template
v-for=
"item1 in item0.items"
>
<template
v-if=
"item1.items && Array.isArray(item1.items) && item1.items.length > 0"
>
<el-submenu
v-show=
"!item1.hidden"
:index=
"item1.name"
:popper-class=
"popperClass"
:key=
"item1.id"
:class=
"item1.textcls"
>
<template
slot=
'title'
>
<template
v-if=
"item1.icon && item1.icon != ''"
>
<img
:src=
"item1.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item1.iconcls && item1.iconcls != ''"
>
<i
:class=
"[item1.iconcls, 'app-menu-icon']"
></i>
</
template
>
<span
class=
'text'
:title=
"$t('app.menus.usr1207222915menu.' + item1.name)"
>
{{$t('app.menus.usr1207222915menu.' + item1.name)}}
</span>
</template>
<
template
v-for=
"item2 in item1.items"
>
<template
v-if=
"item2.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item2.hidden"
:index=
"item2.name"
:key=
"item2.id"
:class=
"item2.textcls"
>
<template
v-if=
"item2.icon && item2.icon != ''"
>
<img
:src=
"item2.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item2.iconcls && item2.iconcls != ''"
>
<i
:class=
"[item2.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.usr1207222915menu.' + item2.name)"
>
{{
$t
(
'app.menus.usr1207222915menu.'
+
item2
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item2.counterid] && counterdata[item2.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item2.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</el-submenu>
</template>
<
template
v-else
>
<template
v-if=
"item1.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item1.hidden"
:index=
"item1.name"
:key=
"item1.id"
:class=
"item1.textcls"
>
<template
v-if=
"item1.icon && item1.icon != ''"
>
<img
:src=
"item1.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item1.iconcls && item1.iconcls != ''"
>
<i
:class=
"[item1.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.usr1207222915menu.' + item1.name)"
>
{{
$t
(
'app.menus.usr1207222915menu.'
+
item1
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item1.counterid] && counterdata[item1.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item1.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</template>
</el-submenu>
</template>
<
template
v-else
>
<template
v-if=
"item0.type =='MENUITEM'"
>
<el-menu-item
v-show=
"!item0.hidden"
:index=
"item0.name"
:key=
"item0.id"
:class=
"item0.textcls"
>
<template
v-if=
"item0.icon && item0.icon != ''"
>
<img
:src=
"item0.icon"
class=
'app-menu-icon'
/>
</
template
>
<
template
v-else-if=
"item0.iconcls && item0.iconcls != ''"
>
<i
:class=
"[item0.iconcls, 'app-menu-icon']"
></i>
</
template
>
<
template
v-else
>
<i
class=
'app-menu-icon'
></i>
</
template
>
<
template
slot=
"title"
>
<span
class=
"text"
:title=
"$t('app.menus.usr1207222915menu.' + item0.name)"
>
{{
$t
(
'app.menus.usr1207222915menu.'
+
item0
.
name
)
}}
</span>
<template
v-if=
"counterdata && counterdata[item0.counterid] && counterdata[item0.counterid] > 0"
>
<span
class=
"pull-right"
>
<badge
:count=
"counterdata[item0.counterid]"
:overflow-count=
"9999"
></badge>
</span>
</
template
>
</template>
</el-menu-item>
</template>
</template>
</template>
</template>
<app-menu-item
v-else
class=
"el-menu--vertical"
:isCollapse=
"isCollapse"
:menus=
"menus"
:ctrlName=
"'usr1207222915menu'"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
:collapse-transition=
"false"
:default-active=
"defaultActive"
@
select=
"select"
>
<app-menu-item
:isCollapse=
"isCollapse"
:menus=
"menus"
ctrlName=
"usr1207222915menu"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
</el-menu>
</
template
>
// 基于 @CONTROL/应用菜单/CONTROL-BASE.vue.ftl 生成
...
...
@@ -724,7 +627,7 @@ export default class Usr1207222915MenuBase extends Vue implements ControlInterfa
* @memberof Usr1207222915MenuBase
*/
get
popperClass
():
string
{
return
'app-popper-menu '
+
this
.
selectTheme
;
return
`app-popper-menu app-popper-menu--
${
this
.
mode
}
`
;
}
}
...
...
app_Web/src/widgets/app/usr1207222915-menu-appmenu/usr1207222915-menu-appmenu.scss
浏览文件 @
9fe872e8
// 基于 @CONTROL/应用菜单/CONTROL.scss.ftl 生成
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
&
.app-menu--vertical
{
border-right
:
none
;
background-color
:
#001529
;
&
.el-menu--collapse
{
.el-menu-item
,
.el-submenu__title
{
overflow
:
auto
;
}
.el-submenu__icon-arrow
{
display
:
none
;
}
}
}
}
// this is scss
app_Web/src/widgets/ibizbook/main-multieditviewpanel/main-multieditviewpanel-base.vue
浏览文件 @
9fe872e8
...
...
@@ -541,7 +541,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
load
(
data
:
any
)
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
MEditView9
'
+
(
this
.
$t
(
'app.multiEditView.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2MEditView9_layout
'
+
(
this
.
$t
(
'app.multiEditView.notConfig.fetchAction'
)
as
string
)
});
return
;
}
let
arg
:
any
=
{};
...
...
@@ -592,7 +592,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
handleAdd
(){
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
MEditView9
'
+
(
this
.
$t
(
'app.multiEditView.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2MEditView9_layout
'
+
(
this
.
$t
(
'app.multiEditView.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
promice
:
Promise
<
any
>
=
this
.
service
.
loadDraft
(
this
.
loaddraftAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),{
viewparams
:
this
.
viewparams
},
this
.
showBusyIndicator
);
...
...
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
9fe872e8
此差异已折叠。
点击以展开。
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
浏览文件 @
9fe872e8
...
...
@@ -11,7 +11,7 @@ export default class Usr2Model {
* 获取数据项集合
*
* @returns {any[]}
* @memberof Usr2Data
viewexpbar_datav
iewMode
* @memberof Usr2Data
V
iewMode
*/
public
getDataItems
():
any
[]
{
return
[
...
...
@@ -40,6 +40,17 @@ export default class Usr2Model {
dataType
:
'FONTKEY'
,
},
{
name
:
'n_ibizbookname_like'
,
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'size'
,
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录