Refactor Code ระบบลา
This commit is contained in:
parent
75dfc3b004
commit
9498748c94
16 changed files with 202 additions and 349 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import { ref, reactive, watch } from "vue";
|
||||
import http from "@/plugins/http";
|
||||
import config from "@/app.config";
|
||||
import { useQuasar } from "quasar";
|
||||
|
||||
/** ImportType */
|
||||
import type {
|
||||
|
|
@ -11,10 +12,12 @@ import type {
|
|||
|
||||
/** ImportComponents */
|
||||
import DialogHeader from "@/components/DialogHeader.vue";
|
||||
|
||||
/** importstore*/
|
||||
import { useCounterMixin } from "@/stores/mixin";
|
||||
import { useQuasar } from "quasar";
|
||||
|
||||
const $q = useQuasar();
|
||||
|
||||
const mixin = useCounterMixin();
|
||||
const { dialogConfirm, success, messageError } = mixin;
|
||||
|
||||
|
|
@ -142,7 +145,7 @@ function close() {
|
|||
/***/
|
||||
watch(
|
||||
() => props.modal,
|
||||
(newDetailData, oldDetailData) => {
|
||||
() => {
|
||||
if (props.editCheck === "add") {
|
||||
formData.startTimeMorning = "";
|
||||
formData.endTimeMorning = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue