ลบ log
This commit is contained in:
parent
4d0e40ea91
commit
e4188b7ed3
38 changed files with 108 additions and 167 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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 =
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue