Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
I
ibzuaa
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
ibiz4jteam
ibzuaa
提交
93e412b2
提交
93e412b2
编写于
7月 14, 2020
作者:
ibizdev
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
zhouweidongcs 部署微服务应用
上级
c7af92fe
变更
8
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
161 行增加
和
93 行删除
+161
-93
sys-app-service-base.ts
app_web/src/service/sys-app/sys-app-service-base.ts
+23
-0
sys-auth-log-service-base.ts
...web/src/service/sys-auth-log/sys-auth-log-service-base.ts
+23
-0
sys-permission-service-base.ts
...src/service/sys-permission/sys-permission-service-base.ts
+23
-0
sys-role-permission-service-base.ts
...e/sys-role-permission/sys-role-permission-service-base.ts
+23
-46
sys-role-service-base.ts
app_web/src/service/sys-role/sys-role-service-base.ts
+23
-0
sys-user-role-service-base.ts
...b/src/service/sys-user-role/sys-user-role-service-base.ts
+23
-46
sys-user-service-base.ts
app_web/src/service/sys-user/sys-user-service-base.ts
+23
-0
ibzuaa-app-web.yaml
...aa-app/ibzuaa-app-web/src/main/docker/ibzuaa-app-web.yaml
+0
-1
未找到文件。
app_web/src/service/sys-app/sys-app-service-base.ts
浏览文件 @
93e412b2
...
...
@@ -48,6 +48,7 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/sysapps/
${
context
.
sysapp
}
/select`
,
isloading
);
}
...
...
@@ -61,6 +62,9 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
...
...
@@ -84,6 +88,9 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysapps/
${
context
.
sysapp
}
`
,
data
,
isloading
);
...
...
@@ -100,6 +107,9 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
delete
(
`/sysapps/
${
context
.
sysapp
}
`
,
isloading
);
}
...
...
@@ -113,6 +123,9 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysapps/
${
context
.
sysapp
}
`
,
isloading
);
return
res
;
}
...
...
@@ -127,6 +140,9 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysapps/getdraft`
,
isloading
);
res
.
data
.
sysapp
=
data
.
sysapp
;
return
res
;
...
...
@@ -142,6 +158,9 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
post
(
`/sysapps/
${
context
.
sysapp
}
/checkkey`
,
data
,
isloading
);
}
...
...
@@ -155,6 +174,9 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysapps/
${
context
.
sysapp
}
/save`
,
data
,
isloading
);
...
...
@@ -171,6 +193,7 @@ export default class SysAppServiceBase extends EntityService {
* @memberof SysAppServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysapps/fetchdefault`
,
tempData
,
isloading
);
}
...
...
app_web/src/service/sys-auth-log/sys-auth-log-service-base.ts
浏览文件 @
93e412b2
...
...
@@ -48,6 +48,7 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/sysauthlogs/
${
context
.
sysauthlog
}
/select`
,
isloading
);
}
...
...
@@ -61,6 +62,9 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
...
...
@@ -84,6 +88,9 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysauthlogs/
${
context
.
sysauthlog
}
`
,
data
,
isloading
);
...
...
@@ -100,6 +107,9 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
delete
(
`/sysauthlogs/
${
context
.
sysauthlog
}
`
,
isloading
);
}
...
...
@@ -113,6 +123,9 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysauthlogs/
${
context
.
sysauthlog
}
`
,
isloading
);
return
res
;
}
...
...
@@ -127,6 +140,9 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysauthlogs/getdraft`
,
isloading
);
res
.
data
.
sysauthlog
=
data
.
sysauthlog
;
return
res
;
...
...
@@ -142,6 +158,9 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
post
(
`/sysauthlogs/
${
context
.
sysauthlog
}
/checkkey`
,
data
,
isloading
);
}
...
...
@@ -155,6 +174,9 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysauthlogs/
${
context
.
sysauthlog
}
/save`
,
data
,
isloading
);
...
...
@@ -171,6 +193,7 @@ export default class SysAuthLogServiceBase extends EntityService {
* @memberof SysAuthLogServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysauthlogs/fetchdefault`
,
tempData
,
isloading
);
}
...
...
app_web/src/service/sys-permission/sys-permission-service-base.ts
浏览文件 @
93e412b2
...
...
@@ -48,6 +48,7 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/syspermissions/
${
context
.
syspermission
}
/select`
,
isloading
);
}
...
...
@@ -61,6 +62,9 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
...
...
@@ -85,6 +89,9 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/syspermissions/
${
context
.
syspermission
}
`
,
data
,
isloading
);
...
...
@@ -101,6 +108,9 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
delete
(
`/syspermissions/
${
context
.
syspermission
}
`
,
isloading
);
}
...
...
@@ -114,6 +124,9 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/syspermissions/
${
context
.
syspermission
}
`
,
isloading
);
return
res
;
}
...
...
@@ -128,6 +141,9 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/syspermissions/getdraft`
,
isloading
);
res
.
data
.
syspermission
=
data
.
syspermission
;
return
res
;
...
...
@@ -143,6 +159,9 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
post
(
`/syspermissions/
${
context
.
syspermission
}
/checkkey`
,
data
,
isloading
);
}
...
...
@@ -156,6 +175,9 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/syspermissions/
${
context
.
syspermission
}
/save`
,
data
,
isloading
);
...
...
@@ -172,6 +194,7 @@ export default class SysPermissionServiceBase extends EntityService {
* @memberof SysPermissionServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/syspermissions/fetchdefault`
,
tempData
,
isloading
);
}
...
...
app_web/src/service/sys-role-permission/sys-role-permission-service-base.ts
浏览文件 @
93e412b2
...
...
@@ -48,14 +48,13 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
sysrole
&&
context
.
sysrolepermission
){
return
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
/select`
,
isloading
);
}
if
(
context
.
syspermission
&&
context
.
sysrolepermission
){
return
Http
.
getInstance
().
get
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
/select`
,
isloading
);
}
return
Http
.
getInstance
().
get
(
`/sysrolepermissions/
${
context
.
sysrolepermission
}
/select`
,
isloading
);
}
...
...
@@ -69,9 +68,6 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
true
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
...
...
@@ -85,9 +81,6 @@ export default class SysRolePermissionServiceBase extends EntityService {
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
syspermission
&&
true
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
...
...
@@ -101,6 +94,9 @@ export default class SysRolePermissionServiceBase extends EntityService {
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
...
...
@@ -124,24 +120,21 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysrolepermission
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
syspermission
&&
context
.
sysrolepermission
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
data
,
isloading
);
...
...
@@ -158,18 +151,15 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysrolepermission
){
return
Http
.
getInstance
().
delete
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
isloading
);
}
// aaaaa
// bbbbb
if
(
context
.
syspermission
&&
context
.
sysrolepermission
){
return
Http
.
getInstance
().
delete
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
isloading
);
}
// aaaaa
// bbbbb
return
Http
.
getInstance
().
delete
(
`/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
isloading
);
}
...
...
@@ -183,20 +173,17 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysrolepermission
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
syspermission
&&
context
.
sysrolepermission
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysrolepermissions/
${
context
.
sysrolepermission
}
`
,
isloading
);
return
res
;
}
...
...
@@ -211,22 +198,19 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
true
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions/getdraft`
,
isloading
);
res
.
data
.
sysrolepermission
=
data
.
sysrolepermission
;
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
syspermission
&&
true
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions/getdraft`
,
isloading
);
res
.
data
.
sysrolepermission
=
data
.
sysrolepermission
;
return
res
;
}
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysrolepermissions/getdraft`
,
isloading
);
res
.
data
.
sysrolepermission
=
data
.
sysrolepermission
;
return
res
;
...
...
@@ -242,24 +226,21 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysrolepermission
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
/checkkey`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
syspermission
&&
context
.
sysrolepermission
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
/checkkey`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
return
Http
.
getInstance
().
post
(
`/sysrolepermissions/
${
context
.
sysrolepermission
}
/checkkey`
,
data
,
isloading
);
}
...
...
@@ -273,24 +254,21 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysrolepermission
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
/save`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
syspermission
&&
context
.
sysrolepermission
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions/
${
context
.
sysrolepermission
}
/save`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysrolepermissions/
${
context
.
sysrolepermission
}
/save`
,
data
,
isloading
);
...
...
@@ -307,16 +285,15 @@ export default class SysRolePermissionServiceBase extends EntityService {
* @memberof SysRolePermissionServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
sysrole
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/sysrolepermissions/fetchdefault`
,
tempData
,
isloading
);
}
if
(
context
.
syspermission
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/syspermissions/
${
context
.
syspermission
}
/sysrolepermissions/fetchdefault`
,
tempData
,
isloading
);
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysrolepermissions/fetchdefault`
,
tempData
,
isloading
);
}
...
...
app_web/src/service/sys-role/sys-role-service-base.ts
浏览文件 @
93e412b2
...
...
@@ -48,6 +48,7 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/select`
,
isloading
);
}
...
...
@@ -61,6 +62,9 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
...
...
@@ -86,6 +90,9 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysroles/
${
context
.
sysrole
}
`
,
data
,
isloading
);
...
...
@@ -102,6 +109,9 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
delete
(
`/sysroles/
${
context
.
sysrole
}
`
,
isloading
);
}
...
...
@@ -115,6 +125,9 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
`
,
isloading
);
return
res
;
}
...
...
@@ -129,6 +142,9 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysroles/getdraft`
,
isloading
);
res
.
data
.
sysrole
=
data
.
sysrole
;
return
res
;
...
...
@@ -144,6 +160,9 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
post
(
`/sysroles/
${
context
.
sysrole
}
/checkkey`
,
data
,
isloading
);
}
...
...
@@ -157,6 +176,9 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysroles/
${
context
.
sysrole
}
/save`
,
data
,
isloading
);
...
...
@@ -173,6 +195,7 @@ export default class SysRoleServiceBase extends EntityService {
* @memberof SysRoleServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysroles/fetchdefault`
,
tempData
,
isloading
);
}
...
...
app_web/src/service/sys-user-role/sys-user-role-service-base.ts
浏览文件 @
93e412b2
...
...
@@ -48,14 +48,13 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
sysuser
&&
context
.
sysuserrole
){
return
Http
.
getInstance
().
get
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles/
${
context
.
sysuserrole
}
/select`
,
isloading
);
}
if
(
context
.
sysrole
&&
context
.
sysuserrole
){
return
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles/
${
context
.
sysuserrole
}
/select`
,
isloading
);
}
return
Http
.
getInstance
().
get
(
`/sysuserroles/
${
context
.
sysuserrole
}
/select`
,
isloading
);
}
...
...
@@ -69,9 +68,6 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysuser
&&
true
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
...
...
@@ -85,9 +81,6 @@ export default class SysUserRoleServiceBase extends EntityService {
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
true
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
...
...
@@ -101,6 +94,9 @@ export default class SysUserRoleServiceBase extends EntityService {
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
...
...
@@ -124,24 +120,21 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysuser
&&
context
.
sysuserrole
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles/
${
context
.
sysuserrole
}
`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysuserrole
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles/
${
context
.
sysuserrole
}
`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysuserroles/
${
context
.
sysuserrole
}
`
,
data
,
isloading
);
...
...
@@ -158,18 +151,15 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysuser
&&
context
.
sysuserrole
){
return
Http
.
getInstance
().
delete
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles/
${
context
.
sysuserrole
}
`
,
isloading
);
}
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysuserrole
){
return
Http
.
getInstance
().
delete
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles/
${
context
.
sysuserrole
}
`
,
isloading
);
}
// aaaaa
// bbbbb
return
Http
.
getInstance
().
delete
(
`/sysuserroles/
${
context
.
sysuserrole
}
`
,
isloading
);
}
...
...
@@ -183,20 +173,17 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysuser
&&
context
.
sysuserrole
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles/
${
context
.
sysuserrole
}
`
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysuserrole
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles/
${
context
.
sysuserrole
}
`
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysuserroles/
${
context
.
sysuserrole
}
`
,
isloading
);
return
res
;
}
...
...
@@ -211,22 +198,19 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysuser
&&
true
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles/getdraft`
,
isloading
);
res
.
data
.
sysuserrole
=
data
.
sysuserrole
;
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
true
){
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles/getdraft`
,
isloading
);
res
.
data
.
sysuserrole
=
data
.
sysuserrole
;
return
res
;
}
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysuserroles/getdraft`
,
isloading
);
res
.
data
.
sysuserrole
=
data
.
sysuserrole
;
return
res
;
...
...
@@ -242,24 +226,21 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysuser
&&
context
.
sysuserrole
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles/
${
context
.
sysuserrole
}
/checkkey`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysuserrole
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles/
${
context
.
sysuserrole
}
/checkkey`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
return
Http
.
getInstance
().
post
(
`/sysuserroles/
${
context
.
sysuserrole
}
/checkkey`
,
data
,
isloading
);
}
...
...
@@ -273,24 +254,21 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
if
(
context
.
sysuser
&&
context
.
sysuserrole
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles/
${
context
.
sysuserrole
}
/save`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
if
(
context
.
sysrole
&&
context
.
sysuserrole
){
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles/
${
context
.
sysuserrole
}
/save`
,
data
,
isloading
);
return
res
;
}
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysuserroles/
${
context
.
sysuserrole
}
/save`
,
data
,
isloading
);
...
...
@@ -307,16 +285,15 @@ export default class SysUserRoleServiceBase extends EntityService {
* @memberof SysUserRoleServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
if
(
context
.
sysuser
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysusers/
${
context
.
sysuser
}
/sysuserroles/fetchdefault`
,
tempData
,
isloading
);
}
if
(
context
.
sysrole
&&
true
){
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysroles/
${
context
.
sysrole
}
/sysuserroles/fetchdefault`
,
tempData
,
isloading
);
}
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysuserroles/fetchdefault`
,
tempData
,
isloading
);
}
...
...
app_web/src/service/sys-user/sys-user-service-base.ts
浏览文件 @
93e412b2
...
...
@@ -48,6 +48,7 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
Select
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
return
Http
.
getInstance
().
get
(
`/sysusers/
${
context
.
sysuser
}
/select`
,
isloading
);
}
...
...
@@ -61,6 +62,9 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
Create
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
if
(
!
data
.
srffrontuf
||
data
.
srffrontuf
!==
"1"
){
...
...
@@ -85,6 +89,9 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
Update
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
put
(
`/sysusers/
${
context
.
sysuser
}
`
,
data
,
isloading
);
...
...
@@ -101,6 +108,9 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
Remove
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
delete
(
`/sysusers/
${
context
.
sysuser
}
`
,
isloading
);
}
...
...
@@ -114,6 +124,9 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
Get
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysusers/
${
context
.
sysuser
}
`
,
isloading
);
return
res
;
}
...
...
@@ -128,6 +141,9 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
GetDraft
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
res
:
any
=
await
Http
.
getInstance
().
get
(
`/sysusers/getdraft`
,
isloading
);
res
.
data
.
sysuser
=
data
.
sysuser
;
return
res
;
...
...
@@ -143,6 +159,9 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
CheckKey
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
return
Http
.
getInstance
().
post
(
`/sysusers/
${
context
.
sysuser
}
/checkkey`
,
data
,
isloading
);
}
...
...
@@ -156,6 +175,9 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
Save
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
// aaaaa
// bbbbb
let
masterData
:
any
=
{};
Object
.
assign
(
data
,
masterData
);
let
res
:
any
=
await
Http
.
getInstance
().
post
(
`/sysusers/
${
context
.
sysuser
}
/save`
,
data
,
isloading
);
...
...
@@ -172,6 +194,7 @@ export default class SysUserServiceBase extends EntityService {
* @memberof SysUserServiceBase
*/
public
async
FetchDefault
(
context
:
any
=
{},
data
:
any
=
{},
isloading
?:
boolean
):
Promise
<
any
>
{
let
tempData
:
any
=
JSON
.
parse
(
JSON
.
stringify
(
data
));
return
Http
.
getInstance
().
get
(
`/sysusers/fetchdefault`
,
tempData
,
isloading
);
}
...
...
ibzuaa-app/ibzuaa-app-web/src/main/docker/ibzuaa-app-web.yaml
浏览文件 @
93e412b2
...
...
@@ -20,7 +20,6 @@ services:
-
SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
-
ABC=1
-
DEC=3
-
SPRING_PROFILES_INCLUDE=sys , web-dev
-
NACOS=172.16.102.211:8848
deploy
:
resources
:
...
...
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录