แก้ไขส่งไปออกคำสั่งของแต่งตั้งลูกจ้างประจำ

This commit is contained in:
Warunee Tamkoo 2023-10-10 17:41:21 +07:00
parent bbc5c7ed5e
commit 544e899728
2 changed files with 5 additions and 5 deletions

View file

@ -169,6 +169,6 @@ export default {
appointEmployee: () => `${placement}/appointment/temp`,
appointEmployeeByid: (id: string) => `${placement}/appointment/temp/${id}`,
appointEmployeePosition: (id: string) => `${placement}/appointment/temp/position/${id}`,
appointEmployeeOrder: (commandTypeId: string) => `${placement}/appointment/temp/report/${commandTypeId}`,
appointEmployeeOrder: () => `${placement}/appointment/temp/report`,
apppointmentPositionUse: () => `${placement}/appointment/temp/use`,
};

View file

@ -15,7 +15,7 @@ const { showLoader, success, messageError, dialogConfirm, hideLoader } = mixin;
const $q = useQuasar();
const selected = ref<[]>([]);
const checkSelected = computed(() => {
if (selected.value.length === 0 || props.type === "") {
if (selected.value.length === 0) {
return true;
}
});
@ -122,7 +122,7 @@ const createdAppoint = async () => {
};
showLoader();
await http
.put(config.API.appointEmployeeOrder(Type), data)
.put(config.API.appointEmployeeOrder(), data)
.then(() => {
success($q, "บันทึกสำเร็จ");
})
@ -151,7 +151,7 @@ watchEffect(() => {
<q-card-section class="q-pt-none">
<div class="row justify-between">
<div class="col-5">
<q-toolbar style="padding: 0">
<!-- <q-toolbar style="padding: 0">
<q-select
outlined
dense
@ -166,7 +166,7 @@ watchEffect(() => {
option-value="id"
readonly
/>
</q-toolbar>
</q-toolbar> -->
</div>
<div class="col-5">
<q-toolbar style="padding: 0">