Refactoring code module 08_KPI
This commit is contained in:
parent
3636f380fb
commit
67d117dcfc
48 changed files with 989 additions and 1140 deletions
|
|
@ -164,10 +164,6 @@ function cancel() {
|
|||
getAssign();
|
||||
}
|
||||
|
||||
function onSubmit() {
|
||||
console.log(111);
|
||||
}
|
||||
|
||||
/** ฟังชั่นส่ง วันที่ไปคำนวณ */
|
||||
async function postDateTime() {
|
||||
await http
|
||||
|
|
@ -408,16 +404,12 @@ async function getcompetency(id: string) {
|
|||
main3.value = data[2];
|
||||
main4.value = data[3];
|
||||
main5.value = data[4];
|
||||
console.log(main.value);
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
});
|
||||
// await http.get(config.API.competencyOptions(id)).then((res: any) => {
|
||||
// const data = res.data.data;
|
||||
|
||||
// console.log(data);
|
||||
|
||||
// OPmain.value = data;
|
||||
// main.value = data[0];
|
||||
// main2.value = data[1];
|
||||
|
|
@ -433,7 +425,6 @@ async function getcompetency(id: string) {
|
|||
*/
|
||||
const assign_competencyGroupMain = ref<any>();
|
||||
async function getCompetencyGroup(id: string) {
|
||||
console.log(position.value);
|
||||
http
|
||||
.get(config.API.kpiCapacity + `/group?positionName=${position.value}`)
|
||||
.then((res) => {
|
||||
|
|
|
|||
|
|
@ -165,7 +165,6 @@ async function fecthFormdata(id: string) {
|
|||
async function fecthFormRound() {
|
||||
try {
|
||||
let data = await dataArr.value;
|
||||
console.log("🚀 ~ fecthFormRound ~ data:", data);
|
||||
evaluate_id.value = data.id;
|
||||
start_date.value = data.date_start;
|
||||
date_finish.value = data.date_finish;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue