ออกคำสั่ง step 2 เพิ่มปุ่ม (ค้าง comma)
This commit is contained in:
parent
b89c09a258
commit
a321b87321
3 changed files with 21 additions and 4 deletions
|
|
@ -6,6 +6,9 @@ interface ResponseData {
|
|||
selectStatus: boolean;
|
||||
sequence: number;
|
||||
refRecordId: string
|
||||
salaryAmount:number|null
|
||||
positionSalaryAmount:number|null
|
||||
monthSalaryAmount:number|null
|
||||
}
|
||||
|
||||
interface ResponseOrganiz {
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@
|
|||
class="q-px-md items-center"
|
||||
color="light-blue-10"
|
||||
label="บันทึก"
|
||||
@click="router.go(-1)"
|
||||
@click="saveData"
|
||||
/>
|
||||
</div>
|
||||
</q-card>
|
||||
|
|
@ -62,7 +62,7 @@ import { useRouter } from "vue-router";
|
|||
import { useCounterMixin } from "@/stores/mixin";
|
||||
|
||||
const mixin = useCounterMixin();
|
||||
const { date2Thai } = mixin;
|
||||
const { date2Thai ,dialogConfirm} = mixin;
|
||||
const router = useRouter();
|
||||
const $q = useQuasar();
|
||||
const dateStart = ref<any>(new Date());
|
||||
|
|
@ -74,4 +74,11 @@ const year = ref<string>("");
|
|||
const datelast = ref<string>("");
|
||||
|
||||
const routeName = router.currentRoute.value.name;
|
||||
|
||||
const saveData = () => {
|
||||
dialogConfirm($q,() => DataSave())
|
||||
}
|
||||
const DataSave = () => {
|
||||
router.go(-1)
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -362,11 +362,12 @@ import { useCounterMixin } from "@/stores/mixin";
|
|||
import type { DataOption } from "@/modules/05_placement/interface/index/Main";
|
||||
import type { OptionData } from "@/modules/07_insignia/interface/index/Main";
|
||||
import type { QTableProps, QInput } from "quasar";
|
||||
import { useQuasar } from "quasar";
|
||||
|
||||
// const router = useRouter();
|
||||
const mixin = useCounterMixin();
|
||||
const { date2Thai } = mixin;
|
||||
|
||||
const { date2Thai,dialogConfirm } = mixin;
|
||||
const $q = useQuasar();
|
||||
const tab = ref<string>("hight");
|
||||
const arrow = ref<boolean>(false);
|
||||
|
||||
|
|
@ -492,6 +493,12 @@ onMounted(() => {
|
|||
selectStatusOptionFilter.value = op2;
|
||||
});
|
||||
|
||||
const save = () => {
|
||||
dialogConfirm($q,() => SaveData())
|
||||
}
|
||||
const SaveData = () => {
|
||||
console.log("save")
|
||||
}
|
||||
const clickRound = () => {
|
||||
arrow.value = !arrow.value;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue