mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-22 01:06:45 +08:00
取消勾选,默认分页
This commit is contained in:
@@ -39,7 +39,7 @@
|
||||
</a-cascader>
|
||||
</div>
|
||||
<div style="display: flex; margin-bottom: 20px">
|
||||
<div class="btnzx btnzx1" @click="getTableData">
|
||||
<div class="btnzx btnzx1" @click="searchData">
|
||||
<div class="search"></div>
|
||||
<div class="btnzText">搜索</div>
|
||||
</div>
|
||||
@@ -135,6 +135,7 @@ export default {
|
||||
const reset = async () => {
|
||||
state.createName = "";
|
||||
state.testName = "";
|
||||
state.selectedRowKeys = [];
|
||||
state.orgId = state.resetOrgId;
|
||||
getTableData();
|
||||
};
|
||||
@@ -364,6 +365,11 @@ export default {
|
||||
},
|
||||
},
|
||||
]);
|
||||
const searchData=async()=>{
|
||||
state.pageNo=1
|
||||
state.pageSize=10
|
||||
getTableData()
|
||||
}
|
||||
const getTableData = async () => {
|
||||
state.tableLoading = true;
|
||||
const params = {
|
||||
@@ -448,6 +454,7 @@ export default {
|
||||
});
|
||||
return {
|
||||
reset,
|
||||
searchData,
|
||||
exportDetail,
|
||||
exportDetils,
|
||||
...toRefs(state),
|
||||
|
||||
Reference in New Issue
Block a user