feat:合并

This commit is contained in:
lixg
2022-12-02 10:01:48 +08:00
parent 8ae00ef4ce
commit c1842cd0e1
6 changed files with 262 additions and 248 deletions

View File

@@ -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 = "";