UI *รอ API สำหรับส่งคนไปออกคำสั่ง PART 2
This commit is contained in:
parent
df7c3f2961
commit
4d2d8cf975
8 changed files with 135 additions and 98 deletions
|
|
@ -118,7 +118,8 @@ async function getDataComplaint() {
|
|||
await http
|
||||
.get(
|
||||
config.API.complaintbyGetId(
|
||||
data.idComplaint ? data.idComplaint : store.complaintId,mainStore.pathComplaints(route.name as string)
|
||||
data.idComplaint ? data.idComplaint : store.complaintId,
|
||||
mainStore.pathComplaints(route.name as string)
|
||||
)
|
||||
)
|
||||
.then((res) => {
|
||||
|
|
@ -155,7 +156,12 @@ async function getDataComplaint() {
|
|||
function getData() {
|
||||
showLoader();
|
||||
http
|
||||
.get(config.API.investigateByGetId(id.value,mainStore.pathInves(route.name as string)))
|
||||
.get(
|
||||
config.API.investigateByGetId(
|
||||
id.value,
|
||||
mainStore.pathInves(route.name as string)
|
||||
)
|
||||
)
|
||||
.then((res) => {
|
||||
const dataList = res.data.result;
|
||||
data.id = dataList.id;
|
||||
|
|
|
|||
|
|
@ -434,7 +434,7 @@ function changeFormData() {
|
|||
isSave.value = true;
|
||||
|
||||
if (organization.value) {
|
||||
formData.organizationId = organization.value.id;
|
||||
formData.organizationId = organization.value.id as string;
|
||||
formData.organization = organization.value.name;
|
||||
}
|
||||
}
|
||||
|
|
@ -1765,7 +1765,7 @@ onMounted(async () => {
|
|||
/>
|
||||
|
||||
<PopupSendToNext
|
||||
:modal="modalPopup"
|
||||
v-model:modal="modalPopup"
|
||||
:close="closePopup"
|
||||
title="ส่งรายชื่อไปออกคำสั่งยุติเรื่อง"
|
||||
:rows="mainStore.rowsCheck"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue