Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
6ac82791
提交
6ac82791
编写于
5月 22, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
laizhilong 部署微服务应用
上级
524cd943
变更
38
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
38 个修改的文件
包含
915 行增加
和
578 行删除
+915
-578
sys-authloggrid-view-base.vue
...es/uaa/sys-authloggrid-view/sys-authloggrid-view-base.vue
+1
-1
sys-permissionedit-view-base.vue
.../sys-permissionedit-view/sys-permissionedit-view-base.vue
+28
-7
sys-permissionedit-view2-base.vue
...ys-permissionedit-view2/sys-permissionedit-view2-base.vue
+28
-7
sys-permissiongrid-view-base.vue
.../sys-permissiongrid-view/sys-permissiongrid-view-base.vue
+41
-11
sys-role-permissionedit-view-base.vue
...permissionedit-view/sys-role-permissionedit-view-base.vue
+28
-7
sys-role-permissionedit-view2-base.vue
...rmissionedit-view2/sys-role-permissionedit-view2-base.vue
+28
-7
sys-role-permissiongrid-view-base.vue
...permissiongrid-view/sys-role-permissiongrid-view-base.vue
+41
-11
sys-roleedit-view-base.vue
...rc/pages/uaa/sys-roleedit-view/sys-roleedit-view-base.vue
+28
-7
sys-roleedit-view2-base.vue
.../pages/uaa/sys-roleedit-view2/sys-roleedit-view2-base.vue
+28
-7
sys-rolegrid-view-base.vue
...rc/pages/uaa/sys-rolegrid-view/sys-rolegrid-view-base.vue
+41
-11
sys-user-roleedit-view-base.vue
...aa/sys-user-roleedit-view/sys-user-roleedit-view-base.vue
+28
-7
sys-user-roleedit-view2-base.vue
.../sys-user-roleedit-view2/sys-user-roleedit-view2-base.vue
+28
-7
sys-user-rolegrid-view-base.vue
...aa/sys-user-rolegrid-view/sys-user-rolegrid-view-base.vue
+41
-11
sys-useredit-view-base.vue
...rc/pages/uaa/sys-useredit-view/sys-useredit-view-base.vue
+28
-7
sys-useredit-view2-base.vue
.../pages/uaa/sys-useredit-view2/sys-useredit-view2-base.vue
+28
-7
sys-usergrid-view-base.vue
...rc/pages/uaa/sys-usergrid-view/sys-usergrid-view-base.vue
+41
-11
main-grid-base.vue
app_web/src/widgets/sys-authlog/main-grid/main-grid-base.vue
+1
-1
main-grid-base.vue
...b/src/widgets/sys-permission/main-grid/main-grid-base.vue
+1
-1
main-grid-base.vue
.../widgets/sys-role-permission/main-grid/main-grid-base.vue
+1
-1
main-grid-base.vue
app_web/src/widgets/sys-role/main-grid/main-grid-base.vue
+1
-1
main-grid-base.vue
...eb/src/widgets/sys-user-role/main-grid/main-grid-base.vue
+1
-1
main-grid-base.vue
app_web/src/widgets/sys-user/main-grid/main-grid-base.vue
+1
-1
config.xml
config.xml
+5
-5
Dockerfile
ibzuaa-app/ibzuaa-app-web/src/main/docker/Dockerfile
+1
-1
ibzuaa-app-web.yaml
...aa-app/ibzuaa-app-web/src/main/docker/ibzuaa-app-web.yaml
+15
-1
pom.xml
ibzuaa-core/pom.xml
+1
-1
h2_table.xml
ibzuaa-core/src/main/resources/liquibase/h2_table.xml
+8
-26
Dockerfile
...a-provider/ibzuaa-provider-api/src/main/docker/Dockerfile
+1
-1
ibzuaa-provider-api.yaml
...uaa-provider-api/src/main/docker/ibzuaa-provider-api.yaml
+1
-13
SYS_AUTHLOGResource.java
...rc/main/java/cn/ibizlab/api/rest/SYS_AUTHLOGResource.java
+13
-34
SYS_PERMISSIONResource.java
...main/java/cn/ibizlab/api/rest/SYS_PERMISSIONResource.java
+13
-34
SYS_PSAPPMENUITEMResource.java
...n/java/cn/ibizlab/api/rest/SYS_PSAPPMENUITEMResource.java
+13
-34
SYS_PSDEOPPRIVResource.java
...main/java/cn/ibizlab/api/rest/SYS_PSDEOPPRIVResource.java
+13
-34
SYS_ROLEResource.java
...i/src/main/java/cn/ibizlab/api/rest/SYS_ROLEResource.java
+13
-34
SYS_ROLE_PERMISSIONResource.java
...java/cn/ibizlab/api/rest/SYS_ROLE_PERMISSIONResource.java
+33
-55
SYS_USERResource.java
...i/src/main/java/cn/ibizlab/api/rest/SYS_USERResource.java
+13
-34
SYS_USER_ROLEResource.java
.../main/java/cn/ibizlab/api/rest/SYS_USER_ROLEResource.java
+39
-58
AuthPermissionEvaluator.java
...ava/cn/ibizlab/util/security/AuthPermissionEvaluator.java
+241
-81
未找到文件。
app_web/src/pages/uaa/sys-authloggrid-view/sys-authloggrid-view-base.vue
浏览文件 @
6ac82791
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
class=
'view-top-messages'
>
<div
class=
'view-top-messages'
>
</div>
</div>
<div
style=
'margin-bottom: 6px;'
>
<div
style=
'margin-bottom: 6px;'
>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"
请输入
用户全局名"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"用户全局名"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
</div>
</div>
</div>
</div>
...
...
app_web/src/pages/uaa/sys-permissionedit-view/sys-permissionedit-view-base.vue
浏览文件 @
6ac82791
...
@@ -496,25 +496,25 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
...
@@ -496,25 +496,25 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -578,6 +578,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
...
@@ -578,6 +578,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -604,6 +607,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
...
@@ -604,6 +607,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -630,6 +636,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
...
@@ -630,6 +636,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -656,6 +665,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
...
@@ -656,6 +665,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -682,6 +694,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
...
@@ -682,6 +694,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -708,6 +723,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
...
@@ -708,6 +723,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -734,6 +752,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
...
@@ -734,6 +752,9 @@ export default class SYS_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
...
app_web/src/pages/uaa/sys-permissionedit-view2/sys-permissionedit-view2-base.vue
浏览文件 @
6ac82791
...
@@ -504,25 +504,25 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
...
@@ -504,25 +504,25 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -610,6 +610,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
...
@@ -610,6 +610,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -636,6 +639,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
...
@@ -636,6 +639,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -662,6 +668,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
...
@@ -662,6 +668,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -688,6 +697,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
...
@@ -688,6 +697,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -714,6 +726,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
...
@@ -714,6 +726,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -740,6 +755,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
...
@@ -740,6 +755,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -766,6 +784,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
...
@@ -766,6 +784,9 @@ export default class SYS_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
...
app_web/src/pages/uaa/sys-permissiongrid-view/sys-permissiongrid-view-base.vue
浏览文件 @
6ac82791
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
class=
'view-top-messages'
>
<div
class=
'view-top-messages'
>
</div>
</div>
<div
style=
'margin-bottom: 6px;'
>
<div
style=
'margin-bottom: 6px;'
>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"
请输入
资源名称"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"资源名称"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
...
@@ -555,34 +555,34 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -555,34 +555,34 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -706,6 +706,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -706,6 +706,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -732,6 +735,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -732,6 +735,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -758,6 +764,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -758,6 +764,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -784,6 +793,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -784,6 +793,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -810,6 +822,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -810,6 +822,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -836,6 +851,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -836,6 +851,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -862,6 +880,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -862,6 +880,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -888,6 +909,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -888,6 +909,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -914,6 +938,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -914,6 +938,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
@@ -940,6 +967,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
...
@@ -940,6 +967,9 @@ export default class SYS_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_PERMISSION"
);
}
}
...
...
app_web/src/pages/uaa/sys-role-permissionedit-view/sys-role-permissionedit-view-base.vue
浏览文件 @
6ac82791
...
@@ -496,25 +496,25 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
...
@@ -496,25 +496,25 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -578,6 +578,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
...
@@ -578,6 +578,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -604,6 +607,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
...
@@ -604,6 +607,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -630,6 +636,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
...
@@ -630,6 +636,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -656,6 +665,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
...
@@ -656,6 +665,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -682,6 +694,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
...
@@ -682,6 +694,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -708,6 +723,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
...
@@ -708,6 +723,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -734,6 +752,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
...
@@ -734,6 +752,9 @@ export default class SYS_ROLE_PERMISSIONEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
...
app_web/src/pages/uaa/sys-role-permissionedit-view2/sys-role-permissionedit-view2-base.vue
浏览文件 @
6ac82791
...
@@ -504,25 +504,25 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
...
@@ -504,25 +504,25 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -610,6 +610,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
...
@@ -610,6 +610,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -636,6 +639,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
...
@@ -636,6 +639,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -662,6 +668,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
...
@@ -662,6 +668,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -688,6 +697,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
...
@@ -688,6 +697,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -714,6 +726,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
...
@@ -714,6 +726,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -740,6 +755,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
...
@@ -740,6 +755,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -766,6 +784,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
...
@@ -766,6 +784,9 @@ export default class SYS_ROLE_PERMISSIONEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
...
app_web/src/pages/uaa/sys-role-permissiongrid-view/sys-role-permissiongrid-view-base.vue
浏览文件 @
6ac82791
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
class=
'view-top-messages'
>
<div
class=
'view-top-messages'
>
</div>
</div>
<div
style=
'margin-bottom: 6px;'
>
<div
style=
'margin-bottom: 6px;'
>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"
请输入
角色权限关系表名称"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"角色权限关系表名称"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
...
@@ -552,34 +552,34 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -552,34 +552,34 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -703,6 +703,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -703,6 +703,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -729,6 +732,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -729,6 +732,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -755,6 +761,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -755,6 +761,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -781,6 +790,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -781,6 +790,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -807,6 +819,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -807,6 +819,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -833,6 +848,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -833,6 +848,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -859,6 +877,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -859,6 +877,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -885,6 +906,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -885,6 +906,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -911,6 +935,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -911,6 +935,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
@@ -937,6 +964,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
...
@@ -937,6 +964,9 @@ export default class SYS_ROLE_PERMISSIONGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE_PERMISSION"
);
}
}
...
...
app_web/src/pages/uaa/sys-roleedit-view/sys-roleedit-view-base.vue
浏览文件 @
6ac82791
...
@@ -496,25 +496,25 @@ export default class SYS_ROLEEditViewBase extends Vue {
...
@@ -496,25 +496,25 @@ export default class SYS_ROLEEditViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -578,6 +578,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
...
@@ -578,6 +578,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -604,6 +607,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
...
@@ -604,6 +607,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -630,6 +636,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
...
@@ -630,6 +636,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -656,6 +665,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
...
@@ -656,6 +665,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -682,6 +694,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
...
@@ -682,6 +694,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -708,6 +723,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
...
@@ -708,6 +723,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -734,6 +752,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
...
@@ -734,6 +752,9 @@ export default class SYS_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
...
app_web/src/pages/uaa/sys-roleedit-view2/sys-roleedit-view2-base.vue
浏览文件 @
6ac82791
...
@@ -504,25 +504,25 @@ export default class SYS_ROLEEditView2Base extends Vue {
...
@@ -504,25 +504,25 @@ export default class SYS_ROLEEditView2Base extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -610,6 +610,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
...
@@ -610,6 +610,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -636,6 +639,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
...
@@ -636,6 +639,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -662,6 +668,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
...
@@ -662,6 +668,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -688,6 +697,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
...
@@ -688,6 +697,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -714,6 +726,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
...
@@ -714,6 +726,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -740,6 +755,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
...
@@ -740,6 +755,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -766,6 +784,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
...
@@ -766,6 +784,9 @@ export default class SYS_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
...
app_web/src/pages/uaa/sys-rolegrid-view/sys-rolegrid-view-base.vue
浏览文件 @
6ac82791
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
class=
'view-top-messages'
>
<div
class=
'view-top-messages'
>
</div>
</div>
<div
style=
'margin-bottom: 6px;'
>
<div
style=
'margin-bottom: 6px;'
>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"
请输入
角色表名称"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"角色表名称"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
...
@@ -555,34 +555,34 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -555,34 +555,34 @@ export default class SYS_ROLEGridViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -706,6 +706,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -706,6 +706,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -732,6 +735,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -732,6 +735,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -758,6 +764,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -758,6 +764,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -784,6 +793,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -784,6 +793,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -810,6 +822,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -810,6 +822,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -836,6 +851,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -836,6 +851,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -862,6 +880,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -862,6 +880,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -888,6 +909,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -888,6 +909,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -914,6 +938,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -914,6 +938,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
@@ -940,6 +967,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
...
@@ -940,6 +967,9 @@ export default class SYS_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_ROLE"
);
}
}
...
...
app_web/src/pages/uaa/sys-user-roleedit-view/sys-user-roleedit-view-base.vue
浏览文件 @
6ac82791
...
@@ -496,25 +496,25 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
...
@@ -496,25 +496,25 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -578,6 +578,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
...
@@ -578,6 +578,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -604,6 +607,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
...
@@ -604,6 +607,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -630,6 +636,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
...
@@ -630,6 +636,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -656,6 +665,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
...
@@ -656,6 +665,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -682,6 +694,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
...
@@ -682,6 +694,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -708,6 +723,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
...
@@ -708,6 +723,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -734,6 +752,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
...
@@ -734,6 +752,9 @@ export default class SYS_USER_ROLEEditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
...
app_web/src/pages/uaa/sys-user-roleedit-view2/sys-user-roleedit-view2-base.vue
浏览文件 @
6ac82791
...
@@ -504,25 +504,25 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
...
@@ -504,25 +504,25 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -610,6 +610,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
...
@@ -610,6 +610,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -636,6 +639,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
...
@@ -636,6 +639,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -662,6 +668,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
...
@@ -662,6 +668,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -688,6 +697,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
...
@@ -688,6 +697,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -714,6 +726,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
...
@@ -714,6 +726,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -740,6 +755,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
...
@@ -740,6 +755,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -766,6 +784,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
...
@@ -766,6 +784,9 @@ export default class SYS_USER_ROLEEditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
...
app_web/src/pages/uaa/sys-user-rolegrid-view/sys-user-rolegrid-view-base.vue
浏览文件 @
6ac82791
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
<div
class=
'view-top-messages'
>
<div
class=
'view-top-messages'
>
</div>
</div>
<div
style=
'margin-bottom: 6px;'
>
<div
style=
'margin-bottom: 6px;'
>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"
请输入
用户角色关系表名称"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"用户角色关系表名称"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
...
@@ -552,34 +552,34 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -552,34 +552,34 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -703,6 +703,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -703,6 +703,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -729,6 +732,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -729,6 +732,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -755,6 +761,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -755,6 +761,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -781,6 +790,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -781,6 +790,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -807,6 +819,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -807,6 +819,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -833,6 +848,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -833,6 +848,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -859,6 +877,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -859,6 +877,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -885,6 +906,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -885,6 +906,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -911,6 +935,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -911,6 +935,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
@@ -937,6 +964,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
...
@@ -937,6 +964,9 @@ export default class SYS_USER_ROLEGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER_ROLE"
);
}
}
...
...
app_web/src/pages/uaa/sys-useredit-view/sys-useredit-view-base.vue
浏览文件 @
6ac82791
...
@@ -496,25 +496,25 @@ export default class SYS_USEREditViewBase extends Vue {
...
@@ -496,25 +496,25 @@ export default class SYS_USEREditViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -578,6 +578,9 @@ export default class SYS_USEREditViewBase extends Vue {
...
@@ -578,6 +578,9 @@ export default class SYS_USEREditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -604,6 +607,9 @@ export default class SYS_USEREditViewBase extends Vue {
...
@@ -604,6 +607,9 @@ export default class SYS_USEREditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -630,6 +636,9 @@ export default class SYS_USEREditViewBase extends Vue {
...
@@ -630,6 +636,9 @@ export default class SYS_USEREditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -656,6 +665,9 @@ export default class SYS_USEREditViewBase extends Vue {
...
@@ -656,6 +665,9 @@ export default class SYS_USEREditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -682,6 +694,9 @@ export default class SYS_USEREditViewBase extends Vue {
...
@@ -682,6 +694,9 @@ export default class SYS_USEREditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -708,6 +723,9 @@ export default class SYS_USEREditViewBase extends Vue {
...
@@ -708,6 +723,9 @@ export default class SYS_USEREditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -734,6 +752,9 @@ export default class SYS_USEREditViewBase extends Vue {
...
@@ -734,6 +752,9 @@ export default class SYS_USEREditViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
...
app_web/src/pages/uaa/sys-useredit-view2/sys-useredit-view2-base.vue
浏览文件 @
6ac82791
...
@@ -504,25 +504,25 @@ export default class SYS_USEREditView2Base extends Vue {
...
@@ -504,25 +504,25 @@ export default class SYS_USEREditView2Base extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem9'
))
{
this
.
toolbar_tbitem9_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem9_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem10'
))
{
this
.
toolbar_tbitem10_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem10_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem12'
))
{
this
.
toolbar_tbitem12_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem12_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem14'
))
{
this
.
toolbar_tbitem14_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem14_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem15'
))
{
this
.
toolbar_tbitem15_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem15_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -610,6 +610,9 @@ export default class SYS_USEREditView2Base extends Vue {
...
@@ -610,6 +610,9 @@ export default class SYS_USEREditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Save
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -636,6 +639,9 @@ export default class SYS_USEREditView2Base extends Vue {
...
@@ -636,6 +639,9 @@ export default class SYS_USEREditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
SaveAndExit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -662,6 +668,9 @@ export default class SYS_USEREditView2Base extends Vue {
...
@@ -662,6 +668,9 @@ export default class SYS_USEREditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
SaveAndStart
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -688,6 +697,9 @@ export default class SYS_USEREditView2Base extends Vue {
...
@@ -688,6 +697,9 @@ export default class SYS_USEREditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
ViewWFStep
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -714,6 +726,9 @@ export default class SYS_USEREditView2Base extends Vue {
...
@@ -714,6 +726,9 @@ export default class SYS_USEREditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -740,6 +755,9 @@ export default class SYS_USEREditView2Base extends Vue {
...
@@ -740,6 +755,9 @@ export default class SYS_USEREditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -766,6 +784,9 @@ export default class SYS_USEREditView2Base extends Vue {
...
@@ -766,6 +784,9 @@ export default class SYS_USEREditView2Base extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
...
app_web/src/pages/uaa/sys-usergrid-view/sys-usergrid-view-base.vue
浏览文件 @
6ac82791
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
<div
class=
'view-top-messages'
>
<div
class=
'view-top-messages'
>
</div>
</div>
<div
style=
'margin-bottom: 6px;'
>
<div
style=
'margin-bottom: 6px;'
>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"
请输入
用户姓名"
/>
<i-input
v-show=
"!isExpandSearchForm"
v-model=
"query"
search
enter-button
@
on-search=
"onSearch($event)"
class=
'quick-search-input'
style=
'max-width: 400px;'
placeholder=
"用户姓名"
/>
<div
class=
'pull-right'
>
<div
class=
'pull-right'
>
<div
class=
'toolbar-container'
>
<div
class=
'toolbar-container'
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
<tooltip
:transfer=
"true"
:max-width=
"600"
>
...
@@ -555,34 +555,34 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -555,34 +555,34 @@ export default class SYS_USERGridViewBase extends Vue {
*/
*/
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
public
toolbar_click
(
$event
:
any
,
$event2
?:
any
)
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem3'
))
{
this
.
toolbar_tbitem3_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem3_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem4'
))
{
this
.
toolbar_tbitem4_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem4_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem5'
))
{
this
.
toolbar_tbitem5_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem5_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem6'
))
{
this
.
toolbar_tbitem6_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem6_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem24'
))
{
this
.
toolbar_tbitem24_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem24_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem25'
))
{
this
.
toolbar_tbitem25_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem25_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem8'
))
{
this
.
toolbar_tbitem8_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem8_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem13'
))
{
this
.
toolbar_tbitem13_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem13_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem11'
))
{
this
.
toolbar_tbitem11_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem11_click
(
null
,
''
,
$event2
);
}
}
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
if
(
Object
.
is
(
$event
.
tag
,
'tbitem19'
))
{
this
.
toolbar_tbitem19_click
(
$event
,
''
,
$event2
);
this
.
toolbar_tbitem19_click
(
null
,
''
,
$event2
);
}
}
}
}
...
@@ -706,6 +706,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -706,6 +706,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
New
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -732,6 +735,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -732,6 +735,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Edit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -758,6 +764,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -758,6 +764,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
View
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -784,6 +793,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -784,6 +793,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Copy
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -810,6 +822,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -810,6 +822,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
ToggleRowEdit
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -836,6 +851,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -836,6 +851,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
NewRow
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -862,6 +880,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -862,6 +880,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Remove
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -888,6 +909,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -888,6 +909,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
ExportExcel
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -914,6 +938,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -914,6 +938,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
Print
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
@@ -940,6 +967,9 @@ export default class SYS_USERGridViewBase extends Vue {
...
@@ -940,6 +967,9 @@ export default class SYS_USERGridViewBase extends Vue {
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
if
(
xData
.
getDatas
&&
xData
.
getDatas
instanceof
Function
)
{
datas
=
[...
xData
.
getDatas
()];
datas
=
[...
xData
.
getDatas
()];
}
}
if
(
params
){
datas
=
[
params
];
}
// 界面行为
// 界面行为
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
this
.
ToggleFilter
(
datas
,
contextJO
,
paramJO
,
$event
,
xData
,
this
,
"SYS_USER"
);
}
}
...
...
app_web/src/widgets/sys-authlog/main-grid/main-grid-base.vue
浏览文件 @
6ac82791
...
@@ -1279,7 +1279,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1279,7 +1279,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof Main
* @memberof Main
*/
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
this
.
rowClick
(
row
,
true
);
//
this.rowClick(row, true);
}
}
/**
/**
...
...
app_web/src/widgets/sys-permission/main-grid/main-grid-base.vue
浏览文件 @
6ac82791
...
@@ -1209,7 +1209,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1209,7 +1209,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof Main
* @memberof Main
*/
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
this
.
rowClick
(
row
,
true
);
//
this.rowClick(row, true);
}
}
/**
/**
...
...
app_web/src/widgets/sys-role-permission/main-grid/main-grid-base.vue
浏览文件 @
6ac82791
...
@@ -1199,7 +1199,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1199,7 +1199,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof Main
* @memberof Main
*/
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
this
.
rowClick
(
row
,
true
);
//
this.rowClick(row, true);
}
}
/**
/**
...
...
app_web/src/widgets/sys-role/main-grid/main-grid-base.vue
浏览文件 @
6ac82791
...
@@ -1213,7 +1213,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1213,7 +1213,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof Main
* @memberof Main
*/
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
this
.
rowClick
(
row
,
true
);
//
this.rowClick(row, true);
}
}
/**
/**
...
...
app_web/src/widgets/sys-user-role/main-grid/main-grid-base.vue
浏览文件 @
6ac82791
...
@@ -1213,7 +1213,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1213,7 +1213,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof Main
* @memberof Main
*/
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
this
.
rowClick
(
row
,
true
);
//
this.rowClick(row, true);
}
}
/**
/**
...
...
app_web/src/widgets/sys-user/main-grid/main-grid-base.vue
浏览文件 @
6ac82791
...
@@ -1199,7 +1199,7 @@ export default class MainBase extends Vue implements ControlInterface {
...
@@ -1199,7 +1199,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof Main
* @memberof Main
*/
*/
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
public
uiAction
(
row
:
any
,
tag
:
any
,
$event
:
any
)
{
this
.
rowClick
(
row
,
true
);
//
this.rowClick(row, true);
}
}
/**
/**
...
...
config.xml
浏览文件 @
6ac82791
...
@@ -37,11 +37,11 @@
...
@@ -37,11 +37,11 @@
git clone -b master $para2 ibzuaa/
git clone -b master $para2 ibzuaa/
export NODE_OPTIONS=--max-old-space-size=4096
export NODE_OPTIONS=--max-old-space-size=4096
cd ibzuaa/
cd ibzuaa/
mvn clean package -P
api
mvn clean package -P
web
cd ibzuaa-
provider/ibzuaa-provider-api
cd ibzuaa-
app/ibzuaa-app-web
mvn -P
api
docker:build
mvn -P
web
docker:build
mvn -P
api
docker:push
mvn -P
web
docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzuaa-
provider-api.yaml ibzlab-rt --with-registry-auth
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzuaa-
app-web.yaml ibzlab-rt --with-registry-auth
</command>
</command>
</hudson.tasks.Shell>
</hudson.tasks.Shell>
</builders>
</builders>
...
...
ibzuaa-app/ibzuaa-app-web/src/main/docker/Dockerfile
浏览文件 @
6ac82791
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-app-web.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-app-web.jar
EXPOSE
8080
EXPOSE
30002
ADD
ibzuaa-app-web.jar /ibzuaa-app-web.jar
ADD
ibzuaa-app-web.jar /ibzuaa-app-web.jar
ibzuaa-app/ibzuaa-app-web/src/main/docker/ibzuaa-app-web.yaml
浏览文件 @
6ac82791
...
@@ -3,9 +3,23 @@ services:
...
@@ -3,9 +3,23 @@ services:
ibzuaa-app-web
:
ibzuaa-app-web
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-app-web:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-app-web:latest
ports
:
ports
:
-
"
8080:8080
"
-
"
30002:30002
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=30002
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.102.211:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_A_5d9d78509
-
SPRING_DATASOURCE_PASSWORD=@6dEfb3@
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
-
ABC=1
-
DEC=2
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ibzuaa-core/pom.xml
浏览文件 @
6ac82791
...
@@ -150,7 +150,7 @@
...
@@ -150,7 +150,7 @@
<verbose>
true
</verbose>
<verbose>
true
</verbose>
<logging>
debug
</logging>
<logging>
debug
</logging>
<contexts>
!test
</contexts>
<contexts>
!test
</contexts>
<diffExcludeObjects>
Index:.*,table:ibzfile,ibzuser,ibzdataaudit
</diffExcludeObjects>
<diffExcludeObjects>
Index:.*,table:ibzfile,ibzuser,ibzdataaudit
,IBZFILE,IBZUSER,IBZDATAAUDIT
</diffExcludeObjects>
</configuration>
</configuration>
<phase>
process-resources
</phase>
<phase>
process-resources
</phase>
<goals>
<goals>
...
...
ibzuaa-core/src/main/resources/liquibase/h2_table.xml
浏览文件 @
6ac82791
...
@@ -87,22 +87,8 @@
...
@@ -87,22 +87,8 @@
</column>
</column>
</createTable>
</createTable>
</changeSet>
</changeSet>
<!--输出实体[SYS_USER]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_user-42-4"
>
<createTable
tableName=
"IBZUSER"
>
<column
name=
"USERID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_USER_USERID"
/>
</column>
<column
name=
"USERNAME"
remarks=
""
type=
"VARCHAR(200)"
>
</column>
<column
name=
"PERSONNAME"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
<column
name=
"PASSWORD"
remarks=
""
type=
"VARCHAR(100)"
>
</column>
</createTable>
</changeSet>
<!--输出实体[SYS_PSSYSUNIRES]数据结构 -->
<!--输出实体[SYS_PSSYSUNIRES]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_pssysunires-91-
5
"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_pssysunires-91-
4
"
>
<createTable
tableName=
"IBZPSSYSUNIRES"
>
<createTable
tableName=
"IBZPSSYSUNIRES"
>
<column
name=
"SYS_PSSYSUNIRESID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"SYS_PSSYSUNIRESID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PSSYSUNIRES_SYS_PSSYSUN"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PSSYSUNIRES_SYS_PSSYSUN"
/>
...
@@ -118,7 +104,7 @@
...
@@ -118,7 +104,7 @@
</createTable>
</createTable>
</changeSet>
</changeSet>
<!--输出实体[SYS_USER_ROLE]数据结构 -->
<!--输出实体[SYS_USER_ROLE]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_user_role-47-
6
"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_user_role-47-
5
"
>
<createTable
tableName=
"IBZUSER_ROLE"
>
<createTable
tableName=
"IBZUSER_ROLE"
>
<column
name=
"SYS_USER_ROLEID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"SYS_USER_ROLEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_USER_ROLE_SYS_USER_ROLE"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_USER_ROLE_SYS_USER_ROLE"
/>
...
@@ -140,7 +126,7 @@
...
@@ -140,7 +126,7 @@
</createTable>
</createTable>
</changeSet>
</changeSet>
<!--输出实体[SYS_PERMISSION]数据结构 -->
<!--输出实体[SYS_PERMISSION]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_permission-191-
7
"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_permission-191-
6
"
>
<createTable
tableName=
"IBZPERMISSION"
>
<createTable
tableName=
"IBZPERMISSION"
>
<column
name=
"SYS_PERMISSIONID"
remarks=
""
type=
"VARCHAR(200)"
>
<column
name=
"SYS_PERMISSIONID"
remarks=
""
type=
"VARCHAR(200)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PERMISSION_SYS_PERMISSI"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PERMISSION_SYS_PERMISSI"
/>
...
@@ -160,7 +146,7 @@
...
@@ -160,7 +146,7 @@
</createTable>
</createTable>
</changeSet>
</changeSet>
<!--输出实体[SYS_ROLE]数据结构 -->
<!--输出实体[SYS_ROLE]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role-81-
8
"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_role-81-
7
"
>
<createTable
tableName=
"IBZROLE"
>
<createTable
tableName=
"IBZROLE"
>
<column
name=
"SYS_ROLEID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"SYS_ROLEID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_ROLE_SYS_ROLEID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_ROLE_SYS_ROLEID"
/>
...
@@ -176,7 +162,7 @@
...
@@ -176,7 +162,7 @@
</createTable>
</createTable>
</changeSet>
</changeSet>
<!--输出实体[SYS_PSSYSTEM]数据结构 -->
<!--输出实体[SYS_PSSYSTEM]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_pssystem-9-
9
"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_pssystem-9-
8
"
>
<createTable
tableName=
"IBZPSSYSTEM"
>
<createTable
tableName=
"IBZPSSYSTEM"
>
<column
name=
"PSSYSTEMID"
remarks=
""
type=
"VARCHAR(100)"
>
<column
name=
"PSSYSTEMID"
remarks=
""
type=
"VARCHAR(100)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PSSYSTEM_PSSYSTEMID"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PSSYSTEM_PSSYSTEMID"
/>
...
@@ -186,7 +172,7 @@
...
@@ -186,7 +172,7 @@
</createTable>
</createTable>
</changeSet>
</changeSet>
<!--输出实体[SYS_PSAPPMENUITEM]数据结构 -->
<!--输出实体[SYS_PSAPPMENUITEM]数据结构 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_psappmenuitem-98-
10
"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"tab-sys_psappmenuitem-98-
9
"
>
<createTable
tableName=
"IBZPSAPPMENUITEM"
>
<createTable
tableName=
"IBZPSAPPMENUITEM"
>
<column
name=
"SYS_PSAPPMENUITEMID"
remarks=
""
type=
"VARCHAR(200)"
>
<column
name=
"SYS_PSAPPMENUITEMID"
remarks=
""
type=
"VARCHAR(200)"
>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PSAPPMENUITEM_SYS_PSAPP"
/>
<constraints
primaryKey=
"true"
primaryKeyName=
"PK_SYS_PSAPPMENUITEM_SYS_PSAPP"
/>
...
@@ -217,17 +203,13 @@
...
@@ -217,17 +203,13 @@
<!--输出实体[SYS_AUTHLOG]外键关系 -->
<!--输出实体[SYS_AUTHLOG]外键关系 -->
<!--输出实体[SYS_PSDEOPPRIV]外键关系 -->
<!--输出实体[SYS_PSDEOPPRIV]外键关系 -->
<!--输出实体[SYS_ROLE_PERMISSION]外键关系 -->
<!--输出实体[SYS_ROLE_PERMISSION]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_role_permission-68-1
1
"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_role_permission-68-1
0
"
>
<addForeignKeyConstraint
baseColumnNames=
"SYS_PERMISSIONID"
baseTableName=
"IBZROLE_PERMISSION"
constraintName=
"DER1N_SYS_ROLE_PERMISSION_SYS_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SYS_PERMISSIONID"
referencedTableName=
"IBZPERMISSION"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"SYS_PERMISSIONID"
baseTableName=
"IBZROLE_PERMISSION"
constraintName=
"DER1N_SYS_ROLE_PERMISSION_SYS_"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SYS_PERMISSIONID"
referencedTableName=
"IBZPERMISSION"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[SYS_USER]外键关系 -->
<!--输出实体[SYS_PSSYSUNIRES]外键关系 -->
<!--输出实体[SYS_PSSYSUNIRES]外键关系 -->
<!--输出实体[SYS_USER_ROLE]外键关系 -->
<!--输出实体[SYS_USER_ROLE]外键关系 -->
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_user_role-47-1
3
"
>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_user_role-47-1
2
"
>
<addForeignKeyConstraint
baseColumnNames=
"SYS_ROLEID"
baseTableName=
"IBZUSER_ROLE"
constraintName=
"DER1N_SYS_USER_ROLE_SYS_ROLE_S"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SYS_ROLEID"
referencedTableName=
"IBZROLE"
validate=
"true"
/>
<addForeignKeyConstraint
baseColumnNames=
"SYS_ROLEID"
baseTableName=
"IBZUSER_ROLE"
constraintName=
"DER1N_SYS_USER_ROLE_SYS_ROLE_S"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"SYS_ROLEID"
referencedTableName=
"IBZROLE"
validate=
"true"
/>
</changeSet>
<changeSet
author=
"a_A_5d9d78509"
id=
"fk-sys_user_role-47-14"
>
<addForeignKeyConstraint
baseColumnNames=
"SYS_USERID"
baseTableName=
"IBZUSER_ROLE"
constraintName=
"DER1N_SYS_USER_ROLE_SYS_USER_S"
deferrable=
"false"
initiallyDeferred=
"false"
onDelete=
"RESTRICT"
onUpdate=
"RESTRICT"
referencedColumnNames=
"USERID"
referencedTableName=
"IBZUSER"
validate=
"true"
/>
</changeSet>
</changeSet>
<!--输出实体[SYS_PERMISSION]外键关系 -->
<!--输出实体[SYS_PERMISSION]外键关系 -->
<!--输出实体[SYS_ROLE]外键关系 -->
<!--输出实体[SYS_ROLE]外键关系 -->
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/docker/Dockerfile
浏览文件 @
6ac82791
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
...
@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \
sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-provider-api.jar
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-provider-api.jar
EXPOSE
40002
EXPOSE
8081
ADD
ibzuaa-provider-api.jar /ibzuaa-provider-api.jar
ADD
ibzuaa-provider-api.jar /ibzuaa-provider-api.jar
ibzuaa-provider/ibzuaa-provider-api/src/main/docker/ibzuaa-provider-api.yaml
浏览文件 @
6ac82791
...
@@ -3,21 +3,9 @@ services:
...
@@ -3,21 +3,9 @@ services:
ibzuaa-provider-api
:
ibzuaa-provider-api
:
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-provider-api:latest
image
:
registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-provider-api:latest
ports
:
ports
:
-
"
40002:40002
"
-
"
8081:8081
"
networks
:
networks
:
-
agent_network
-
agent_network
environment
:
-
SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
-
SERVER_PORT=40002
-
SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.102.211:8848
-
SPRING_REDIS_HOST=172.16.100.243
-
SPRING_REDIS_PORT=6379
-
SPRING_REDIS_DATABASE=0
-
SPRING_DATASOURCE_USERNAME=a_A_5d9d78509
-
SPRING_DATASOURCE_PASSWORD=@6dEfb3@
-
SPRING_DATASOURCE_URL=jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
-
SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
deploy
:
deploy
:
mode
:
replicated
mode
:
replicated
replicas
:
1
replicas
:
1
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SYS_AUTHLOGResource.java
浏览文件 @
6ac82791
...
@@ -54,20 +54,14 @@ public class SYS_AUTHLOGResource {
...
@@ -54,20 +54,14 @@ public class SYS_AUTHLOGResource {
public
SYS_AUTHLOGDTO
permissionDTO
=
new
SYS_AUTHLOGDTO
();
public
SYS_AUTHLOGDTO
permissionDTO
=
new
SYS_AUTHLOGDTO
();
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-GetDraft-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-GetDraft-all')")
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"GetDraft"
)
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"GetDraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_authlogs/getdraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_authlogs/getdraft"
)
public
ResponseEntity
<
SYS_AUTHLOGDTO
>
getDraft
()
{
public
ResponseEntity
<
SYS_AUTHLOGDTO
>
getDraft
()
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_authlogMapping
.
toDto
(
sys_authlogService
.
getDraft
(
new
SYS_AUTHLOG
())));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_authlogMapping
.
toDto
(
sys_authlogService
.
getDraft
(
new
SYS_AUTHLOG
())));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Update-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Update-all')")
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Update"
)
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Update"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_authlogs/{sys_authlog_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_authlogs/{sys_authlog_id}"
)
@Transactional
@Transactional
...
@@ -79,6 +73,7 @@ public class SYS_AUTHLOGResource {
...
@@ -79,6 +73,7 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_authlogs/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_authlogs/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_AUTHLOGDTO
>
sys_authlogdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_AUTHLOGDTO
>
sys_authlogdtos
)
{
...
@@ -86,10 +81,7 @@ public class SYS_AUTHLOGResource {
...
@@ -86,10 +81,7 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Remove-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Remove-all')")
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Remove"
)
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Remove"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_authlogs/{sys_authlog_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_authlogs/{sys_authlog_id}"
)
@Transactional
@Transactional
...
@@ -97,6 +89,7 @@ public class SYS_AUTHLOGResource {
...
@@ -97,6 +89,7 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_authlogService
.
remove
(
sys_authlog_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_authlogService
.
remove
(
sys_authlog_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.humanMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_authlogs/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_authlogs/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -104,10 +97,7 @@ public class SYS_AUTHLOGResource {
...
@@ -104,10 +97,7 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Create-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Create-all')")
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Create"
)
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Create"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs"
)
@Transactional
@Transactional
...
@@ -118,6 +108,7 @@ public class SYS_AUTHLOGResource {
...
@@ -118,6 +108,7 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_AUTHLOGDTO
>
sys_authlogdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_AUTHLOGDTO
>
sys_authlogdtos
)
{
...
@@ -125,20 +116,14 @@ public class SYS_AUTHLOGResource {
...
@@ -125,20 +116,14 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-CheckKey-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-CheckKey-all')")
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"CheckKey"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/checkkey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_AUTHLOGDTO
sys_authlogdto
)
{
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_AUTHLOGDTO
sys_authlogdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_authlogService
.
checkKey
(
sys_authlogMapping
.
toDomain
(
sys_authlogdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_authlogService
.
checkKey
(
sys_authlogMapping
.
toDomain
(
sys_authlogdto
)));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Get-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Get-all')")
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Get"
)
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Get"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_authlogs/{sys_authlog_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_authlogs/{sys_authlog_id}"
)
public
ResponseEntity
<
SYS_AUTHLOGDTO
>
get
(
@PathVariable
(
"sys_authlog_id"
)
String
sys_authlog_id
)
{
public
ResponseEntity
<
SYS_AUTHLOGDTO
>
get
(
@PathVariable
(
"sys_authlog_id"
)
String
sys_authlog_id
)
{
...
@@ -147,16 +132,14 @@ public class SYS_AUTHLOGResource {
...
@@ -147,16 +132,14 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Save-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Save-all')")
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Save"
)
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"Save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/save"
)
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_AUTHLOGDTO
sys_authlogdto
)
{
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_AUTHLOGDTO
sys_authlogdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_authlogService
.
save
(
sys_authlogMapping
.
toDomain
(
sys_authlogdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_authlogService
.
save
(
sys_authlogMapping
.
toDomain
(
sys_authlogdto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_AUTHLOG"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_AUTHLOGDTO
>
sys_authlogdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_AUTHLOGDTO
>
sys_authlogdtos
)
{
...
@@ -164,7 +147,7 @@ public class SYS_AUTHLOGResource {
...
@@ -164,7 +147,7 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Default-all')"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_AUTHLOG"
}
,
notes
=
"fetchDEFAULT"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_AUTHLOG"
}
,
notes
=
"fetchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_authlogs/fetchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_authlogs/fetchdefault"
)
public
ResponseEntity
<
List
<
SYS_AUTHLOGDTO
>>
fetchDefault
(
SYS_AUTHLOGSearchContext
context
)
{
public
ResponseEntity
<
List
<
SYS_AUTHLOGDTO
>>
fetchDefault
(
SYS_AUTHLOGSearchContext
context
)
{
...
@@ -177,7 +160,7 @@ public class SYS_AUTHLOGResource {
...
@@ -177,7 +160,7 @@ public class SYS_AUTHLOGResource {
.
body
(
list
);
.
body
(
list
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_AUTHLOG-Default-all')"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_AUTHLOG"
}
,
notes
=
"searchDEFAULT"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_AUTHLOG"
}
,
notes
=
"searchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/searchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_authlogs/searchdefault"
)
public
ResponseEntity
<
Page
<
SYS_AUTHLOGDTO
>>
searchDefault
(
@RequestBody
SYS_AUTHLOGSearchContext
context
)
{
public
ResponseEntity
<
Page
<
SYS_AUTHLOGDTO
>>
searchDefault
(
@RequestBody
SYS_AUTHLOGSearchContext
context
)
{
...
@@ -185,8 +168,4 @@ public class SYS_AUTHLOGResource {
...
@@ -185,8 +168,4 @@ public class SYS_AUTHLOGResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
.
body
(
new
PageImpl
(
sys_authlogMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
.
body
(
new
PageImpl
(
sys_authlogMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
}
}
}
}
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SYS_PERMISSIONResource.java
浏览文件 @
6ac82791
...
@@ -54,16 +54,14 @@ public class SYS_PERMISSIONResource {
...
@@ -54,16 +54,14 @@ public class SYS_PERMISSIONResource {
public
SYS_PERMISSIONDTO
permissionDTO
=
new
SYS_PERMISSIONDTO
();
public
SYS_PERMISSIONDTO
permissionDTO
=
new
SYS_PERMISSIONDTO
();
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Save-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Save-all')")
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Save"
)
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/save"
)
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_PERMISSIONDTO
sys_permissiondto
)
{
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_PERMISSIONDTO
sys_permissiondto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_permissionService
.
save
(
sys_permissionMapping
.
toDomain
(
sys_permissiondto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_permissionService
.
save
(
sys_permissionMapping
.
toDomain
(
sys_permissiondto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_PERMISSIONDTO
>
sys_permissiondtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_PERMISSIONDTO
>
sys_permissiondtos
)
{
...
@@ -71,20 +69,14 @@ public class SYS_PERMISSIONResource {
...
@@ -71,20 +69,14 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-GetDraft-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-GetDraft-all')")
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"GetDraft"
)
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"GetDraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_permissions/getdraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_permissions/getdraft"
)
public
ResponseEntity
<
SYS_PERMISSIONDTO
>
getDraft
()
{
public
ResponseEntity
<
SYS_PERMISSIONDTO
>
getDraft
()
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_permissionMapping
.
toDto
(
sys_permissionService
.
getDraft
(
new
SYS_PERMISSION
())));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_permissionMapping
.
toDto
(
sys_permissionService
.
getDraft
(
new
SYS_PERMISSION
())));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Remove-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Remove-all')")
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Remove"
)
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Remove"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_permissions/{sys_permission_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_permissions/{sys_permission_id}"
)
@Transactional
@Transactional
...
@@ -92,6 +84,7 @@ public class SYS_PERMISSIONResource {
...
@@ -92,6 +84,7 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_permissionService
.
remove
(
sys_permission_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_permissionService
.
remove
(
sys_permission_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.humanMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_permissions/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_permissions/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -99,10 +92,7 @@ public class SYS_PERMISSIONResource {
...
@@ -99,10 +92,7 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Update-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Update-all')")
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Update"
)
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Update"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_permissions/{sys_permission_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_permissions/{sys_permission_id}"
)
@Transactional
@Transactional
...
@@ -114,6 +104,7 @@ public class SYS_PERMISSIONResource {
...
@@ -114,6 +104,7 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_permissions/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_permissions/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_PERMISSIONDTO
>
sys_permissiondtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_PERMISSIONDTO
>
sys_permissiondtos
)
{
...
@@ -121,10 +112,7 @@ public class SYS_PERMISSIONResource {
...
@@ -121,10 +112,7 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Create-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Create-all')")
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Create"
)
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Create"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions"
)
@Transactional
@Transactional
...
@@ -135,6 +123,7 @@ public class SYS_PERMISSIONResource {
...
@@ -135,6 +123,7 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_PERMISSIONDTO
>
sys_permissiondtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_PERMISSIONDTO
>
sys_permissiondtos
)
{
...
@@ -142,20 +131,14 @@ public class SYS_PERMISSIONResource {
...
@@ -142,20 +131,14 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-CheckKey-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-CheckKey-all')")
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"CheckKey"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/checkkey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_PERMISSIONDTO
sys_permissiondto
)
{
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_PERMISSIONDTO
sys_permissiondto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_permissionService
.
checkKey
(
sys_permissionMapping
.
toDomain
(
sys_permissiondto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_permissionService
.
checkKey
(
sys_permissionMapping
.
toDomain
(
sys_permissiondto
)));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Get-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Get-all')")
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Get"
)
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_PERMISSION"
},
notes
=
"Get"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_permissions/{sys_permission_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_permissions/{sys_permission_id}"
)
public
ResponseEntity
<
SYS_PERMISSIONDTO
>
get
(
@PathVariable
(
"sys_permission_id"
)
String
sys_permission_id
)
{
public
ResponseEntity
<
SYS_PERMISSIONDTO
>
get
(
@PathVariable
(
"sys_permission_id"
)
String
sys_permission_id
)
{
...
@@ -164,7 +147,7 @@ public class SYS_PERMISSIONResource {
...
@@ -164,7 +147,7 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Default-all')"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_PERMISSION"
}
,
notes
=
"fetchDEFAULT"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_PERMISSION"
}
,
notes
=
"fetchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_permissions/fetchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_permissions/fetchdefault"
)
public
ResponseEntity
<
List
<
SYS_PERMISSIONDTO
>>
fetchDefault
(
SYS_PERMISSIONSearchContext
context
)
{
public
ResponseEntity
<
List
<
SYS_PERMISSIONDTO
>>
fetchDefault
(
SYS_PERMISSIONSearchContext
context
)
{
...
@@ -177,7 +160,7 @@ public class SYS_PERMISSIONResource {
...
@@ -177,7 +160,7 @@ public class SYS_PERMISSIONResource {
.
body
(
list
);
.
body
(
list
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PERMISSION-Default-all')"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_PERMISSION"
}
,
notes
=
"searchDEFAULT"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_PERMISSION"
}
,
notes
=
"searchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/searchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_permissions/searchdefault"
)
public
ResponseEntity
<
Page
<
SYS_PERMISSIONDTO
>>
searchDefault
(
@RequestBody
SYS_PERMISSIONSearchContext
context
)
{
public
ResponseEntity
<
Page
<
SYS_PERMISSIONDTO
>>
searchDefault
(
@RequestBody
SYS_PERMISSIONSearchContext
context
)
{
...
@@ -185,8 +168,4 @@ public class SYS_PERMISSIONResource {
...
@@ -185,8 +168,4 @@ public class SYS_PERMISSIONResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
.
body
(
new
PageImpl
(
sys_permissionMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
.
body
(
new
PageImpl
(
sys_permissionMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
}
}
}
}
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SYS_PSAPPMENUITEMResource.java
浏览文件 @
6ac82791
...
@@ -54,16 +54,14 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -54,16 +54,14 @@ public class SYS_PSAPPMENUITEMResource {
public
SYS_PSAPPMENUITEMDTO
permissionDTO
=
new
SYS_PSAPPMENUITEMDTO
();
public
SYS_PSAPPMENUITEMDTO
permissionDTO
=
new
SYS_PSAPPMENUITEMDTO
();
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Save-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Save-all')")
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Save"
)
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/save"
)
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_PSAPPMENUITEMDTO
sys_psappmenuitemdto
)
{
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_PSAPPMENUITEMDTO
sys_psappmenuitemdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psappmenuitemService
.
save
(
sys_psappmenuitemMapping
.
toDomain
(
sys_psappmenuitemdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psappmenuitemService
.
save
(
sys_psappmenuitemMapping
.
toDomain
(
sys_psappmenuitemdto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_PSAPPMENUITEMDTO
>
sys_psappmenuitemdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_PSAPPMENUITEMDTO
>
sys_psappmenuitemdtos
)
{
...
@@ -71,10 +69,7 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -71,10 +69,7 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Create-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Create-all')")
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Create"
)
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Create"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems"
)
@Transactional
@Transactional
...
@@ -85,6 +80,7 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -85,6 +80,7 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_PSAPPMENUITEMDTO
>
sys_psappmenuitemdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_PSAPPMENUITEMDTO
>
sys_psappmenuitemdtos
)
{
...
@@ -92,10 +88,7 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -92,10 +88,7 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Update-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Update-all')")
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Update"
)
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Update"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_psappmenuitems/{sys_psappmenuitem_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_psappmenuitems/{sys_psappmenuitem_id}"
)
@Transactional
@Transactional
...
@@ -107,6 +100,7 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -107,6 +100,7 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_psappmenuitems/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_psappmenuitems/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_PSAPPMENUITEMDTO
>
sys_psappmenuitemdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_PSAPPMENUITEMDTO
>
sys_psappmenuitemdtos
)
{
...
@@ -114,30 +108,21 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -114,30 +108,21 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-GetDraft-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-GetDraft-all')")
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"GetDraft"
)
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"GetDraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psappmenuitems/getdraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psappmenuitems/getdraft"
)
public
ResponseEntity
<
SYS_PSAPPMENUITEMDTO
>
getDraft
()
{
public
ResponseEntity
<
SYS_PSAPPMENUITEMDTO
>
getDraft
()
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psappmenuitemMapping
.
toDto
(
sys_psappmenuitemService
.
getDraft
(
new
SYS_PSAPPMENUITEM
())));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psappmenuitemMapping
.
toDto
(
sys_psappmenuitemService
.
getDraft
(
new
SYS_PSAPPMENUITEM
())));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-CheckKey-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-CheckKey-all')")
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"CheckKey"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/checkkey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_PSAPPMENUITEMDTO
sys_psappmenuitemdto
)
{
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_PSAPPMENUITEMDTO
sys_psappmenuitemdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psappmenuitemService
.
checkKey
(
sys_psappmenuitemMapping
.
toDomain
(
sys_psappmenuitemdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psappmenuitemService
.
checkKey
(
sys_psappmenuitemMapping
.
toDomain
(
sys_psappmenuitemdto
)));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Remove-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Remove-all')")
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Remove"
)
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Remove"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_psappmenuitems/{sys_psappmenuitem_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_psappmenuitems/{sys_psappmenuitem_id}"
)
@Transactional
@Transactional
...
@@ -145,6 +130,7 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -145,6 +130,7 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psappmenuitemService
.
remove
(
sys_psappmenuitem_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psappmenuitemService
.
remove
(
sys_psappmenuitem_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.humanMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_psappmenuitems/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_psappmenuitems/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -152,10 +138,7 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -152,10 +138,7 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Get-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Get-all')")
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Get"
)
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_PSAPPMENUITEM"
},
notes
=
"Get"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psappmenuitems/{sys_psappmenuitem_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psappmenuitems/{sys_psappmenuitem_id}"
)
public
ResponseEntity
<
SYS_PSAPPMENUITEMDTO
>
get
(
@PathVariable
(
"sys_psappmenuitem_id"
)
String
sys_psappmenuitem_id
)
{
public
ResponseEntity
<
SYS_PSAPPMENUITEMDTO
>
get
(
@PathVariable
(
"sys_psappmenuitem_id"
)
String
sys_psappmenuitem_id
)
{
...
@@ -164,7 +147,7 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -164,7 +147,7 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Default-all')"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_PSAPPMENUITEM"
}
,
notes
=
"fetchDEFAULT"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_PSAPPMENUITEM"
}
,
notes
=
"fetchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psappmenuitems/fetchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psappmenuitems/fetchdefault"
)
public
ResponseEntity
<
List
<
SYS_PSAPPMENUITEMDTO
>>
fetchDefault
(
SYS_PSAPPMENUITEMSearchContext
context
)
{
public
ResponseEntity
<
List
<
SYS_PSAPPMENUITEMDTO
>>
fetchDefault
(
SYS_PSAPPMENUITEMSearchContext
context
)
{
...
@@ -177,7 +160,7 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -177,7 +160,7 @@ public class SYS_PSAPPMENUITEMResource {
.
body
(
list
);
.
body
(
list
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSAPPMENUITEM-Default-all')"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_PSAPPMENUITEM"
}
,
notes
=
"searchDEFAULT"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_PSAPPMENUITEM"
}
,
notes
=
"searchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/searchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psappmenuitems/searchdefault"
)
public
ResponseEntity
<
Page
<
SYS_PSAPPMENUITEMDTO
>>
searchDefault
(
@RequestBody
SYS_PSAPPMENUITEMSearchContext
context
)
{
public
ResponseEntity
<
Page
<
SYS_PSAPPMENUITEMDTO
>>
searchDefault
(
@RequestBody
SYS_PSAPPMENUITEMSearchContext
context
)
{
...
@@ -185,8 +168,4 @@ public class SYS_PSAPPMENUITEMResource {
...
@@ -185,8 +168,4 @@ public class SYS_PSAPPMENUITEMResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
.
body
(
new
PageImpl
(
sys_psappmenuitemMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
.
body
(
new
PageImpl
(
sys_psappmenuitemMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
}
}
}
}
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SYS_PSDEOPPRIVResource.java
浏览文件 @
6ac82791
...
@@ -54,10 +54,7 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -54,10 +54,7 @@ public class SYS_PSDEOPPRIVResource {
public
SYS_PSDEOPPRIVDTO
permissionDTO
=
new
SYS_PSDEOPPRIVDTO
();
public
SYS_PSDEOPPRIVDTO
permissionDTO
=
new
SYS_PSDEOPPRIVDTO
();
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Remove-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Remove-all')")
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Remove"
)
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Remove"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_psdeopprivs/{sys_psdeoppriv_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_psdeopprivs/{sys_psdeoppriv_id}"
)
@Transactional
@Transactional
...
@@ -65,6 +62,7 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -65,6 +62,7 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psdeopprivService
.
remove
(
sys_psdeoppriv_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psdeopprivService
.
remove
(
sys_psdeoppriv_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.humanMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_psdeopprivs/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_psdeopprivs/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -72,30 +70,21 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -72,30 +70,21 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-CheckKey-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-CheckKey-all')")
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"CheckKey"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/checkkey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_PSDEOPPRIVDTO
sys_psdeopprivdto
)
{
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_PSDEOPPRIVDTO
sys_psdeopprivdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psdeopprivService
.
checkKey
(
sys_psdeopprivMapping
.
toDomain
(
sys_psdeopprivdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psdeopprivService
.
checkKey
(
sys_psdeopprivMapping
.
toDomain
(
sys_psdeopprivdto
)));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-GetDraft-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-GetDraft-all')")
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"GetDraft"
)
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"GetDraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psdeopprivs/getdraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psdeopprivs/getdraft"
)
public
ResponseEntity
<
SYS_PSDEOPPRIVDTO
>
getDraft
()
{
public
ResponseEntity
<
SYS_PSDEOPPRIVDTO
>
getDraft
()
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psdeopprivMapping
.
toDto
(
sys_psdeopprivService
.
getDraft
(
new
SYS_PSDEOPPRIV
())));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psdeopprivMapping
.
toDto
(
sys_psdeopprivService
.
getDraft
(
new
SYS_PSDEOPPRIV
())));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Create-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Create-all')")
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Create"
)
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Create"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs"
)
@Transactional
@Transactional
...
@@ -106,6 +95,7 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -106,6 +95,7 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_PSDEOPPRIVDTO
>
sys_psdeopprivdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_PSDEOPPRIVDTO
>
sys_psdeopprivdtos
)
{
...
@@ -113,10 +103,7 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -113,10 +103,7 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Get-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Get-all')")
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Get"
)
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Get"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psdeopprivs/{sys_psdeoppriv_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psdeopprivs/{sys_psdeoppriv_id}"
)
public
ResponseEntity
<
SYS_PSDEOPPRIVDTO
>
get
(
@PathVariable
(
"sys_psdeoppriv_id"
)
String
sys_psdeoppriv_id
)
{
public
ResponseEntity
<
SYS_PSDEOPPRIVDTO
>
get
(
@PathVariable
(
"sys_psdeoppriv_id"
)
String
sys_psdeoppriv_id
)
{
...
@@ -125,10 +112,7 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -125,10 +112,7 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Update-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Update-all')")
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Update"
)
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Update"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_psdeopprivs/{sys_psdeoppriv_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_psdeopprivs/{sys_psdeoppriv_id}"
)
@Transactional
@Transactional
...
@@ -140,6 +124,7 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -140,6 +124,7 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_psdeopprivs/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_psdeopprivs/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_PSDEOPPRIVDTO
>
sys_psdeopprivdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_PSDEOPPRIVDTO
>
sys_psdeopprivdtos
)
{
...
@@ -147,16 +132,14 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -147,16 +132,14 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Save-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Save-all')")
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Save"
)
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"Save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/save"
)
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_PSDEOPPRIVDTO
sys_psdeopprivdto
)
{
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_PSDEOPPRIVDTO
sys_psdeopprivdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psdeopprivService
.
save
(
sys_psdeopprivMapping
.
toDomain
(
sys_psdeopprivdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_psdeopprivService
.
save
(
sys_psdeopprivMapping
.
toDomain
(
sys_psdeopprivdto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_PSDEOPPRIV"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_PSDEOPPRIVDTO
>
sys_psdeopprivdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_PSDEOPPRIVDTO
>
sys_psdeopprivdtos
)
{
...
@@ -164,7 +147,7 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -164,7 +147,7 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Default-all')"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_PSDEOPPRIV"
}
,
notes
=
"fetchDEFAULT"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_PSDEOPPRIV"
}
,
notes
=
"fetchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psdeopprivs/fetchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_psdeopprivs/fetchdefault"
)
public
ResponseEntity
<
List
<
SYS_PSDEOPPRIVDTO
>>
fetchDefault
(
SYS_PSDEOPPRIVSearchContext
context
)
{
public
ResponseEntity
<
List
<
SYS_PSDEOPPRIVDTO
>>
fetchDefault
(
SYS_PSDEOPPRIVSearchContext
context
)
{
...
@@ -177,7 +160,7 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -177,7 +160,7 @@ public class SYS_PSDEOPPRIVResource {
.
body
(
list
);
.
body
(
list
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_PSDEOPPRIV-Default-all')"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_PSDEOPPRIV"
}
,
notes
=
"searchDEFAULT"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_PSDEOPPRIV"
}
,
notes
=
"searchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/searchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_psdeopprivs/searchdefault"
)
public
ResponseEntity
<
Page
<
SYS_PSDEOPPRIVDTO
>>
searchDefault
(
@RequestBody
SYS_PSDEOPPRIVSearchContext
context
)
{
public
ResponseEntity
<
Page
<
SYS_PSDEOPPRIVDTO
>>
searchDefault
(
@RequestBody
SYS_PSDEOPPRIVSearchContext
context
)
{
...
@@ -185,8 +168,4 @@ public class SYS_PSDEOPPRIVResource {
...
@@ -185,8 +168,4 @@ public class SYS_PSDEOPPRIVResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
.
body
(
new
PageImpl
(
sys_psdeopprivMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
.
body
(
new
PageImpl
(
sys_psdeopprivMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
}
}
}
}
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SYS_ROLEResource.java
浏览文件 @
6ac82791
...
@@ -54,16 +54,14 @@ public class SYS_ROLEResource {
...
@@ -54,16 +54,14 @@ public class SYS_ROLEResource {
public
SYS_ROLEDTO
permissionDTO
=
new
SYS_ROLEDTO
();
public
SYS_ROLEDTO
permissionDTO
=
new
SYS_ROLEDTO
();
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Save-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Save-all')")
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Save"
)
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/save"
)
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_ROLEDTO
sys_roledto
)
{
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_ROLEDTO
sys_roledto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_roleService
.
save
(
sys_roleMapping
.
toDomain
(
sys_roledto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_roleService
.
save
(
sys_roleMapping
.
toDomain
(
sys_roledto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_ROLEDTO
>
sys_roledtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_ROLEDTO
>
sys_roledtos
)
{
...
@@ -71,10 +69,7 @@ public class SYS_ROLEResource {
...
@@ -71,10 +69,7 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Update-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Update-all')")
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Update"
)
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Update"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_roles/{sys_role_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_roles/{sys_role_id}"
)
@Transactional
@Transactional
...
@@ -86,6 +81,7 @@ public class SYS_ROLEResource {
...
@@ -86,6 +81,7 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_roles/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_roles/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_ROLEDTO
>
sys_roledtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_ROLEDTO
>
sys_roledtos
)
{
...
@@ -93,10 +89,7 @@ public class SYS_ROLEResource {
...
@@ -93,10 +89,7 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Create-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Create-all')")
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Create"
)
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Create"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles"
)
@Transactional
@Transactional
...
@@ -107,6 +100,7 @@ public class SYS_ROLEResource {
...
@@ -107,6 +100,7 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_ROLEDTO
>
sys_roledtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_ROLEDTO
>
sys_roledtos
)
{
...
@@ -114,10 +108,7 @@ public class SYS_ROLEResource {
...
@@ -114,10 +108,7 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Get-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Get-all')")
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Get"
)
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Get"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_roles/{sys_role_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_roles/{sys_role_id}"
)
public
ResponseEntity
<
SYS_ROLEDTO
>
get
(
@PathVariable
(
"sys_role_id"
)
String
sys_role_id
)
{
public
ResponseEntity
<
SYS_ROLEDTO
>
get
(
@PathVariable
(
"sys_role_id"
)
String
sys_role_id
)
{
...
@@ -126,10 +117,7 @@ public class SYS_ROLEResource {
...
@@ -126,10 +117,7 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Remove-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Remove-all')")
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Remove"
)
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"Remove"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_roles/{sys_role_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_roles/{sys_role_id}"
)
@Transactional
@Transactional
...
@@ -137,6 +125,7 @@ public class SYS_ROLEResource {
...
@@ -137,6 +125,7 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_roleService
.
remove
(
sys_role_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_roleService
.
remove
(
sys_role_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.humanMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_roles/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_roles/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -144,27 +133,21 @@ public class SYS_ROLEResource {
...
@@ -144,27 +133,21 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-GetDraft-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-GetDraft-all')")
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"GetDraft"
)
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"GetDraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_roles/getdraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_roles/getdraft"
)
public
ResponseEntity
<
SYS_ROLEDTO
>
getDraft
()
{
public
ResponseEntity
<
SYS_ROLEDTO
>
getDraft
()
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_roleMapping
.
toDto
(
sys_roleService
.
getDraft
(
new
SYS_ROLE
())));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_roleMapping
.
toDto
(
sys_roleService
.
getDraft
(
new
SYS_ROLE
())));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-CheckKey-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-CheckKey-all')")
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"CheckKey"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_ROLE"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/checkkey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_ROLEDTO
sys_roledto
)
{
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_ROLEDTO
sys_roledto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_roleService
.
checkKey
(
sys_roleMapping
.
toDomain
(
sys_roledto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_roleService
.
checkKey
(
sys_roleMapping
.
toDomain
(
sys_roledto
)));
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Default-all')"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_ROLE"
}
,
notes
=
"fetchDEFAULT"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_ROLE"
}
,
notes
=
"fetchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_roles/fetchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_roles/fetchdefault"
)
public
ResponseEntity
<
List
<
SYS_ROLEDTO
>>
fetchDefault
(
SYS_ROLESearchContext
context
)
{
public
ResponseEntity
<
List
<
SYS_ROLEDTO
>>
fetchDefault
(
SYS_ROLESearchContext
context
)
{
...
@@ -177,7 +160,7 @@ public class SYS_ROLEResource {
...
@@ -177,7 +160,7 @@ public class SYS_ROLEResource {
.
body
(
list
);
.
body
(
list
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_ROLE-Default-all')"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_ROLE"
}
,
notes
=
"searchDEFAULT"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_ROLE"
}
,
notes
=
"searchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/searchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_roles/searchdefault"
)
public
ResponseEntity
<
Page
<
SYS_ROLEDTO
>>
searchDefault
(
@RequestBody
SYS_ROLESearchContext
context
)
{
public
ResponseEntity
<
Page
<
SYS_ROLEDTO
>>
searchDefault
(
@RequestBody
SYS_ROLESearchContext
context
)
{
...
@@ -185,8 +168,4 @@ public class SYS_ROLEResource {
...
@@ -185,8 +168,4 @@ public class SYS_ROLEResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
.
body
(
new
PageImpl
(
sys_roleMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
.
body
(
new
PageImpl
(
sys_roleMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
}
}
}
}
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SYS_ROLE_PERMISSIONResource.java
浏览文件 @
6ac82791
此差异已折叠。
点击以展开。
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SYS_USERResource.java
浏览文件 @
6ac82791
...
@@ -54,10 +54,7 @@ public class SYS_USERResource {
...
@@ -54,10 +54,7 @@ public class SYS_USERResource {
public
SYS_USERDTO
permissionDTO
=
new
SYS_USERDTO
();
public
SYS_USERDTO
permissionDTO
=
new
SYS_USERDTO
();
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Remove-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Remove-all')")
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_USER"
},
notes
=
"Remove"
)
@ApiOperation
(
value
=
"Remove"
,
tags
=
{
"SYS_USER"
},
notes
=
"Remove"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_users/{sys_user_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_users/{sys_user_id}"
)
@Transactional
@Transactional
...
@@ -65,6 +62,7 @@ public class SYS_USERResource {
...
@@ -65,6 +62,7 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_userService
.
remove
(
sys_user_id
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_userService
.
remove
(
sys_user_id
));
}
}
@PreAuthorize
(
"hasPermission('Remove',{'Sql',this.humanMapping,this.permissionDTO,#ids})"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_USER"
},
notes
=
"RemoveBatch"
)
@ApiOperation
(
value
=
"RemoveBatch"
,
tags
=
{
"SYS_USER"
},
notes
=
"RemoveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_users/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sys_users/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
...
@@ -72,10 +70,7 @@ public class SYS_USERResource {
...
@@ -72,10 +70,7 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Update-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Update-all')")
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_USER"
},
notes
=
"Update"
)
@ApiOperation
(
value
=
"Update"
,
tags
=
{
"SYS_USER"
},
notes
=
"Update"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_users/{sys_user_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_users/{sys_user_id}"
)
@Transactional
@Transactional
...
@@ -87,6 +82,7 @@ public class SYS_USERResource {
...
@@ -87,6 +82,7 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Update',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_USER"
},
notes
=
"UpdateBatch"
)
@ApiOperation
(
value
=
"UpdateBatch"
,
tags
=
{
"SYS_USER"
},
notes
=
"UpdateBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_users/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sys_users/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_USERDTO
>
sys_userdtos
)
{
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SYS_USERDTO
>
sys_userdtos
)
{
...
@@ -94,20 +90,14 @@ public class SYS_USERResource {
...
@@ -94,20 +90,14 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-CheckKey-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-CheckKey-all')")
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_USER"
},
notes
=
"CheckKey"
)
@ApiOperation
(
value
=
"CheckKey"
,
tags
=
{
"SYS_USER"
},
notes
=
"CheckKey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/checkkey"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_USERDTO
sys_userdto
)
{
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SYS_USERDTO
sys_userdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_userService
.
checkKey
(
sys_userMapping
.
toDomain
(
sys_userdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_userService
.
checkKey
(
sys_userMapping
.
toDomain
(
sys_userdto
)));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Get-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Get-all')")
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_USER"
},
notes
=
"Get"
)
@ApiOperation
(
value
=
"Get"
,
tags
=
{
"SYS_USER"
},
notes
=
"Get"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_users/{sys_user_id}"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_users/{sys_user_id}"
)
public
ResponseEntity
<
SYS_USERDTO
>
get
(
@PathVariable
(
"sys_user_id"
)
String
sys_user_id
)
{
public
ResponseEntity
<
SYS_USERDTO
>
get
(
@PathVariable
(
"sys_user_id"
)
String
sys_user_id
)
{
...
@@ -116,16 +106,14 @@ public class SYS_USERResource {
...
@@ -116,16 +106,14 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Save-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Save-all')")
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_USER"
},
notes
=
"Save"
)
@ApiOperation
(
value
=
"Save"
,
tags
=
{
"SYS_USER"
},
notes
=
"Save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/save"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/save"
)
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_USERDTO
sys_userdto
)
{
public
ResponseEntity
<
Boolean
>
save
(
@RequestBody
SYS_USERDTO
sys_userdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_userService
.
save
(
sys_userMapping
.
toDomain
(
sys_userdto
)));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_userService
.
save
(
sys_userMapping
.
toDomain
(
sys_userdto
)));
}
}
@PreAuthorize
(
"hasPermission('Save',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_USER"
},
notes
=
"SaveBatch"
)
@ApiOperation
(
value
=
"SaveBatch"
,
tags
=
{
"SYS_USER"
},
notes
=
"SaveBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/savebatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_USERDTO
>
sys_userdtos
)
{
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SYS_USERDTO
>
sys_userdtos
)
{
...
@@ -133,20 +121,14 @@ public class SYS_USERResource {
...
@@ -133,20 +121,14 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-GetDraft-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-GetDraft-all')")
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_USER"
},
notes
=
"GetDraft"
)
@ApiOperation
(
value
=
"GetDraft"
,
tags
=
{
"SYS_USER"
},
notes
=
"GetDraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_users/getdraft"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_users/getdraft"
)
public
ResponseEntity
<
SYS_USERDTO
>
getDraft
()
{
public
ResponseEntity
<
SYS_USERDTO
>
getDraft
()
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_userMapping
.
toDto
(
sys_userService
.
getDraft
(
new
SYS_USER
())));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sys_userMapping
.
toDto
(
sys_userService
.
getDraft
(
new
SYS_USER
())));
}
}
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Create-all')"
)
//@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Create-all')")
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_USER"
},
notes
=
"Create"
)
@ApiOperation
(
value
=
"Create"
,
tags
=
{
"SYS_USER"
},
notes
=
"Create"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users"
)
@Transactional
@Transactional
...
@@ -157,6 +139,7 @@ public class SYS_USERResource {
...
@@ -157,6 +139,7 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
}
@PreAuthorize
(
"hasPermission('Create',{'Sql',this.humanMapping,#humandtos})"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_USER"
},
notes
=
"createBatch"
)
@ApiOperation
(
value
=
"createBatch"
,
tags
=
{
"SYS_USER"
},
notes
=
"createBatch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/batch"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_USERDTO
>
sys_userdtos
)
{
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SYS_USERDTO
>
sys_userdtos
)
{
...
@@ -164,7 +147,7 @@ public class SYS_USERResource {
...
@@ -164,7 +147,7 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Default-all')"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_USER"
}
,
notes
=
"fetchDEFAULT"
)
@ApiOperation
(
value
=
"fetchDEFAULT"
,
tags
=
{
"SYS_USER"
}
,
notes
=
"fetchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_users/fetchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sys_users/fetchdefault"
)
public
ResponseEntity
<
List
<
SYS_USERDTO
>>
fetchDefault
(
SYS_USERSearchContext
context
)
{
public
ResponseEntity
<
List
<
SYS_USERDTO
>>
fetchDefault
(
SYS_USERSearchContext
context
)
{
...
@@ -177,7 +160,7 @@ public class SYS_USERResource {
...
@@ -177,7 +160,7 @@ public class SYS_USERResource {
.
body
(
list
);
.
body
(
list
);
}
}
//
@PreAuthorize("hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Default-all')")
@PreAuthorize
(
"hasAnyAuthority('ROLE_SUPERADMIN','ibzuaa-SYS_USER-Default-all')"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_USER"
}
,
notes
=
"searchDEFAULT"
)
@ApiOperation
(
value
=
"searchDEFAULT"
,
tags
=
{
"SYS_USER"
}
,
notes
=
"searchDEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/searchdefault"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sys_users/searchdefault"
)
public
ResponseEntity
<
Page
<
SYS_USERDTO
>>
searchDefault
(
@RequestBody
SYS_USERSearchContext
context
)
{
public
ResponseEntity
<
Page
<
SYS_USERDTO
>>
searchDefault
(
@RequestBody
SYS_USERSearchContext
context
)
{
...
@@ -185,8 +168,4 @@ public class SYS_USERResource {
...
@@ -185,8 +168,4 @@ public class SYS_USERResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
return
ResponseEntity
.
status
(
HttpStatus
.
OK
)
.
body
(
new
PageImpl
(
sys_userMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
.
body
(
new
PageImpl
(
sys_userMapping
.
toDto
(
domains
.
getContent
()),
context
.
getPageable
(),
domains
.
getTotalElements
()));
}
}
}
}
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SYS_USER_ROLEResource.java
浏览文件 @
6ac82791
此差异已折叠。
点击以展开。
ibzuaa-util/src/main/java/cn/ibizlab/util/security/AuthPermissionEvaluator.java
浏览文件 @
6ac82791
此差异已折叠。
点击以展开。
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录