mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-24 18:22:55 +08:00
修改重置 查询参数
This commit is contained in:
@@ -237,16 +237,16 @@ export default defineComponent({
|
||||
getTableDate()
|
||||
// 搜索
|
||||
const handleSearch = () => {
|
||||
state.currentPage1 = 1
|
||||
state.pageIndex = 1
|
||||
// 在这里可以添加实际的搜索逻辑
|
||||
console.log('搜索参数:', state.searchData)
|
||||
getTableDate();
|
||||
};
|
||||
// 重置
|
||||
const handleReset = () => {
|
||||
state.pageIndex=1,
|
||||
state.pageSize=10,
|
||||
state.searchData = {
|
||||
pageIndex: 1,
|
||||
pageSize: 10,
|
||||
caseTitle: "",
|
||||
optType: "",
|
||||
optStatus: "",
|
||||
@@ -276,9 +276,9 @@ export default defineComponent({
|
||||
console.log(res, '清空日志接口返回参数');
|
||||
if (res.data.status == 200) {
|
||||
message.success(res.data.message);
|
||||
state.searchData = {
|
||||
pageIndex: 1,
|
||||
pageSize: 10,
|
||||
state.pageIndex=1,
|
||||
state.pageSize=10,
|
||||
state.searchData = {
|
||||
caseTitle: "",
|
||||
optType: "",
|
||||
optStatus: "",
|
||||
|
||||
Reference in New Issue
Block a user