Работа над расширенным поиском

This commit is contained in:
Book Pauk
2022-12-06 21:03:46 +07:00
parent 5faa6a1e8f
commit 0c07f638f9
6 changed files with 328 additions and 36 deletions

View File

@@ -0,0 +1,67 @@
<template>
<Dialog ref="dialog" v-model="dialogVisible">
<template #header>
<div class="row items-center">
<div style="font-size: 110%">
Расширенный поиск
</div>
</div>
</template>
<div ref="box" class="column q-mt-xs overflow-auto no-wrap" style="width: 200px; padding: 0px 10px 10px 10px;">
</div>
<template #footer>
<q-btn class="q-px-md q-ml-sm" color="primary" dense no-caps @click="okClick">
OK
</q-btn>
</template>
</Dialog>
</template>
<script>
//-----------------------------------------------------------------------------
import vueComponent from '../../vueComponent.js';
import Dialog from '../../share/Dialog.vue';
const componentOptions = {
components: {
Dialog
},
watch: {
modelValue(newValue) {
this.dialogVisible = newValue;
},
dialogVisible(newValue) {
this.$emit('update:modelValue', newValue);
},
}
};
class SelectExtSearchDialog {
_options = componentOptions;
_props = {
modelValue: Boolean,
extSearch: Object,
};
dialogVisible = false;
created() {
this.commit = this.$store.commit;
}
mounted() {
}
okClick() {
this.dialogVisible = false;
}
}
export default vueComponent(SelectExtSearchDialog);
//-----------------------------------------------------------------------------
</script>
<style scoped>
</style>