updated placement
This commit is contained in:
parent
944addbe63
commit
a3dcc4a66a
1 changed files with 17 additions and 8 deletions
|
|
@ -93,7 +93,6 @@ const dataInfo = reactive({
|
|||
reliefDoc: "",
|
||||
});
|
||||
|
||||
|
||||
const examId = route.params.examId;
|
||||
const examIdString = Array.isArray(examId) ? examId[0] : examId;
|
||||
const personalId = ref<string>("");
|
||||
|
|
@ -315,6 +314,7 @@ async function getTable() {
|
|||
examNumber: data.examNumber,
|
||||
root: data.root,
|
||||
rootId: data.rootId,
|
||||
rootIdOld: data.rootIdOld, // หน่วยงานเดิม
|
||||
rootShortName: data.rootShortName,
|
||||
child1: data.child1,
|
||||
child1Id: data.child1Id,
|
||||
|
|
@ -745,11 +745,20 @@ function openModalOrder(val: boolean) {
|
|||
// ยังไม่ได้ดัก ส่ง ไป ทั้ง object #e.draft == "รอส่งตัว" &&
|
||||
rowsOrder.value = rows.value.filter(
|
||||
(e: any) =>
|
||||
e.draft == "ส่งตัวแล้ว" &&
|
||||
e.nodeName !== null &&
|
||||
e.reportingDate !== null &&
|
||||
e.statusId !== "REPORT" &&
|
||||
e.statusId !== "DONE"
|
||||
(DataStore.isStaff &&
|
||||
(e.rootId == e.rootIdOld || e.bmaOfficer == "บุคคลภายนอก") &&
|
||||
e.draft == "ส่งตัวแล้ว" &&
|
||||
e.nodeName !== null &&
|
||||
e.reportingDate !== null &&
|
||||
e.statusId !== "REPORT" &&
|
||||
e.statusId !== "DONE") ||
|
||||
(DataStore.isOfficer &&
|
||||
e.rootId != e.rootIdOld &&
|
||||
e.draft == "ส่งตัวแล้ว" &&
|
||||
e.nodeName !== null &&
|
||||
e.reportingDate !== null &&
|
||||
e.statusId !== "REPORT" &&
|
||||
e.statusId !== "DONE")
|
||||
);
|
||||
modalOrder.value = val;
|
||||
}
|
||||
|
|
@ -810,9 +819,9 @@ async function getWorkFlow() {
|
|||
.finally(() => {});
|
||||
}
|
||||
|
||||
function onclickViewinfo(id:string) {
|
||||
function onclickViewinfo(id: string) {
|
||||
modalPersonal.value = true;
|
||||
personalId.value = id
|
||||
personalId.value = id;
|
||||
}
|
||||
|
||||
function updatemodalPersonal(modal: boolean) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue