This commit is contained in:
lcw
2025-07-07 20:49:08 +08:00
parent b433509302
commit 9f84ea1564
114 changed files with 1135 additions and 948 deletions

View File

@ -5,6 +5,7 @@
class="el-cascader-zj"
:show-all-levels="false"
clearable
:disabled="disabled"
filterable
:placeholder="modelValue ? placeholder : '请选择部门'"
:options="tableData"
@ -49,6 +50,10 @@ const props = defineProps({
width: {
default: COMPONENT_WIDTH,
type: String
},
disabled: {
default: false,
type: Boolean
}
});
const modelShow = ref(false);
@ -99,7 +104,6 @@ watch(
);
const emits = defineEmits(["update:modelValue",'getDepValue']);
const handleChange = (e) => {
console.log(e,'e');
if (props.multiple === true) {
const data = e.map((item) => {return item[item.length - 1];});
emits("update:modelValue", data);

View File

@ -4,6 +4,7 @@
v-bind="$attrs"
:headers="headers"
:multiple="false"
:disabled="disableds"
class="avatar-uploader"
:limit="props.limit"
:action="actionUrl"
@ -98,6 +99,10 @@ const props = defineProps({
width: {
default: COMPONENT_WIDTH,
type: String
},
disableds: {
default: false,
type: Boolean
}
});
const actionUrl = computed(() =>