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
31fc42fa
Commit
31fc42fa
authored
Dec 03, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化应用数据搜索
parent
923fda5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
base-manager-ui/admin/src/pages/basicset/appmarket/components/DataUpdate.vue
...in/src/pages/basicset/appmarket/components/DataUpdate.vue
+5
-3
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/components/DataUpdate.vue
View file @
31fc42fa
...
...
@@ -9,7 +9,6 @@
<div
class=
"search-box"
>
<a-input-group
compact
>
<a-select
style=
"min-width: 100px"
v-model=
"fieldCode"
>
<a-select-option
value=
""
>
全部
</a-select-option>
<a-select-option
v-for=
"v in appTemplate"
:key=
"v.id"
...
...
@@ -214,6 +213,9 @@ export default {
this
.
appTemplate
=
data
.
sort
((
a
,
b
)
=>
{
return
a
.
fieldOrderNo
-
b
.
fieldOrderNo
;
});
if
(
this
.
appTemplate
.
length
)
{
this
.
fieldCode
=
this
.
appTemplate
[
0
].
fieldCode
;
}
}
},
// 获取数据列表
...
...
@@ -224,7 +226,7 @@ export default {
size
:
this
.
size
,
appId
:
this
.
appId
,
fieldCode
:
this
.
fieldCode
,
fieldValue
:
this
.
searchVal
,
fieldValue
:
`%
${
this
.
searchVal
}
%`
,
});
this
.
loading
=
false
;
if
(
res
.
data
.
code
===
1
)
{
...
...
@@ -354,4 +356,4 @@ video {
width: 50px;
cursor: pointer;
}
</
style
>
\ No newline at end of file
</
style
>
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