Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
api-gateway
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
API
api-gateway
Commits
e8e8d1dc
Commit
e8e8d1dc
authored
Sep 03, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改版本列表参数
parent
83847596
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
3 deletions
+33
-3
version-list.vue
src/components/api/version-list.vue
+33
-3
No files found.
src/components/api/version-list.vue
View file @
e8e8d1dc
<
template
>
<
template
>
<div>
<div>
<div
class=
"search-wrap m-b-20 flex flex-space-between"
>
<div
class=
"search-wrap m-b-20 flex flex-space-between"
>
<el-input
clearable
class=
"w-320"
placeholder=
"请输入版本号"
v-model=
"searchValue"
@
keyup
.
native=
"value => searchData(value)"
@
clear=
"clearInput"
>
<div>
<i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i>
<el-input
clearable
class=
"w-320"
placeholder=
"请输入版本号"
v-model=
"searchValue"
@
keyup
.
native=
"value => searchData(value)"
@
clear=
"clearInput"
>
</el-input>
<i
slot=
"prefix"
class=
"el-input__icon el-icon-search"
></i>
</el-input>
<el-select
class=
"w-137"
v-model=
"status"
placeholder=
"请选择"
@
change=
"changeStatus"
>
<el-option
v-for=
"item in statusOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
</div>
<div
class=
"search-wrap-right"
>
<div
class=
"search-wrap-right"
>
<el-radio-group
v-model=
"sceneCode"
@
change=
"changeType"
>
<el-radio-group
v-model=
"sceneCode"
@
change=
"changeType"
>
<el-radio-button
:label=
"item.sceneCode"
v-for=
"(item, index) in envOptions"
:key=
"index"
>
{{
item
.
sceneName
}}
</el-radio-button>
<el-radio-button
:label=
"item.sceneCode"
v-for=
"(item, index) in envOptions"
:key=
"index"
>
{{
item
.
sceneName
}}
</el-radio-button>
...
@@ -85,6 +91,29 @@ export default {
...
@@ -85,6 +91,29 @@ export default {
data
()
{
data
()
{
return
{
return
{
searchValue
:
''
,
searchValue
:
''
,
status
:
''
,
statusOptions
:
[
{
label
:
'所有发布状态'
,
value
:
''
},
{
label
:
'待发布'
,
value
:
'1'
},
{
label
:
'发布'
,
value
:
'2'
},
{
label
:
'下线'
,
value
:
'4'
},
{
label
:
'上线'
,
value
:
'5'
}
],
sceneCode
:
''
,
sceneCode
:
''
,
envOptions
:
[
envOptions
:
[
// {
// {
...
@@ -350,6 +379,7 @@ export default {
...
@@ -350,6 +379,7 @@ export default {
pageNum
:
that
.
currentPage
,
pageNum
:
that
.
currentPage
,
pageSize
:
that
.
pageSize
,
pageSize
:
that
.
pageSize
,
sceneCode
:
that
.
sceneCode
,
sceneCode
:
that
.
sceneCode
,
status
:
that
.
status
,
interfaceId
:
that
.
$route
.
query
.
interfaceId
interfaceId
:
that
.
$route
.
query
.
interfaceId
};
};
getRequest
(
'/gateway-manage/page-api-version-record'
,
para
)
getRequest
(
'/gateway-manage/page-api-version-record'
,
para
)
...
...
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