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
1dacb7d3
Commit
1dacb7d3
authored
Oct 22, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
perf: 优化系统设置参数搜索和应用数据搜索
parent
057edb12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
30 deletions
+14
-30
base-manager-ui/admin/src/pages/basicset/appmarket/components/DataUpdate.vue
...in/src/pages/basicset/appmarket/components/DataUpdate.vue
+14
-23
base-manager-ui/admin/src/pages/basicset/system/parameter/Parameter.vue
...i/admin/src/pages/basicset/system/parameter/Parameter.vue
+0
-7
No files found.
base-manager-ui/admin/src/pages/basicset/appmarket/components/DataUpdate.vue
View file @
1dacb7d3
...
...
@@ -255,32 +255,23 @@ export default {
// 获取数据列表
async
getDatasetList
()
{
this
.
loading
=
true
;
let
orConditionList
=
[
{
fieldCode
:
this
.
fieldCode
,
fieldValue
:
`%
${
this
.
searchVal
}
%`
,
},
...
this
.
sortSearch
,
];
let
res
=
await
getDatasetList
({
let
obj
=
{};
let
orConditionList
=
[];
let
form
=
{
page
:
this
.
current
,
size
:
this
.
size
,
appId
:
this
.
appId
,
orConditionList
,
// fieldCode: this.fieldCode,
// fieldValue: `%${this.searchVal}%`,
// orConditionList: [
// {
// fieldCode: this.fieldCode,
// fieldValue: `%${this.searchVal}%`,
// },
// {
// fieldCode: "top",
// fieldValue: `%%`,
// },
// ],
});
};
if
(
this
.
fieldCode
)
{
obj
.
fieldCode
=
this
.
fieldCode
;
obj
.
fieldValue
=
`%
${
this
.
searchVal
}
%`
;
orConditionList
.
push
(
obj
);
}
orConditionList
=
[...
orConditionList
,
...
this
.
sortSearch
];
if
(
orConditionList
.
length
)
{
form
.
orConditionList
=
orConditionList
;
}
let
res
=
await
getDatasetList
(
form
);
this
.
loading
=
false
;
if
(
res
.
data
.
code
===
1
)
{
let
{
data
,
total
}
=
res
.
data
.
data
;
...
...
base-manager-ui/admin/src/pages/basicset/system/parameter/Parameter.vue
View file @
1dacb7d3
...
...
@@ -14,11 +14,6 @@
v-model=
"searchForm.name"
allowClear
/>
<a-input
placeholder=
"请输入二级组织搜索"
v-model=
"searchForm.secondOrganize"
allowClear
/>
<a-button
type=
"primary"
@
click=
"onSearch"
>
搜索
</a-button>
<a-button
@
click=
"resetSearch"
>
重置
</a-button>
</a-space>
...
...
@@ -185,7 +180,6 @@ export default {
searchValue
:
""
,
// 搜索
searchForm
:
{
name
:
""
,
secondOrganize
:
""
,
},
tableData
:
[],
selectedRowKeys
:
[],
...
...
@@ -205,7 +199,6 @@ export default {
page
:
this
.
current
,
size
:
this
.
size
,
name
:
`%
${
this
.
searchForm
.
name
}
%`
,
secondOrganize
:
`%
${
this
.
searchForm
.
secondOrganize
}
%`
,
});
this
.
loading
=
false
;
if
(
res
.
data
.
code
==
1
)
{
...
...
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