fix: file name case
This commit is contained in:
parent
73ed30e704
commit
3cddefd965
2 changed files with 3 additions and 2 deletions
|
|
@ -18,7 +18,7 @@ import FormQr from 'src/components/01_branch-management/FormQr.vue';
|
||||||
import FormBranchContact from 'src/components/01_branch-management/FormBranchContact.vue';
|
import FormBranchContact from 'src/components/01_branch-management/FormBranchContact.vue';
|
||||||
import FormImage from 'src/components/01_branch-management/FormImage.vue';
|
import FormImage from 'src/components/01_branch-management/FormImage.vue';
|
||||||
import DrawerInfo from 'src/components/DrawerInfo.vue';
|
import DrawerInfo from 'src/components/DrawerInfo.vue';
|
||||||
import InfoForm from 'src/components/02_personnel-management/infoForm.vue';
|
import InfoForm from 'src/components/02_personnel-management/InfoForm.vue';
|
||||||
|
|
||||||
import { BranchWithChildren, BranchCreate } from 'stores/branch/types';
|
import { BranchWithChildren, BranchCreate } from 'stores/branch/types';
|
||||||
import { watch } from 'vue';
|
import { watch } from 'vue';
|
||||||
|
|
@ -337,9 +337,10 @@ async function onSubmit() {
|
||||||
persistent: true,
|
persistent: true,
|
||||||
message: 'คุณต้องการแก้ไขข้อมูล ใช่หรือไม่',
|
message: 'คุณต้องการแก้ไขข้อมูล ใช่หรือไม่',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
|
const { status, ...payload } = formData.value;
|
||||||
await branchStore.editById(
|
await branchStore.editById(
|
||||||
codeHq.value.id,
|
codeHq.value.id,
|
||||||
formData.value,
|
payload,
|
||||||
profileFile.value,
|
profileFile.value,
|
||||||
profileFileImg.value,
|
profileFileImg.value,
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue