This commit is contained in:
‘937886381’
2025-01-08 16:10:46 +08:00
parent 00f54f3de6
commit 04a5359eda
10 changed files with 155 additions and 151 deletions

View File

@@ -195,7 +195,9 @@ export default {
},
methods: {
/** 批量确认 */
async searchBarClicked(btn) {
async handleSearchBarBtnClick(btn) {
console.log(11111);
switch (btn.btnName) {
case 'batchConfirm':
if (this.$refs['waiting-list-table'].selectedPlan.length == 0) {
@@ -258,7 +260,16 @@ export default {
res.code == 0 && this.$modal.msgSuccess('确认成功');
res.code != 0 && this.$modal.msgError('确认失败');
})
.catch(() => {});
.catch(() => { });
break;
case 'search':
this.getList()
break;
case 'add':
this.addOrUpdateVisible = true;
this.$nextTick(() => {
this.$refs.addOrUpdate.init();
});
break;
}
},