แก้คำ
This commit is contained in:
parent
6ee3227f16
commit
1d64329d24
7 changed files with 11 additions and 11 deletions
|
|
@ -68,7 +68,7 @@ async function addAvatarToData(item: any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* fetch รูปโปรไฟล์ return ลิงค์ download ไฟล์
|
* fetch รูปโปรไฟล์ return ลิงก์ download ไฟล์
|
||||||
* @param path ไฟล์รูป
|
* @param path ไฟล์รูป
|
||||||
*/
|
*/
|
||||||
async function fetchProfile(path: string) {
|
async function fetchProfile(path: string) {
|
||||||
|
|
|
||||||
|
|
@ -110,7 +110,7 @@ function clickUpload(file: any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ดาวน์โหลดลิงค์ไฟล์
|
* ดาวน์โหลดลิงก์ไฟล์
|
||||||
* @param fileName file name
|
* @param fileName file name
|
||||||
*/
|
*/
|
||||||
function downloadFile(fileName: string) {
|
function downloadFile(fileName: string) {
|
||||||
|
|
|
||||||
|
|
@ -240,7 +240,7 @@ function uploadFileDoc(uploadUrl: string, file: any) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* ดาวน์โหลดลิงค์ไฟล์
|
* ดาวน์โหลดลิงก์ไฟล์
|
||||||
* @param fileName file name
|
* @param fileName file name
|
||||||
*/
|
*/
|
||||||
function downloadFile(fileName: string) {
|
function downloadFile(fileName: string) {
|
||||||
|
|
|
||||||
|
|
@ -365,16 +365,16 @@ function uploadFile() {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* เปิดลิงค์ไฟล์
|
* เปิดลิงก์ไฟล์
|
||||||
* @param link รับมาเป็น https ลิงค์
|
* @param link รับมาเป็น https ลิงก์
|
||||||
*/
|
*/
|
||||||
function downloadFile(link: string) {
|
function downloadFile(link: string) {
|
||||||
window.open(link, "_blank");
|
window.open(link, "_blank");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* เปิดลิงค์ไฟล์
|
* เปิดลิงก์ไฟล์
|
||||||
* @param link รับมาเป็น https ลิงค์
|
* @param link รับมาเป็น https ลิงก์
|
||||||
*/
|
*/
|
||||||
function downloadFileRelevant(link: string) {
|
function downloadFileRelevant(link: string) {
|
||||||
window.open(link, "_blank");
|
window.open(link, "_blank");
|
||||||
|
|
|
||||||
|
|
@ -125,8 +125,8 @@ async function removeFile(id: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* เปิดลิงค์ไฟล์
|
* เปิดลิงก์ไฟล์
|
||||||
* @param link รับมาเป็น https ลิงค์
|
* @param link รับมาเป็น https ลิงก์
|
||||||
*/
|
*/
|
||||||
function downloadFile(link: string) {
|
function downloadFile(link: string) {
|
||||||
window.open(link, "_blank");
|
window.open(link, "_blank");
|
||||||
|
|
|
||||||
|
|
@ -108,7 +108,7 @@ function fetchDataFileDownload(pathName: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* function สร้างลิงค์อัปโหลดไฟล์เอกสารหลักฐาน
|
* function สร้างลิงก์อัปโหลดไฟล์เอกสารหลักฐาน
|
||||||
*/
|
*/
|
||||||
function uploadFile() {
|
function uploadFile() {
|
||||||
if (file) {
|
if (file) {
|
||||||
|
|
|
||||||
|
|
@ -102,7 +102,7 @@ async function clickUpload(file: any) {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* ดาวน์โหลดลิงค์ไฟล์
|
* ดาวน์โหลดลิงก์ไฟล์
|
||||||
* @param fileName file name
|
* @param fileName file name
|
||||||
*/
|
*/
|
||||||
function downloadFile(fileName: string) {
|
function downloadFile(fileName: string) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue