提交 8fed98b0 编写于 作者: 水晶土豆

Tue Nov 21 21:13:00 CST 2023 inscode

上级 2f6e59e8
......@@ -23,8 +23,7 @@ onMounted(() => {
}))).tree;
})
})
const treeData = ref([
]);
const treeData = ref([]);
const defaultProps = {
children: 'children',
label: 'label',
......@@ -40,6 +39,7 @@ const treeInstance = ref([])
const treeValue = ref(["人事部", "财务部", "市场部", "销售一部", "销售三部", "技术部", "产品部", "设计部", "研发部", "客服部", "客服一部", "客服二部"]);
const treeCheckChange = () => {
treeValue.value = treeInstance.value?.getCheckedKeys(false);
empSelect.value.deptName = JSON.stringify(treeValue.value)
getData();
}
......@@ -127,12 +127,17 @@ const contractSelect = ref({
page: '1',
limit: '10'
});
const empSelect = ref({
page: '1',
limit: '10',
deptName:'',
employeeType: '',
empState: '',
id: '',
loginAccount:'',
userName:'',
gender:'',
})
......
......@@ -58,7 +58,6 @@ onMounted(() => {
</template>
</el-input>
</el-form-item>
</template>
<style scoped>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册