199 lines
5.1 KiB
JSON
199 lines
5.1 KiB
JSON
[
|
||
{
|
||
"component": "单行文本",
|
||
"jnpfKey": "input",
|
||
"fieldName": "f_input",
|
||
"testValue": "测试文本ABC123",
|
||
"testValueType": "str",
|
||
"storedValue": "测试文本ABC123",
|
||
"storedType": "str",
|
||
"pattern": "字符串直接存储"
|
||
},
|
||
{
|
||
"component": "多行文本",
|
||
"jnpfKey": "textarea",
|
||
"fieldName": "f_textarea",
|
||
"testValue": "第一行\n第二行\n第三行",
|
||
"testValueType": "str",
|
||
"storedValue": "第一行\n第二行\n第三行",
|
||
"storedType": "str",
|
||
"pattern": "字符串直接存储"
|
||
},
|
||
{
|
||
"component": "数字输入",
|
||
"jnpfKey": "inputNumber",
|
||
"fieldName": "f_inputNumber",
|
||
"testValue": 12345.67,
|
||
"testValueType": "float",
|
||
"storedValue": "12345.67",
|
||
"storedType": "str",
|
||
"pattern": "数值或字符串存储(取决于precision)"
|
||
},
|
||
{
|
||
"component": "下拉选择",
|
||
"jnpfKey": "select",
|
||
"fieldName": "f_select",
|
||
"testValue": "2",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "选项id字符串存储(如\"2\")"
|
||
},
|
||
{
|
||
"component": "单选组",
|
||
"jnpfKey": "radio",
|
||
"fieldName": "f_radio",
|
||
"testValue": "1",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "选项id字符串存储(如\"1\")"
|
||
},
|
||
{
|
||
"component": "多选组",
|
||
"jnpfKey": "checkbox",
|
||
"fieldName": "f_checkbox",
|
||
"testValue": [
|
||
"1",
|
||
"3"
|
||
],
|
||
"testValueType": "list",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "选项id数组JSON序列化存储(如[\"1\",\"3\"])"
|
||
},
|
||
{
|
||
"component": "日期选择",
|
||
"jnpfKey": "datePicker",
|
||
"fieldName": "f_date",
|
||
"testValue": "2026-04-07",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "日期字符串存储(如\"2026-04-07\")"
|
||
},
|
||
{
|
||
"component": "时间选择",
|
||
"jnpfKey": "timePicker",
|
||
"fieldName": "f_time",
|
||
"testValue": "14:30:00",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "时间字符串存储(如\"14:30:00\")"
|
||
},
|
||
{
|
||
"component": "日期时间",
|
||
"jnpfKey": "datePicker",
|
||
"fieldName": "f_datetime",
|
||
"testValue": "2026-04-07 14:30:00",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "日期时间字符串存储(如\"2026-04-07 14:30:00\")"
|
||
},
|
||
{
|
||
"component": "开关",
|
||
"jnpfKey": "switch",
|
||
"fieldName": "f_switch",
|
||
"testValue": 1,
|
||
"testValueType": "int",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "整数存储(1/0),activeValue/inactiveValue决定"
|
||
},
|
||
{
|
||
"component": "评分",
|
||
"jnpfKey": "rate",
|
||
"fieldName": "f_rate",
|
||
"testValue": 4,
|
||
"testValueType": "int",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "整数存储(如4)"
|
||
},
|
||
{
|
||
"component": "滑块",
|
||
"jnpfKey": "slider",
|
||
"fieldName": "f_slider",
|
||
"testValue": 50,
|
||
"testValueType": "int",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "整数或字符串存储"
|
||
},
|
||
{
|
||
"component": "颜色选择",
|
||
"jnpfKey": "colorPicker",
|
||
"fieldName": "f_colorPicker",
|
||
"testValue": "#1890ff",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "颜色值字符串存储(如\"#1890ff\")"
|
||
},
|
||
{
|
||
"component": "图片上传",
|
||
"jnpfKey": "uploadImg",
|
||
"fieldName": "f_uploadImg",
|
||
"testValue": "/upload/20260407/test.jpg",
|
||
"testValueType": "str",
|
||
"storedValue": [],
|
||
"storedType": "list",
|
||
"pattern": "文件路径字符串存储"
|
||
},
|
||
{
|
||
"component": "文件上传",
|
||
"jnpfKey": "uploadFile",
|
||
"fieldName": "f_uploadFile",
|
||
"testValue": "/upload/20260407/test.pdf",
|
||
"testValueType": "str",
|
||
"storedValue": [],
|
||
"storedType": "list",
|
||
"pattern": "文件路径字符串存储"
|
||
},
|
||
{
|
||
"component": "树形选择",
|
||
"jnpfKey": "treeSelect",
|
||
"fieldName": "f_treeSelect",
|
||
"testValue": "1-1",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "节点id字符串存储(如\"1-1\")"
|
||
},
|
||
{
|
||
"component": "级联选择",
|
||
"jnpfKey": "cascader",
|
||
"fieldName": "f_cascader",
|
||
"testValue": [
|
||
"44",
|
||
"4403",
|
||
"440305"
|
||
],
|
||
"testValueType": "list",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "节点id数组JSON序列化存储(如[\"44\",\"4403\",\"440305\"])"
|
||
},
|
||
{
|
||
"component": "用户选择",
|
||
"jnpfKey": "userSelect",
|
||
"fieldName": "f_userSelect",
|
||
"testValue": "admin",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "用户id或用户名字符串存储"
|
||
},
|
||
{
|
||
"component": "部门选择",
|
||
"jnpfKey": "organizeSelect",
|
||
"fieldName": "f_organizeSelect",
|
||
"testValue": "1",
|
||
"testValueType": "str",
|
||
"storedValue": null,
|
||
"storedType": "NoneType",
|
||
"pattern": "组织id字符串存储"
|
||
}
|
||
] |