ผลงาน => ปรับ file
This commit is contained in:
parent
b3a4db71ea
commit
293471997d
1 changed files with 3 additions and 3 deletions
|
|
@ -88,7 +88,7 @@ const fecthData = async (id: string) => {
|
|||
function uploadFiles(id: string) {
|
||||
showLoader();
|
||||
http
|
||||
.post(config.API.file("รายการเอกสาร", "เอกสารผลงาน", id), {
|
||||
.post(config.API.file("ระบบผลงาน", "เอกสารผลงาน", id), {
|
||||
replace: true,
|
||||
fileList: [
|
||||
{
|
||||
|
|
@ -144,7 +144,7 @@ function uploadFileURL(uploadUrl: string) {
|
|||
function fetchFile() {
|
||||
showLoader();
|
||||
http
|
||||
.get(config.API.file("รายการเอกสาร", "เอกสารผลงาน", id.value))
|
||||
.get(config.API.file("ระบบผลงาน", "เอกสารผลงาน", id.value))
|
||||
.then((res) => {
|
||||
fileList.value = res.data;
|
||||
})
|
||||
|
|
@ -164,7 +164,7 @@ function fileOpen(fileName: string) {
|
|||
showLoader();
|
||||
http
|
||||
.get(
|
||||
config.API.fileByFile("รายการเอกสาร", "เอกสารผลงาน", id.value, fileName)
|
||||
config.API.fileByFile("ระบบผลงาน", "เอกสารผลงาน", id.value, fileName)
|
||||
)
|
||||
.then((res) => {
|
||||
const data = res.data.downloadUrl;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue