fix bug & แก้คำผิด
This commit is contained in:
parent
2590fb1142
commit
ad09bd908a
15 changed files with 45 additions and 47 deletions
|
|
@ -189,11 +189,11 @@ const checkNote = computed(() => {
|
|||
}
|
||||
return false;
|
||||
});
|
||||
// ยืนยันลบข้อมูลราชชื่อ
|
||||
// ยืนยันลบข้อมูลรายชื่อ
|
||||
const dialogDeleteData = async (id: string) => {
|
||||
dialogRemove($q, () => deleteData(id));
|
||||
};
|
||||
// ลบข้อมูลราชชื่อ API
|
||||
// ลบข้อมูลรายชื่อ API
|
||||
const deleteData = async (id: string) => {
|
||||
await http
|
||||
.delete(config.API.personsOrder(id))
|
||||
|
|
@ -208,7 +208,7 @@ const deleteData = async (id: string) => {
|
|||
await conditionData();
|
||||
});
|
||||
};
|
||||
// ปรับราชชื่อขึ้น
|
||||
// ปรับรายชื่อขึ้น
|
||||
const swapUp = async (id: string) => {
|
||||
await http
|
||||
.put(config.API.swapUpOrder(id))
|
||||
|
|
@ -220,7 +220,7 @@ const swapUp = async (id: string) => {
|
|||
hideLoader();
|
||||
});
|
||||
};
|
||||
// ปรับราชชื่อลง
|
||||
// ปรับรายชื่อลง
|
||||
const swapDown = async (id: string) => {
|
||||
await http
|
||||
.put(config.API.swapDownOrder(id))
|
||||
|
|
@ -332,7 +332,7 @@ const putSalary = async (salary: any) => {
|
|||
});
|
||||
});
|
||||
};
|
||||
// เปิด popup เพิ่มข้อมูลราชชื่อ
|
||||
// เปิด popup เพิ่มข้อมูลรายชื่อ
|
||||
const modalAddChange = async () => {
|
||||
modalAdd.value = !modalAdd.value;
|
||||
if (modalAdd.value == true) {
|
||||
|
|
@ -392,7 +392,7 @@ const saveModalAdd = () => {
|
|||
});
|
||||
}
|
||||
};
|
||||
// เพิ่มราชชื่อ API
|
||||
// เพิ่มรายชื่อ API
|
||||
const addlist = async (data: Object) => {
|
||||
const id = route.params.orderid
|
||||
? route.params.orderid.toString()
|
||||
|
|
@ -620,7 +620,7 @@ const pagination = ref({
|
|||
@click="save"
|
||||
class="q-px-md"
|
||||
>
|
||||
<q-tooltip>บันทึกข้อมูล</q-tooltip>
|
||||
<q-tooltip>บันทึกข้อมูล</q-tooltip>
|
||||
</q-btn>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue