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