ลบ log

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2023-09-26 14:09:09 +07:00
parent 4d0e40ea91
commit e4188b7ed3
38 changed files with 108 additions and 167 deletions

View file

@ -107,7 +107,6 @@ const Dataupload = async () => {
const formData = new FormData();
formData.append("avatar", newFile);
formData.append("moss", "newFile");
console.log(formData);
showLoader();
await http
.post(config.API.profilePaperId(profileId.value), formData)

View file

@ -292,7 +292,6 @@ const fetchData = async () => {
// employeeOc: e.employeeOc,
// employeeWage: e.employeeWage,
// });
// console.log(res);
// });
const data: any = res.data.result;
informaTempData.value.employeeMoneyIncrease =

View file

@ -572,7 +572,6 @@ const clickAddLeave = async () => {
numUsedLeave.value = 0;
await clickTotal();
if (rowsTotal.value.length > 0) {
// console.log(rowsTotal.value);
let data: DataOptionLeave[] = [];
rowsTotal.value.map((e: ResponseTotalObject) => {
data.push({
@ -797,7 +796,6 @@ const selectData = async (props: DataProps) => {
numUsedLeave.value = props.row.sumLeave;
await clickTotal();
if (rowsTotal.value.length > 0) {
// console.log(rowsTotal.value);
let data: DataOptionLeave[] = [];
rowsTotal.value.map((e: ResponseTotalObject) => {
data.push({

View file

@ -1048,7 +1048,6 @@ const checkRowPage = () => {
editRow.value = false;
next.value = true;
previous.value = true;
// console.log(rowIndex.value);
if (rowIndex.value + 1 >= rows.value.length) {
next.value = false;
}
@ -1204,8 +1203,6 @@ const saveData = async () => {
* นทกแกไขขอม
*/
const editData = async () => {
console.log(agencyId.value);
showLoader();
await http
.put(config.API.profileSalaryEmployeeId(id.value), {
@ -1304,7 +1301,6 @@ const clickClose = async () => {
* @param props props ใน row เลอก
*/
const selectData = async (props: DataPropsEmployee) => {
// console.log(props.row);
modalEdit.value = true;
modal.value = true;
edit.value = false;
@ -1415,7 +1411,6 @@ const clickHistory = async (row: RequestItemsEmployee) => {
.get(config.API.profileSalaryEmployeeHisId(row.id))
.then((res) => {
const data = res.data.result;
console.log("clickHistory", data);
rowsHistory.value = [];
data.map((e: ResponseObjectEmployee) => {
rowsHistory.value.push({