提交 3e7bb3fb 编写于 作者: 水晶土豆

Tue Nov 21 15:41:00 CST 2023 inscode

上级 2473956e
......@@ -40,6 +40,7 @@ const treeInstance = ref([])
const treeValue = ref(["人事部", "财务部", "市场部", "销售一部", "销售三部", "技术部", "产品部", "设计部", "研发部", "客服部", "客服一部", "客服二部"]);
const treeCheckChange = () => {
treeValue.value = treeInstance.value?.getCheckedKeys(false);
getData();
}
// pagination
......@@ -51,7 +52,6 @@ const tablePagination = reactive({
const getData = () => {
getEmpList({ page: tablePagination.currentPage, limit: tablePagination.pageSize, deptName: JSON.stringify(treeValue.value) }).then((res) => {
if (res.data.data.code === 10000) {
console.log(res.data.data);
tableData.value = res.data.data.data;
tablePagination.total = res.data.data.count;
}else{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册