feat: 添加请假申请功能

This commit is contained in:
AN
2025-05-29 10:34:00 +08:00
parent b265f590e4
commit d7e0516cfb
15 changed files with 531 additions and 4 deletions

View File

@ -20,8 +20,13 @@ const attrs: TreeSelectProps = useAttrs();
const { loading, startLoading, endLoading } = useLoading();
/** 转换为strid可能是number类型或者String类型导致回显失败 */
const strValue = computed(() => {
return isNull(rawValue.value) ? null : rawValue.value?.toString();
const strValue = computed({
get() {
return isNull(rawValue.value) ? null : rawValue.value?.toString();
},
set(val) {
rawValue.value = val;
}
});
async function getCategoryList() {