Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
功
功能演示系统
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
示例
功能演示系统
提交
5d89738b
提交
5d89738b
编写于
2年前
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ShineKOT 发布系统代码 [后台服务,演示应用]
上级
973a1fa1
变更
19
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
280 行增加
和
724 行删除
+280
-724
app-register.ts
app_Web/src/app-register.ts
+2
-2
index-view-layout-left.scss
...layout/index-view-layout-left/index-view-layout-left.scss
+10
-0
index-view-layout-left.vue
.../layout/index-view-layout-left/index-view-layout-left.vue
+55
-0
index-view-layout-top.scss
...c/layout/index-view-layout-top/index-view-layout-top.scss
+30
-0
index-view-layout-top.vue
...rc/layout/index-view-layout-top/index-view-layout-top.vue
+33
-0
var.scss
app_Web/src/styles/var.scss
+10
-10
app-index-view-appmenu-base.vue
...pp/app-index-view-appmenu/app-index-view-appmenu-base.vue
+11
-12
app-index-view-appmenu.scss
...ts/app/app-index-view-appmenu/app-index-view-appmenu.scss
+10
-148
icon-menu-appmenu-base.vue
.../widgets/app/icon-menu-appmenu/icon-menu-appmenu-base.vue
+1
-3
icon-menu-appmenu.scss
.../src/widgets/app/icon-menu-appmenu/icon-menu-appmenu.scss
+10
-148
main-menu-appmenu-base.vue
.../widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
+10
-12
main-menu-appmenu.scss
.../src/widgets/app/main-menu-appmenu/main-menu-appmenu.scss
+10
-148
usr1207222915-menu-appmenu-base.vue
...07222915-menu-appmenu/usr1207222915-menu-appmenu-base.vue
+11
-12
usr1207222915-menu-appmenu.scss
...sr1207222915-menu-appmenu/usr1207222915-menu-appmenu.scss
+10
-148
lnternal-func-list-list-base.vue
.../lnternal-func-list-list/lnternal-func-list-list-base.vue
+20
-20
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
usr4-dataview-base.vue
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
+4
-4
usr4-dataview-model.ts
...src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
+5
-0
未找到文件。
app_Web/src/app-register.ts
浏览文件 @
5d89738b
...
...
@@ -138,8 +138,8 @@ import AppFieldImageDynamic from './components/layout-element/media/app-field-im
import
AppTodoList
from
'./components/app-todo-list/app-todo-list.vue'
;
import
ExtendActionTimeline
from
'./components/extend-action-timeline/extend-action-timeline.vue'
;
// 布局组件
import
AppIndexViewLayoutLeft
from
'./
components/view-layout/index-view-
layout/index-view-layout-left/index-view-layout-left.vue'
;
import
AppIndexViewLayoutTop
from
'./
components/view-layout/index-view-
layout/index-view-layout-top/index-view-layout-top.vue'
;
import
AppIndexViewLayoutLeft
from
'./layout/index-view-layout-left/index-view-layout-left.vue'
;
import
AppIndexViewLayoutTop
from
'./layout/index-view-layout-top/index-view-layout-top.vue'
;
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
// 全局挂载实体权限服务注册中心
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/layout/index-view-layout-left/index-view-layout-left.scss
0 → 100644
浏览文件 @
5d89738b
.index-view-layout-left
{
.header-right
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
}
.index_sider
{
background-color
:
#FFF
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_Web/src/layout/index-view-layout-left/index-view-layout-left.vue
0 → 100644
浏览文件 @
5d89738b
<
template
>
<layout
class=
"index_view index-view-layout-left"
id=
"movebox"
>
<sider
class=
"index_sider"
:width=
"collapseChange ? 64 : 200"
hide-trigger
id=
"left_move"
>
<div
class=
"sider-top"
>
<slot
name=
"siderTop"
/>
</div>
<slot
name=
"siderContent"
/>
</sider>
<div
v-show=
"!collapseChange"
id=
"move_axis"
></div>
<layout
id=
"right_move"
>
<header
class=
"index_header"
>
<div
class=
"header-left"
>
<slot
name=
"headerLeft"
/>
</div>
<div
class=
"header-center"
>
<slot
name=
"headerCenter"
/>
</div>
<div
class=
"header-right"
>
<slot
name=
"headerRight"
/>
</div>
</header>
<content
:class=
"
{ 'index_content': true, 'index_tab_content': Object.is(navModel,'tab') ? true : false, 'index_route_content': Object.is(navModel,'route') ? true : false }">
<slot
name=
"tabPageExp"
/>
<slot
name=
"navPos"
/>
</content>
</layout>
</layout>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
,
Watch
,
Prop
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppIndexViewLayoutLeft
extends
Vue
{
/**
* 导航模式
*
* @memberof AppIndexViewLayoutLeft
*/
@
Prop
({
default
:
'tab'
})
public
navModel
!
:
string
;
/**
* 是否折叠
*
* @memberof AppIndexViewLayoutLeft
*/
@
Prop
({
default
:
false
})
public
collapseChange
!
:
boolean
;
}
</
script
>
<
style
lang=
"scss"
>
@import
"./index-view-layout-left.scss"
;
</
style
>
This diff is collapsed.
Click to expand it.
app_Web/src/layout/index-view-layout-top/index-view-layout-top.scss
0 → 100644
浏览文件 @
5d89738b
.index-view-layout--top
{
.index-view-layout-header
{
height
:
64px
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
background-color
:
var
(
--
app-color-black
);
color
:
var
(
--
app-color-white
);
.header__left
{
font-size
:
21px
;
font-weight
:
700
;
margin-left
:
50px
;
.app-icon
{
width
:
36px
;
height
:
37px
;
margin-right
:
6px
;
}
}
.header__right
{
display
:
flex
;
align-items
:
center
;
}
}
.index-view-layout-content
{
height
:
calc
(
100%
-
64px
);
overflow
:
auto
;
padding
:
20px
38px
0
38px
;
background-color
:
var
(
--
app-color-gray-400
);
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
app_Web/src/layout/index-view-layout-top/index-view-layout-top.vue
0 → 100644
浏览文件 @
5d89738b
<
template
>
<layout
class=
"index-view-layout index-view-layout--top"
>
<header
class=
"index-view-layout-header"
>
<div
class=
"header__left"
>
<slot
name=
"headerLeft"
/>
</div>
<div
class=
"header__center"
>
<slot
name=
"headerCenter"
/>
</div>
<div
class=
"header__right"
>
<slot
name=
"headerRight"
/>
</div>
</header>
<content
class=
"index-view-layout-content"
>
<slot
name=
"navPos"
/>
</content>
<footer
class=
"layout-footer-center"
>
<slot
name=
"footer"
></slot>
</footer>
</layout>
</
template
>
<
script
lang=
"ts"
>
import
{
Vue
,
Component
}
from
'vue-property-decorator'
;
@
Component
({})
export
default
class
AppIndexViewLayoutTop
extends
Vue
{
}
</
script
>
<
style
lang=
"scss"
>
@import
"./index-view-layout-top.scss"
;
</
style
>
This diff is collapsed.
Click to expand it.
app_Web/src/styles/var.scss
浏览文件 @
5d89738b
...
...
@@ -67,23 +67,23 @@
// 安永灰1
--app-color-gray-100
:
#747480
;
// 安永灰2
--app-color-gray-
gray-
200
:
#C4C4CD
;
--app-color-gray-200
:
#C4C4CD
;
// 安永灰2 50%
--app-color-gray-
gray-
250
:
#E1E1E6
;
--app-color-gray-250
:
#E1E1E6
;
// 安永灰4
--app-color-gray-
gray-
400
:
#F6F6FA
;
--app-color-gray-400
:
#F6F6FA
;
// 安永白
--app-color-
gray-
white
:
#FFFFFF
;
--app-color-white
:
#FFFFFF
;
// 安永蓝
--app-color-
gray-
blue
:
#188CE5
;
--app-color-blue
:
#188CE5
;
// 安永黄
--app-color-
gray-
yellow
:
#FFE600
;
--app-color-yellow
:
#FFE600
;
// 安永红
--app-color-
gray-
red
:
#B9251C
;
--app-color-red
:
#B9251C
;
// 安永橙
--app-color-
gray-
orange
:
#FF810A
;
--app-color-orange
:
#FF810A
;
// 安永绿
--app-color-gr
ay-gr
een
:
#2DB757
;
--app-color-green
:
#2DB757
;
// 安永蓝绿
--app-color-
gray-
blue-green
:
#27ACAA
;
--app-color-blue-green
:
#27ACAA
;
}
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/app/app-index-view-appmenu/app-index-view-appmenu-base.vue
浏览文件 @
5d89738b
<
template
>
<div
class=
"app-app-menu"
>
<el-menu
class=
"app-menu"
:default-openeds=
"defaultOpeneds"
:mode=
"mode"
:menu-trigger=
"trigger"
:collapse=
"isCollapse"
@
select=
"select"
:default-active=
"defaultActive"
>
<template
v-if=
"Object.is(mode,'horizontal')"
>
class=
"app-menu"
:default-openeds=
"defaultOpeneds"
background-color=
"#FFFFFF"
text-color=
"#747480"
active-text-color=
"#188CE5"
: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"
>
...
...
@@ -108,9 +109,7 @@
</template>
</template>
<app-menu-item
v-else
:isCollapse=
"isCollapse"
:menus=
"menus"
:ctrlName=
"'appindexview'"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
</el-menu>
</div>
</template>
// 基于 @CONTROL/应用菜单/CONTROL-BASE.vue.ftl 生成
<
script
lang=
'tsx'
>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/app/app-index-view-appmenu/app-index-view-appmenu.scss
浏览文件 @
5d89738b
// 基于 @CONTROL/应用菜单/CONTROL.scss.ftl 生成
/*** BRGIN:菜单样式 ***/
.app-app-menu
{
overflow-y
:
auto
;
overflow-x
:
hidden
;
height
:
calc
(
100%
-
58px
);
.ivu-divider
{
background-color
:
#b3b3b3
;
height
:
2px
;
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
>
.el-menu
{
border-right
:
0
;
&
.el-menu--horizontal
{
.el-menu-item
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
;
.ivu-badge
{
.ivu-badge-count
{
box-shadow
:
0
0
0
0px
#fff
;
}
height
:
64px
;
&
.is-active
{
border-bottom
:
4px
solid
var
(
--
app-color-yellow
);
border-bottom-color
:
var
(
--
app-color-yellow
)
!
important
;
}
}
.el-submenu__title
i
,
.el-menu-item
i
{
font-size
:
12px
;
width
:
18px
;
}
.el-submenu__title
.app-menu-icon
,
.el-menu-item
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
}
.el-submenu__title
.text
{
font-size
:
16px
;
}
.el-submenu__title
.app-menu-circle
,
.el-menu-item
.app-menu-circle
{
display
:
inline-block
;
border-radius
:
50%
;
width
:
20px
;
height
:
20px
;
line-height
:
36px
;
vertical-align
:middle
;
border
:
1px
solid
#fff
;
text-align
:
center
;
font
:
12px
Arial
,
sans-serif
;
}
.el-submenu__title
,
.el-menu-item
{
height
:
50px
;
font-size
:
14px
;
line-height
:
50px
;
border-left
:
4px
!
important
;
}
.el-menu-item
.el-tooltip
{
padding-left
:
12px
!
important
;
}
.isCollpase
.el-submenu__title
{
padding-left
:
12px
!
important
;
}
.isFirst
>
.text
{
font-size
:
16px
!
important
;
}
.el-menu-item
,
.el-submenu
,
.el-menu
{
border-top
:
1px
solid
#fff
;
}
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
height
:
56px
;
line-height
:
56px
;
padding-left
:
16px
!
important
;
}
.app-menu-icon
{
margin
:
4px
;
text-align
:
center
;
}
>
.el-submenu
{
>
.el-menu
{
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
padding-left
:
44px
!
important
;
}
>
.el-submenu
{
>
.el-menu
{
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
padding-left
:
68px
!
important
;
}
}
}
}
}
.active-icon
{
font-size
:
40px
!
important
;
position
:
absolute
;
right
:
0
;
line-height
:
42px
;
color
:
#fff
!
important
;
display
:
none
;
width
:
24px
!
important
;
overflow
:
hidden
;
}
}
.el-menu--horizontal
{
display
:
flex
;
width
:
calc
(
100vw
-
1100px
);
height
:
65px
;
flex-wrap
:
nowrap
;
overflow-x
:scroll
;
padding-top
:
3px
;
.el-menu-item
{
overflow
:
visible
;
}
.el-submenu
{
.el-submenu__title
{
padding-right
:
0px
!
important
;
padding-left
:
0px
!
important
;
}
}
}
.ivu-divider-horizontal
{
width
:
100%
;
min-width
:
100%
;
margin
:
4px
auto
;
margin-bottom
:
1px
;
}
}
.app-popper-menu
{
.el-menu-item
,
.el-submenu__title
{
height
:
36px
;
font-size
:
16px
;
line-height
:
36px
;
}
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
}
.el-menu-item
{
.ivu-badge
{
.ivu-badge-count
{
box-shadow
:
0
0
0
0px
#fff
;
}
}
>
span
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.ivu-divider-horizontal
{
width
:
100%
;
min-width
:
100%
;
margin
:
4px
auto
;
margin-bottom
:
1px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/app/icon-menu-appmenu/icon-menu-appmenu-base.vue
浏览文件 @
5d89738b
<
template
>
<div
class=
"app-app-menu"
>
<app-icon-menus
:menus =
"menus"
:ctrlName =
"'iconmenu'"
@
menuClick=
"select"
></app-icon-menus>
</div>
<app-icon-menus
:menus =
"menus"
:ctrlName =
"'iconmenu'"
@
menuClick=
"select"
></app-icon-menus>
</
template
>
// 基于 @CONTROL/应用菜单/CONTROL-BASE.vue.ftl 生成
<
script
lang=
'tsx'
>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/app/icon-menu-appmenu/icon-menu-appmenu.scss
浏览文件 @
5d89738b
// 基于 @CONTROL/应用菜单/CONTROL.scss.ftl 生成
/*** BRGIN:菜单样式 ***/
.app-app-menu
{
overflow-y
:
auto
;
overflow-x
:
hidden
;
height
:
calc
(
100%
-
58px
);
.ivu-divider
{
background-color
:
#b3b3b3
;
height
:
2px
;
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
>
.el-menu
{
border-right
:
0
;
&
.el-menu--horizontal
{
.el-menu-item
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
;
.ivu-badge
{
.ivu-badge-count
{
box-shadow
:
0
0
0
0px
#fff
;
}
height
:
64px
;
&
.is-active
{
border-bottom
:
4px
solid
var
(
--
app-color-yellow
);
border-bottom-color
:
var
(
--
app-color-yellow
)
!
important
;
}
}
.el-submenu__title
i
,
.el-menu-item
i
{
font-size
:
12px
;
width
:
18px
;
}
.el-submenu__title
.app-menu-icon
,
.el-menu-item
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
}
.el-submenu__title
.text
{
font-size
:
16px
;
}
.el-submenu__title
.app-menu-circle
,
.el-menu-item
.app-menu-circle
{
display
:
inline-block
;
border-radius
:
50%
;
width
:
20px
;
height
:
20px
;
line-height
:
36px
;
vertical-align
:middle
;
border
:
1px
solid
#fff
;
text-align
:
center
;
font
:
12px
Arial
,
sans-serif
;
}
.el-submenu__title
,
.el-menu-item
{
height
:
50px
;
font-size
:
14px
;
line-height
:
50px
;
border-left
:
4px
!
important
;
}
.el-menu-item
.el-tooltip
{
padding-left
:
12px
!
important
;
}
.isCollpase
.el-submenu__title
{
padding-left
:
12px
!
important
;
}
.isFirst
>
.text
{
font-size
:
16px
!
important
;
}
.el-menu-item
,
.el-submenu
,
.el-menu
{
border-top
:
1px
solid
#fff
;
}
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
height
:
56px
;
line-height
:
56px
;
padding-left
:
16px
!
important
;
}
.app-menu-icon
{
margin
:
4px
;
text-align
:
center
;
}
>
.el-submenu
{
>
.el-menu
{
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
padding-left
:
44px
!
important
;
}
>
.el-submenu
{
>
.el-menu
{
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
padding-left
:
68px
!
important
;
}
}
}
}
}
.active-icon
{
font-size
:
40px
!
important
;
position
:
absolute
;
right
:
0
;
line-height
:
42px
;
color
:
#fff
!
important
;
display
:
none
;
width
:
24px
!
important
;
overflow
:
hidden
;
}
}
.el-menu--horizontal
{
display
:
flex
;
width
:
calc
(
100vw
-
1100px
);
height
:
65px
;
flex-wrap
:
nowrap
;
overflow-x
:scroll
;
padding-top
:
3px
;
.el-menu-item
{
overflow
:
visible
;
}
.el-submenu
{
.el-submenu__title
{
padding-right
:
0px
!
important
;
padding-left
:
0px
!
important
;
}
}
}
.ivu-divider-horizontal
{
width
:
100%
;
min-width
:
100%
;
margin
:
4px
auto
;
margin-bottom
:
1px
;
}
}
.app-popper-menu
{
.el-menu-item
,
.el-submenu__title
{
height
:
36px
;
font-size
:
16px
;
line-height
:
36px
;
}
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
}
.el-menu-item
{
.ivu-badge
{
.ivu-badge-count
{
box-shadow
:
0
0
0
0px
#fff
;
}
}
>
span
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.ivu-divider-horizontal
{
width
:
100%
;
min-width
:
100%
;
margin
:
4px
auto
;
margin-bottom
:
1px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu-base.vue
浏览文件 @
5d89738b
<
template
>
<div
class=
"app-app-menu"
>
<el-menu
class=
"app-menu"
:mode=
"mode"
:menu-trigger=
"trigger"
:collapse=
"isCollapse"
@
select=
"select"
:default-active=
"defaultActive"
>
<template
v-if=
"Object.is(mode,'horizontal')"
>
class=
"app-menu"
background-color=
"#2E2E38"
text-color=
"#FFFFFF"
active-text-color=
"#FFFFFF"
: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"
>
...
...
@@ -108,9 +108,7 @@
</template>
</template>
<app-menu-item
v-else
:isCollapse=
"isCollapse"
:menus=
"menus"
:ctrlName=
"'mainmenu'"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
</el-menu>
</div>
</template>
// 基于 @CONTROL/应用菜单/CONTROL-BASE.vue.ftl 生成
<
script
lang=
'tsx'
>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/app/main-menu-appmenu/main-menu-appmenu.scss
浏览文件 @
5d89738b
// 基于 @CONTROL/应用菜单/CONTROL.scss.ftl 生成
/*** BRGIN:菜单样式 ***/
.app-app-menu
{
overflow-y
:
auto
;
overflow-x
:
hidden
;
height
:
calc
(
100%
-
58px
);
.ivu-divider
{
background-color
:
#b3b3b3
;
height
:
2px
;
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
>
.el-menu
{
border-right
:
0
;
&
.el-menu--horizontal
{
.el-menu-item
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
;
.ivu-badge
{
.ivu-badge-count
{
box-shadow
:
0
0
0
0px
#fff
;
}
height
:
64px
;
&
.is-active
{
border-bottom
:
4px
solid
var
(
--
app-color-yellow
);
border-bottom-color
:
var
(
--
app-color-yellow
)
!
important
;
}
}
.el-submenu__title
i
,
.el-menu-item
i
{
font-size
:
12px
;
width
:
18px
;
}
.el-submenu__title
.app-menu-icon
,
.el-menu-item
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
}
.el-submenu__title
.text
{
font-size
:
16px
;
}
.el-submenu__title
.app-menu-circle
,
.el-menu-item
.app-menu-circle
{
display
:
inline-block
;
border-radius
:
50%
;
width
:
20px
;
height
:
20px
;
line-height
:
36px
;
vertical-align
:middle
;
border
:
1px
solid
#fff
;
text-align
:
center
;
font
:
12px
Arial
,
sans-serif
;
}
.el-submenu__title
,
.el-menu-item
{
height
:
50px
;
font-size
:
14px
;
line-height
:
50px
;
border-left
:
4px
!
important
;
}
.el-menu-item
.el-tooltip
{
padding-left
:
12px
!
important
;
}
.isCollpase
.el-submenu__title
{
padding-left
:
12px
!
important
;
}
.isFirst
>
.text
{
font-size
:
16px
!
important
;
}
.el-menu-item
,
.el-submenu
,
.el-menu
{
border-top
:
1px
solid
#fff
;
}
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
height
:
56px
;
line-height
:
56px
;
padding-left
:
16px
!
important
;
}
.app-menu-icon
{
margin
:
4px
;
text-align
:
center
;
}
>
.el-submenu
{
>
.el-menu
{
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
padding-left
:
44px
!
important
;
}
>
.el-submenu
{
>
.el-menu
{
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
padding-left
:
68px
!
important
;
}
}
}
}
}
.active-icon
{
font-size
:
40px
!
important
;
position
:
absolute
;
right
:
0
;
line-height
:
42px
;
color
:
#fff
!
important
;
display
:
none
;
width
:
24px
!
important
;
overflow
:
hidden
;
}
}
.el-menu--horizontal
{
display
:
flex
;
width
:
calc
(
100vw
-
1100px
);
height
:
65px
;
flex-wrap
:
nowrap
;
overflow-x
:scroll
;
padding-top
:
3px
;
.el-menu-item
{
overflow
:
visible
;
}
.el-submenu
{
.el-submenu__title
{
padding-right
:
0px
!
important
;
padding-left
:
0px
!
important
;
}
}
}
.ivu-divider-horizontal
{
width
:
100%
;
min-width
:
100%
;
margin
:
4px
auto
;
margin-bottom
:
1px
;
}
}
.app-popper-menu
{
.el-menu-item
,
.el-submenu__title
{
height
:
36px
;
font-size
:
16px
;
line-height
:
36px
;
}
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
}
.el-menu-item
{
.ivu-badge
{
.ivu-badge-count
{
box-shadow
:
0
0
0
0px
#fff
;
}
}
>
span
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.ivu-divider-horizontal
{
width
:
100%
;
min-width
:
100%
;
margin
:
4px
auto
;
margin-bottom
:
1px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/app/usr1207222915-menu-appmenu/usr1207222915-menu-appmenu-base.vue
浏览文件 @
5d89738b
<
template
>
<div
class=
"app-app-menu"
>
<el-menu
class=
"app-menu"
:default-openeds=
"defaultOpeneds"
:mode=
"mode"
:menu-trigger=
"trigger"
:collapse=
"isCollapse"
@
select=
"select"
:default-active=
"defaultActive"
>
<template
v-if=
"Object.is(mode,'horizontal')"
>
class=
"app-menu"
:default-openeds=
"defaultOpeneds"
background-color=
"#FFFFFF"
text-color=
"#747480"
active-text-color=
"#188CE5"
: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"
>
...
...
@@ -108,9 +109,7 @@
</template>
</template>
<app-menu-item
v-else
:isCollapse=
"isCollapse"
:menus=
"menus"
:ctrlName=
"'usr1207222915menu'"
:isFirst=
"true"
:counterdata=
"counterdata"
:popper-class=
"popperClass"
></app-menu-item>
</el-menu>
</div>
</template>
// 基于 @CONTROL/应用菜单/CONTROL-BASE.vue.ftl 生成
<
script
lang=
'tsx'
>
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/app/usr1207222915-menu-appmenu/usr1207222915-menu-appmenu.scss
浏览文件 @
5d89738b
// 基于 @CONTROL/应用菜单/CONTROL.scss.ftl 生成
/*** BRGIN:菜单样式 ***/
.app-app-menu
{
overflow-y
:
auto
;
overflow-x
:
hidden
;
height
:
calc
(
100%
-
58px
);
.ivu-divider
{
background-color
:
#b3b3b3
;
height
:
2px
;
.app-menu
{
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
margin-right
:
6px
;
}
>
.el-menu
{
border-right
:
0
;
&
.el-menu--horizontal
{
.el-menu-item
{
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
overflow
:
hidden
;
word-break
:
break-all
;
.ivu-badge
{
.ivu-badge-count
{
box-shadow
:
0
0
0
0px
#fff
;
}
height
:
64px
;
&
.is-active
{
border-bottom
:
4px
solid
var
(
--
app-color-yellow
);
border-bottom-color
:
var
(
--
app-color-yellow
)
!
important
;
}
}
.el-submenu__title
i
,
.el-menu-item
i
{
font-size
:
12px
;
width
:
18px
;
}
.el-submenu__title
.app-menu-icon
,
.el-menu-item
.app-menu-icon
{
width
:
20px
;
font-size
:
14px
;
}
.el-submenu__title
.text
{
font-size
:
16px
;
}
.el-submenu__title
.app-menu-circle
,
.el-menu-item
.app-menu-circle
{
display
:
inline-block
;
border-radius
:
50%
;
width
:
20px
;
height
:
20px
;
line-height
:
36px
;
vertical-align
:middle
;
border
:
1px
solid
#fff
;
text-align
:
center
;
font
:
12px
Arial
,
sans-serif
;
}
.el-submenu__title
,
.el-menu-item
{
height
:
50px
;
font-size
:
14px
;
line-height
:
50px
;
border-left
:
4px
!
important
;
}
.el-menu-item
.el-tooltip
{
padding-left
:
12px
!
important
;
}
.isCollpase
.el-submenu__title
{
padding-left
:
12px
!
important
;
}
.isFirst
>
.text
{
font-size
:
16px
!
important
;
}
.el-menu-item
,
.el-submenu
,
.el-menu
{
border-top
:
1px
solid
#fff
;
}
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
height
:
56px
;
line-height
:
56px
;
padding-left
:
16px
!
important
;
}
.app-menu-icon
{
margin
:
4px
;
text-align
:
center
;
}
>
.el-submenu
{
>
.el-menu
{
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
padding-left
:
44px
!
important
;
}
>
.el-submenu
{
>
.el-menu
{
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
padding-left
:
68px
!
important
;
}
}
}
}
}
.active-icon
{
font-size
:
40px
!
important
;
position
:
absolute
;
right
:
0
;
line-height
:
42px
;
color
:
#fff
!
important
;
display
:
none
;
width
:
24px
!
important
;
overflow
:
hidden
;
}
}
.el-menu--horizontal
{
display
:
flex
;
width
:
calc
(
100vw
-
1100px
);
height
:
65px
;
flex-wrap
:
nowrap
;
overflow-x
:scroll
;
padding-top
:
3px
;
.el-menu-item
{
overflow
:
visible
;
}
.el-submenu
{
.el-submenu__title
{
padding-right
:
0px
!
important
;
padding-left
:
0px
!
important
;
}
}
}
.ivu-divider-horizontal
{
width
:
100%
;
min-width
:
100%
;
margin
:
4px
auto
;
margin-bottom
:
1px
;
}
}
.app-popper-menu
{
.el-menu-item
,
.el-submenu__title
{
height
:
36px
;
font-size
:
16px
;
line-height
:
36px
;
}
>
.el-menu-item
,
>
.el-submenu
>
.el-submenu__title
{
height
:
40px
;
line-height
:
40px
;
}
.el-menu-item
{
.ivu-badge
{
.ivu-badge-count
{
box-shadow
:
0
0
0
0px
#fff
;
}
}
>
span
{
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
}
.ivu-divider-horizontal
{
width
:
100%
;
min-width
:
100%
;
margin
:
4px
auto
;
margin-bottom
:
1px
;
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/lnternal-func-list-list/lnternal-func-list-list-base.vue
浏览文件 @
5d89738b
...
...
@@ -26,11 +26,11 @@
<span
class=
"quick-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_quicktoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
listviewlist_quicktoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_quicktoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_quicktoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-file-text-o'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_quicktoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_quicktoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_quicktoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_quicktoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
</div>
</span>
...
...
@@ -41,18 +41,18 @@
<span
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
listviewlist_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
usr4listview_layoutlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr4listview_layout
list_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
listviewlist_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"listview
list_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"list_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr4listview_layout
list_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
listview
list_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</div>
</span>
...
...
@@ -362,7 +362,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
public
New
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
...
...
@@ -382,7 +382,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -408,7 +408,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
Usr4ListView_layout
Base
* @memberof IBIZBOOK
ListView
Base
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
...
...
@@ -604,9 +604,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOK
Usr4ListView_layout
* @memberof IBIZBOOK
ListView
*/
public
usr4listview_layout
list_quicktoolbarModels
:
any
=
{
public
listview
list_quicktoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'新建'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'New'
,
target
:
''
}
},
};
...
...
@@ -616,9 +616,9 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOK
Usr4ListView_layout
* @memberof IBIZBOOK
ListView
*/
public
usr4listview_layout
list_batchtoolbarModels
:
any
=
{
public
listview
list_batchtoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
...
...
@@ -841,7 +841,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public
async
load
(
opt
:
any
=
{}):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -971,7 +971,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.removeAction'
)
as
string
)
});
return
;
}
if
(
datas
.
length
===
0
)
{
...
...
@@ -1076,7 +1076,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -1084,7 +1084,7 @@ export default class LnternalFuncListBase extends Vue implements ControlInterfac
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
Usr4ListView_layout
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.warning'
)
as
string
),
desc
:
'IBIZBOOK
ListView
'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-base.vue
浏览文件 @
5d89738b
...
...
@@ -48,18 +48,18 @@
<div
v-show=
"flag"
class=
"batch-toolbar"
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction1.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction1.disabled"
class=
''
v-button-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction1' }, $event)"
>
<i
class=
'fa fa-edit'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction1.tip')}}
</div>
</tooltip>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<i-button
v-show=
"
dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"dataviewexpviewdataviewexpbar_dataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"dataviewexpbar_
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i-button
v-show=
"
usr2dataviewdataview_batchtoolbarModels.deuiaction2.visabled"
:disabled=
"usr2dataviewdataview_batchtoolbarModels.deuiaction2.disabled"
class=
''
v-button-loading:i-button
@
click=
"
dataview_batchtoolbar_click({ tag: 'deuiaction2' }, $event)"
>
<i
class=
'fa fa-remove'
></i>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
<span
class=
'caption'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.caption')}}
</span>
</i-button>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
dataviewexpviewdataviewexpbar_
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
<div
slot=
'content'
>
{{$t('entities.ibizbook.
usr2dataview
dataview_batchtoolbar_toolbar.deuiaction2.tip')}}
</div>
</tooltip>
</div>
</div>
...
...
@@ -202,18 +202,18 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
appEntityService
:
IBIZBOOKEntityService
=
new
IBIZBOOKEntityService
({
$store
:
this
.
$store
});
/**
* dataview
expbar_dataview
_batchtoolbar 部件 click 事件
* dataview_batchtoolbar 部件 click 事件
*
* @param {*} [args={}]
* @param {*} $event
* @memberof Usr2Base
*/
public
dataview
expbar_dataview
_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
dataview_batchtoolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction1'
))
{
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction1_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
_batchtoolbar_deuiaction1_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
}
if
(
Object
.
is
(
$event
.
tag
,
'deuiaction2'
))
{
this
.
dataview
expbar_dataview_batchtoolbar_deuiaction2_click
(
null
,
'dataviewexpbar_
dataview_batchtoolbar'
,
$event2
);
this
.
dataview
_batchtoolbar_deuiaction2_click
(
null
,
'
dataview_batchtoolbar'
,
$event2
);
}
}
...
...
@@ -226,7 +226,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_batchtoolbar_deuiaction1_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -254,7 +254,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_batchtoolbar_deuiaction2_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 参数
// 取数
let
datas
:
any
[]
=
[];
...
...
@@ -282,7 +282,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public
dataview
expbar_dataview
_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_memo1_u37f11a8_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
...
...
@@ -309,7 +309,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event]
* @memberof
*/
public
dataview
expbar_dataview
_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
public
dataview_memo1_uc365542_click
(
params
:
any
=
{},
tag
?:
any
,
$event
?:
any
)
{
// 取数
let
datas
:
any
[]
=
[];
let
xData
:
any
=
null
;
...
...
@@ -337,7 +337,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
DataViewExp
ViewBase
* @memberof IBIZBOOK
Usr2Data
ViewBase
*/
public
Edit
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
if
(
args
.
length
===
0
)
{
...
...
@@ -363,7 +363,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOK
DataViewExp
ViewBase
* @memberof IBIZBOOK
Usr2Data
ViewBase
*/
public
Remove
(
args
:
any
[],
contextJO
?:
any
,
params
?:
any
,
$event
?:
any
,
xData
?:
any
,
actionContext
?:
any
,
srfParentDeName
?:
string
)
{
const
_this
:
any
=
this
;
...
...
@@ -427,12 +427,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
let
result
:
boolean
=
true
;
Object
.
assign
(
actionData
,
args
);
if
(
'selectionchange'
.
indexOf
(
eventName
)
!==
-
1
)
{
result
=
await
this
.
execute_dataviewexpbar_selectionchange_ctrl_logic
(
actionData
)
&&
result
;
}
if
(
'load'
.
indexOf
(
eventName
)
!==
-
1
)
{
result
=
await
this
.
execute_dataviewexpbar_load_ctrl_logic
(
actionData
)
&&
result
;
}
if
(
!
result
)
{
return
false
;
}
...
...
@@ -440,30 +434,6 @@ export default class Usr2Base extends Vue implements ControlInterface {
return
true
;
}
/**
* 部件逻辑 -- dataviewexpbar_selectionchange
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public
async
execute_dataviewexpbar_selectionchange_ctrl_logic
(
actionData
:
any
):
Promise
<
boolean
>
{
console
.
log
(
'暂未支持 CUSTOM 类型'
);
return
true
;
}
/**
* 部件逻辑 -- dataviewexpbar_load
*
* @param {string} eventName 部件事件名称
* @param {any[]} data 数据
* @param {*} event 源事件对象
* @memberof Usr2Base
*/
public
async
execute_dataviewexpbar_load_ctrl_logic
(
actionData
:
any
):
Promise
<
boolean
>
{
console
.
log
(
'暂未支持 CUSTOM 类型'
);
return
true
;
}
...
...
@@ -708,9 +678,9 @@ export default class Usr2Base extends Vue implements ControlInterface {
* 工具栏模型
*
* @type {*}
* @memberof IBIZBOOK
DataViewExp
View
* @memberof IBIZBOOK
Usr2Data
View
*/
public
dataviewexpviewdataviewexpbar_
dataview_batchtoolbarModels
:
any
=
{
public
usr2dataview
dataview_batchtoolbarModels
:
any
=
{
deuiaction1
:
{
name
:
'deuiaction1'
,
actiontarget
:
'NONE'
,
caption
:
'编辑'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Edit'
,
target
:
'SINGLEKEY'
}
},
deuiaction2
:
{
name
:
'deuiaction2'
,
actiontarget
:
'NONE'
,
caption
:
'删除'
,
disabled
:
false
,
type
:
'DEUIACTION'
,
visabled
:
true
,
noprivdisplaymode
:
2
,
dataaccaction
:
''
,
uiaction
:
{
tag
:
'Remove'
,
target
:
'MULTIKEY'
}
},
...
...
@@ -1035,7 +1005,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -1130,7 +1100,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1247,7 +1217,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -1255,7 +1225,7 @@ export default class Usr2Base extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
DataViewExp
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr2Data
View'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
@@ -1357,16 +1327,16 @@ export default class Usr2Base extends Vue implements ControlInterface {
public
uiAction
(
data
:
any
,
tag
:
any
,
$event
:
any
)
{
$event
.
stopPropagation
();
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
this
.
dataview_batchtoolbar_deuiaction1_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview
expbar_dataview
_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
this
.
dataview_batchtoolbar_deuiaction2_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Edit'
,
tag
))
{
this
.
dataview
expbar_dataview
_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
this
.
dataview_memo1_u37f11a8_click
(
data
,
tag
,
$event
);
}
if
(
Object
.
is
(
'Remove'
,
tag
))
{
this
.
dataview
expbar_dataview
_memo1_uc365542_click
(
data
,
tag
,
$event
);
this
.
dataview_memo1_uc365542_click
(
data
,
tag
,
$event
);
}
}
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr2-dataview/usr2-dataview-model.ts
浏览文件 @
5d89738b
...
...
@@ -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'
,
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-base.vue
浏览文件 @
5d89738b
...
...
@@ -698,7 +698,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
load
(
opt
:
any
=
{},
isReset
:
boolean
=
false
):
Promise
<
any
>
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.fetchAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{...
opt
};
...
...
@@ -792,7 +792,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -908,7 +908,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -916,7 +916,7 @@ export default class Usr4Base extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
TestCL
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'IBIZBOOK
Usr4
DataView'
+
(
this
.
$t
(
'app.list.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
ibizbook
){
...
...
This diff is collapsed.
Click to expand it.
app_Web/src/widgets/ibizbook/usr4-dataview/usr4-dataview-model.ts
浏览文件 @
5d89738b
...
...
@@ -70,6 +70,11 @@ export default class Usr4Model {
prop
:
'n_ibizbookname_like'
,
dataType
:
'QUERYPARAM'
},
{
name
:
'n_price_gtandeq'
,
prop
:
'n_price_gtandeq'
,
dataType
:
'QUERYPARAM'
},
{
...
...
This diff is collapsed.
Click to expand it.
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录