查找决策信息微调

This commit is contained in:
joylink_zhaoerwei 2023-09-19 16:14:35 +08:00
parent 7a7d8e18f0
commit e54ba3ba51

View File

@ -31,7 +31,7 @@
class="q-mr-md" class="q-mr-md"
color="primary" color="primary"
label="查询" label="查询"
@click="searchDialog = true" @click="openSearchDialog"
/> />
<q-btn color="primary" label="新建" @click="createFormShow = true" /> <q-btn color="primary" label="新建" @click="createFormShow = true" />
</template> </template>
@ -297,15 +297,13 @@ const filter = ref({
alertType: '', alertType: '',
areaConfigName: '', areaConfigName: '',
}); });
function openSearchDialog() {
filter.value = { alertType: '', areaConfigName: '' };
searchDialog.value = true;
}
function searchDecisionInfo() { function searchDecisionInfo() {
searchDialog.value = false; searchDialog.value = false;
try {
tableRef.value.requestServerInteraction(); tableRef.value.requestServerInteraction();
} finally {
setTimeout(() => {
filter.value = { alertType: '', areaConfigName: '' };
});
}
} }
const createFormShow = ref(false); const createFormShow = ref(false);