|
|
@ -18,7 +18,7 @@
|
|
|
|
components: { JSelectUser },
|
|
|
|
components: { JSelectUser },
|
|
|
|
props: useJVxeCompProps(),
|
|
|
|
props: useJVxeCompProps(),
|
|
|
|
setup(props: JVxeComponent.Props) {
|
|
|
|
setup(props: JVxeComponent.Props) {
|
|
|
|
const { innerValue, cellProps, handleChangeCommon, useCellDesign } = useJVxeComponent(props);
|
|
|
|
const { innerValue, cellProps, handleChangeCommon, useCellDesign, originColumn } = useJVxeComponent(props);
|
|
|
|
const { prefixCls } = useCellDesign('user-select');
|
|
|
|
const { prefixCls } = useCellDesign('user-select');
|
|
|
|
|
|
|
|
|
|
|
|
const selectedValue = computed(() => {
|
|
|
|
const selectedValue = computed(() => {
|
|
|
@ -49,7 +49,9 @@
|
|
|
|
// 不允许搜索
|
|
|
|
// 不允许搜索
|
|
|
|
showSearch: false,
|
|
|
|
showSearch: false,
|
|
|
|
// 设置最大的显示个数
|
|
|
|
// 设置最大的显示个数
|
|
|
|
maxTagCount: 1,
|
|
|
|
// update-begin--author:liaozhiyang---date:20250106---for:【issues/7661】vxetable用户组件maxTagCount通过业务传递
|
|
|
|
|
|
|
|
maxTagCount: originColumn.value.maxTagCount ?? 1,
|
|
|
|
|
|
|
|
// update-end--author:liaozhiyang---date:20250106---for:【issues/7661】vxetable用户组件maxTagCount通过业务传递
|
|
|
|
// 显示提示重写,去掉省略号
|
|
|
|
// 显示提示重写,去掉省略号
|
|
|
|
maxTagPlaceholder: ({ length }) => '+' + length,
|
|
|
|
maxTagPlaceholder: ({ length }) => '+' + length,
|
|
|
|
// -update-begin--author:liaozhiyang---date:20240617---for:【TV360X-1002】详情页面行编辑用户组件和部门组件显示方式优化
|
|
|
|
// -update-begin--author:liaozhiyang---date:20240617---for:【TV360X-1002】详情页面行编辑用户组件和部门组件显示方式优化
|
|
|
|