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
48870cb7
Commit
48870cb7
authored
Mar 23, 2022
by
张洋
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改服务到期时间的显示bug
parent
719a98be
Pipeline
#72465
passed with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
31 deletions
+35
-31
src/pages/workbench/fwgl/apply_service_detail.vue
src/pages/workbench/fwgl/apply_service_detail.vue
+35
-31
No files found.
src/pages/workbench/fwgl/apply_service_detail.vue
View file @
48870cb7
...
@@ -25,7 +25,10 @@
...
@@ -25,7 +25,10 @@
:list_arr=
"process_in_up_arr"
:list_arr=
"process_in_up_arr"
v-if=
"now_service == 1 && process_in_up"
v-if=
"now_service == 1 && process_in_up"
>
>
<div
slot=
"service_port"
class=
"service_port"
>
<div
slot=
"service_port"
class=
"service_port"
>
<el-select
<el-select
v-model=
"port_select"
v-model=
"port_select"
placeholder=
""
placeholder=
""
...
@@ -858,10 +861,7 @@ export default {
...
@@ -858,10 +861,7 @@ export default {
data
.
service_apply_info
.
urls
[
0
].
req_url
data
.
service_apply_info
.
urls
[
0
].
req_url
);
);
}
else
{
}
else
{
this
.
$set
(
this
.
$set
(
this
.
service_header_arr
[
"
second
"
][
0
],
"
text
"
,
"
暂无
"
);
this
.
service_header_arr
[
"
second
"
][
0
],
"
text
"
,
"
暂无
"
);
}
}
}
}
this
.
$set
(
this
.
service_header_arr
,
"
url
"
,
data
.
cover
);
this
.
$set
(
this
.
service_header_arr
,
"
url
"
,
data
.
cover
);
...
@@ -948,7 +948,7 @@ export default {
...
@@ -948,7 +948,7 @@ export default {
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
data
.
service_apply_info
.
request
_end_time
.
replace
(
/T|Z/g
,
"
"
)
.
replace
(
/T|Z/g
,
"
"
)
.
split
(
"
+
"
)[
0
]
.
split
(
"
+
"
)[
0
]
);
);
...
@@ -1094,13 +1094,18 @@ export default {
...
@@ -1094,13 +1094,18 @@ export default {
this
.
$set
(
this
.
$set
(
this
.
apply_arr
[
6
],
this
.
apply_arr
[
6
],
"
info
"
,
"
info
"
,
data
.
service_apply_info
.
request_start_time
&&
data
.
service_apply_info
.
request_end_time
?
data
.
service_apply_info
.
request_start_time
+
'
~
'
+
data
.
service_apply_info
.
request_end_time
:
'
-
'
data
.
service_apply_info
.
request_start_time
&&
data
.
service_apply_info
.
request_end_time
?
data
.
service_apply_info
.
request_start_time
+
"
~
"
+
data
.
service_apply_info
.
request_end_time
:
"
-
"
);
);
this
.
$set
(
this
.
$set
(
this
.
apply_arr
[
7
],
this
.
apply_arr
[
7
],
"
info
"
,
"
info
"
,
data
.
service_apply_info
.
reason_application
||
''
data
.
service_apply_info
.
reason_application
||
""
)
)
;
this
.
$set
(
this
.
$set
(
this
.
apply_arr
[
8
],
this
.
apply_arr
[
8
],
"
info
"
,
"
info
"
,
...
@@ -1137,31 +1142,30 @@ export default {
...
@@ -1137,31 +1142,30 @@ export default {
});
});
if
(
e
.
status
!==
0
)
{
if
(
e
.
status
!==
0
)
{
this
.
use_approval_arr
[
this
.
use_approval_arr
.
length
-
1
][
this
.
use_approval_arr
[
this
.
use_approval_arr
.
length
-
1
][
"
arr
"
]
=
"
arr
"
[
]
=
[
{
{
title
:
"
审批时间:
"
,
title
:
"
审批时间:
"
,
info
:
e
.
approval_time
.
split
(
"
+
"
)[
0
].
replace
(
"
T
"
,
"
"
),
info
:
e
.
approval_time
.
split
(
"
+
"
)[
0
].
replace
(
"
T
"
,
"
"
),
},
},
{
{
title
:
"
审批单位:
"
,
title
:
"
审批单位:
"
,
info
:
e
.
user_info
.
department_name
,
info
:
e
.
user_info
.
department_name
,
},
},
{
{
title
:
"
审批人:
"
,
title
:
"
审批人:
"
,
info
:
e
.
user_info
.
user_name
,
info
:
e
.
user_info
.
user_name
,
},
},
{
{
title
:
"
审批意见:
"
,
title
:
"
审批意见:
"
,
info
:
e
.
comments
,
info
:
e
.
comments
,
},
},
];
];
}
}
if
(
e
.
level
==
2
)
{
if
(
e
.
level
==
2
)
{
this
.
use_approval_arr
[
this
.
use_approval_arr
.
length
-
1
][
this
.
use_approval_arr
[
this
.
use_approval_arr
.
length
-
1
][
"
arr
"
"
arr
"
].
splice
(
1
,
1
)
].
splice
(
1
,
1
)
;
}
}
});
});
}
else
{
}
else
{
...
@@ -1171,7 +1175,7 @@ export default {
...
@@ -1171,7 +1175,7 @@ export default {
});
});
}
}
if
(
data
.
data_service_type1
!=
5
)
{
if
(
data
.
data_service_type1
!=
5
)
{
this
.
apply_arr
.
splice
(
5
,
1
)
this
.
apply_arr
.
splice
(
5
,
1
)
;
}
}
this
.
res_data
=
JSON
.
parse
(
data
.
res_fields
);
this
.
res_data
=
JSON
.
parse
(
data
.
res_fields
);
})
})
...
...
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