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
08126ed0
Commit
08126ed0
authored
May 20, 2020
by
刘殿昕
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化tab切换,修改menu冒泡
parent
7e6a4e6e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
6 deletions
+9
-6
src/components/menu.vue
src/components/menu.vue
+2
-1
src/pages/fwzc_fwcs.vue
src/pages/fwzc_fwcs.vue
+7
-5
No files found.
src/components/menu.vue
View file @
08126ed0
...
...
@@ -76,7 +76,7 @@
<div
v-for=
"(v, index) in item.children"
:key=
"index + 700"
@
click=
"gotoChildPage(v)"
@
click
.stop
=
"gotoChildPage(v)"
>
{{
v
.
name
}}
</div>
...
...
@@ -203,6 +203,7 @@ export default {
this
.
now_menu
=
index
;
},
gotoChildPage
(
v
)
{
console
.
log
(
v
)
if
(
v
.
path
)
{
this
.
$router
.
push
(
v
.
path
);
}
...
...
src/pages/fwzc_fwcs.vue
View file @
08126ed0
...
...
@@ -30,7 +30,7 @@
</div>
<div
class=
"fwcs_fwdz"
>
服务地址:
</div>
<div
class=
"fwcs_fwdz_inner"
>
<el-input
placeholder=
"请输入内容"
v-model=
"
input3
"
class=
"input-with-select"
>
<el-input
placeholder=
"请输入内容"
v-model=
"
serviceUrl
"
class=
"input-with-select"
>
<el-select
v-model=
"select"
slot=
"prepend"
placeholder=
"请选择"
>
<el-option
v-for=
"item in optionType"
...
...
@@ -270,7 +270,7 @@ export default {
{
icon
:
""
,
text
:
"
综合服务
"
,
id
:
4
}
],
activeBtn
:
0
,
input3
:
""
,
serviceUrl
:
""
,
select
:
"
GET
"
,
optionType
:
[
{
label
:
"
GET
"
,
value
:
"
GET
"
},
...
...
@@ -465,6 +465,8 @@ export default {
clickBtn
(
val
)
{
this
.
resultShow
=
false
;
this
.
activeBtn
=
val
;
this
.
select
=
"
GET
"
;
this
.
serviceUrl
=
""
;
},
clickFwcs
()
{
this
.
resultShow
=
true
;
...
...
@@ -500,7 +502,7 @@ export default {
let
url
=
`/apaas/service/v3/service/manager/test`
;
let
query
=
{
method
:
this
.
select
,
url
:
this
.
input3
,
url
:
this
.
serviceUrl
,
headers
:
headers
,
params
:
requestData
,
body
:
this
.
$refs
.
jsonCodes
.
getCodesVal
()
...
...
@@ -510,9 +512,9 @@ export default {
.
then
(
response
=>
{
if
(
response
.
data
.
success
==
1
)
{
let
data
=
response
.
data
.
data
;
if
(
this
.
activeName
==
1
)
{
if
(
this
.
active
Btn
==
0
&&
this
.
active
Name
==
1
)
{
this
.
datasQqcs
=
data
.
body_fields
;
}
else
{
}
else
if
(
this
.
activeBtn
==
0
)
{
this
.
datasQqcs
=
data
.
param_fields
;
}
this
.
datasFhcs
=
data
.
response_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