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
d50935f0
Commit
d50935f0
authored
Nov 11, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
申请的服务详情页字段缺失
parent
db5482a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
20 deletions
+19
-20
src/components/service-header.vue
src/components/service-header.vue
+2
-1
src/pages/workbench/fwgl/apply_service_detail.vue
src/pages/workbench/fwgl/apply_service_detail.vue
+17
-19
No files found.
src/components/service-header.vue
View file @
d50935f0
...
@@ -306,7 +306,8 @@ export default {
...
@@ -306,7 +306,8 @@ export default {
.info_detail
p
{
.info_detail
p
{
color
:
#8890a7
;
color
:
#8890a7
;
}
}
.info_detail
span
{
.info_detail
span
,
.info_detail
a
{
color
:
#242c43
;
color
:
#242c43
;
font-weight
:
600
;
font-weight
:
600
;
margin-right
:
48px
;
margin-right
:
48px
;
...
...
src/pages/workbench/fwgl/apply_service_detail.vue
View file @
d50935f0
...
@@ -155,7 +155,6 @@ export default {
...
@@ -155,7 +155,6 @@ export default {
use_approval_arr
:
[],
use_approval_arr
:
[],
process_in_up
:
false
,
//是否是服务注册产生的
process_in_up
:
false
,
//是否是服务注册产生的
perception_in
:
false
,
//是否是感知服务
perception_in
:
false
,
//是否是感知服务
service_apply_type
:
1
,
//服务申请的方式,1:计次收费2:时长收费
port_select
:
""
,
port_select
:
""
,
req_solt_code_arr
:
""
,
req_solt_code_arr
:
""
,
res_solt_code_arr
:
""
,
res_solt_code_arr
:
""
,
...
@@ -530,6 +529,10 @@ export default {
...
@@ -530,6 +529,10 @@ export default {
name
:
"
服务到期时间
"
,
name
:
"
服务到期时间
"
,
text
:
""
,
text
:
""
,
},
},
{
name
:
"
可用调用次数
"
,
text
:
""
,
},
],
],
second
:
[
second
:
[
{
{
...
@@ -841,31 +844,24 @@ export default {
...
@@ -841,31 +844,24 @@ export default {
this
.
perception_in
=
false
;
this
.
perception_in
=
false
;
}
}
if
(
this
.
service_apply_type
==
1
)
{
if
(
data
.
service_apply_info
.
spcs_type
==
1
)
{
this
.
$set
(
this
.
service_header_arr
[
"
first
"
][
2
],
"
text
"
,
"
不限时长
"
);
this
.
$set
(
this
.
$set
(
this
.
service_header_arr
[
"
first
"
][
2
],
this
.
service_header_arr
[
"
first
"
][
3
],
"
text
"
,
"
text
"
,
data
.
service_apply_info
.
service_end_time
==
"
0001-01-01T00:00:00Z
"
data
.
service_apply_info
.
spcs_count
?
"
-
"
:
data
.
service_apply_info
.
service_end_time
.
replace
(
"
T
"
,
"
"
)
.
split
(
"
+
"
)[
0
]
);
this
.
$set
(
this
.
service_header_arr
[
"
first
"
][
2
],
"
name
"
,
"
可调用次数
"
);
);
}
else
{
}
else
{
this
.
$set
(
this
.
$set
(
this
.
service_header_arr
[
"
first
"
][
2
],
this
.
service_header_arr
[
"
first
"
][
2
],
"
text
"
,
"
text
"
,
data
.
service_apply_info
.
service_end_time
==
"
0001-01-01T00:00:00Z
"
data
.
service_apply_info
.
service_end_time
?
"
-
"
.
replace
(
/T|Z/g
,
"
"
)
:
data
.
service_apply_info
.
service_end_time
.
split
(
"
+
"
)[
0
]
.
replace
(
"
T
"
,
"
"
)
.
split
(
"
+
"
)[
0
]
);
);
this
.
$set
(
this
.
service_header_arr
[
"
first
"
][
3
],
"
text
"
,
"
不限次数
"
);
}
}
if
(
this
.
process_in_up
)
{
if
(
this
.
process_in_up
)
{
var
temp_sj
=
this
.
service_header_arr
.
first
.
pop
();
var
temp_sj
=
this
.
service_header_arr
.
first
.
pop
();
...
@@ -950,7 +946,9 @@ export default {
...
@@ -950,7 +946,9 @@ export default {
this
.
$set
(
this
.
$set
(
this
.
apply_arr
[
8
],
this
.
apply_arr
[
8
],
"
info
"
,
"
info
"
,
data
.
service_apply_info
.
apply_time
.
replace
(
/T|Z/g
,
"
"
).
split
(
"
+
"
)[
0
]
data
.
service_apply_info
.
apply_time
.
replace
(
/T|Z/g
,
"
"
)
.
split
(
"
+
"
)[
0
]
);
);
this
.
$set
(
this
.
$set
(
this
.
apply_arr
[
9
],
this
.
apply_arr
[
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