PageBlueprint 加 RECIPE_MASTER_DETAIL 常量与可空 child 组件(14-arg, 保留 13-arg 兼容构造);新增 PageBlueprintChild record。 PageBlueprintCompiler.masterDetail 复用 maintenance 列表骨架, 新增/编辑表单内联 house-style input-table 子表(name=listColumn, quickEdit 控件),编辑表单 initApi 走 _LOAD 回显主+子行。 validate 接受 master-detail 并要求 child 非空/childTable/listColumn 非空/fields 非空。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
154 lines
3.7 KiB
JSON
154 lines
3.7 KiB
JSON
{
|
|
"type" : "page",
|
|
"title" : "用户选择框(批量选择-排除挂靠)",
|
|
"body" : {
|
|
"type" : "crud",
|
|
"api" : "/api/flow/VIEW_USER_KQ_SEARCH",
|
|
"syncLocation" : false,
|
|
"selectable" : true,
|
|
"checkOnItemClick" : true,
|
|
"filter" : {
|
|
"title" : "查询",
|
|
"body" : [ {
|
|
"name" : "ACCOUNT",
|
|
"label" : "账号",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "NAME",
|
|
"label" : "姓名",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "EMAIL",
|
|
"label" : "邮箱",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "MOBILE",
|
|
"label" : "手机",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "USERORGID",
|
|
"label" : "组织",
|
|
"type" : "picker",
|
|
"clearable" : true,
|
|
"source" : "/api/picker/1a998b23-371d-4ebb-911f-6465a56a6809/list",
|
|
"labelField" : "_label",
|
|
"valueField" : "_id",
|
|
"modalMode" : "dialog",
|
|
"modalSize" : "lg",
|
|
"pickerSchema" : {
|
|
"mode" : "table",
|
|
"headerToolbar" : [ {
|
|
"type" : "search-box",
|
|
"name" : "q",
|
|
"placeholder" : "输入关键字搜索"
|
|
} ],
|
|
"footerToolbar" : [ "pagination" ]
|
|
}
|
|
}, {
|
|
"name" : "STATE",
|
|
"label" : "状态",
|
|
"type" : "select",
|
|
"clearable" : true,
|
|
"source" : "/api/poc/dict/USERSTATE"
|
|
}, {
|
|
"name" : "MASTERDEPARTDISPLAY",
|
|
"label" : "主部门名称",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "MASTERPOSITIONDISPLAY",
|
|
"label" : "主岗位名称",
|
|
"type" : "input-text"
|
|
}, {
|
|
"name" : "ISCOLLECTED",
|
|
"label" : "是否采集信息",
|
|
"type" : "checkbox"
|
|
}, {
|
|
"name" : "ISSEND",
|
|
"label" : "是否已下发",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
}, {
|
|
"name" : "CCID",
|
|
"label" : "考勤号码",
|
|
"type" : "input-number",
|
|
"precision" : 0,
|
|
"step" : 1
|
|
}, {
|
|
"name" : "DEVSTEXT",
|
|
"label" : "已下发考勤机",
|
|
"type" : "input-text"
|
|
} ]
|
|
},
|
|
"columns" : [ {
|
|
"name" : "VIEW_USER_KQ_ID",
|
|
"label" : "主键",
|
|
"width" : 200,
|
|
"toggled" : false
|
|
}, {
|
|
"name" : "ACCOUNT",
|
|
"label" : "账号",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "NAME",
|
|
"label" : "姓名",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "EMAIL",
|
|
"label" : "邮箱",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "MOBILE",
|
|
"label" : "手机",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "USERORGID_DISPLAY__",
|
|
"label" : "组织",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "STATE",
|
|
"label" : "状态",
|
|
"width" : 200,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"1" : "正常",
|
|
"2" : "禁止登录",
|
|
"3" : "禁用",
|
|
"4" : "删除"
|
|
}
|
|
}, {
|
|
"name" : "MASTERDEPARTDISPLAY",
|
|
"label" : "主部门名称",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "MASTERPOSITIONDISPLAY",
|
|
"label" : "主岗位名称",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "ISCOLLECTED",
|
|
"label" : "是否采集信息",
|
|
"width" : 200,
|
|
"type" : "mapping",
|
|
"map" : {
|
|
"0" : "否",
|
|
"1" : "是",
|
|
"false" : "否",
|
|
"true" : "是"
|
|
}
|
|
}, {
|
|
"name" : "ISSEND",
|
|
"label" : "是否已下发",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "CCID",
|
|
"label" : "考勤号码",
|
|
"width" : 200
|
|
}, {
|
|
"name" : "DEVSTEXT",
|
|
"label" : "已下发考勤机",
|
|
"width" : 200
|
|
} ],
|
|
"headerToolbar" : [ "pagination" ],
|
|
"primaryField" : "VIEW_USER_KQ_ID"
|
|
}
|
|
} |