เเก้ วินัย
This commit is contained in:
parent
eb08a9f209
commit
c4a3415316
6 changed files with 27 additions and 23 deletions
|
|
@ -139,7 +139,7 @@ function getData() {
|
|||
.get(config.API.investigateById(id.value))
|
||||
.then((res) => {
|
||||
const dataList = res.data.result;
|
||||
console.log(dataList)
|
||||
console.log(dataList);
|
||||
data.id = dataList.id;
|
||||
data.idComplaint = dataList.idComplaint;
|
||||
data.respondentType = dataList.respondentType;
|
||||
|
|
@ -160,7 +160,7 @@ function getData() {
|
|||
data.investigationStatusResult = dataList.investigationStatusResult;
|
||||
data.investigationExtendStatus = dataList.investigationExtendStatus;
|
||||
data.investigationDaysExtend = dataList.investigationDaysExtend;
|
||||
console.log(dataList)
|
||||
console.log(dataList);
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
|
|
@ -222,7 +222,7 @@ function sentConfirmNoPerson() {
|
|||
.finally(() => {
|
||||
hideLoader();
|
||||
getData();
|
||||
router.push(`/discipline/investigatefacts`)
|
||||
router.push(`/discipline/investigatefacts`);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -261,13 +261,12 @@ function confirmEndInvestigate() {
|
|||
http
|
||||
.get(config.API.investigateReject(id.value))
|
||||
.then((res) => {
|
||||
|
||||
success($q, "ยุติเรื่องสำเร็จ");
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(async () => {
|
||||
success($q, "ยุติเรื่องสำเร็จ");
|
||||
await getData();
|
||||
});
|
||||
}
|
||||
|
|
@ -407,4 +406,4 @@ watch(
|
|||
padding: 0;
|
||||
background-color: #f0f3f3;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue