{
"table": {
"columns": {
// #region 下拉框配置
"userType": {
"attrs": {
"remote": true
},
"attrsInt": {},
"meta": {
"html": false,
"text": true,
"showMethodOut": "n",
"fromValue": true,
"component": "bs-text",
"componentOp": "bs-select",
"dimSessionKey": "dim-mall-supplier-user",
"dimLocalKey": "dim-mall-supplier-user",
"dimMkey": "mall-supplier-user",
"dimResField": "basis",
"dimColumnField": "userType",
//数据类型不一致导致问题设置 int 或 string
"dimDataType": "int",
"dimRemote": true,
"dimUrl": null,
"prop": "userType",
"type": "basis",
"span": 12,
"auth": true
}
},
// #endregion 下拉框配置
// #region 用户查找带回
"userId": {
"alias": "user_id",
"field": "userId",
"events": {},
"attrs": {
"hidden": "show",
//显示组件
//"component-view": "el-tag",
//"type": "expand",
"label": "用户名称",
"maxlength": 200,
"clearable": true,
//功能组件,带有事件 查找带回 start
//显示的值 字段
"data-value-field": "userId",
//显示的头像 字段
"data-src-field": null,
//显示的类型 字段
"data-type-field": null,
//值数据类型 string object array
"data-type": "object",
//自定义 配合 前端main-table-form-dim 使用
"data-custorm": true,
//编辑只读(编辑模式避免二次修改,导致其它数据修改)
"primary-edit-readonly": true,
//新增唯一(批量新增时候验证选择的数据是否已存在于列表中)
"primary-add-unique": true,
//开启 bo-form-item-basis
"data-edit": true,
//表格组件
"data-table-reload": true,
"left-column-label": "已选",
"right-filter-field": "pushName",
"right-data-mkey": "bo-user",
"right-data-field": "manager-s-right",
//"right-save-mkey": "bo-user-role",
"right-column-label": "用户姓名",
//"right-save-field": "manager-area",
//"right-save-success": "保存成功。",
"right-save-before-error": "未选择。",
//单选
"right-save-single-error": "只能选择1条数据",
"right-save-single": true,
"closed-no-refresh-data": false
//功能组件,带有事件 查找带回 end
},
"attrsInt": {},
"meta": {
"html": false,
"edit": false,
//"fromValue": true,
"component": "bs-text",
//"component": "el-tag",
"componentOp": "bs-lookup-owner",
"rowId": "1",
"tabId": "1",
"type": "basis",
"span": 12
},
//功能组件,带有事件 查找带回 start
"query": {
"supplierId": "supplierId"
},
//查找带回左侧条件
"queryLeft": {
"leftSUserObjid": "userId"
},
//查找带回右侧条件
"queryRight": {
"rightSUserObjId": "userId"
},
"params": {
"mercId": "value",
"userId": "userId"
}
//功能组件,带有事件 查找带回 end
}
// #endregion 用户查找带回
}
}
}
文档更新时间: 2022-01-22 16:09 作者:admin