แก้การ uploadfile leave
This commit is contained in:
parent
3193c4a029
commit
e5af4ea14f
2 changed files with 18 additions and 17 deletions
|
|
@ -176,7 +176,7 @@ const fectDataresign = async (id: string) => {
|
|||
.then((res: any) => {
|
||||
let data = res.data.result
|
||||
// console.log(data);
|
||||
;(tranferOrg.value = data.location), (dateCommand.value = data.sendDate), (dateLeave.value = data.activeDate), (noteReason.value = data.reason), (files.value = data.file)
|
||||
;(tranferOrg.value = data.location), (dateCommand.value = data.sendDate), (dateLeave.value = data.activeDate), (noteReason.value = data.reason), (files.value = data.docs)
|
||||
})
|
||||
.catch((e: any) => {
|
||||
console.log(e)
|
||||
|
|
@ -189,6 +189,7 @@ const fectDataresign = async (id: string) => {
|
|||
|
||||
const fileUploadDoc = async (file: any) => {
|
||||
fileDocDataUpload.value.push(file)
|
||||
nameFile.value = file[0].name
|
||||
files.value = file
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue