全部指只读、禁用
https://doc.rg1008.com/docs/rg_dev/rg_dev-1elasugrot1pc
编辑模式下,主键不可编辑
\RG3.Web.Host.PaaS\Config\Mapper\basis\boapp\mapper_bo-app-config-setting-keys_sql__responsefield.json
方式1
{
//#region 编辑模式下,主键不可编辑
"enabledEditField": [
"settingType",
"appId"
]
//#endregion 编辑模式下,主键不可编辑,
//#region 全局禁用
"enabledField": [
"settingType",
"appId"
],
//#endregion 全局禁用
"responseField": {
"global": {
"dataFromType": "Database",
"show": "setting_id",
"auth": true
}
}
}
方式2
{
"form": {
"columns": {
"versionId": {
"attrs": {
"data-edit-readonly": true
}
}
}
},
"search": {
}
}
方式3
{
"form": {
"attrs": {
"disabled-fields-edit": "emplId",
"label-width": "auto",
"disabled-action": false
}
},
"search": {
}
}
推送并令配置生效(build-mapper-used)
http://localhost:5775/auth/main-content
推送并令配置生效(build-bridge-used)
http://localhost:5775/auth/main-content
文档更新时间: 2024-05-04 09:59 作者:admin