Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
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
赵啸非
smart_gov_platform
Commits
de158f57
Commit
de158f57
authored
Jun 27, 2023
by
王晓旭
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
平台设置-api服务--默认展示全部接口信息
平台设置-api服务-搜索无效
parent
b9280317
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
7 deletions
+22
-7
portal-manager-ui/admin/src/views/thePlatformIsSet/components/APIServe/APIServe.vue
...c/views/thePlatformIsSet/components/APIServe/APIServe.vue
+22
-7
No files found.
portal-manager-ui/admin/src/views/thePlatformIsSet/components/APIServe/APIServe.vue
View file @
de158f57
...
...
@@ -67,7 +67,12 @@ export default {
data
()
{
return
{
searchVal
:
""
,
stepsList
:
[],
stepsList
:
[
{
id
:
''
,
productName
:
'
全部
'
,
}
],
isSearch
:
false
,
active
:
0
,
...
...
@@ -86,13 +91,22 @@ export default {
getProduct
({
page
:
1
,
size
:
-
1
,
//每页条数
productName
:
`%
${
this
.
searchVal
}
%`
,
//
productName: `%${this.searchVal}%`,
}).
then
((
res
)
=>
{
let
{
code
,
data
}
=
res
;
if
(
code
==
1
)
{
if
(
data
.
data
.
length
)
{
this
.
stepsList
=
data
.
data
;
this
.
getApiDetail
(
data
.
data
[
0
]);
let
arr
=
[
{
id
:
''
,
productName
:
'
全部
'
,
}
]
data
.
data
.
forEach
(
item
=>
{
arr
.
push
(
item
)
});
this
.
stepsList
=
arr
this
.
getApiDetail
(
this
.
stepsList
[
0
]);
}
else
{
this
.
curApiInfo
=
{};
}
...
...
@@ -101,7 +115,7 @@ export default {
},
getApiDetail
(
item
)
{
getInterfaceList
({
page
:
1
,
size
:
-
1
,
productId
:
item
.
id
}).
then
(
getInterfaceList
({
page
:
1
,
size
:
-
1
,
productId
:
item
.
id
,
interfaceName
:
`%
${
this
.
searchVal
}
%`
,
}).
then
(
(
res
)
=>
{
let
{
code
,
data
}
=
res
;
if
(
code
==
1
)
{
...
...
@@ -115,8 +129,9 @@ export default {
);
},
handleSearch
()
{
this
.
active
=
0
;
this
.
getServiceApiList
();
// this.active = 0;
// this.getServiceApiList();
this
.
getApiDetail
(
this
.
stepsList
[
this
.
active
])
// this.isSearch = !this.isSearch;
// if (this.isSearch) {
...
...
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