Refactoring code module 08_KPI

This commit is contained in:
STW_TTTY\stwtt 2024-09-10 11:42:43 +07:00
parent 3636f380fb
commit 67d117dcfc
48 changed files with 989 additions and 1140 deletions

View file

@ -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) => {