ลบ 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

@ -1493,7 +1493,7 @@ const fetchData = async () => {
.get(config.API.profileSalaryEmployeeId(profileId.value))
.then((res) => {
const data = res.data.result;
console.log(data);
rows.value = [];
data.map((e: any) => {
rows.value.push({
@ -1634,7 +1634,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;
}
@ -1885,7 +1884,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;
@ -1996,7 +1994,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({