|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<el-drawer
|
|
|
title="按员工选择"
|
|
|
- :visible="visible"
|
|
|
+ v-model="visibleProxy"
|
|
|
:direction="'rtl'"
|
|
|
size="500px"
|
|
|
@close="handleClose"
|
|
|
@@ -101,6 +101,11 @@ const emit = defineEmits<{
|
|
|
(e: "confirm", employees: Employee[]): void;
|
|
|
}>();
|
|
|
|
|
|
+const visibleProxy = computed({
|
|
|
+ get: () => props.visible,
|
|
|
+ set: (v: boolean) => emit("update:visible", v),
|
|
|
+});
|
|
|
+
|
|
|
const searchForm = ref({
|
|
|
department_id: "",
|
|
|
name: "",
|