Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
19429208
Commit
19429208
authored
Aug 24, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order列表,个人档案,云详情
parent
147482e9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
24 deletions
+36
-24
src/components/order-list/order-list-com.vue
src/components/order-list/order-list-com.vue
+21
-15
src/pages/user/user_info.vue
src/pages/user/user_info.vue
+10
-6
src/pages/workbench/fwgl/cloud-detail.vue
src/pages/workbench/fwgl/cloud-detail.vue
+5
-3
No files found.
src/components/order-list/order-list-com.vue
View file @
19429208
...
...
@@ -169,22 +169,28 @@ export default {
let
service
=
0
;
let
app
=
0
;
let
resource
=
0
;
this
.
buttonList
.
forEach
((
item
)
=>
{
if
(
item
.
state
==
true
)
{
if
(
item
.
id
==
0
)
{
resource
=
1
;
app
=
1
;
service
=
1
;
}
else
if
(
item
.
id
==
"
cloud
"
)
{
resource
=
1
;
}
else
if
(
item
.
id
==
"
app
"
)
{
app
=
1
;
}
else
{
service
=
1
;
arr
.
push
(
item
.
id
);
if
(
this
.
buttonList
.
length
==
0
)
{
resource
=
1
;
app
=
1
;
service
=
1
;
}
else
{
this
.
buttonList
.
forEach
((
item
)
=>
{
if
(
item
.
state
==
true
)
{
if
(
item
.
id
==
0
)
{
resource
=
1
;
app
=
1
;
service
=
1
;
}
else
if
(
item
.
id
==
"
cloud
"
)
{
resource
=
1
;
}
else
if
(
item
.
id
==
"
app
"
)
{
app
=
1
;
}
else
{
service
=
1
;
arr
.
push
(
item
.
id
);
}
}
}
}
);
}
);
}
// console.log(service, app, resource);
let
params
=
{
select
:
this
.
search
,
...
...
src/pages/user/user_info.vue
View file @
19429208
...
...
@@ -83,9 +83,9 @@
<el-form-item
class=
"info_item"
>
<p>
IP(白名单):
</p>
<div
class=
"ip_block"
>
<div
v-for=
"
item
in formBusiness.ip_white"
:key=
"item"
class=
"ip_item"
>
<div
v-for=
"
(item, index)
in formBusiness.ip_white"
:key=
"item"
class=
"ip_item"
>
{{
item
}}
<i
class=
"el-icon-close ip_del"
@
click=
"delIp(i
tem
, 'white')"
></i>
<i
class=
"el-icon-close ip_del"
@
click=
"delIp(i
ndex
, 'white')"
></i>
</div>
<el-input
v-if=
"whiteAddShow"
...
...
@@ -99,9 +99,9 @@
<el-form-item
class=
"info_item"
>
<p>
IP(黑名单):
</p>
<div
class=
"ip_block"
>
<div
v-for=
"
item
in formBusiness.ip_black"
:key=
"item"
class=
"ip_item"
>
<div
v-for=
"
(item, index)
in formBusiness.ip_black"
:key=
"item"
class=
"ip_item"
>
{{
item
}}
<i
class=
"el-icon-close ip_del"
@
click=
"delIp(i
tem
, 'black')"
></i>
<i
class=
"el-icon-close ip_del"
@
click=
"delIp(i
ndex
, 'black')"
></i>
</div>
<el-input
v-if=
"blackAddShow"
...
...
@@ -564,8 +564,12 @@ export default {
}
document
.
body
.
removeChild
(
input
);
},
delIp
(
ip
,
type
)
{
console
.
log
(
ip
,
type
);
delIp
(
index
,
type
)
{
if
(
type
==
"
white
"
)
{
this
.
ruleForm_1
.
ip_white
.
splice
(
index
,
1
);
}
else
if
(
type
==
"
black
"
)
{
this
.
ruleForm_1
.
ip_black
.
splice
(
index
,
1
);
}
},
addIp
(
type
)
{
if
(
type
==
"
white
"
)
{
...
...
src/pages/workbench/fwgl/cloud-detail.vue
View file @
19429208
...
...
@@ -302,8 +302,7 @@ export default {
data
()
{
return
{
id
:
""
,
url
:
"
https://fuss10.elemecdn.com/e/5d/4a731a90594a4af544c0c25941171jpeg.jpeg
"
,
url
:
""
,
helper
,
list_arr
:
[
{
...
...
@@ -322,7 +321,7 @@ export default {
},
{
title
:
"
资源申请文件:
"
,
info
:
"
2
222222222222222222222
.docs
"
,
info
:
"
2.docs
"
,
url
:
""
,
type
:
"
down
"
,
},
...
...
@@ -493,6 +492,9 @@ export default {
this
.
apply_type
=
this
.
$route
.
query
.
apply_type
||
0
;
this
.
use_uid
=
this
.
$route
.
query
.
use_uid
||
""
;
this
.
id
=
this
.
$route
.
params
.
id
||
""
;
if
(
this
.
apply_type
!=
0
)
{
this
.
list_arr
[
2
].
title
=
"
资源调整数据规格
"
;
}
},
getUrl
()
{
return
this
.
$route
.
path
.
substring
(
0
,
9
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment