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