fix bug
This commit is contained in:
parent
46ea808c84
commit
f6ea889258
5 changed files with 45 additions and 16 deletions
|
|
@ -81,11 +81,11 @@ function onSubmit(type: string, id: string) {
|
|||
if (props.dateCheckReceive === null) {
|
||||
formData.append("Date", dateToISO((Datereceive.value as Date) ?? nullii));
|
||||
formData.append("File", files.value);
|
||||
formData.append("OrgId", OrganazationId.value);
|
||||
// formData.append("OrgId", OrganazationId.value);
|
||||
} else {
|
||||
formData.append("Date", dateToISO((Datereturn.value as Date) ?? nullii));
|
||||
formData.append("File", filesReturn.value);
|
||||
formData.append("OrgId", OrganazationId2.value);
|
||||
// formData.append("OrgId", OrganazationId2.value);
|
||||
}
|
||||
showLoader();
|
||||
http
|
||||
|
|
|
|||
|
|
@ -287,7 +287,7 @@ watch(props, () => {
|
|||
if (props.modal == true && props.roundId != "all") {
|
||||
roundNo.value = props.roundId;
|
||||
if (props.action === "editData") {
|
||||
fetchOrgList();
|
||||
// fetchOrgList();
|
||||
} else {
|
||||
fecthlistInsignia();
|
||||
}
|
||||
|
|
@ -489,7 +489,7 @@ watch(props, () => {
|
|||
</datepicker>
|
||||
</div>
|
||||
|
||||
<div class="col-xs-12 col-sm-6">
|
||||
<!-- <div class="col-xs-12 col-sm-6">
|
||||
<q-select
|
||||
hide-bottom-space
|
||||
:options="filterOrgList"
|
||||
|
|
@ -509,7 +509,7 @@ watch(props, () => {
|
|||
doneFn:Function) => filterSelector(inputValue, doneFn,'filterOrgList'
|
||||
) "
|
||||
/>
|
||||
</div>
|
||||
</div> -->
|
||||
|
||||
<div class="col-12">
|
||||
<q-input
|
||||
|
|
|
|||
|
|
@ -79,13 +79,15 @@ export const useResultDataStore = defineStore("insigniaResult", () => {
|
|||
position: e.position,
|
||||
status: status(e.status),
|
||||
dateReceive: date2Thai(e.dateReceive),
|
||||
name: e.prefix + e.fullName,
|
||||
name: e.fullName,
|
||||
type: `${e.requestInsignia} (${
|
||||
type.value.find((item) => item.name === e.requestInsignia)?.shortName ||
|
||||
""
|
||||
})`,
|
||||
employeeType: profileType(e.profileType),
|
||||
profileType: e.profileType,
|
||||
employeeType: profileType(
|
||||
e.profileType === "" ? "officer" : e.profileType
|
||||
),
|
||||
profileType: e.profileType === "" ? "officer" : e.profileType,
|
||||
date: date2Thai(e.date),
|
||||
volumeNo: e.volumeNo,
|
||||
section: e.section,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue