Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
ops_2024_vue
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
Administrator
ops_2024_vue
Commits
ea599ed4
Commit
ea599ed4
authored
Apr 08, 2024
by
cxr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug(cxr): 区域现货缺陷
parent
3edf914a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
src/views/super/regionalSpotManage/index.vue
src/views/super/regionalSpotManage/index.vue
+8
-1
No files found.
src/views/super/regionalSpotManage/index.vue
View file @
ea599ed4
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
v-model:current=
"page"
v-model:current=
"page"
simple
simple
:total=
"total"
:total=
"total"
@
change=
"pageChange"
>
>
<
template
#itemRender
="{
type
,
originalElement
}"
>
<
template
#itemRender
="{
type
,
originalElement
}"
>
<a-button
size=
"small"
v-if=
"type === 'prev'"
>
上一页
</a-button>
<a-button
size=
"small"
v-if=
"type === 'prev'"
>
上一页
</a-button>
...
@@ -384,6 +385,7 @@
...
@@ -384,6 +385,7 @@
if
(
res
.
success
)
{
if
(
res
.
success
)
{
peopleData
.
value
=
res
.
data
.
filter
((
item
)
=>
item
.
type
==
1
);
peopleData
.
value
=
res
.
data
.
filter
((
item
)
=>
item
.
type
==
1
);
rootData
.
value
=
res
.
data
.
filter
((
item
)
=>
item
.
type
==
0
);
rootData
.
value
=
res
.
data
.
filter
((
item
)
=>
item
.
type
==
0
);
getTableDate
();
}
else
{
}
else
{
peopleData
.
value
=
[];
peopleData
.
value
=
[];
rootData
.
value
=
[];
rootData
.
value
=
[];
...
@@ -397,7 +399,12 @@
...
@@ -397,7 +399,12 @@
},
},
});
});
};
};
//分页
const
pageChange
=
(
pageNo
:
any
,
pageSize
:
any
)
=>
{
console
.
log
(
pageNo
,
pageSize
);
page
.
value
=
pageNo
;
getTableDate
();
};
//过滤搜索
//过滤搜索
const
filterOption
=
(
input
:
string
,
option
:
any
)
=>
{
const
filterOption
=
(
input
:
string
,
option
:
any
)
=>
{
return
option
.
key
.
toLowerCase
().
indexOf
(
input
.
toLowerCase
())
>=
0
;
return
option
.
key
.
toLowerCase
().
indexOf
(
input
.
toLowerCase
())
>=
0
;
...
...
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