Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzrt
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzrt
提交
fa3e4b5a
提交
fa3e4b5a
编写于
6月 18, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
lab_qyk 发布系统代码
上级
851cab7c
变更
112
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
112 个修改的文件
包含
1073 行增加
和
252 行删除
+1073
-252
.gitignore
.gitignore
+1
-0
app-register.ts
app_Web/src/app-register.ts
+3
-1
app-breadcrumb.vue
app_Web/src/components/app-breadcrumb/app-breadcrumb.vue
+69
-34
app-picker-select-view.vue
...ponents/app-picker-select-view/app-picker-select-view.vue
+3
-3
app-span.vue
app_Web/src/components/app-span/app-span.vue
+12
-4
context-menu-drag.vue
...eb/src/components/context-menu-drag/context-menu-drag.vue
+376
-0
edit-view-engine.ts
app_Web/src/engine/view/edit-view-engine.ts
+6
-3
ibzdepartment-edit-view-base.vue
.../ibzdepartment-edit-view/ibzdepartment-edit-view-base.vue
+9
-2
ibzdepartment-edit-view.vue
...es/ou/ibzdepartment-edit-view/ibzdepartment-edit-view.vue
+1
-0
ibzdepartment-grid-view-base.vue
.../ibzdepartment-grid-view/ibzdepartment-grid-view-base.vue
+9
-2
ibzdepartment-grid-view.vue
...es/ou/ibzdepartment-grid-view/ibzdepartment-grid-view.vue
+1
-0
ibzdepartment-mpickup-view-base.vue
...partment-mpickup-view/ibzdepartment-mpickup-view-base.vue
+9
-2
ibzdepartment-mpickup-view.vue
...ibzdepartment-mpickup-view/ibzdepartment-mpickup-view.vue
+1
-0
ibzdepartment-option-view-base.vue
...department-option-view/ibzdepartment-option-view-base.vue
+9
-2
ibzdepartment-option-view.vue
...u/ibzdepartment-option-view/ibzdepartment-option-view.vue
+1
-0
ibzdepartment-pickup-grid-view-base.vue
...-pickup-grid-view/ibzdepartment-pickup-grid-view-base.vue
+9
-2
ibzdepartment-pickup-grid-view.vue
...tment-pickup-grid-view/ibzdepartment-pickup-grid-view.vue
+1
-0
ibzdepartment-pickup-view-base.vue
...department-pickup-view/ibzdepartment-pickup-view-base.vue
+9
-2
ibzdepartment-pickup-view.vue
...u/ibzdepartment-pickup-view/ibzdepartment-pickup-view.vue
+1
-0
ibzdepartment-tree-exp-view-base.vue
...rtment-tree-exp-view/ibzdepartment-tree-exp-view-base.vue
+9
-2
ibzdepartment-tree-exp-view.vue
...zdepartment-tree-exp-view/ibzdepartment-tree-exp-view.vue
+1
-0
ibzdept-member-edit-view-base.vue
...bzdept-member-edit-view/ibzdept-member-edit-view-base.vue
+9
-2
ibzdept-member-edit-view.vue
.../ou/ibzdept-member-edit-view/ibzdept-member-edit-view.vue
+1
-0
ibzdept-member-grid-view-base.vue
...bzdept-member-grid-view/ibzdept-member-grid-view-base.vue
+9
-2
ibzdept-member-grid-view.vue
.../ou/ibzdept-member-grid-view/ibzdept-member-grid-view.vue
+1
-0
ibzemployee-edit-view-base.vue
...s/ou/ibzemployee-edit-view/ibzemployee-edit-view-base.vue
+9
-2
ibzemployee-edit-view.vue
.../pages/ou/ibzemployee-edit-view/ibzemployee-edit-view.vue
+1
-0
ibzemployee-grid-view-base.vue
...s/ou/ibzemployee-grid-view/ibzemployee-grid-view-base.vue
+9
-2
ibzemployee-grid-view.vue
.../pages/ou/ibzemployee-grid-view/ibzemployee-grid-view.vue
+1
-0
ibzemployee-mpickup-view-base.vue
...bzemployee-mpickup-view/ibzemployee-mpickup-view-base.vue
+9
-2
ibzemployee-mpickup-view.vue
.../ou/ibzemployee-mpickup-view/ibzemployee-mpickup-view.vue
+1
-0
ibzemployee-option-view-base.vue
.../ibzemployee-option-view/ibzemployee-option-view-base.vue
+9
-2
ibzemployee-option-view.vue
...es/ou/ibzemployee-option-view/ibzemployee-option-view.vue
+1
-0
ibzemployee-pickup-grid-view-base.vue
...ee-pickup-grid-view/ibzemployee-pickup-grid-view-base.vue
+9
-2
ibzemployee-pickup-grid-view.vue
...mployee-pickup-grid-view/ibzemployee-pickup-grid-view.vue
+1
-0
ibzemployee-pickup-view-base.vue
.../ibzemployee-pickup-view/ibzemployee-pickup-view-base.vue
+9
-2
ibzemployee-pickup-view.vue
...es/ou/ibzemployee-pickup-view/ibzemployee-pickup-view.vue
+1
-0
ibzorganization-edit-view-base.vue
...organization-edit-view/ibzorganization-edit-view-base.vue
+9
-2
ibzorganization-edit-view.vue
...u/ibzorganization-edit-view/ibzorganization-edit-view.vue
+1
-0
ibzorganization-grid-view-base.vue
...organization-grid-view/ibzorganization-grid-view-base.vue
+9
-2
ibzorganization-grid-view.vue
...u/ibzorganization-grid-view/ibzorganization-grid-view.vue
+1
-0
ibzorganization-option-view-base.vue
...nization-option-view/ibzorganization-option-view-base.vue
+9
-2
ibzorganization-option-view.vue
...zorganization-option-view/ibzorganization-option-view.vue
+1
-0
ibzorganization-pickup-grid-view-base.vue
...ickup-grid-view/ibzorganization-pickup-grid-view-base.vue
+9
-2
ibzorganization-pickup-grid-view.vue
...ion-pickup-grid-view/ibzorganization-pickup-grid-view.vue
+1
-0
ibzorganization-pickup-view-base.vue
...nization-pickup-view/ibzorganization-pickup-view-base.vue
+9
-2
ibzorganization-pickup-view.vue
...zorganization-pickup-view/ibzorganization-pickup-view.vue
+1
-0
ibzorganization-tree-exp-view-base.vue
...tion-tree-exp-view/ibzorganization-tree-exp-view-base.vue
+9
-2
ibzorganization-tree-exp-view.vue
...anization-tree-exp-view/ibzorganization-tree-exp-view.vue
+1
-0
index-base.vue
app_Web/src/pages/rt/index/index-base.vue
+32
-8
index.less
app_Web/src/pages/rt/index/index.less
+4
-1
index.vue
app_Web/src/pages/rt/index/index.vue
+1
-0
sys-auth-log-grid-view-base.vue
...aa/sys-auth-log-grid-view/sys-auth-log-grid-view-base.vue
+9
-2
sys-auth-log-grid-view.vue
...ges/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view.vue
+1
-0
sys-permission-mpickup-view-base.vue
...mission-mpickup-view/sys-permission-mpickup-view-base.vue
+9
-2
sys-permission-mpickup-view.vue
...s-permission-mpickup-view/sys-permission-mpickup-view.vue
+1
-0
sys-permission-pickup-grid-view-base.vue
...pickup-grid-view/sys-permission-pickup-grid-view-base.vue
+9
-2
sys-permission-pickup-grid-view.vue
...sion-pickup-grid-view/sys-permission-pickup-grid-view.vue
+1
-0
sys-role-edit-view-base.vue
.../pages/uaa/sys-role-edit-view/sys-role-edit-view-base.vue
+9
-2
sys-role-edit-view.vue
...b/src/pages/uaa/sys-role-edit-view/sys-role-edit-view.vue
+1
-0
sys-role-grid-view-base.vue
.../pages/uaa/sys-role-grid-view/sys-role-grid-view-base.vue
+9
-2
sys-role-grid-view.vue
...b/src/pages/uaa/sys-role-grid-view/sys-role-grid-view.vue
+1
-0
sys-role-mpickup-view-base.vue
.../uaa/sys-role-mpickup-view/sys-role-mpickup-view-base.vue
+9
-2
sys-role-mpickup-view.vue
...pages/uaa/sys-role-mpickup-view/sys-role-mpickup-view.vue
+1
-0
sys-role-permission-custom-view-base.vue
...sion-custom-view/sys-role-permission-custom-view-base.vue
+9
-2
sys-role-pickup-grid-view-base.vue
...-role-pickup-grid-view/sys-role-pickup-grid-view-base.vue
+9
-2
sys-role-pickup-grid-view.vue
...a/sys-role-pickup-grid-view/sys-role-pickup-grid-view.vue
+1
-0
sys-role-pickup-view-base.vue
...es/uaa/sys-role-pickup-view/sys-role-pickup-view-base.vue
+9
-2
sys-role-pickup-view.vue
...c/pages/uaa/sys-role-pickup-view/sys-role-pickup-view.vue
+1
-0
sys-user-mpickup-view-base.vue
.../uaa/sys-user-mpickup-view/sys-user-mpickup-view-base.vue
+9
-2
sys-user-mpickup-view.vue
...pages/uaa/sys-user-mpickup-view/sys-user-mpickup-view.vue
+1
-0
sys-user-pickup-grid-view-base.vue
...-user-pickup-grid-view/sys-user-pickup-grid-view-base.vue
+9
-2
sys-user-pickup-grid-view.vue
...a/sys-user-pickup-grid-view/sys-user-pickup-grid-view.vue
+1
-0
sys-user-pickup-view-base.vue
...es/uaa/sys-user-pickup-view/sys-user-pickup-view-base.vue
+9
-2
sys-user-pickup-view.vue
...c/pages/uaa/sys-user-pickup-view/sys-user-pickup-view.vue
+1
-0
sys-user-role-edit-view-base.vue
.../sys-user-role-edit-view/sys-user-role-edit-view-base.vue
+9
-2
sys-user-role-edit-view.vue
...s/uaa/sys-user-role-edit-view/sys-user-role-edit-view.vue
+1
-0
sys-user-role-grid-view-base.vue
.../sys-user-role-grid-view/sys-user-role-grid-view-base.vue
+9
-2
sys-user-role-grid-view.vue
...s/uaa/sys-user-role-grid-view/sys-user-role-grid-view.vue
+1
-0
wfgroup-edit-view-base.vue
...ges/workflow/wfgroup-edit-view/wfgroup-edit-view-base.vue
+9
-2
wfgroup-edit-view.vue
...rc/pages/workflow/wfgroup-edit-view/wfgroup-edit-view.vue
+1
-0
wfgroup-grid-view-base.vue
...ges/workflow/wfgroup-grid-view/wfgroup-grid-view-base.vue
+9
-2
wfgroup-grid-view.vue
...rc/pages/workflow/wfgroup-grid-view/wfgroup-grid-view.vue
+1
-0
wfgroup-mpickup-view-base.vue
...rkflow/wfgroup-mpickup-view/wfgroup-mpickup-view-base.vue
+9
-2
wfgroup-mpickup-view.vue
...es/workflow/wfgroup-mpickup-view/wfgroup-mpickup-view.vue
+1
-0
wfgroup-pickup-grid-view-base.vue
...fgroup-pickup-grid-view/wfgroup-pickup-grid-view-base.vue
+9
-2
wfgroup-pickup-grid-view.vue
...low/wfgroup-pickup-grid-view/wfgroup-pickup-grid-view.vue
+1
-0
wfmember-edit-view-base.vue
...s/workflow/wfmember-edit-view/wfmember-edit-view-base.vue
+9
-2
wfmember-edit-view.vue
.../pages/workflow/wfmember-edit-view/wfmember-edit-view.vue
+1
-0
wfmember-grid-view-base.vue
...s/workflow/wfmember-grid-view/wfmember-grid-view-base.vue
+9
-2
wfmember-grid-view.vue
.../pages/workflow/wfmember-grid-view/wfmember-grid-view.vue
+1
-0
wfprocess-definition-edit-view-base.vue
...inition-edit-view/wfprocess-definition-edit-view-base.vue
+9
-2
wfprocess-definition-edit-view.vue
...s-definition-edit-view/wfprocess-definition-edit-view.vue
+1
-0
wfprocess-definition-grid-view-base.vue
...inition-grid-view/wfprocess-definition-grid-view-base.vue
+9
-2
wfprocess-definition-grid-view.vue
...s-definition-grid-view/wfprocess-definition-grid-view.vue
+1
-0
wfremodel-edit-view-base.vue
...workflow/wfremodel-edit-view/wfremodel-edit-view-base.vue
+9
-2
wfremodel-edit-view.vue
...ages/workflow/wfremodel-edit-view/wfremodel-edit-view.vue
+1
-0
wfuser-mpickup-view-base.vue
...workflow/wfuser-mpickup-view/wfuser-mpickup-view-base.vue
+9
-2
wfuser-mpickup-view.vue
...ages/workflow/wfuser-mpickup-view/wfuser-mpickup-view.vue
+1
-0
wfuser-pickup-grid-view-base.vue
.../wfuser-pickup-grid-view/wfuser-pickup-grid-view-base.vue
+9
-2
wfuser-pickup-grid-view.vue
...kflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view.vue
+1
-0
wfuser-pickup-view-base.vue
...s/workflow/wfuser-pickup-view/wfuser-pickup-view-base.vue
+9
-2
wfuser-pickup-view.vue
.../pages/workflow/wfuser-pickup-view/wfuser-pickup-view.vue
+1
-0
navdata-service.ts
app_Web/src/service/app/navdata-service.ts
+43
-0
default.less
app_Web/src/styles/default.less
+15
-8
blue.theme.less
app_Web/src/theme/blue.theme.less
+0
-23
dark-blue.theme.less
app_Web/src/theme/dark-blue.theme.less
+1
-24
default.theme.less
app_Web/src/theme/default.theme.less
+0
-23
view-tool.ts
app_Web/src/utils/view-tool/view-tool.ts
+28
-24
nacos.yml
ibzrt-boot/src/main/docker/nacos.yml
+4
-0
redis.yml
ibzrt-boot/src/main/docker/redis.yml
+4
-0
application-sys.yml
ibzrt-util/src/main/resources/application-sys.yml
+2
-2
未找到文件。
.gitignore
浏览文件 @
fa3e4b5a
*volumes
*target
*target
.settings
.settings
*node_modules
*node_modules
...
...
app_Web/src/app-register.ts
浏览文件 @
fa3e4b5a
...
@@ -73,8 +73,9 @@ import AppDepartmentSelect from './components/app-department-select/app-departme
...
@@ -73,8 +73,9 @@ import AppDepartmentSelect from './components/app-department-select/app-departme
import
IBizGroupSelect
from
'./components/ibiz-group-select/ibiz-group-select.vue'
import
IBizGroupSelect
from
'./components/ibiz-group-select/ibiz-group-select.vue'
import
IBizGroupPicker
from
'./components/ibiz-group-picker/ibiz-group-picker.vue'
import
IBizGroupPicker
from
'./components/ibiz-group-picker/ibiz-group-picker.vue'
import
AppWFApproval
from
'./components/app-wf-approval/app-wf-approval.vue'
import
AppWFApproval
from
'./components/app-wf-approval/app-wf-approval.vue'
import
Breadcrumb
from
'./components/app-breadcrumb/app-breadcrumb.vue'
;
import
Breadcrumb
from
'./components/app-breadcrumb/app-breadcrumb.vue'
import
AppTransfer
from
'./components/app-transfer/app-transfer.vue'
import
AppTransfer
from
'./components/app-transfer/app-transfer.vue'
import
ContextMenuDrag
from
'./components/context-menu-drag/context-menu-drag.vue'
// 全局挂载UI实体服务注册中心
// 全局挂载UI实体服务注册中心
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
window
[
'uiServiceRegister'
]
=
uiServiceRegister
;
...
@@ -162,5 +163,6 @@ export const AppComponents = {
...
@@ -162,5 +163,6 @@ export const AppComponents = {
v
.
component
(
'app-wf-approval'
,
AppWFApproval
);
v
.
component
(
'app-wf-approval'
,
AppWFApproval
);
v
.
component
(
'app-breadcrumb'
,
Breadcrumb
);
v
.
component
(
'app-breadcrumb'
,
Breadcrumb
);
v
.
component
(
'app-transfer'
,
AppTransfer
);
v
.
component
(
'app-transfer'
,
AppTransfer
);
v
.
component
(
'context-menu-drag'
,
ContextMenuDrag
);
},
},
};
};
\ No newline at end of file
app_Web/src/components/app-breadcrumb/app-breadcrumb.vue
浏览文件 @
fa3e4b5a
<
template
>
<
template
>
<el-breadcrumb
<el-breadcrumb
class=
"app-breadcrumb"
separator=
"/"
>
class=
"app-breadcrumb"
separator=
"/"
>
<transition-group
name=
"breadcrumb"
>
<transition-group
name=
"breadcrumb"
>
<el-breadcrumb-item
<el-breadcrumb-item
v-for=
"(item, index) in breadcrumbs"
:key=
"item.id"
>
v-for=
"(item, index) in breadcrumbs"
<span
v-if=
"index === breadcrumbs.length-1"
class=
"no-redirect"
>
{{
item
.
title
}}
</span>
:key=
"item.path"
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
title
}}
</a>
>
<span
v-if=
"index === breadcrumbs.length-1"
class=
"no-redirect"
>
{{
$t
(
item
.
meta
.
caption
)
}}
</span>
<a
v-else
@
click
.
prevent=
"handleLink(item)"
>
{{
$t
(
item
.
meta
.
caption
)
}}
</a>
</el-breadcrumb-item>
</el-breadcrumb-item>
</transition-group>
</transition-group>
</el-breadcrumb>
</el-breadcrumb>
...
@@ -24,24 +12,49 @@
...
@@ -24,24 +12,49 @@
<
script
lang=
"ts"
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
,
Watch
,
Prop
}
from
'vue-property-decorator'
import
{
Component
,
Vue
,
Watch
,
Prop
}
from
'vue-property-decorator'
import
{
RouteRecord
,
Route
}
from
'vue-router'
import
{
RouteRecord
,
Route
}
from
'vue-router'
import
NavDataService
from
'@/service/app/navdata-service'
;
import
{
Subscription
}
from
'rxjs'
;
@
Component
({
@
Component
({
})
})
export
default
class
Breadcrumb
extends
Vue
{
export
default
class
Breadcrumb
extends
Vue
{
private
breadcrumbs
:
RouteRecord
[]
=
[];
//面包屑列表
/**
* 面包屑列表
*
* @memberof Breadcrumb
*/
private
breadcrumbs
:
Array
<
any
>
=
[];
/**
* 导航服务
*
* @memberof Breadcrumb
*/
private
navDataService
=
NavDataService
.
getInstance
();
@
Prop
()
public
defPSAppView
:
any
;
//默认视图
/**
* 默认视图标识
*
* @memberof Breadcrumb
*/
@
Prop
()
public
indexViewTag
!
:
string
;
/**
/**
*
监听路由
*
首页路径
*
*
* @memberof Breadcrumb
* @memberof Breadcrumb
*/
*/
@
Watch
(
'$route'
)
@
Prop
()
public
indexViewPath
!
:
string
;
private
onRouteChange
(
route
:
Route
)
{
this
.
getBreadcrumb
()
/**
}
* 导航服务事件
*
* @public
* @type {(Subscription | undefined)}
* @memberof Dev
*/
public
serviceStateEvent
:
Subscription
|
undefined
;
/**
/**
* vue 生命周期
* vue 生命周期
...
@@ -49,7 +62,12 @@ export default class Breadcrumb extends Vue {
...
@@ -49,7 +62,12 @@ export default class Breadcrumb extends Vue {
* @memberof Breadcrumb
* @memberof Breadcrumb
*/
*/
created
()
{
created
()
{
this
.
getBreadcrumb
()
this
.
getBreadcrumb
();
this
.
serviceStateEvent
=
this
.
navDataService
.
serviceState
.
subscribe
(({
action
,
data
})
=>
{
if
(
Object
.
is
(
action
,
'refresh'
))
{
this
.
getBreadcrumb
();
}
});
}
}
/**
/**
...
@@ -58,24 +76,41 @@ export default class Breadcrumb extends Vue {
...
@@ -58,24 +76,41 @@ export default class Breadcrumb extends Vue {
* @memberof Breadcrumb
* @memberof Breadcrumb
*/
*/
private
getBreadcrumb
()
{
private
getBreadcrumb
()
{
this
.
breadcrumbs
=
this
.
$route
.
matched
.
filter
((
item
)
=>
{
this
.
breadcrumbs
=
this
.
navDataService
.
getNavData
();
return
item
.
meta
&&
item
.
meta
.
caption
this
.
$forceUpdate
();
})
if
(
this
.
defPSAppView
){
/**如果配置了默认视图,给面包屑第一级赋值默认视图为首页 */
}
}
}
/**
/**
*
单机面包屑
*
面包屑点击行为
*
*
* @memberof Breadcrumb
* @memberof Breadcrumb
*/
*/
private
handleLink
(
item
:
any
)
{
private
handleLink
(
item
:
any
)
{
this
.
$router
.
push
(
item
).
catch
(
err
=>
{
// 首页
console
.
warn
(
err
);
if
(
Object
.
is
(
item
.
id
,
this
.
indexViewTag
)){
});
if
(
this
.
$route
.
matched
&&
this
.
$route
.
matched
.
length
>
0
){
this
.
$router
.
push
(
`/
${
this
.
indexViewPath
}
`
);
}
}
else
{
// 非首页
this
.
$router
.
push
(
item
.
path
).
catch
(
err
=>
{
console
.
warn
(
err
);
});
}
this
.
navDataService
.
removeNavData
(
item
.
id
);
}
}
/**
* 组件销毁
*
* @memberof Breadcrumb
*/
public
destroyed
()
{
if
(
this
.
serviceStateEvent
)
{
this
.
serviceStateEvent
.
unsubscribe
();
}
}
}
}
</
script
>
</
script
>
...
...
app_Web/src/components/app-picker-select-view/app-picker-select-view.vue
浏览文件 @
fa3e4b5a
...
@@ -324,10 +324,10 @@ export default class AppPickerSelectView extends Vue {
...
@@ -324,10 +324,10 @@ export default class AppPickerSelectView extends Vue {
this
.
items
.
push
({
srfmajortext
:
item
.
srfmajortext
,
srfkey
:
item
.
srfkey
});
this
.
items
.
push
({
srfmajortext
:
item
.
srfmajortext
,
srfkey
:
item
.
srfkey
});
}
}
});
});
let
_viewparam
=
JSON
.
parse
(
this
.
viewparam
);
_viewparam
.
selectedData
=
this
.
selectItems
;
this
.
viewparam
=
JSON
.
stringify
(
_viewparam
);
}
}
let
_viewparam
=
JSON
.
parse
(
this
.
viewparam
);
_viewparam
.
selectedData
=
this
.
selectItems
;
this
.
viewparam
=
JSON
.
stringify
(
_viewparam
);
}
}
this
.
$forceUpdate
();
this
.
$forceUpdate
();
}
}
...
...
app_Web/src/components/app-span/app-span.vue
浏览文件 @
fa3e4b5a
...
@@ -148,11 +148,19 @@ export default class AppSpan extends Vue {
...
@@ -148,11 +148,19 @@ export default class AppSpan extends Vue {
if
(
this
.
tag
){
if
(
this
.
tag
){
return
;
//代码表走codelist组件
return
;
//代码表走codelist组件
}
else
if
(
this
.
editorType
===
"ADDRESSPICKUP"
){
}
else
if
(
this
.
editorType
===
"ADDRESSPICKUP"
){
JSON
.
parse
(
this
.
value
).
forEach
((
item
:
any
,
index
:
number
)
=>
{
if
(
this
.
$util
.
isEmpty
(
this
.
value
)){
this
.
text
+=
index
===
0
?
item
.
srfmajortext
:
","
+
item
.
srfmajortext
;
this
.
text
=
''
;
});
}
else
{
JSON
.
parse
(
this
.
value
).
forEach
((
item
:
any
,
index
:
number
)
=>
{
this
.
text
+=
index
===
0
?
item
.
srfmajortext
:
","
+
item
.
srfmajortext
;
});
}
}
else
{
}
else
{
this
.
text
=
this
.
value
;
if
(
this
.
$util
.
isEmpty
(
this
.
value
)){
this
.
text
=
''
;
}
else
{
this
.
text
=
this
.
value
;
}
}
}
}
}
...
...
app_Web/src/components/context-menu-drag/context-menu-drag.vue
0 → 100644
浏览文件 @
fa3e4b5a
<
template
>
<Drawer
class-name=
"sider-drawer"
placement=
"left"
:closable=
"false"
:mask=
"false"
width=
"240"
v-model=
"visiable"
>
<div
class=
"context-menu-drag"
>
<div
class=
"menu-list"
>
<div
class=
"menu-header"
@
mouseover=
"showMenuDrawer"
@
click=
"drawerVisiable=!drawerVisiable"
>
<div
class=
"menuicon"
>
<Icon
type=
"md-apps"
/>
</div>
<div
class=
"content"
>
<span>
服务
</span>
</div>
<div
class=
"forward"
>
<Icon
type=
"ios-arrow-forward"
/>
</div>
</div>
<div
style=
"padding:8px 0px;"
class=
"col-6"
>
<draggable
class=
"list-group"
tag=
"ul"
v-model=
"selectlist"
v-bind=
"dragOptionsVal"
@
start=
"onStart"
@
end=
"onEnd"
:animation=
"250"
handle=
".handle"
ghost-class=
"ghost"
>
<transition-group
type=
"transition"
:name=
"!drag ? 'flip-list' : null"
>
<li
class=
"list-group-item"
v-for=
"(item,index) in selectlist"
:key=
"item.id"
>
<el-row>
<el-col
class=
"menuicon"
:span=
"4"
>
<span>
<Icon
v-if=
"item.icon"
:type=
"item.icon"
/>
<Icon
v-else
type=
"md-menu"
/>
</span>
</el-col>
<el-col
:span=
"14"
>
<span>
{{
item
.
label
}}
</span>
</el-col>
<el-col
:span=
"6"
>
<div
class=
"bar"
>
<div>
<Icon
type=
"ios-close"
@
click=
"removeAt(index)"
/>
</div>
<div>
<Icon
type=
"ios-move handle"
/>
</div>
</div>
</el-col>
</el-row>
</li>
</transition-group>
</draggable>
</div>
</div>
<Drawer
class-name=
"menu-drawer"
width=
"60"
:closable=
"true"
:mask=
"false"
placement=
"left"
v-model=
"drawerVisiable"
>
<div
class=
"menuItems"
>
<div
class=
"item"
v-for=
"(item,index) in list"
:key=
"item.id"
>
<span
class=
"title"
>
{{
item
.
label
}}
</span>
<span
v-if=
"isStar(item.id)"
class=
"star"
@
click=
"outStar(item)"
>
<Icon
type=
"ios-star"
/>
</span>
<span
v-else
class=
"star"
@
click=
"onStar(item)"
>
<Icon
type=
"ios-star-outline"
/>
</span>
</div>
</div>
</Drawer>
</div>
</Drawer>
</
template
>
<
script
lang=
"ts"
>
import
draggable
from
"vuedraggable"
;
import
{
Vue
,
Component
,
Provide
,
Watch
,
Prop
,
Model
}
from
"vue-property-decorator"
;
// tslint:disable-next-line:max-classes-per-file
@
Component
({
components
:
{
draggable
}
})
export
default
class
ContextMenuDrag
extends
Vue
{
drawerVisiable
:
boolean
=
false
;
current
:
number
=
0
;
list
:
Array
<
any
>
=
[];
selectlist
:
Array
<
any
>
=
[];
drag
:
boolean
=
false
;
@
Model
(
"change"
)
dragOptions
:
any
;
@
Prop
()
contextMenuDragVisiable
?:
boolean
;
visiable
:
boolean
=
false
;
@
Watch
(
"contextMenuDragVisiable"
)
public
onVisiableChange
(
newVal
:
any
,
oldVal
:
any
)
{
if
(
newVal
)
{
this
.
visiable
=
newVal
;
}
else
{
let
that
:
any
=
this
;
let
params
:
any
=
{};
params
.
model
=
this
.
selectlist
;
const
put
:
Promise
<
any
>
=
this
.
$http
.
put
(
"uaa/access-center/app-switcher/default"
,
params
);
put
.
then
((
response
:
any
)
=>
{
if
(
response
){
console
.
log
(
response
);
}
}).
catch
((
e
)
=>
{
console
.
log
(
e
);
});
this
.
drawerVisiable
=
false
;
setTimeout
(()
=>
{
that
.
visiable
=
false
;
},
300
);
}
}
public
showMenuDrawer
()
{
let
that
:
any
=
this
;
if
(
this
.
contextMenuDragVisiable
){
setTimeout
(()
=>
{
that
.
drawerVisiable
=
true
;
},
300
);
}
}
public
menuDrawerClose
()
{}
public
onStart
(
evt
:
any
)
{
this
.
drag
=
true
;
}
public
onEnd
(
evt
:
any
)
{
this
.
drag
=
false
;
console
.
log
(...
this
.
selectlist
);
}
/**
* 判断是否已加入列表
*/
public
isStar
(
id
:
any
)
{
let
istar
:
boolean
=
false
;
this
.
selectlist
.
forEach
((
item
:
any
)
=>
{
if
(
Object
.
is
(
item
.
id
,
id
))
{
istar
=
true
;
}
});
return
istar
;
}
/**
* 加入列表
*/
public
onStar
(
item
:
any
)
{
item
.
visabled
=
1
;
this
.
selectlist
.
push
(
item
);
}
/**
* 从列表中删除
*/
public
outStar
(
item
:
any
)
{
item
.
visabled
=
0
;
let
index
:
number
=
0
;
let
that
:
any
=
this
;
this
.
selectlist
.
forEach
((
select
:
any
,
index
:
number
)
=>
{
if
(
Object
.
is
(
item
.
id
,
select
.
id
))
{
that
.
selectlist
.
splice
(
index
,
1
);
}
});
}
get
dragOptionsVal
()
{
return
{
animation
:
200
,
group
:
"description"
,
disabled
:
false
,
ghostClass
:
"ghost"
};
}
removeAt
(
index
:
any
)
{
this
.
selectlist
.
splice
(
index
,
1
);
}
sort
()
{
this
.
selectlist
=
this
.
selectlist
.
sort
((
a
,
b
)
=>
a
.
order
-
b
.
order
);
}
listFilter
()
{
let
that
:
any
=
this
;
that
.
selectlist
=
[];
this
.
list
.
forEach
((
item
:
any
)
=>
{
if
(
item
.
visabled
===
1
)
{
that
.
selectlist
.
push
(
item
);
}
});
}
mounted
()
{
let
that
:
any
=
this
;
const
get
:
Promise
<
any
>
=
this
.
$http
.
get
(
"uaa/access-center/app-switcher/default"
);
get
.
then
((
response
:
any
)
=>
{
if
(
response
)
{
that
.
list
=
response
.
data
.
model
;
that
.
listFilter
();
console
.
log
(
response
);
}
})
.
catch
(
e
=>
{
console
.
log
(
e
);
});
}
}
</
script
>
<
style
lang=
'less'
>
.menu-drawer {
.ivu-drawer-left {
left: 241px !important;
}
.ivu-drawer {
top: 64px !important;
}
.ivu-drawer-body {
padding: 32px !important;
.menuItems {
display: flex;
flex-wrap: wrap;
> .item {
margin: 0px 10px;
width: calc(33.333% - 20px);
padding: 0px 15px;
font-size: 13px;
transition: all 0.3s;
display: flex;
justify-content: space-between;
height: 32px;
align-items: center;
.star {
display: flex;
height: 100%;
width: 30px;
font-size: 15px;
align-items: center;
justify-content: center;
.ivu-icon-ios-star-outline{
display: none;
}
}
}
> .item:hover {
background-color: #eaeaea;
cursor: pointer;
.ivu-icon-ios-star-outline{
display: inline;
}
}
}
}
}
.sider-drawer {
.ivu-drawer {
background-color: #ffffff !important;
}
.ivu-drawer-body {
padding: 0px !important;
}
.ivu-drawer {
top: 64px !important;
}
.context-menu-drag {
display: flex;
.flip-list-move {
transition: transform 0.3s;
}
.menu-list {
width: 100%;
height: 100%;
.menu-header {
cursor: pointer;
border-bottom: 1px solid rgb(222, 222, 222);
height: 48px;
line-height: 48px;
display: flex;
align-items: center;
.menuicon {
display: inline-block;
width: 50px;
font-size: 16px;
text-align: center;
font-size: 22px;
}
.content {
display: inline-block;
text-overflow: ellipsis;
white-space: nowrap;
flex: 1 1 0%;
overflow: hidden;
font-size: 13px;
}
.forward {
margin: 0px 8px 0px 4px;
color: rgb(222, 222, 222);
font-size: 15px;
}
}
.list-group-item {
transition: background 1s;
-webkit-transition: background 1s;
.menuicon {
text-align: center;
}
.el-row {
height: 100%;
display: flex;
align-items: center;
padding: 0px 5px;
}
height: 40px;
cursor: pointer;
position: relative;
display: block;
margin-bottom: -1px;
transition: background-color 0.5s;
transition-timing-function: ease-in-out;
.handle {
cursor: move;
}
.bar {
display: flex;
.ivu-icon-ios-close {
cursor: pointer;
font-size: 25px;
}
}
}
.list-group-item:hover {
background-color: #f5f5f5;
.ivu-icon-ios-star-outline{
display: inline;
}
}
}
}
}
</
style
>
app_Web/src/engine/view/edit-view-engine.ts
浏览文件 @
fa3e4b5a
...
@@ -247,12 +247,15 @@ export default class EditViewEngine extends ViewEngine {
...
@@ -247,12 +247,15 @@ export default class EditViewEngine extends ViewEngine {
*/
*/
public
setTabCaption
(
info
:
string
):
void
{
public
setTabCaption
(
info
:
string
):
void
{
let
viewdata
:
any
=
this
.
view
.
model
;
let
viewdata
:
any
=
this
.
view
.
model
;
if
(
viewdata
&&
info
&&
!
Object
.
is
(
info
,
''
)
&&
this
.
view
.
$tabPageExp
&&
(
viewdata
.
srfTitle
.
indexOf
(
" - "
)
===
-
1
))
{
if
(
viewdata
&&
info
&&
!
Object
.
is
(
info
,
''
)
&&
(
viewdata
.
srfTitle
.
indexOf
(
"-"
)
===
-
1
))
{
this
.
view
.
$tabPageExp
.
setCurPageCaption
(
viewdata
.
srfTitle
,
viewdata
.
srfTitle
,
info
);
if
(
this
.
view
.
$tabPageExp
){
this
.
view
.
$tabPageExp
.
setCurPageCaption
(
viewdata
.
srfTitle
,
viewdata
.
srfTitle
,
info
);
}
if
(
this
.
view
.
$route
){
if
(
this
.
view
.
$route
){
this
.
view
.
$route
.
meta
.
info
=
info
;
this
.
view
.
$route
.
meta
.
info
=
info
;
}
}
this
.
view
.
model
.
srfTitle
=
`
${
this
.
view
.
$t
(
viewdata
.
srfTitle
)}
-
${
viewdata
.
dataInfo
}
`
;
this
.
view
.
model
.
srfTitle
=
`
${
this
.
view
.
$t
(
viewdata
.
srfTitle
)}
-
${
viewdata
.
dataInfo
}
`
;
this
.
view
.
initNavData
();
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-edit-view/ibzdepartment-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class IBZDepartmentEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class IBZDepartmentEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDepartmentEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class IBZDepartmentEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class IBZDepartmentEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdepartment-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdepartment-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-edit-view/ibzdepartment-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzdepartment/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzdepartment/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzdepartment-grid-view/ibzdepartment-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -397,6 +397,14 @@ export default class IBZDepartmentGridViewBase extends Vue {
...
@@ -397,6 +397,14 @@ export default class IBZDepartmentGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDepartmentGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -542,8 +550,7 @@ export default class IBZDepartmentGridViewBase extends Vue {
...
@@ -542,8 +550,7 @@ export default class IBZDepartmentGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdepartment-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdepartment-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-grid-view/ibzdepartment-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzdepartment/default-searchform/default-s
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzdepartment/default-searchform/default-s
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzdepartment-mpickup-view/ibzdepartment-mpickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -280,6 +280,14 @@ export default class IBZDepartmentMPickupViewBase extends Vue {
...
@@ -280,6 +280,14 @@ export default class IBZDepartmentMPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDepartmentMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -425,8 +433,7 @@ export default class IBZDepartmentMPickupViewBase extends Vue {
...
@@ -425,8 +433,7 @@ export default class IBZDepartmentMPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdepartment-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdepartment-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-mpickup-view/ibzdepartment-mpickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzdepartment/mpickup-viewpickupviewp
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzdepartment/mpickup-viewpickupviewp
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzdepartment-option-view/ibzdepartment-option-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -252,6 +252,14 @@ export default class IBZDepartmentOptionViewBase extends Vue {
...
@@ -252,6 +252,14 @@ export default class IBZDepartmentOptionViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDepartmentOptionViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -397,8 +405,7 @@ export default class IBZDepartmentOptionViewBase extends Vue {
...
@@ -397,8 +405,7 @@ export default class IBZDepartmentOptionViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdepartment-option-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdepartment-option-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-option-view/ibzdepartment-option-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzdepartment/new-form-form/new-form-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzdepartment/new-form-form/new-form-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzdepartment-pickup-grid-view/ibzdepartment-pickup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -254,6 +254,14 @@ export default class IBZDepartmentPickupGridViewBase extends Vue {
...
@@ -254,6 +254,14 @@ export default class IBZDepartmentPickupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDepartmentPickupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -399,8 +407,7 @@ export default class IBZDepartmentPickupGridViewBase extends Vue {
...
@@ -399,8 +407,7 @@ export default class IBZDepartmentPickupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdepartment-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdepartment-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-pickup-grid-view/ibzdepartment-pickup-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzdepartment/default-searchform/default-s
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzdepartment/default-searchform/default-s
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzdepartment-pickup-view/ibzdepartment-pickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -247,6 +247,14 @@ export default class IBZDepartmentPickupViewBase extends Vue {
...
@@ -247,6 +247,14 @@ export default class IBZDepartmentPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDepartmentPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -392,8 +400,7 @@ export default class IBZDepartmentPickupViewBase extends Vue {
...
@@ -392,8 +400,7 @@ export default class IBZDepartmentPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdepartment-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdepartment-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-pickup-view/ibzdepartment-pickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzdepartment/pickup-viewpickupviewpa
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzdepartment/pickup-viewpickupviewpa
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -234,6 +234,14 @@ export default class IBZDepartmentTreeExpViewBase extends Vue {
...
@@ -234,6 +234,14 @@ export default class IBZDepartmentTreeExpViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDepartmentTreeExpViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -379,8 +387,7 @@ export default class IBZDepartmentTreeExpViewBase extends Vue {
...
@@ -379,8 +387,7 @@ export default class IBZDepartmentTreeExpViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdepartment-tree-exp-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdepartment-tree-exp-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdepartment-tree-exp-view/ibzdepartment-tree-exp-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_treeexpbar from '@widgets/ibzdepartment/tree-exp-viewtreeexpbar-tree
...
@@ -9,6 +9,7 @@ import view_treeexpbar from '@widgets/ibzdepartment/tree-exp-viewtreeexpbar-tree
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzdept-member-edit-view/ibzdept-member-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class IBZDeptMemberEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class IBZDeptMemberEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDeptMemberEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class IBZDeptMemberEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class IBZDeptMemberEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdept-member-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdept-member-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdept-member-edit-view/ibzdept-member-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzdept-member/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzdept-member/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzdept-member-grid-view/ibzdept-member-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -357,6 +357,14 @@ export default class IBZDeptMemberGridViewBase extends Vue {
...
@@ -357,6 +357,14 @@ export default class IBZDeptMemberGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZDeptMemberGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -502,8 +510,7 @@ export default class IBZDeptMemberGridViewBase extends Vue {
...
@@ -502,8 +510,7 @@ export default class IBZDeptMemberGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzdept-member-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzdept-member-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzdept-member-grid-view/ibzdept-member-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_grid from '@widgets/ibzdept-member/main-grid/main-grid.vue';
...
@@ -9,6 +9,7 @@ import view_grid from '@widgets/ibzdept-member/main-grid/main-grid.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzemployee-edit-view/ibzemployee-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class IBZEmployeeEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class IBZEmployeeEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZEmployeeEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class IBZEmployeeEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class IBZEmployeeEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzemployee-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzemployee-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzemployee-edit-view/ibzemployee-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzemployee/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzemployee/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzemployee-grid-view/ibzemployee-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -407,6 +407,14 @@ export default class IBZEmployeeGridViewBase extends Vue {
...
@@ -407,6 +407,14 @@ export default class IBZEmployeeGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZEmployeeGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -552,8 +560,7 @@ export default class IBZEmployeeGridViewBase extends Vue {
...
@@ -552,8 +560,7 @@ export default class IBZEmployeeGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzemployee-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzemployee-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzemployee-grid-view/ibzemployee-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzemployee/default-searchform/default-sea
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzemployee/default-searchform/default-sea
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzemployee-mpickup-view/ibzemployee-mpickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -280,6 +280,14 @@ export default class IBZEmployeeMPickupViewBase extends Vue {
...
@@ -280,6 +280,14 @@ export default class IBZEmployeeMPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZEmployeeMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -425,8 +433,7 @@ export default class IBZEmployeeMPickupViewBase extends Vue {
...
@@ -425,8 +433,7 @@ export default class IBZEmployeeMPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzemployee-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzemployee-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzemployee-mpickup-view/ibzemployee-mpickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzemployee/mpickup-viewpickupviewpan
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzemployee/mpickup-viewpickupviewpan
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzemployee-option-view/ibzemployee-option-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -252,6 +252,14 @@ export default class IBZEmployeeOptionViewBase extends Vue {
...
@@ -252,6 +252,14 @@ export default class IBZEmployeeOptionViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZEmployeeOptionViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -397,8 +405,7 @@ export default class IBZEmployeeOptionViewBase extends Vue {
...
@@ -397,8 +405,7 @@ export default class IBZEmployeeOptionViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzemployee-option-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzemployee-option-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzemployee-option-view/ibzemployee-option-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzemployee/new-form-form/new-form-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzemployee/new-form-form/new-form-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzemployee-pickup-grid-view/ibzemployee-pickup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -254,6 +254,14 @@ export default class IBZEmployeePickupGridViewBase extends Vue {
...
@@ -254,6 +254,14 @@ export default class IBZEmployeePickupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZEmployeePickupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -399,8 +407,7 @@ export default class IBZEmployeePickupGridViewBase extends Vue {
...
@@ -399,8 +407,7 @@ export default class IBZEmployeePickupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzemployee-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzemployee-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzemployee-pickup-grid-view/ibzemployee-pickup-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzemployee/default-searchform/default-sea
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzemployee/default-searchform/default-sea
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzemployee-pickup-view/ibzemployee-pickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -247,6 +247,14 @@ export default class IBZEmployeePickupViewBase extends Vue {
...
@@ -247,6 +247,14 @@ export default class IBZEmployeePickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZEmployeePickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -392,8 +400,7 @@ export default class IBZEmployeePickupViewBase extends Vue {
...
@@ -392,8 +400,7 @@ export default class IBZEmployeePickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzemployee-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzemployee-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzemployee-pickup-view/ibzemployee-pickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzemployee/pickup-viewpickupviewpane
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzemployee/pickup-viewpickupviewpane
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzorganization-edit-view/ibzorganization-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class IBZOrganizationEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class IBZOrganizationEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZOrganizationEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class IBZOrganizationEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class IBZOrganizationEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzorganization-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzorganization-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzorganization-edit-view/ibzorganization-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzorganization/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzorganization/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzorganization-grid-view/ibzorganization-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -391,6 +391,14 @@ export default class IBZOrganizationGridViewBase extends Vue {
...
@@ -391,6 +391,14 @@ export default class IBZOrganizationGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZOrganizationGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -536,8 +544,7 @@ export default class IBZOrganizationGridViewBase extends Vue {
...
@@ -536,8 +544,7 @@ export default class IBZOrganizationGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzorganization-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzorganization-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzorganization-grid-view/ibzorganization-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzorganization/default-searchform/default
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzorganization/default-searchform/default
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzorganization-option-view/ibzorganization-option-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -252,6 +252,14 @@ export default class IBZOrganizationOptionViewBase extends Vue {
...
@@ -252,6 +252,14 @@ export default class IBZOrganizationOptionViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZOrganizationOptionViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -397,8 +405,7 @@ export default class IBZOrganizationOptionViewBase extends Vue {
...
@@ -397,8 +405,7 @@ export default class IBZOrganizationOptionViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzorganization-option-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzorganization-option-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzorganization-option-view/ibzorganization-option-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzorganization/new-form-form/new-form-form.vue'
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/ibzorganization/new-form-form/new-form-form.vue'
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzorganization-pickup-grid-view/ibzorganization-pickup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -254,6 +254,14 @@ export default class IBZOrganizationPickupGridViewBase extends Vue {
...
@@ -254,6 +254,14 @@ export default class IBZOrganizationPickupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZOrganizationPickupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -399,8 +407,7 @@ export default class IBZOrganizationPickupGridViewBase extends Vue {
...
@@ -399,8 +407,7 @@ export default class IBZOrganizationPickupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzorganization-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzorganization-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzorganization-pickup-grid-view/ibzorganization-pickup-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzorganization/default-searchform/default
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/ibzorganization/default-searchform/default
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzorganization-pickup-view/ibzorganization-pickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -247,6 +247,14 @@ export default class IBZOrganizationPickupViewBase extends Vue {
...
@@ -247,6 +247,14 @@ export default class IBZOrganizationPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZOrganizationPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -392,8 +400,7 @@ export default class IBZOrganizationPickupViewBase extends Vue {
...
@@ -392,8 +400,7 @@ export default class IBZOrganizationPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzorganization-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzorganization-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzorganization-pickup-view/ibzorganization-pickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzorganization/pickup-viewpickupview
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/ibzorganization/pickup-viewpickupview
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/ou/ibzorganization-tree-exp-view/ibzorganization-tree-exp-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -234,6 +234,14 @@ export default class IBZOrganizationTreeExpViewBase extends Vue {
...
@@ -234,6 +234,14 @@ export default class IBZOrganizationTreeExpViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IBZOrganizationTreeExpViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -379,8 +387,7 @@ export default class IBZOrganizationTreeExpViewBase extends Vue {
...
@@ -379,8 +387,7 @@ export default class IBZOrganizationTreeExpViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'ibzorganization-tree-exp-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'ibzorganization-tree-exp-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/ou/ibzorganization-tree-exp-view/ibzorganization-tree-exp-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_treeexpbar from '@widgets/ibzorganization/tree-exp-viewtreeexpbar-tr
...
@@ -9,6 +9,7 @@ import view_treeexpbar from '@widgets/ibzorganization/tree-exp-viewtreeexpbar-tr
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/rt/index/index-base.vue
浏览文件 @
fa3e4b5a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<layout>
<layout>
<sider
:width=
"collapseChange ? 64 : 200"
hide-trigger
v-model=
"collapseChange"
>
<sider
:width=
"collapseChange ? 64 : 200"
hide-trigger
v-model=
"collapseChange"
>
<div
class=
"sider-top"
>
<div
class=
"sider-top"
>
<div
class=
"page-logo"
>
<div
class=
"page-logo"
@
click=
"contextMenuDragVisiable=!contextMenuDragVisiable"
>
<img
v-show=
"collapseChange"
src=
"../../../assets/img/logo.png"
height=
"16"
/>
<img
v-show=
"collapseChange"
src=
"../../../assets/img/logo.png"
height=
"16"
/>
<span
v-show=
"!collapseChange"
style=
"display: block;text-align: center;font-weight: 300;font-size: 20px;"
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
<span
v-show=
"!collapseChange"
style=
"display: block;text-align: center;font-weight: 300;font-size: 20px;"
>
{{
$t
(
model
.
srfCaption
)
}}
</span>
</div>
</div>
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
:showBusyIndicator=
"true"
:showBusyIndicator=
"true"
v-model=
"collapseChange"
v-model=
"collapseChange"
:mode=
"mode"
:mode=
"mode"
navModel=
"route
"
:navModel=
"navModel
"
viewtag=
"index"
viewtag=
"index"
:selectTheme=
"selectTheme"
:selectTheme=
"selectTheme"
:isDefaultPage=
"isDefaultPage"
:isDefaultPage=
"isDefaultPage"
...
@@ -26,14 +26,15 @@
...
@@ -26,14 +26,15 @@
ref=
'appmenu'
ref=
'appmenu'
@
closeview=
"closeView($event)"
>
@
closeview=
"closeView($event)"
>
</view
_appmenu
>
</view
_appmenu
>
<context-menu-drag
:contextMenuDragVisiable=
"contextMenuDragVisiable"
></context-menu-drag>
</sider>
</sider>
<layout>
<layout>
<header
class=
"index_header"
>
<header
class=
"index_header"
>
<div
class=
"header-left"
>
<div
class=
"header-left"
>
<div
class=
"page-logo"
>
<div
class=
"page-logo"
v-if=
"Object.is(navModel,'route')"
>
<i
v-show=
"!collapseChange"
class=
"ivu-icon el-icon-s-fold"
@
click=
"handleClick"
></i>
<i
v-show=
"!collapseChange"
class=
"ivu-icon el-icon-s-fold"
@
click=
"handleClick"
></i>
<i
v-show=
"collapseChange"
class=
"ivu-icon el-icon-s-unfold"
@
click=
"handleClick"
></i>
<i
v-show=
"collapseChange"
class=
"ivu-icon el-icon-s-unfold"
@
click=
"handleClick"
></i>
<app-breadcrumb
:defPSAppView=
"defPSAppView
"
></app-breadcrumb>
<app-breadcrumb
indexViewTag=
"index"
indexViewPath=
"index
"
></app-breadcrumb>
</div>
</div>
</div>
</div>
<div
class=
"header-right"
style=
"display: flex;align-items: center;justify-content: space-between;"
>
<div
class=
"header-right"
style=
"display: flex;align-items: center;justify-content: space-between;"
>
...
@@ -44,8 +45,8 @@
...
@@ -44,8 +45,8 @@
<app-theme
style=
"width:45px;display: flex;justify-content: center;"
></app-theme>
<app-theme
style=
"width:45px;display: flex;justify-content: center;"
></app-theme>
</div>
</div>
</header>
</header>
<content
class=
"index_content
"
:style=
"
{'width':this.collapseChange ? 'calc(100vw - 64px)' : 'calc(100vw - 200px)' }">
<content
:class=
"
{'index_content':true,'index_tab_content':Object.is(navModel,'tab')?true:false,'index_route_content':Object.is(navModel,'route')?true:false}
" :style="{'width':this.collapseChange ? 'calc(100vw - 64px)' : 'calc(100vw - 200px)' }">
<tab-page-exp></tab-page-exp>
<tab-page-exp
v-if=
"Object.is(navModel,'tab')"
></tab-page-exp>
<app-keep-alive
:routerList=
"getRouterList"
>
<app-keep-alive
:routerList=
"getRouterList"
>
<router-view
:key=
"getRouterViewKey"
></router-view>
<router-view
:key=
"getRouterViewKey"
></router-view>
</app-keep-alive>
</app-keep-alive>
...
@@ -240,6 +241,14 @@ export default class IndexBase extends Vue {
...
@@ -240,6 +241,14 @@ export default class IndexBase extends Vue {
public
engineInit
():
void
{
public
engineInit
():
void
{
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof IndexBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -383,8 +392,7 @@ export default class IndexBase extends Vue {
...
@@ -383,8 +392,7 @@ export default class IndexBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'index'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'index'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
@@ -474,6 +482,22 @@ export default class IndexBase extends Vue {
...
@@ -474,6 +482,22 @@ export default class IndexBase extends Vue {
*/
*/
public
mode
:
string
=
'vertical'
;
public
mode
:
string
=
'vertical'
;
/**
* 导航模式(route:面包屑模式、tab:分页导航模式)
*
* @type {string}
* @memberof IndexBase
*/
public
navModel
:
string
=
"tab"
;
/**
* 抽屉状态
*
* @type {boolean}
* @memberof IndexBase
*/
public
contextMenuDragVisiable
:
boolean
=
false
;
/**
/**
* 当前主题
* 当前主题
*
*
...
...
app_Web/src/pages/rt/index/index.less
浏览文件 @
fa3e4b5a
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
}
}
.index{
position: relative;
}
.index_view{
.index_view{
margin-bottom: 1px;
margin-bottom: 1px;
width: 100%;
width: 100%;
...
@@ -19,6 +21,7 @@
...
@@ -19,6 +21,7 @@
display: flex;
display: flex;
align-items: center;
align-items: center;
justify-content: space-between;
justify-content: space-between;
background-color: #fff;
.page-logo{
.page-logo{
display: flex;
display: flex;
align-items: center;
align-items: center;
...
...
app_Web/src/pages/rt/index/index.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_appmenu from '@widgets/app/index-appmenu/index-appmenu.vue';
...
@@ -9,6 +9,7 @@ import view_appmenu from '@widgets/app/index-appmenu/index-appmenu.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class SysAuthLogGridViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class SysAuthLogGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysAuthLogGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class SysAuthLogGridViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class SysAuthLogGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-auth-log-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-auth-log-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-auth-log/default-searchform/default-se
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-auth-log/default-searchform/default-se
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-permission-mpickup-view/sys-permission-mpickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -280,6 +280,14 @@ export default class SysPermissionMPickupViewBase extends Vue {
...
@@ -280,6 +280,14 @@ export default class SysPermissionMPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysPermissionMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -425,8 +433,7 @@ export default class SysPermissionMPickupViewBase extends Vue {
...
@@ -425,8 +433,7 @@ export default class SysPermissionMPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-permission-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-permission-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-permission-mpickup-view/sys-permission-mpickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-permission/mpickup-viewpickupview
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-permission/mpickup-viewpickupview
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-permission-pickup-grid-view/sys-permission-pickup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -254,6 +254,14 @@ export default class SysPermissionPickupGridViewBase extends Vue {
...
@@ -254,6 +254,14 @@ export default class SysPermissionPickupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysPermissionPickupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -399,8 +407,7 @@ export default class SysPermissionPickupGridViewBase extends Vue {
...
@@ -399,8 +407,7 @@ export default class SysPermissionPickupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-permission-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-permission-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-permission-pickup-grid-view/sys-permission-pickup-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-permission/default-searchform/default-
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-permission/default-searchform/default-
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-role-edit-view/sys-role-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class SysRoleEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class SysRoleEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysRoleEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class SysRoleEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class SysRoleEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-role-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-role-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-role-edit-view/sys-role-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/sys-role/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/sys-role/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-role-grid-view/sys-role-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -389,6 +389,14 @@ export default class SysRoleGridViewBase extends Vue {
...
@@ -389,6 +389,14 @@ export default class SysRoleGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysRoleGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -534,8 +542,7 @@ export default class SysRoleGridViewBase extends Vue {
...
@@ -534,8 +542,7 @@ export default class SysRoleGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-role-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-role-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-role-grid-view/sys-role-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-role/default-searchform/default-search
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-role/default-searchform/default-search
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-role-mpickup-view/sys-role-mpickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -280,6 +280,14 @@ export default class SysRoleMPickupViewBase extends Vue {
...
@@ -280,6 +280,14 @@ export default class SysRoleMPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysRoleMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -425,8 +433,7 @@ export default class SysRoleMPickupViewBase extends Vue {
...
@@ -425,8 +433,7 @@ export default class SysRoleMPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-role-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-role-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-role-mpickup-view/sys-role-mpickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-role/mpickup-viewpickupviewpanel-
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-role/mpickup-viewpickupviewpanel-
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-role-permission-custom-view/sys-role-permission-custom-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -203,6 +203,14 @@ export default class SysRolePermissionCustomViewBase extends Vue {
...
@@ -203,6 +203,14 @@ export default class SysRolePermissionCustomViewBase extends Vue {
public
engineInit
():
void
{
public
engineInit
():
void
{
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysRolePermissionCustomViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -348,8 +356,7 @@ export default class SysRolePermissionCustomViewBase extends Vue {
...
@@ -348,8 +356,7 @@ export default class SysRolePermissionCustomViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-role-permission-custom-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-role-permission-custom-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-role-pickup-grid-view/sys-role-pickup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -254,6 +254,14 @@ export default class SysRolePickupGridViewBase extends Vue {
...
@@ -254,6 +254,14 @@ export default class SysRolePickupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysRolePickupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -399,8 +407,7 @@ export default class SysRolePickupGridViewBase extends Vue {
...
@@ -399,8 +407,7 @@ export default class SysRolePickupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-role-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-role-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-role-pickup-grid-view/sys-role-pickup-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-role/default-searchform/default-search
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-role/default-searchform/default-search
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-role-pickup-view/sys-role-pickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -247,6 +247,14 @@ export default class SysRolePickupViewBase extends Vue {
...
@@ -247,6 +247,14 @@ export default class SysRolePickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysRolePickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -392,8 +400,7 @@ export default class SysRolePickupViewBase extends Vue {
...
@@ -392,8 +400,7 @@ export default class SysRolePickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-role-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-role-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-role-pickup-view/sys-role-pickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-role/pickup-viewpickupviewpanel-p
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-role/pickup-viewpickupviewpanel-p
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-user-mpickup-view/sys-user-mpickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -280,6 +280,14 @@ export default class SysUserMPickupViewBase extends Vue {
...
@@ -280,6 +280,14 @@ export default class SysUserMPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysUserMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -425,8 +433,7 @@ export default class SysUserMPickupViewBase extends Vue {
...
@@ -425,8 +433,7 @@ export default class SysUserMPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-user-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-user-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-user-mpickup-view/sys-user-mpickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-user/mpickup-viewpickupviewpanel-
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-user/mpickup-viewpickupviewpanel-
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-user-pickup-grid-view/sys-user-pickup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -254,6 +254,14 @@ export default class SysUserPickupGridViewBase extends Vue {
...
@@ -254,6 +254,14 @@ export default class SysUserPickupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysUserPickupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -399,8 +407,7 @@ export default class SysUserPickupGridViewBase extends Vue {
...
@@ -399,8 +407,7 @@ export default class SysUserPickupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-user-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-user-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-user-pickup-grid-view/sys-user-pickup-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-user/default-searchform/default-search
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-user/default-searchform/default-search
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-user-pickup-view/sys-user-pickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -247,6 +247,14 @@ export default class SysUserPickupViewBase extends Vue {
...
@@ -247,6 +247,14 @@ export default class SysUserPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysUserPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -392,8 +400,7 @@ export default class SysUserPickupViewBase extends Vue {
...
@@ -392,8 +400,7 @@ export default class SysUserPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-user-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-user-pickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-user-pickup-view/sys-user-pickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-user/pickup-viewpickupviewpanel-p
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/sys-user/pickup-viewpickupviewpanel-p
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-user-role-edit-view/sys-user-role-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class SysUserRoleEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class SysUserRoleEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysUserRoleEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class SysUserRoleEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class SysUserRoleEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-user-role-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-user-role-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-user-role-edit-view/sys-user-role-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/sys-user-role/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/sys-user-role/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/uaa/sys-user-role-grid-view/sys-user-role-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -386,6 +386,14 @@ export default class SysUserRoleGridViewBase extends Vue {
...
@@ -386,6 +386,14 @@ export default class SysUserRoleGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof SysUserRoleGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -531,8 +539,7 @@ export default class SysUserRoleGridViewBase extends Vue {
...
@@ -531,8 +539,7 @@ export default class SysUserRoleGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'sys-user-role-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'sys-user-role-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/uaa/sys-user-role-grid-view/sys-user-role-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-user-role/default-searchform/default-s
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/sys-user-role/default-searchform/default-s
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfgroup-edit-view/wfgroup-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class WFGroupEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class WFGroupEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFGroupEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class WFGroupEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class WFGroupEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfgroup-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfgroup-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfgroup-edit-view/wfgroup-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/wfgroup/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/wfgroup/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfgroup-grid-view/wfgroup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -389,6 +389,14 @@ export default class WFGroupGridViewBase extends Vue {
...
@@ -389,6 +389,14 @@ export default class WFGroupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFGroupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -534,8 +542,7 @@ export default class WFGroupGridViewBase extends Vue {
...
@@ -534,8 +542,7 @@ export default class WFGroupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfgroup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfgroup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfgroup-grid-view/wfgroup-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/wfgroup/default-searchform/default-searchf
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/wfgroup/default-searchform/default-searchf
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfgroup-mpickup-view/wfgroup-mpickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -280,6 +280,14 @@ export default class WFGroupMPickupViewBase extends Vue {
...
@@ -280,6 +280,14 @@ export default class WFGroupMPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFGroupMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -425,8 +433,7 @@ export default class WFGroupMPickupViewBase extends Vue {
...
@@ -425,8 +433,7 @@ export default class WFGroupMPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfgroup-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfgroup-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfgroup-mpickup-view/wfgroup-mpickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/wfgroup/mpickup-viewpickupviewpanel-p
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/wfgroup/mpickup-viewpickupviewpanel-p
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfgroup-pickup-grid-view/wfgroup-pickup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -254,6 +254,14 @@ export default class WFGroupPickupGridViewBase extends Vue {
...
@@ -254,6 +254,14 @@ export default class WFGroupPickupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFGroupPickupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -399,8 +407,7 @@ export default class WFGroupPickupGridViewBase extends Vue {
...
@@ -399,8 +407,7 @@ export default class WFGroupPickupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfgroup-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfgroup-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfgroup-pickup-grid-view/wfgroup-pickup-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/wfgroup/default-searchform/default-searchf
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/wfgroup/default-searchform/default-searchf
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfmember-edit-view/wfmember-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class WFMemberEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class WFMemberEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFMemberEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class WFMemberEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class WFMemberEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfmember-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfmember-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfmember-edit-view/wfmember-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/wfmember/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/wfmember/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfmember-grid-view/wfmember-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -389,6 +389,14 @@ export default class WFMemberGridViewBase extends Vue {
...
@@ -389,6 +389,14 @@ export default class WFMemberGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFMemberGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -534,8 +542,7 @@ export default class WFMemberGridViewBase extends Vue {
...
@@ -534,8 +542,7 @@ export default class WFMemberGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfmember-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfmember-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfmember-grid-view/wfmember-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/wfmember/default-searchform/default-search
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/wfmember/default-searchform/default-search
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfprocess-definition-edit-view/wfprocess-definition-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -282,6 +282,14 @@ export default class WFProcessDefinitionEditViewBase extends Vue {
...
@@ -282,6 +282,14 @@ export default class WFProcessDefinitionEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFProcessDefinitionEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -427,8 +435,7 @@ export default class WFProcessDefinitionEditViewBase extends Vue {
...
@@ -427,8 +435,7 @@ export default class WFProcessDefinitionEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfprocess-definition-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfprocess-definition-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfprocess-definition-edit-view/wfprocess-definition-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/wfprocess-definition/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/wfprocess-definition/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfprocess-definition-grid-view/wfprocess-definition-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -389,6 +389,14 @@ export default class WFProcessDefinitionGridViewBase extends Vue {
...
@@ -389,6 +389,14 @@ export default class WFProcessDefinitionGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFProcessDefinitionGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -534,8 +542,7 @@ export default class WFProcessDefinitionGridViewBase extends Vue {
...
@@ -534,8 +542,7 @@ export default class WFProcessDefinitionGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfprocess-definition-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfprocess-definition-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfprocess-definition-grid-view/wfprocess-definition-grid-view.vue
浏览文件 @
fa3e4b5a
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/wfprocess-definition/default-searchform/de
...
@@ -11,6 +11,7 @@ import view_searchform from '@widgets/wfprocess-definition/default-searchform/de
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfremodel-edit-view/wfremodel-edit-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -272,6 +272,14 @@ export default class WFREModelEditViewBase extends Vue {
...
@@ -272,6 +272,14 @@ export default class WFREModelEditViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFREModelEditViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -417,8 +425,7 @@ export default class WFREModelEditViewBase extends Vue {
...
@@ -417,8 +425,7 @@ export default class WFREModelEditViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfremodel-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfremodel-edit-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfremodel-edit-view/wfremodel-edit-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/wfremodel/main-form/main-form.vue';
...
@@ -9,6 +9,7 @@ import view_form from '@widgets/wfremodel/main-form/main-form.vue';
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfuser-mpickup-view/wfuser-mpickup-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -280,6 +280,14 @@ export default class WFUserMPickupViewBase extends Vue {
...
@@ -280,6 +280,14 @@ export default class WFUserMPickupViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFUserMPickupViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -425,8 +433,7 @@ export default class WFUserMPickupViewBase extends Vue {
...
@@ -425,8 +433,7 @@ export default class WFUserMPickupViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfuser-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfuser-mpickup-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfuser-mpickup-view/wfuser-mpickup-view.vue
浏览文件 @
fa3e4b5a
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/wfuser/mpickup-viewpickupviewpanel-pi
...
@@ -9,6 +9,7 @@ import view_pickupviewpanel from '@widgets/wfuser/mpickup-viewpickupviewpanel-pi
},
},
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
beforeRouteEnter
:
(
to
:
any
,
from
:
any
,
next
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
next
((
vm
:
any
)
=>
{
vm
.
initNavData
();
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
vm
.
$store
.
commit
(
'addCurPageViewtag'
,
{
fullPath
:
to
.
fullPath
,
viewtag
:
vm
.
viewtag
});
});
});
},
},
...
...
app_Web/src/pages/workflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view-base.vue
浏览文件 @
fa3e4b5a
...
@@ -254,6 +254,14 @@ export default class WFUserPickupGridViewBase extends Vue {
...
@@ -254,6 +254,14 @@ export default class WFUserPickupGridViewBase extends Vue {
});
});
}
}
/**
* 应用导航服务
*
* @type {*}
* @memberof WFUserPickupGridViewBase
*/
public
navDataService
=
NavDataService
.
getInstance
();
/**
/**
* 应用上下文
* 应用上下文
*
*
...
@@ -399,8 +407,7 @@ export default class WFUserPickupGridViewBase extends Vue {
...
@@ -399,8 +407,7 @@ export default class WFUserPickupGridViewBase extends Vue {
*/
*/
public
initNavData
(){
public
initNavData
(){
if
(
this
.
viewDefaultUsage
){
if
(
this
.
viewDefaultUsage
){
let
navDataService
=
NavDataService
.
getInstance
();
this
.
navDataService
.
addNavData
({
id
:
'wfuser-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfTitle
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
,
path
:
this
.
$route
.
fullPath
});
navDataService
.
addNavData
({
id
:
'wfuser-pickup-grid-view'
,
title
:
this
.
$t
(
this
.
model
.
srfCaption
),
data
:
null
,
context
:
this
.
context
,
viewparams
:
this
.
viewparams
});
}
}
}
}
...
...
app_Web/src/pages/workflow/wfuser-pickup-grid-view/wfuser-pickup-grid-view.vue
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
app_Web/src/pages/workflow/wfuser-pickup-view/wfuser-pickup-view-base.vue
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
app_Web/src/pages/workflow/wfuser-pickup-view/wfuser-pickup-view.vue
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
app_Web/src/service/app/navdata-service.ts
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
app_Web/src/styles/default.less
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
app_Web/src/theme/blue.theme.less
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
app_Web/src/theme/dark-blue.theme.less
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
app_Web/src/theme/default.theme.less
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
app_Web/src/utils/view-tool/view-tool.ts
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
ibzrt-boot/src/main/docker/nacos.yml
0 → 100644
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
ibzrt-boot/src/main/docker/redis.yml
0 → 100644
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
ibzrt-util/src/main/resources/application-sys.yml
浏览文件 @
fa3e4b5a
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录