Merge branch 'develop' into devTee
This commit is contained in:
commit
2ec7426576
23 changed files with 1297 additions and 1271 deletions
|
|
@ -240,20 +240,17 @@ async function uploadfile(subId: string) {
|
|||
|
||||
//อัพโหลไฟล์
|
||||
await uploadFile(uploadUrl, fileUpload.value);
|
||||
await updateIsUpload();
|
||||
await updateIsUpload(subId);
|
||||
} catch (err) {
|
||||
messageError($q, err);
|
||||
}
|
||||
}
|
||||
|
||||
/** ฟังก์ชันอัพเดทสถานะอัพโหลด*/
|
||||
async function updateIsUpload() {
|
||||
async function updateIsUpload(subId: string) {
|
||||
await http
|
||||
.patch(
|
||||
config.API.profileNewCertificateByCertificateId(
|
||||
editId.value,
|
||||
empType.value
|
||||
),
|
||||
config.API.profileNewCertificateByCertificateId(subId, empType.value),
|
||||
{
|
||||
isUpload: fileUpload.value ? true : false,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue