Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
b05664cb
提交
b05664cb
编写于
8月 09, 2022
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidong 发布系统代码 [ibiz-uaa,UAA鉴权]
上级
5886dea3
变更
19
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
63 行增加
和
63 行删除
+63
-63
sys-app-auth-service-base.ts
app_web/src/authservice/sys-app/sys-app-auth-service-base.ts
+1
-1
sys-app-auth-service.ts
app_web/src/authservice/sys-app/sys-app-auth-service.ts
+1
-1
sys-app-service-base.ts
app_web/src/service/sys-app/sys-app-service-base.ts
+1
-1
sys-app-service.ts
app_web/src/service/sys-app/sys-app-service.ts
+1
-1
sys-app-ui-service-base.ts
app_web/src/uiservice/sys-app/sys-app-ui-service-base.ts
+1
-1
sys-app-ui-service.ts
app_web/src/uiservice/sys-app/sys-app-ui-service.ts
+1
-1
default-searchform-service.ts
.../sys-app/default-searchform/default-searchform-service.ts
+1
-1
main-form-service.ts
app_web/src/widgets/sys-app/main-form/main-form-service.ts
+1
-1
main-grid-service.ts
app_web/src/widgets/sys-app/main-grid/main-grid-service.ts
+1
-1
default-searchform-base.vue
...-user-role/default-searchform/default-searchform-base.vue
+2
-2
main-grid-base.vue
...eb/src/widgets/sys-user-role/main-grid/main-grid-base.vue
+8
-22
default-searchform-base.vue
...s/sys-user/default-searchform/default-searchform-base.vue
+2
-2
main-grid-base.vue
app_web/src/widgets/sys-user/main-grid/main-grid-base.vue
+22
-8
SysApp.java
...core/src/main/java/cn/ibizlab/core/uaa/domain/SysApp.java
+2
-2
SysAppServiceImpl.java
...a/cn/ibizlab/core/uaa/service/impl/SysAppServiceImpl.java
+1
-1
systemResource.json
...aa-core/src/main/resources/permission/systemResource.json
+1
-1
ibzuaa.json
ibzuaa-core/src/main/resources/sysmodel/ibzuaa.json
+1
-1
SysAppDTO.java
...vider-api/src/main/java/cn/ibizlab/api/dto/SysAppDTO.java
+1
-1
SysAppResource.java
...api/src/main/java/cn/ibizlab/api/rest/SysAppResource.java
+14
-14
未找到文件。
app_web/src/authservice/sys-app/sys-app-auth-service-base.ts
浏览文件 @
b05664cb
import
AuthService
from
'../auth-service'
;
/**
*
系统
应用权限服务对象基类
* 应用权限服务对象基类
*
* @export
* @class SysAppAuthServiceBase
...
...
app_web/src/authservice/sys-app/sys-app-auth-service.ts
浏览文件 @
b05664cb
...
...
@@ -2,7 +2,7 @@ import SysAppAuthServiceBase from './sys-app-auth-service-base';
/**
*
系统
应用权限服务对象
* 应用权限服务对象
*
* @export
* @class SysAppAuthService
...
...
app_web/src/service/sys-app/sys-app-service-base.ts
浏览文件 @
b05664cb
...
...
@@ -4,7 +4,7 @@ import EntityService from '../entity-service';
/**
*
系统
应用服务对象基类
* 应用服务对象基类
*
* @export
* @class SysAppServiceBase
...
...
app_web/src/service/sys-app/sys-app-service.ts
浏览文件 @
b05664cb
...
...
@@ -3,7 +3,7 @@ import SysAppServiceBase from './sys-app-service-base';
/**
*
系统
应用服务对象
* 应用服务对象
*
* @export
* @class SysAppService
...
...
app_web/src/uiservice/sys-app/sys-app-ui-service-base.ts
浏览文件 @
b05664cb
...
...
@@ -6,7 +6,7 @@ import SysAppService from '@/service/sys-app/sys-app-service';
import
SysAppAuthService
from
'@/authservice/sys-app/sys-app-auth-service'
;
/**
*
系统
应用UI服务对象基类
* 应用UI服务对象基类
*
* @export
* @class SysAppUIServiceBase
...
...
app_web/src/uiservice/sys-app/sys-app-ui-service.ts
浏览文件 @
b05664cb
import
SysAppUIServiceBase
from
'./sys-app-ui-service-base'
;
/**
*
系统
应用UI服务对象
* 应用UI服务对象
*
* @export
* @class SysAppUIService
...
...
app_web/src/widgets/sys-app/default-searchform/default-searchform-service.ts
浏览文件 @
b05664cb
...
...
@@ -14,7 +14,7 @@ import DefaultModel from './default-searchform-model';
export
default
class
DefaultService
extends
ControlService
{
/**
*
系统
应用服务对象
* 应用服务对象
*
* @type {SysAppService}
* @memberof DefaultService
...
...
app_web/src/widgets/sys-app/main-form/main-form-service.ts
浏览文件 @
b05664cb
...
...
@@ -14,7 +14,7 @@ import MainModel from './main-form-model';
export
default
class
MainService
extends
ControlService
{
/**
*
系统
应用服务对象
* 应用服务对象
*
* @type {SysAppService}
* @memberof MainService
...
...
app_web/src/widgets/sys-app/main-grid/main-grid-service.ts
浏览文件 @
b05664cb
...
...
@@ -14,7 +14,7 @@ import MainModel from './main-grid-model';
export
default
class
MainService
extends
ControlService
{
/**
*
系统
应用服务对象
* 应用服务对象
*
* @type {SysAppService}
* @memberof MainService
...
...
app_web/src/widgets/sys-user-role/default-searchform/default-searchform-base.vue
浏览文件 @
b05664cb
...
...
@@ -626,7 +626,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLEGridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLE
Pickup
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -662,7 +662,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLEGridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLE
Pickup
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_web/src/widgets/sys-user-role/main-grid/main-grid-base.vue
浏览文件 @
b05664cb
...
...
@@ -344,20 +344,6 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -880,7 +866,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLEGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLE
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -975,7 +961,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLEGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLE
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1081,7 +1067,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLEGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLE
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -1874,7 +1860,7 @@ export default class MainBase extends Vue implements ControlInterface {
public
setColState
()
{
this
.
resetColModel
=
Util
.
deepCopy
(
this
.
allColumns
);
const
viewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzuaa_web_sys_user_rolegridview_grid_main'
});
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzuaa_web_sys_user_role
pickup
gridview_grid_main'
});
const
post
=
this
.
service
.
loadModel
(
'grid_dynaconfig'
,
this
.
context
,
viewParams
);
post
.
then
((
response
:
any
)
=>
{
if
(
response
.
status
==
200
&&
response
.
data
)
{
...
...
@@ -1941,7 +1927,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
saveDynaConfig
()
{
const
viewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzuaa_web_sys_user_rolegridview_grid_main'
,
model
:
this
.
allColumns
});
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzuaa_web_sys_user_role
pickup
gridview_grid_main'
,
model
:
this
.
allColumns
});
const
post
=
this
.
service
.
saveModel
(
'grid_dynaconfig'
,
this
.
context
,
viewParams
);
post
.
then
((
response
:
any
)
=>
{
if
(
response
.
status
==
200
)
{
...
...
@@ -2012,7 +1998,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLEGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLE
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -2020,7 +2006,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLEGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLE
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
sysuserrole
){
...
...
@@ -2087,7 +2073,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLEGridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'SYS_USER_ROLE
Pickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
app_web/src/widgets/sys-user/default-searchform/default-searchform-base.vue
浏览文件 @
b05664cb
...
...
@@ -734,7 +734,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{}):
void
{
if
(
!
this
.
loadAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
YS_USERPickup
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
ysUser
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loadAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
};
...
...
@@ -770,7 +770,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/
public
loadDraft
(
opt
:
any
=
{},
mode
?:
string
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
YS_USERPickup
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
ysUser
GridView'
+
(
this
.
$t
(
'app.searchForm.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
const
arg
:
any
=
{
...
opt
}
;
...
...
app_web/src/widgets/sys-user/main-grid/main-grid-base.vue
浏览文件 @
b05664cb
...
...
@@ -342,6 +342,20 @@ export default class MainBase extends Vue implements ControlInterface {
return
this
.
selections
[
0
];
}
/**
* 打开新建数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
newdata
:
any
;
/**
* 打开编辑数据视图
*
* @type {any}
* @memberof MainBase
*/
@
Prop
()
public
opendata
:
any
;
/**
* 是否嵌入关系界面
...
...
@@ -873,7 +887,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
load
(
opt
:
any
=
{},
pageReset
:
boolean
=
false
):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
YS_USERPickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
ysUser
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
pageReset
){
...
...
@@ -968,7 +982,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
async
remove
(
datas
:
any
[]):
Promise
<
any
>
{
if
(
!
this
.
removeAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
YS_USERPickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
ysUser
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.removeAction'
)
as
string
)
});
return
;
}
let
_datas
:
any
[]
=
[];
...
...
@@ -1074,7 +1088,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
addBatch
(
arg
:
any
=
{}):
void
{
if
(
!
this
.
fetchAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
YS_USERPickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
ysUser
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.fetchAction'
)
as
string
)
});
return
;
}
if
(
!
arg
){
...
...
@@ -1870,7 +1884,7 @@ export default class MainBase extends Vue implements ControlInterface {
public
setColState
()
{
this
.
resetColModel
=
Util
.
deepCopy
(
this
.
allColumns
);
const
viewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzuaa_web_sys
_userpickup
gridview_grid_main'
});
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzuaa_web_sys
user
gridview_grid_main'
});
const
post
=
this
.
service
.
loadModel
(
'grid_dynaconfig'
,
this
.
context
,
viewParams
);
post
.
then
((
response
:
any
)
=>
{
if
(
response
.
status
==
200
&&
response
.
data
)
{
...
...
@@ -1937,7 +1951,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
saveDynaConfig
()
{
const
viewParams
:
any
=
Util
.
deepCopy
(
this
.
viewparams
);
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzuaa_web_sys
_userpickup
gridview_grid_main'
,
model
:
this
.
allColumns
});
Object
.
assign
(
viewParams
,{
utilServiceName
:
'grid_dynaconfig'
,
modelid
:
'ibzuaa_web_sys
user
gridview_grid_main'
,
model
:
this
.
allColumns
});
const
post
=
this
.
service
.
saveModel
(
'grid_dynaconfig'
,
this
.
context
,
viewParams
);
post
.
then
((
response
:
any
)
=>
{
if
(
response
.
status
==
200
)
{
...
...
@@ -2008,7 +2022,7 @@ export default class MainBase extends Vue implements ControlInterface {
try
{
if
(
Object
.
is
(
item
.
rowDataState
,
'create'
)){
if
(
!
this
.
createAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
YS_USERPickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
ysUser
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.createAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
let
response
=
await
this
.
service
.
add
(
this
.
createAction
,
JSON
.
parse
(
JSON
.
stringify
(
this
.
context
)),
item
,
this
.
showBusyIndicator
);
...
...
@@ -2016,7 +2030,7 @@ export default class MainBase extends Vue implements ControlInterface {
}
}
else
if
(
Object
.
is
(
item
.
rowDataState
,
'update'
)){
if
(
!
this
.
updateAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
YS_USERPickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
ysUser
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.updateAction'
)
as
string
)
});
}
else
{
Object
.
assign
(
item
,{
viewparams
:
this
.
viewparams
});
if
(
item
.
sysuser
){
...
...
@@ -2089,7 +2103,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/
public
newRow
(
args
:
any
[],
params
?:
any
,
$event
?:
any
,
xData
?:
any
):
void
{
if
(
!
this
.
loaddraftAction
){
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
YS_USERPickup
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
this
.
$Notice
.
error
({
title
:
(
this
.
$t
(
'app.commonWords.wrong'
)
as
string
),
desc
:
'S
ysUser
GridView'
+
(
this
.
$t
(
'app.gridpage.notConfig.loaddraftAction'
)
as
string
)
});
return
;
}
let
_this
=
this
;
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/domain/SysApp.java
浏览文件 @
b05664cb
...
...
@@ -29,14 +29,14 @@ import io.swagger.annotations.ApiModelProperty;
/**
* [
系统
应用] 对象
* [应用] 对象
*/
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
(
"
系统
应用"
)
@ApiModel
(
"应用"
)
public
class
SysApp
extends
EntityBase
implements
Serializable
{
/**
...
...
ibzuaa-core/src/main/java/cn/ibizlab/core/uaa/service/impl/SysAppServiceImpl.java
浏览文件 @
b05664cb
...
...
@@ -35,7 +35,7 @@ import com.alibaba.fastjson.JSONObject;
/**
* 实体[
系统
应用] 无存储服务对象接口实现
* 实体[应用] 无存储服务对象接口实现
*/
@Slf4j
@Service
...
...
ibzuaa-core/src/main/resources/permission/systemResource.json
浏览文件 @
b05664cb
...
...
@@ -6,7 +6,7 @@
"entities"
:[
{
"dename"
:
"SysApp"
,
"delogicname"
:
"
系统
应用"
,
"delogicname"
:
"应用"
,
"sysmoudle"
:{
"id"
:
"UAA"
,
"name"
:
"uaa"
},
"dedataset"
:[{
"id"
:
"Default"
,
"name"
:
"DEFAULT"
}],
"deaction"
:[{
"id"
:
"Create"
,
"name"
:
"Create"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Update"
,
"name"
:
"Update"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Remove"
,
"name"
:
"Remove"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Get"
,
"name"
:
"Get"
,
"type"
:
"BUILTIN"
},{
"id"
:
"GetDraft"
,
"name"
:
"GetDraft"
,
"type"
:
"BUILTIN"
},{
"id"
:
"CheckKey"
,
"name"
:
"CheckKey"
,
"type"
:
"BUILTIN"
},{
"id"
:
"Save"
,
"name"
:
"Save"
,
"type"
:
"BUILTIN"
}],
...
...
ibzuaa-core/src/main/resources/sysmodel/ibzuaa.json
浏览文件 @
b05664cb
...
...
@@ -4,7 +4,7 @@
"entities"
:[
{
"entity_name"
:
"SYS_APP"
,
"logic_name"
:
"
系统
应用"
,
"logic_name"
:
"应用"
,
"code_name"
:
"SysApp"
,
"table_name"
:
""
,
"system_id"
:
"ibzuaa"
,
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/dto/SysAppDTO.java
浏览文件 @
b05664cb
...
...
@@ -27,7 +27,7 @@ import io.swagger.annotations.ApiModelProperty;
* 服务DTO对象[SysAppDTO]
*/
@Data
@ApiModel
(
"
系统
应用"
)
@ApiModel
(
"应用"
)
public
class
SysAppDTO
extends
DTOBase
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
...
...
ibzuaa-provider/ibzuaa-provider-api/src/main/java/cn/ibizlab/api/rest/SysAppResource.java
浏览文件 @
b05664cb
...
...
@@ -35,7 +35,7 @@ import cn.ibizlab.core.uaa.filter.SysAppSearchContext;
import
cn.ibizlab.util.annotation.VersionCheck
;
@Slf4j
@Api
(
tags
=
{
"
系统
应用"
})
@Api
(
tags
=
{
"应用"
})
@RestController
(
"api-sysapp"
)
@RequestMapping
(
""
)
public
class
SysAppResource
{
...
...
@@ -47,7 +47,7 @@ public class SysAppResource {
@Lazy
public
SysAppMapping
sysappMapping
;
@ApiOperation
(
value
=
"新建
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"新建系统
应用"
)
@ApiOperation
(
value
=
"新建
应用"
,
tags
=
{
"应用"
},
notes
=
"新建
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps"
)
public
ResponseEntity
<
SysAppDTO
>
create
(
@Validated
@RequestBody
SysAppDTO
sysappdto
)
{
SysApp
domain
=
sysappMapping
.
toDomain
(
sysappdto
);
...
...
@@ -56,14 +56,14 @@ public class SysAppResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@ApiOperation
(
value
=
"批量新建
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"批量新建系统
应用"
)
@ApiOperation
(
value
=
"批量新建
应用"
,
tags
=
{
"应用"
},
notes
=
"批量新建
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps/batch"
)
public
ResponseEntity
<
Boolean
>
createBatch
(
@RequestBody
List
<
SysAppDTO
>
sysappdtos
)
{
sysappService
.
createBatch
(
sysappMapping
.
toDomain
(
sysappdtos
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@ApiOperation
(
value
=
"获取
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"获取系统
应用"
)
@ApiOperation
(
value
=
"获取
应用"
,
tags
=
{
"应用"
},
notes
=
"获取
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysapps/{sysapp_id}"
)
public
ResponseEntity
<
SysAppDTO
>
get
(
@PathVariable
(
"sysapp_id"
)
String
sysapp_id
)
{
SysApp
domain
=
sysappService
.
get
(
sysapp_id
);
...
...
@@ -71,20 +71,20 @@ public class SysAppResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@ApiOperation
(
value
=
"删除
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"删除系统
应用"
)
@ApiOperation
(
value
=
"删除
应用"
,
tags
=
{
"应用"
},
notes
=
"删除
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysapps/{sysapp_id}"
)
public
ResponseEntity
<
Boolean
>
remove
(
@PathVariable
(
"sysapp_id"
)
String
sysapp_id
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysappService
.
remove
(
sysapp_id
));
}
@ApiOperation
(
value
=
"批量删除
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"批量删除系统
应用"
)
@ApiOperation
(
value
=
"批量删除
应用"
,
tags
=
{
"应用"
},
notes
=
"批量删除
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
DELETE
,
value
=
"/sysapps/batch"
)
public
ResponseEntity
<
Boolean
>
removeBatch
(
@RequestBody
List
<
String
>
ids
)
{
sysappService
.
removeBatch
(
ids
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@ApiOperation
(
value
=
"更新
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"更新系统
应用"
)
@ApiOperation
(
value
=
"更新
应用"
,
tags
=
{
"应用"
},
notes
=
"更新
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysapps/{sysapp_id}"
)
public
ResponseEntity
<
SysAppDTO
>
update
(
@PathVariable
(
"sysapp_id"
)
String
sysapp_id
,
@RequestBody
SysAppDTO
sysappdto
)
{
SysApp
domain
=
sysappMapping
.
toDomain
(
sysappdto
);
...
...
@@ -94,27 +94,27 @@ public class SysAppResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
dto
);
}
@ApiOperation
(
value
=
"批量更新
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"批量更新系统
应用"
)
@ApiOperation
(
value
=
"批量更新
应用"
,
tags
=
{
"应用"
},
notes
=
"批量更新
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
PUT
,
value
=
"/sysapps/batch"
)
public
ResponseEntity
<
Boolean
>
updateBatch
(
@RequestBody
List
<
SysAppDTO
>
sysappdtos
)
{
sysappService
.
updateBatch
(
sysappMapping
.
toDomain
(
sysappdtos
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@ApiOperation
(
value
=
"检查
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"检查系统
应用"
)
@ApiOperation
(
value
=
"检查
应用"
,
tags
=
{
"应用"
},
notes
=
"检查
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps/checkkey"
)
public
ResponseEntity
<
Boolean
>
checkKey
(
@RequestBody
SysAppDTO
sysappdto
)
{
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysappService
.
checkKey
(
sysappMapping
.
toDomain
(
sysappdto
)));
}
@ApiOperation
(
value
=
"获取
系统应用草稿"
,
tags
=
{
"系统应用"
},
notes
=
"获取系统
应用草稿"
)
@ApiOperation
(
value
=
"获取
应用草稿"
,
tags
=
{
"应用"
},
notes
=
"获取
应用草稿"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysapps/getdraft"
)
public
ResponseEntity
<
SysAppDTO
>
getDraft
(
SysAppDTO
dto
)
{
SysApp
domain
=
sysappMapping
.
toDomain
(
dto
);
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysappMapping
.
toDto
(
sysappService
.
getDraft
(
domain
)));
}
@ApiOperation
(
value
=
"保存
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"保存系统
应用"
)
@ApiOperation
(
value
=
"保存
应用"
,
tags
=
{
"应用"
},
notes
=
"保存
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps/save"
)
public
ResponseEntity
<
SysAppDTO
>
save
(
@RequestBody
SysAppDTO
sysappdto
)
{
SysApp
domain
=
sysappMapping
.
toDomain
(
sysappdto
);
...
...
@@ -122,14 +122,14 @@ public class SysAppResource {
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
sysappMapping
.
toDto
(
domain
));
}
@ApiOperation
(
value
=
"批量保存
系统应用"
,
tags
=
{
"系统应用"
},
notes
=
"批量保存系统
应用"
)
@ApiOperation
(
value
=
"批量保存
应用"
,
tags
=
{
"应用"
},
notes
=
"批量保存
应用"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps/savebatch"
)
public
ResponseEntity
<
Boolean
>
saveBatch
(
@RequestBody
List
<
SysAppDTO
>
sysappdtos
)
{
sysappService
.
saveBatch
(
sysappMapping
.
toDomain
(
sysappdtos
));
return
ResponseEntity
.
status
(
HttpStatus
.
OK
).
body
(
true
);
}
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"
系统
应用"
}
,
notes
=
"获取DEFAULT"
)
@ApiOperation
(
value
=
"获取DEFAULT"
,
tags
=
{
"应用"
}
,
notes
=
"获取DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
GET
,
value
=
"/sysapps/fetchdefault"
)
public
ResponseEntity
<
List
<
SysAppDTO
>>
fetchDefault
(
SysAppSearchContext
context
)
{
Page
<
SysApp
>
domains
=
sysappService
.
searchDefault
(
context
)
;
...
...
@@ -141,7 +141,7 @@ public class SysAppResource {
.
body
(
list
);
}
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"
系统
应用"
}
,
notes
=
"查询DEFAULT"
)
@ApiOperation
(
value
=
"查询DEFAULT"
,
tags
=
{
"应用"
}
,
notes
=
"查询DEFAULT"
)
@RequestMapping
(
method
=
RequestMethod
.
POST
,
value
=
"/sysapps/searchdefault"
)
public
ResponseEntity
<
Page
<
SysAppDTO
>>
searchDefault
(
@RequestBody
SysAppSearchContext
context
)
{
Page
<
SysApp
>
domains
=
sysappService
.
searchDefault
(
context
)
;
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录