diff --git a/src/component/humanResources/emp.vue b/src/component/humanResources/emp.vue index 4b4067a573a8f0b6745738942e6c68c7099cf0a2..b723f82411d619fc25ac5bf0892e8b33c276e93f 100644 --- a/src/component/humanResources/emp.vue +++ b/src/component/humanResources/emp.vue @@ -56,7 +56,7 @@ const getData = () => { if (res.data.data.code === 10000) { tableData.value = res.data.data.data; tablePagination.total = res.data.data.count; - }else{ + } else { console.log(res.data.data.msg); } }) @@ -128,8 +128,11 @@ const contractSelect = ref({ limit: '10' }); const empSelect = ref({ - page:'1', - limit:'10', + page: '1', + limit: '10', + employeeType: '', + empState: '', + id: '', }) @@ -170,7 +173,7 @@ provide("tableData", tableData); provide("row", row); provide("tablePagination", tablePagination); provide("contractSelect", contractSelect); -provide("empSelect",empSelect); +provide("empSelect", empSelect); provide("changeState", () => { console.log(1111); })