Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
gateway-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ui
gateway-ui
Commits
8b8adda1
Commit
8b8adda1
authored
Dec 23, 2019
by
derong.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复测试问题
parent
58fb478a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
mainconfiguration.vue
src/pages/mainconfiguration/mainconfiguration.vue
+16
-14
No files found.
src/pages/mainconfiguration/mainconfiguration.vue
View file @
8b8adda1
...
...
@@ -427,7 +427,6 @@ export default {
this
.
colorupdata
=
true
this
.
colorupdatacolor
=
true
this
.
origenselectserver
=
this
.
server
// this.testmostatus = this.aftertestmostatus === 'true' ? '开启' : '关闭'
},
serviceAdministrator
(
key
)
{
this
.
changekey
=
key
...
...
@@ -544,11 +543,6 @@ export default {
this
.
$Message
.
error
(
'
请先输入要添加的内容
'
)
return
}
if
(
this
.
contrastlist
.
length
===
0
)
{
this
.
contrastlist
=
[]
}
else
{
this
.
contrastlist
.
push
(
this
.
singlebaraddition
)
}
this
.
logData
.
push
({
sort
:
this
.
singlebaraddition
})
this
.
logparamsarr
.
push
(
this
.
singlebaraddition
)
this
.
singlebaraddition
=
''
...
...
@@ -572,12 +566,6 @@ export default {
this
.
logparamsarr
=
arr
arr
.
map
(
item
=>
{
this
.
logData
.
push
({
sort
:
item
})
if
(
this
.
contrastlist
.
length
===
0
)
{
this
.
contrastlist
=
[]
}
else
{
this
.
contrastlist
.
push
(
item
)
}
// this.contrastlist.push(item)
})
this
.
alladdModal
=
false
this
.
colorupdata
=
true
...
...
@@ -666,6 +654,7 @@ export default {
},
confireupdate
()
{
this
.
logData
[
this
.
updateconfigindex
].
sort
=
this
.
updateconfig
this
.
logparamsarr
[
this
.
updateconfigindex
]
=
this
.
updateconfig
this
.
updateconfigModal
=
false
this
.
colorupdata
=
true
this
.
colorupdatacolor
=
true
...
...
@@ -744,7 +733,6 @@ export default {
}
else
{
this
.
paramscontent
=
this
.
logparamsarr
}
// let params = this.logparamsarr
postconfigurelist
(
data
,
this
.
paramscontent
).
then
(
data
=>
{
if
(
data
.
code
===
200
)
{
this
.
$Message
.
success
(
'
发布成功
'
)
...
...
@@ -761,6 +749,10 @@ export default {
this
.
changeserverModal
=
true
return
}
if
(
this
.
changeserverlist
===
true
)
{
this
.
changeserverModal
=
true
return
}
this
.
service_name
=
data
this
.
getnodeList
()
this
.
getkeytext
(
'
url_auth_list
'
)
...
...
@@ -779,6 +771,7 @@ export default {
this
.
changeserverModal
=
false
this
.
colorupdatacolor
=
false
this
.
colorupdata
=
false
this
.
changeserverlist
=
false
},
getnodeList
()
{
let
data
=
{
...
...
@@ -809,6 +802,7 @@ export default {
this
.
ContrastnodeModal
=
false
this
.
nodeData
[
this
.
updatenodeIndex
].
updatacolorclass
=
false
this
.
nodeData
=
this
.
nodeData
.
slice
()
this
.
changeserverlist
=
false
}
else
{
this
.
$Message
.
error
(
data
.
body
)
}
...
...
@@ -826,6 +820,7 @@ export default {
this
.
logData
=
[]
this
.
contrastlist
=
[]
this
.
testdiv
=
false
this
.
colorupdatacolor
=
false
this
.
getkeytext
(
this
.
changekey
)
this
.
getconfigurlist
(
this
.
changekey
,
this
.
server
)
}
...
...
@@ -836,6 +831,7 @@ export default {
this
.
listonecolorserv
=
false
this
.
listonecolordoma
=
false
this
.
listonecolortest
=
false
this
.
colorupdatacolor
=
false
this
.
isShowList
=
true
this
.
testdiv
=
false
this
.
logData
=
[]
...
...
@@ -850,6 +846,7 @@ export default {
this
.
listonecolorserv
=
false
this
.
listonecolordoma
=
false
this
.
listonecolortest
=
false
this
.
colorupdatacolor
=
false
this
.
isShowList
=
true
this
.
testdiv
=
false
this
.
logData
=
[]
...
...
@@ -864,6 +861,7 @@ export default {
this
.
listonecolorserv
=
false
this
.
listonecolordoma
=
true
this
.
listonecolortest
=
false
this
.
colorupdatacolor
=
false
this
.
isShowList
=
true
this
.
testdiv
=
false
this
.
logData
=
[]
...
...
@@ -878,6 +876,7 @@ export default {
this
.
listonecolorserv
=
true
this
.
listonecolordoma
=
false
this
.
listonecolortest
=
false
this
.
colorupdatacolor
=
false
this
.
isShowList
=
true
this
.
testdiv
=
false
this
.
logData
=
[]
...
...
@@ -892,6 +891,7 @@ export default {
this
.
listonecolorserv
=
false
this
.
listonecolordoma
=
false
this
.
listonecolortest
=
true
this
.
colorupdatacolor
=
false
this
.
isShowList
=
false
this
.
testdiv
=
true
this
.
logData
=
[]
...
...
@@ -920,12 +920,14 @@ export default {
confireupdatenode
()
{
this
.
nodeData
[
this
.
updatenodeIndex
].
Meta
.
weight
=
this
.
updateweight
this
.
nodeData
[
this
.
updatenodeIndex
].
updatacolorclass
=
true
this
.
changeserverlist
=
true
this
.
newupdateweight
=
this
.
updateweight
this
.
updatenodeModal
=
false
this
.
nodeData
=
this
.
nodeData
.
slice
()
this
.
updateweight
=
''
// this.colorupdata = true
this
.
colorupdatacolor
=
true
this
.
colorupdatacolor
=
true
this
.
origenselectserver
=
this
.
server
}
},
created
()
{
...
...
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