fixing modal datepicker
This commit is contained in:
parent
665c24b772
commit
a5a967c09f
3 changed files with 0 additions and 9 deletions
|
|
@ -236,8 +236,6 @@ function onSubmit() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const customPosition = () => ({ top: "490px", left: "410px" });
|
|
||||||
|
|
||||||
async function getDataByYear() {
|
async function getDataByYear() {
|
||||||
if (formData.year) {
|
if (formData.year) {
|
||||||
showLoader();
|
showLoader();
|
||||||
|
|
@ -388,9 +386,7 @@ watch(
|
||||||
v-model="formData.year"
|
v-model="formData.year"
|
||||||
:locale="'th'"
|
:locale="'th'"
|
||||||
autoApply
|
autoApply
|
||||||
position="center"
|
|
||||||
year-picker
|
year-picker
|
||||||
:alt-position="customPosition"
|
|
||||||
:enableTimePicker="false"
|
:enableTimePicker="false"
|
||||||
@update:model-value="getDataByYear(), (projectName = '')"
|
@update:model-value="getDataByYear(), (projectName = '')"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
|
|
@ -7,9 +7,6 @@ import http from "@/plugins/http";
|
||||||
import config from "@/app.config";
|
import config from "@/app.config";
|
||||||
import { useDataStore } from "@/stores/data";
|
import { useDataStore } from "@/stores/data";
|
||||||
|
|
||||||
//history dialog
|
|
||||||
import DialogHistory from "@/modules/10_registry/Dialog/DialogHistory.vue";
|
|
||||||
|
|
||||||
import DialogDevelop from "@/modules/10_registry/Dialog/DialogDevelopmant.vue";
|
import DialogDevelop from "@/modules/10_registry/Dialog/DialogDevelopmant.vue";
|
||||||
|
|
||||||
const typeIDP = ref<string>("");
|
const typeIDP = ref<string>("");
|
||||||
|
|
|
||||||
|
|
@ -254,7 +254,6 @@ watch(
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
const customPosition = () => ({ top: "385px", left: "410px" });
|
|
||||||
async function getDataByYear() {
|
async function getDataByYear() {
|
||||||
if (formData.year) {
|
if (formData.year) {
|
||||||
showLoader();
|
showLoader();
|
||||||
|
|
@ -409,7 +408,6 @@ function filterOptionFn(val: string, update: Function) {
|
||||||
autoApply
|
autoApply
|
||||||
position="center"
|
position="center"
|
||||||
year-picker
|
year-picker
|
||||||
:alt-position="customPosition"
|
|
||||||
:enableTimePicker="false"
|
:enableTimePicker="false"
|
||||||
@update:model-value="getDataByYear(), (projectName = '')"
|
@update:model-value="getDataByYear(), (projectName = '')"
|
||||||
>
|
>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue