mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-15 13:56:45 +08:00
feat:合并
This commit is contained in:
@@ -564,7 +564,7 @@
|
||||
<a-input
|
||||
v-model:value="gatenamee"
|
||||
style="width: 270px; height: 40px; border-radius: 8px"
|
||||
placeholder="关卡名称"
|
||||
placeholder="请输入姓名"
|
||||
/>
|
||||
<div class="btns" @click="searchLevel">
|
||||
<div class="btn btn1">
|
||||
@@ -1649,7 +1649,7 @@ export default {
|
||||
//获取学员列表
|
||||
const getStudent = () => {
|
||||
let obj = {
|
||||
name: "",
|
||||
name: state.gatenamee,
|
||||
pageNo: state.currentPage,
|
||||
pageSize: 10,
|
||||
routerId: state.routerId,
|
||||
@@ -1985,10 +1985,12 @@ export default {
|
||||
});
|
||||
};
|
||||
const searchLevel = () => {
|
||||
const result = state.tableData.filter(
|
||||
(item) => item.cur == state.gatenamee
|
||||
);
|
||||
state.tableData = result;
|
||||
// const result = state.tableData.filter(
|
||||
// (item) => item.cur == state.gatenamee
|
||||
// );
|
||||
// state.tableData = result;
|
||||
state.currentPage = 1;
|
||||
getStudent();
|
||||
};
|
||||
const resetLevel = () => {
|
||||
state.gatenamee = "";
|
||||
|
||||
Reference in New Issue
Block a user