Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
yujianwangzivayy
MaxKey
提交
402b5663
MaxKey
项目概览
yujianwangzivayy
/
MaxKey
与 Fork 源项目一致
Fork自
MaxKey单点登录官方(MaxKeyTop) / MaxKey
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
MaxKey
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
402b5663
编写于
6月 24, 2022
作者:
M
MaxKey
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
应用管理 第三个页签下适配选项保存后无法显示 #I5DWS3
应用管理 第三个页签下适配选项保存后无法显示 #I5DWS3
上级
c8efbe7a
变更
11
展开全部
隐藏空白更改
内联
并排
Showing
11 changed file
with
151 addition
and
152 deletion
+151
-152
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Apps.ts
...ey-web-frontend/maxkey-web-mgt-app/src/app/entity/Apps.ts
+7
-4
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsCasDetails.ts
...ntend/maxkey-web-mgt-app/src/app/entity/AppsCasDetails.ts
+4
-4
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsExtendApiDetails.ts
...maxkey-web-mgt-app/src/app/entity/AppsExtendApiDetails.ts
+4
-4
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsFormBasedDetails.ts
...maxkey-web-mgt-app/src/app/entity/AppsFormBasedDetails.ts
+4
-4
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsJwtDetails.ts
...ntend/maxkey-web-mgt-app/src/app/entity/AppsJwtDetails.ts
+4
-4
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsOauth20Details.ts
...d/maxkey-web-mgt-app/src/app/entity/AppsOauth20Details.ts
+5
-5
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsSamlDetails.ts
...tend/maxkey-web-mgt-app/src/app/entity/AppsSamlDetails.ts
+4
-4
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsTokenBasedDetails.ts
...axkey-web-mgt-app/src/app/entity/AppsTokenBasedDetails.ts
+4
-4
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/TreeNodes.ts
...b-frontend/maxkey-web-mgt-app/src/app/entity/TreeNodes.ts
+5
-3
maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.html
...-cas-details-editer/app-cas-details-editer.component.html
+109
-116
maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.ts
...pp-cas-details-editer/app-cas-details-editer.component.ts
+1
-0
未找到文件。
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/Apps.ts
浏览文件 @
402b5663
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
format
from
'
date-fns/format
'
;
...
...
@@ -66,6 +65,10 @@ export class Apps extends BaseEntity {
if
(
this
.
status
==
1
)
{
this
.
switch_status
=
true
;
}
this
.
isAdapter
=
`
${
data
.
isAdapter
}
`
;
this
.
isExtendAttr
=
`
${
data
.
isExtendAttr
}
`
;
this
.
logoutType
=
`
${
data
.
logoutType
}
`
;
this
.
visible
=
`
${
data
.
visible
}
`
;
}
override
trans
():
void
{
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsCasDetails.ts
浏览文件 @
402b5663
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
format
from
'
date-fns/format
'
;
...
...
@@ -32,6 +31,7 @@ export class AppsCasDetails extends Apps {
override
init
(
data
:
any
):
void
{
Object
.
assign
(
this
,
data
);
super
.
init
(
data
);
if
(
this
.
status
==
1
)
{
this
.
switch_status
=
true
;
}
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsExtendApiDetails.ts
浏览文件 @
402b5663
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
format
from
'
date-fns/format
'
;
...
...
@@ -26,6 +25,7 @@ export class AppsExtendApiDetails extends Apps {
override
init
(
data
:
any
):
void
{
Object
.
assign
(
this
,
data
);
super
.
init
(
data
);
if
(
this
.
status
==
1
)
{
this
.
switch_status
=
true
;
}
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsFormBasedDetails.ts
浏览文件 @
402b5663
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
format
from
'
date-fns/format
'
;
...
...
@@ -32,6 +31,7 @@ export class AppsFormBasedDetails extends Apps {
override
init
(
data
:
any
):
void
{
Object
.
assign
(
this
,
data
);
super
.
init
(
data
);
if
(
this
.
status
==
1
)
{
this
.
switch_status
=
true
;
}
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsJwtDetails.ts
浏览文件 @
402b5663
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
format
from
'
date-fns/format
'
;
...
...
@@ -40,6 +39,7 @@ export class AppsJwtDetails extends Apps {
override
init
(
data
:
any
):
void
{
Object
.
assign
(
this
,
data
);
super
.
init
(
data
);
if
(
this
.
status
==
1
)
{
this
.
switch_status
=
true
;
}
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsOauth20Details.ts
浏览文件 @
402b5663
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
format
from
'
date-fns/format
'
;
...
...
@@ -76,7 +75,8 @@ export class AppsOauth20Details extends Apps {
override
init
(
data
:
any
):
void
{
Object
.
assign
(
this
,
data
);
console
.
log
(
data
);
super
.
init
(
data
);
//console.log(data);
if
(
this
.
status
==
1
)
{
this
.
switch_status
=
true
;
}
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsSamlDetails.ts
浏览文件 @
402b5663
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
format
from
'
date-fns/format
'
;
...
...
@@ -77,6 +76,7 @@ export class AppsSamlDetails extends Apps {
override
init
(
data
:
any
):
void
{
Object
.
assign
(
this
,
data
);
super
.
init
(
data
);
this
.
fileType
=
'
certificate
'
;
this
.
metaUrl
=
''
;
if
(
this
.
category
==
null
||
this
.
category
==
''
)
{
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/AppsTokenBasedDetails.ts
浏览文件 @
402b5663
/*
* Copyright [2022] [MaxKey of copyright http://www.maxkey.top]
*
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import
format
from
'
date-fns/format
'
;
...
...
@@ -33,6 +32,7 @@ export class AppsTokenBasedDetails extends Apps {
override
init
(
data
:
any
):
void
{
Object
.
assign
(
this
,
data
);
super
.
init
(
data
);
if
(
this
.
status
==
1
)
{
this
.
switch_status
=
true
;
}
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/entity/TreeNodes.ts
浏览文件 @
402b5663
...
...
@@ -30,10 +30,11 @@ export class TreeNodes {
}
init
(
treeAttrs
:
any
)
{
let
nodeType
=
treeAttrs
.
rootNode
.
attrs
&&
treeAttrs
.
rootNode
.
attrs
.
type
?
treeAttrs
.
rootNode
.
attrs
.
type
:
''
;
this
.
_rootNode
=
{
title
:
treeAttrs
.
rootNode
.
title
,
key
:
treeAttrs
.
rootNode
.
key
,
type
:
treeAttrs
.
rootNode
.
attrs
.
t
ype
,
type
:
nodeT
ype
,
expanded
:
true
,
isLeaf
:
false
};
...
...
@@ -48,10 +49,11 @@ export class TreeNodes {
let
treeNodes
:
any
[]
=
[];
for
(
let
node
of
this
.
request
)
{
if
(
node
.
key
!=
rootNode
.
key
&&
node
.
parentKey
==
rootNode
.
key
)
{
let
treeNode
=
{
title
:
node
.
title
,
key
:
node
.
key
,
type
:
node
.
attrs
.
type
,
expanded
:
false
,
isLeaf
:
true
};
let
nodeType
=
node
.
attrs
&&
node
.
attrs
.
type
?
node
.
attrs
.
type
:
''
;
let
treeNode
=
{
title
:
node
.
title
,
key
:
node
.
key
,
type
:
nodeType
,
expanded
:
false
,
isLeaf
:
true
};
this
.
buildTree
(
treeNode
);
treeNodes
.
push
(
treeNode
);
console
.
log
(
treeNode
);
//
console.log(treeNode);
rootNode
.
isLeaf
=
false
;
}
}
...
...
maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.html
浏览文件 @
402b5663
此差异已折叠。
点击以展开。
maxkey-web-frontend/maxkey-web-mgt-app/src/app/routes/apps/app-cas-details-editer/app-cas-details-editer.component.ts
浏览文件 @
402b5663
...
...
@@ -86,6 +86,7 @@ export class AppCasDetailsEditerComponent implements OnInit {
if
(
this
.
isEdit
)
{
this
.
appsCasDetailsService
.
get
(
`
${
this
.
id
}
`
).
subscribe
(
res
=>
{
this
.
form
.
model
.
init
(
res
.
data
);
//console.log(this.form.model);
this
.
previewImage
=
this
.
form
.
model
.
iconBase64
.
toString
();
this
.
fileList
=
[
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录