投票状态搜索修改参数

This commit is contained in:
zhangsir
2024-08-19 11:39:28 +08:00
parent 714425ac99
commit 7b051c205d
2 changed files with 12 additions and 12 deletions

View File

@@ -178,22 +178,22 @@
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
tableDataTotal: 0, tableDataTotal: 0,
projectName: '', projectName: null,
projectNameList: [ projectNameList: [
{ {
id: 1, id: 1,
value: "0", value: 0,
label: "未开始", label: "未开始",
}, },
{ {
id: 2, id: 2,
value: "2", value: 2,
label: "进行中", label: "进行中",
}, },
{ {
id: 3, id: 3,
value: "1", value: 1,
label: "已完成", label: "已完成",
}, },
], ],
@@ -342,7 +342,7 @@
ctx.emit("update:ProjectVoteModelVisible", false); ctx.emit("update:ProjectVoteModelVisible", false);
state.currentPage = 1; state.currentPage = 1;
state.name = ""; state.name = "";
state.projectName = ''; state.projectName = null;
state.tabledata = []; state.tabledata = [];
}; };
const afterVisibleChange = (bol) => { const afterVisibleChange = (bol) => {
@@ -443,7 +443,7 @@
state.tableDataTotalLoading = true; state.tableDataTotalLoading = true;
state.currentPage = 1; state.currentPage = 1;
state.name = ""; state.name = "";
state.projectName = ''; state.projectName = null;
getData(); getData();
} }

View File

@@ -182,22 +182,22 @@
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
tableDataTotal: 0, tableDataTotal: 0,
projectName: '', projectName: null,
projectNameList: [ projectNameList: [
{ {
id: 1, id: 1,
value: "0", value: 0,
label: "未开始", label: "未开始",
}, },
{ {
id: 2, id: 2,
value: "2", value: 2,
label: "进行中", label: "进行中",
}, },
{ {
id: 3, id: 3,
value: "1", value: 1,
label: "已完成", label: "已完成",
} }
], ],
@@ -362,7 +362,7 @@
ctx.emit("update:VoteModelVisible", false); ctx.emit("update:VoteModelVisible", false);
state.currentPage = 1; state.currentPage = 1;
state.name = ""; state.name = "";
state.projectName = ''; state.projectName = null;
state.tabledata = []; state.tabledata = [];
}; };
const afterVisibleChange = (bol) => { const afterVisibleChange = (bol) => {
@@ -464,7 +464,7 @@
state.tableDataTotalLoading = true; state.tableDataTotalLoading = true;
state.currentPage = 1; state.currentPage = 1;
state.name = ""; state.name = "";
state.projectName = ''; state.projectName = null;
getData(); getData();
} }