一对多子表(vxetable)用户组件选择报错 ---

pull/186/merge
JEECG 2024-05-17 14:38:08 +08:00
parent 936c11db47
commit b193032250
1 changed files with 22 additions and 2 deletions

View File

@ -1,8 +1,18 @@
<!--用户选择组件-->
<template>
<div>
<div class="JselectUser">
<JSelectBiz @change="handleChange" @handleOpen="handleOpen" :loading="loadingEcho" v-bind="attrs"></JSelectBiz>
<UserSelectModal :rowKey="rowKey" @register="regModal" @getSelectResult="setValue" v-bind="getBindValue" :excludeUserIdList="excludeUserIdList"></UserSelectModal>
<!-- update-begin--author:liaozhiyang---date:20240515---forQQYUN-9260必填模式下会影响到弹窗内antd组件的样式 -->
<a-form-item>
<UserSelectModal
:rowKey="rowKey"
@register="regModal"
@getSelectResult="setValue"
v-bind="getBindValue"
:excludeUserIdList="excludeUserIdList"
/>
</a-form-item>
<!-- update-end--author:liaozhiyang---date:20240515---forQQYUN-9260必填模式下会影响到弹窗内antd组件的样式 -->
</div>
</template>
<script lang="ts">
@ -145,6 +155,9 @@
*/
function handleChange(values) {
emit('update:value', values);
// update-begin--author:liaozhiyang---date:20240417---for:QQYUN-8933
emit('change', values);
// update-end--author:liaozhiyang---date:20240417---for:QQYUN-8933
}
//update-end---author:wangshuai ---date:20230711 for------------
@ -166,6 +179,13 @@
});
</script>
<style lang="less" scoped>
// update-begin--author:liaozhiyang---date:20240515---forQQYUN-9260antd
.JselectUser {
> .ant-form-item {
display: none;
}
}
// update-end--author:liaozhiyang---date:20240515---forQQYUN-9260antd
.j-select-row {
@width: 82px;