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
78ebfd8a
Commit
78ebfd8a
authored
Aug 06, 2020
by
张俊
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务详情服务编辑显示修改
parent
ff2cba72
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
2 deletions
+29
-2
src/pages/workbench/fwgl/serviceDetail.vue
src/pages/workbench/fwgl/serviceDetail.vue
+4
-1
src/pages/workbench/fwgl/serviceEdit.vue
src/pages/workbench/fwgl/serviceEdit.vue
+25
-1
No files found.
src/pages/workbench/fwgl/serviceDetail.vue
View file @
78ebfd8a
...
...
@@ -474,7 +474,7 @@ export default {
dyyw
:
e
.
business_name
,
ywxt
:
e
.
business_url
,
cjms
:
e
.
scene
,
sqsj
:
e
.
apply_time
sqsj
:
e
.
apply_time
.
split
(
'
+
'
)[
0
].
replace
(
'
T
'
,
'
'
)
});
});
}
...
...
@@ -750,6 +750,9 @@ export default {
padding
:
30px
10px
10px
10px
;
width
:
100%
;
}
.type_box_select
>>>
.outlist
.list
p
{
word-wrap
:
break-word
;
}
.service_title
{
font-size
:
16px
;
font-weight
:
bold
;
...
...
src/pages/workbench/fwgl/serviceEdit.vue
View file @
78ebfd8a
...
...
@@ -305,9 +305,15 @@ export default {
.
catch
(
function
(
response
)
{});
},
setService
(){
var
reg
=
/^
[
1-9
][
0-9
]{0,5}
$/
if
(
this
.
open
){
if
(
this
.
maxline
){
if
(
reg
.
test
(
this
.
maxline
)){
}
else
{
this
.
$message
.
error
(
'
请输入长度小于6的正整数
'
)
return
}
}
else
{
this
.
$message
.
error
(
'
请输入最大连接数
'
)
return
...
...
@@ -317,10 +323,24 @@ export default {
if
(
!
this
.
maxline1
){
this
.
$message
.
error
(
'
请输入最大连接数
'
)
return
}
else
{
if
(
reg
.
test
(
this
.
maxline1
)){
}
else
{
this
.
$message
.
error
(
'
请输入长度小于6的正整数
'
)
return
}
}
if
(
!
this
.
usetime1
){
this
.
$message
.
error
(
'
请输入有效时间
'
)
return
}
else
{
if
(
reg
.
test
(
this
.
maxline1
)){
}
else
{
this
.
$message
.
error
(
'
请输入长度小于6的正整数
'
)
return
}
}
if
(
this
.
timevalue
==
''
){
this
.
$message
.
error
(
'
请选择时间
'
)
...
...
@@ -355,7 +375,8 @@ export default {
return
}
this
.
$message
.
success
(
'
保存成功
'
)
this
.
getServiceInfo
()
// this.getServiceInfo()
this
.
$router
.
back
(
-
1
)
})
.
catch
(
function
(
response
)
{
...
...
@@ -424,6 +445,9 @@ export default {
background-color
:
#f7f8f9
;
width
:
1022px
;
}
.info_contain
.comments_pagination
.el-input__inner
{
width
:
auto
;
}
.info_contain
.el-textarea__inner
{
background-color
:
#f7f8f9
;
width
:
1022px
;
...
...
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