// 弹出层显示位置
popupPosition: {
type: String,
value: 'bottom'
},
// 选中项
selectId: {
type: Array,
value: () => []
},
// 数据展示列表
datalist: {
type: Array,
value: () => []
},
// 弹窗控制器
show: {
type: Boolean,
value: false
},
// 显示类型
isShowTypeText: {
type: Boolean,
value: true
},
// 回显项
showNameText: {
type: String,
value: 'realname'
},
// 类型
showTypeText: {
type: String,
value: 'postNo_dictText'
},
// 选择项标识符
selectKey: {
type: String,
value: 'id'
},
// 可选数量
selectMax: {
type: Number,
value: 1
}
{
selectRows: [...datalist],
selectRowkeys: [...id]
}
<xs-select show="{{showUserPicker}}" datalist="{{userlist}}" selectId="{{selectIds}}" isShowTypeText="{{isShowTypeText}}" showNameText="{{showNameText}}" selectKey="{{selectKey}}" bind:confirm="handleuserConfirm" bind:cancel="handleuserCancel"></xs-select>
// 弹窗控制器
show: {
type: Boolean,
value: false
},
value: {
type: String,
value: ''
}
{
num: String
}
<xs-select-licensePlateNumber show="{{showLicensePup}}" value="{{showNumber}}" bind:cancel="licensPupcancel" bind:confirm="licensPupconfirm"></xs-select-licensePlateNumber>