投票管理状态搜索值变更

This commit is contained in:
zhangsir
2024-08-16 16:15:02 +08:00
parent 2b971fda01
commit 714425ac99
2 changed files with 10 additions and 10 deletions

View File

@@ -178,12 +178,12 @@
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
tableDataTotal: 0, tableDataTotal: 0,
projectName: undefined, projectName: '',
projectNameList: [ projectNameList: [
{ {
id: 1, id: 1,
value: "1", value: "0",
label: "未开始", label: "未开始",
}, },
{ {
@@ -193,7 +193,7 @@
}, },
{ {
id: 3, id: 3,
value: "3", 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 = undefined; state.projectName = '';
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 = undefined; state.projectName = '';
getData(); getData();
} }

View File

@@ -182,12 +182,12 @@
pageSize: 10, pageSize: 10,
currentPage: 1, currentPage: 1,
tableDataTotal: 0, tableDataTotal: 0,
projectName: undefined, projectName: '',
projectNameList: [ projectNameList: [
{ {
id: 1, id: 1,
value: "1", value: "0",
label: "未开始", label: "未开始",
}, },
{ {
@@ -197,7 +197,7 @@
}, },
{ {
id: 3, id: 3,
value: "3", 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 = undefined; state.projectName = '';
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 = undefined; state.projectName = '';
getData(); getData();
} }