Merge branch 'nice' into develop
This commit is contained in:
commit
fa9953a677
1 changed files with 11 additions and 21 deletions
|
|
@ -14,8 +14,6 @@ import genReport from "@/plugins/genreport";
|
|||
/** importType*/
|
||||
import type { FileEvaluationRefRef } from "@/modules/12_evaluatePersonal/interface/index/evalute";
|
||||
|
||||
/** importStore*/
|
||||
|
||||
/** uer*/
|
||||
const store = useEvaluateDetailStore();
|
||||
const $q = useQuasar();
|
||||
|
|
@ -50,9 +48,7 @@ const fileEvaluationRef: FileEvaluationRefRef = {
|
|||
fileEvaluation86: fileEvaluation86Ref,
|
||||
};
|
||||
|
||||
/**
|
||||
* function ดาวน์โหลดไฟล์ต้นแบบ
|
||||
*/
|
||||
/** function ดาวน์โหลดไฟล์ต้นแบบ*/
|
||||
async function onClickDowloadFile(
|
||||
tp: string,
|
||||
templateName: string,
|
||||
|
|
@ -69,12 +65,13 @@ async function onClickDowloadFile(
|
|||
data: data,
|
||||
};
|
||||
await genReport(body, fileName);
|
||||
hideLoader();
|
||||
})
|
||||
.catch((e) => {
|
||||
messageError($q, e);
|
||||
})
|
||||
.finally(() => {});
|
||||
.finally(() => {
|
||||
hideLoader();
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -136,9 +133,7 @@ function fileUpLoad(url: string, file: any) {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* function ยืนยันผลการพิจารณา
|
||||
*/
|
||||
/** function ยืนยันผลการพิจารณา */
|
||||
async function confirmApprove() {
|
||||
const fileEvaluationValues = [
|
||||
fileEvaluation81,
|
||||
|
|
@ -213,9 +208,7 @@ async function confirmApprove() {
|
|||
}, 100);
|
||||
}
|
||||
|
||||
/**
|
||||
* function ยืนยันผลการพิจารณา
|
||||
*/
|
||||
/** function ยืนยันผลการพิจารณา*/
|
||||
function nextStep() {
|
||||
showLoader();
|
||||
http
|
||||
|
|
@ -234,9 +227,8 @@ function nextStep() {
|
|||
}
|
||||
|
||||
const downloadDocEditUrl = ref<string>("");
|
||||
/**
|
||||
* function ตรวจสอบไฟล์แก้ไข
|
||||
*/
|
||||
|
||||
/** function ตรวจสอบไฟล์แก้ไข*/
|
||||
async function checkDocEdit() {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
@ -305,9 +297,7 @@ const author = ref<string>(""); //เจ้าของผลงาน
|
|||
const subject = ref<string>(""); //ชื่อผลงาน
|
||||
const assignedPosition = ref<string>(""); //ตำแหน่ง
|
||||
|
||||
/**
|
||||
* function เรียกข้อมูลผลงาน
|
||||
*/
|
||||
/** function เรียกข้อมูลผลงาน*/
|
||||
async function fetchDataSigner() {
|
||||
showLoader();
|
||||
await http
|
||||
|
|
@ -319,8 +309,8 @@ async function fetchDataSigner() {
|
|||
subject.value = data.subjectDoc2;
|
||||
assignedPosition.value = data.assignedPosition;
|
||||
|
||||
nameOfWork.value = data.authorDoc2;
|
||||
nameOfOwner.value = data.subjectDoc2;
|
||||
nameOfWork.value = data.subjectDoc2;
|
||||
nameOfOwner.value = data.authorDoc2;
|
||||
position.value = data.assignedPosition;
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue