设置前效果
1、只能手动进行输入
2、从右侧搜索用户信息进行设置值
进入接口工具
1、复制工具里面的内容到文件,然后修改对应字段名称
2、把内容复制到 bridge_zt-user-vip-info__form.json
C:\0_RG\Code\RG6.PF\rg3-pf\RG3.Web.Host.PaaS\Config\Bridge\basis\zentao\bridge_zt-user-vip-info__form.json
{
"form": {
"actions": [
{
"styles": "",
"attrs": {
"custorm-class": "bs-float-blue",
"lookup-add-visible": true,
"lookup-add-title": "设置用户",
"lookup-add-icon": "el-icon-circle-plus-outline",
"lookup-add-col-only": true,
"lookup-add-col-main": "pushName",
"lookup-add-col-sub": "",
"lookup-add-col-sub-join": "|",
//"lookup-add-col-val": "userId:userId|headIcon:headIcon|realName:pushName",
"lookup-add-col-val": "userId:userId|headIcon:headIcon|userShowName:pushName",
"lookup-add-col-img-url": "headIcon",
"lookup-add-col-img-height": "2rem",
"lookup-add-col-img-width": "2rem",
"lookup-add-remote-mkey": "bo-user",
"lookup-add-remote-res-field": "manager-s-right",
"lookup-add-remote-url": null,
"lookup-add-remote-menuId": null,
"lookup-add-remote-nodejs": null
},
"title": "设置用户",
"icon": "el-icon-user",
"enabled": true,
"events": [
"add"//,
//"edit"
]
}
],
"columns": {
"userId": {
"attrs": {
"disabled": true,
"placeholder": "通过右侧设置用户获取"
}
},
"userShowName": {
"attrs": {
"disabled": true,
"placeholder": "通过右侧设置用户获取"
}
}
}
}
}
推送并令配置生效(build-bridge-used)
http://localhost:5775/auth/main-content
设置后效果
文档更新时间: 2023-07-20 11:10 作者:admin