Comments (2)
20240823_172537.mp4
from amis.
{
"type": "page",
"asideResizor": false,
"asideSticky": true,
"body": [
{
"columns": [
{
"body": [
{
"alwaysShowPagination": true,
"autoFillHeight": false,
"autoGenerateFilter": {
"columnsNum": 4,
"showBtnToolbar": false
},
"autoJumpToTopOnPagerChange": false,
"bulkActions": [],
"columns": [
{
"align": "left",
"className": "no-border",
"label": "使用数据库验证",
"maxLine": 1,
"name": "USE_DB_VALIDATION",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${USE_DB_VALIDATION_label}",
"type": "tpl",
"id": "u:aae113e2915e"
},
{
"align": "left",
"className": "no-border",
"label": "组织名称",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "HR_ORG_NAME",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${HR_ORG_NAME_label}",
"type": "tpl",
"id": "u:9aa7d8e5bd5d"
},
{
"align": "left",
"className": "no-border",
"label": "公司名称",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "HR_COMPY_NAME",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${HR_COMPY_NAME_label}",
"type": "tpl",
"id": "u:e7d2acc4ca51"
},
{
"align": "left",
"className": "no-border",
"displayFormat": "YYYY-MM-DD HH:mm:ss",
"format": "YYYY-MM-DD HH:mm:ss",
"label": "时间戳",
"maxLine": 1,
"name": "TS",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${TS_label}",
"type": "static-datetime",
"valueFormat": "YYYY-MM-DD HH:mm:ss",
"width": 150,
"id": "u:b4ef5db901d1"
},
{
"align": "left",
"className": "no-border",
"label": "外部验证用户名",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "EXT_VALIDATION_USERNAME",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${EXT_VALIDATION_USERNAME_label}",
"type": "tpl",
"id": "u:60fb18490a96"
},
{
"align": "left",
"className": "no-border",
"displayFormat": "YYYY-MM-DD HH:mm:ss",
"format": "YYYY-MM-DD HH:mm:ss",
"label": "同步时间",
"maxLine": 1,
"name": "SYNC_DTTM",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${SYNC_DTTM_label}",
"type": "static-datetime",
"valueFormat": "YYYY-MM-DD HH:mm:ss",
"width": 150,
"id": "u:0d68a98241a6"
},
{
"align": "left",
"className": "no-border",
"label": "邮箱",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "EMAIL",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${EMAIL_label}",
"type": "tpl",
"id": "u:000a00ebef02"
},
{
"align": "left",
"className": "no-border",
"label": "来源记录ID",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "SRC_RECORD_ID",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${SRC_RECORD_ID_label}",
"type": "tpl",
"id": "u:994d1e6538a9"
},
{
"align": "left",
"className": "no-border",
"label": "来源",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "SRC",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${SRC_label}",
"type": "tpl",
"id": "u:6fb8ddb3338f"
},
{
"align": "left",
"className": "no-border",
"label": "使用外部验证",
"maxLine": 1,
"name": "USE_EXT_VALIDATION",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${USE_EXT_VALIDATION_label}",
"type": "tpl",
"id": "u:216a4e4b59a5"
},
{
"align": "left",
"className": "no-border",
"label": "是否预设",
"maxLine": 1,
"name": "IS_PRESET",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${IS_PRESET_label}",
"type": "tpl",
"id": "u:ea9fe8c6cdc9"
},
{
"align": "left",
"className": "no-border",
"label": "ID",
"maxLine": 1,
"name": "ID",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${ID_label}",
"type": "tpl",
"id": "u:b37c7017e5a6"
},
{
"align": "left",
"className": "no-border",
"items": {
"maxLine": 1,
"text": "tpl",
"tpl": "${NAME}<br />",
"type": "tpl",
"id": "u:7bef8a40ca87"
},
"label": "最后修改用户",
"name": "LAST_MODI_USER_ID_label",
"placeholder": "-",
"sortable": true,
"toggled": true,
"type": "each",
"id": "u:1a3aff314fca"
},
{
"align": "left",
"className": "no-border",
"displayFormat": "YYYY-MM-DD HH:mm:ss",
"format": "YYYY-MM-DD HH:mm:ss",
"label": "最后修改日期时间",
"maxLine": 1,
"name": "LAST_MODI_DT",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${LAST_MODI_DT_label}",
"type": "static-datetime",
"valueFormat": "YYYY-MM-DD HH:mm:ss",
"width": 150,
"id": "u:d746bfd29a0e"
},
{
"align": "left",
"className": "no-border",
"items": {
"maxLine": 1,
"text": "tpl",
"tpl": "${NAME}<br />",
"type": "tpl",
"id": "u:420263c4fbfb"
},
"label": "创建用户",
"name": "CRT_USER_ID_label",
"placeholder": "-",
"sortable": true,
"toggled": true,
"type": "each",
"id": "u:6af883102c01"
},
{
"align": "left",
"className": "no-border",
"displayFormat": "YYYY-MM-DD HH:mm:ss",
"format": "YYYY-MM-DD HH:mm:ss",
"label": "创建日期时间",
"maxLine": 1,
"name": "CRT_DT",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${CRT_DT_label}",
"type": "static-datetime",
"valueFormat": "YYYY-MM-DD HH:mm:ss",
"width": 150,
"id": "u:f6389ed4d9a7"
},
{
"align": "left",
"className": "no-border",
"items": {
"maxLine": 1,
"text": "tpl",
"tpl": "${NAME}<br />",
"type": "tpl",
"id": "u:50b825a81862"
},
"label": "记录状态",
"name": "STATUS_label",
"placeholder": "-",
"sortable": true,
"toggled": true,
"type": "each",
"id": "u:440c1b3488a6"
},
{
"align": "left",
"className": "no-border",
"items": {
"maxLine": 1,
"text": "tpl",
"tpl": "${NAME}<br />",
"type": "tpl",
"id": "u:da21fcc309ce"
},
"label": "锁定流程实例",
"name": "LK_WF_INST_ID_label",
"placeholder": "-",
"sortable": true,
"toggled": true,
"type": "each",
"id": "u:d4995fc91bb2"
},
{
"align": "left",
"className": "no-border",
"label": "版本",
"maxLine": 1,
"name": "VER",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${VER_label}",
"type": "tpl",
"id": "u:86d5ff4556f0"
},
{
"align": "left",
"className": "no-border",
"label": "备注",
"maxLength": 1000,
"maxLine": 1,
"minLength": 0,
"name": "REMARK",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${REMARK_label}",
"type": "tpl",
"id": "u:a579c4a45a77"
},
{
"align": "left",
"className": "no-border",
"label": "名称",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "NAME",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${NAME_label}",
"type": "tpl",
"id": "u:e5c65f220180"
},
{
"align": "left",
"className": "no-border",
"label": "代码",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "CODE",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${CODE_label}",
"type": "tpl",
"id": "u:edfb447f7bf7"
}
],
"columnsTogglable": true,
"filterTogglable": true,
"footerToolbar": [
{
"type": "bulk-actions"
},
{
"type": "pagination",
"layout": "total,perPage,pager,go",
"mode": "normal",
"activePage": 2,
"lastPage": 99999,
"total": "${totalRow}",
"perPage": 10,
"maxButtons": 5,
"showPerPage": true,
"perPageAvailable": [
10,
20,
50,
100
],
"showPageInput": true,
"disabled": false
}
],
"headerToolbar": [
{
"type": "columns-toggler",
"align": "right"
}
],
"hideQuickSaveBtn": true,
"id": "u:bfabac571050",
"initFetch": true,
"itemActions": [],
"messages": {},
"mode": "table",
"name": "crud",
"pageField": "pageNum",
"perPageAvailable": [
10
],
"perPageField": "pageSize",
"selectable": true,
"silentPolling": true,
"syncLocation": false,
"tableClassName": "amis-container",
"tableLayout": "fixed",
"type": "crud",
"data": []
}
],
"id": "u:c0972beb8b79",
"md": 6
},
{
"body": [
{
"alwaysShowPagination": true,
"autoFillHeight": false,
"autoGenerateFilter": {
"columnsNum": 4,
"showBtnToolbar": false
},
"autoJumpToTopOnPagerChange": false,
"bulkActions": [],
"columns": [
{
"align": "left",
"className": "no-border",
"label": "使用数据库验证",
"maxLine": 1,
"name": "USE_DB_VALIDATION",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${USE_DB_VALIDATION_label}",
"type": "tpl",
"id": "u:6d7075f111e8"
},
{
"align": "left",
"className": "no-border",
"label": "组织名称",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "HR_ORG_NAME",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${HR_ORG_NAME_label}",
"type": "tpl",
"id": "u:bf324cbf87d9"
},
{
"align": "left",
"className": "no-border",
"label": "公司名称",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "HR_COMPY_NAME",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${HR_COMPY_NAME_label}",
"type": "tpl",
"id": "u:3012ae8d773f"
},
{
"align": "left",
"className": "no-border",
"displayFormat": "YYYY-MM-DD HH:mm:ss",
"format": "YYYY-MM-DD HH:mm:ss",
"label": "时间戳",
"maxLine": 1,
"name": "TS",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${TS_label}",
"type": "static-datetime",
"valueFormat": "YYYY-MM-DD HH:mm:ss",
"width": 150,
"id": "u:e40bb2329fea"
},
{
"align": "left",
"className": "no-border",
"label": "外部验证用户名",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "EXT_VALIDATION_USERNAME",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${EXT_VALIDATION_USERNAME_label}",
"type": "tpl",
"id": "u:4d378529dae4"
},
{
"align": "left",
"className": "no-border",
"displayFormat": "YYYY-MM-DD HH:mm:ss",
"format": "YYYY-MM-DD HH:mm:ss",
"label": "同步时间",
"maxLine": 1,
"name": "SYNC_DTTM",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${SYNC_DTTM_label}",
"type": "static-datetime",
"valueFormat": "YYYY-MM-DD HH:mm:ss",
"width": 150,
"id": "u:e483e8ef7d10"
},
{
"align": "left",
"className": "no-border",
"label": "邮箱",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "EMAIL",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${EMAIL_label}",
"type": "tpl",
"id": "u:5ee0299e1902"
},
{
"align": "left",
"className": "no-border",
"label": "来源记录ID",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "SRC_RECORD_ID",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${SRC_RECORD_ID_label}",
"type": "tpl",
"id": "u:bcef03ba8dee"
},
{
"align": "left",
"className": "no-border",
"label": "来源",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "SRC",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${SRC_label}",
"type": "tpl",
"id": "u:8e3c231d120b"
},
{
"align": "left",
"className": "no-border",
"label": "使用外部验证",
"maxLine": 1,
"name": "USE_EXT_VALIDATION",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${USE_EXT_VALIDATION_label}",
"type": "tpl",
"id": "u:71ab97c4c14b"
},
{
"align": "left",
"className": "no-border",
"label": "是否预设",
"maxLine": 1,
"name": "IS_PRESET",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${IS_PRESET_label}",
"type": "tpl",
"id": "u:24136dca8456"
},
{
"align": "left",
"className": "no-border",
"label": "ID",
"maxLine": 1,
"name": "ID",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${ID_label}",
"type": "tpl",
"id": "u:5483c41d24b1"
},
{
"align": "left",
"className": "no-border",
"items": {
"maxLine": 1,
"text": "tpl",
"tpl": "${NAME}<br />",
"type": "tpl",
"id": "u:99d4a5df4594"
},
"label": "最后修改用户",
"name": "LAST_MODI_USER_ID_label",
"placeholder": "-",
"sortable": true,
"toggled": true,
"type": "each",
"id": "u:574b355247ac"
},
{
"align": "left",
"className": "no-border",
"displayFormat": "YYYY-MM-DD HH:mm:ss",
"format": "YYYY-MM-DD HH:mm:ss",
"label": "最后修改日期时间",
"maxLine": 1,
"name": "LAST_MODI_DT",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${LAST_MODI_DT_label}",
"type": "static-datetime",
"valueFormat": "YYYY-MM-DD HH:mm:ss",
"width": 150,
"id": "u:4db928057d77"
},
{
"align": "left",
"className": "no-border",
"items": {
"maxLine": 1,
"text": "tpl",
"tpl": "${NAME}<br />",
"type": "tpl",
"id": "u:d9848ba3a753"
},
"label": "创建用户",
"name": "CRT_USER_ID_label",
"placeholder": "-",
"sortable": true,
"toggled": true,
"type": "each",
"id": "u:107391107465"
},
{
"align": "left",
"className": "no-border",
"displayFormat": "YYYY-MM-DD HH:mm:ss",
"format": "YYYY-MM-DD HH:mm:ss",
"label": "创建日期时间",
"maxLine": 1,
"name": "CRT_DT",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${CRT_DT_label}",
"type": "static-datetime",
"valueFormat": "YYYY-MM-DD HH:mm:ss",
"width": 150,
"id": "u:3da57104340e"
},
{
"align": "left",
"className": "no-border",
"items": {
"maxLine": 1,
"text": "tpl",
"tpl": "${NAME}<br />",
"type": "tpl",
"id": "u:8b10d74eade6"
},
"label": "记录状态",
"name": "STATUS_label",
"placeholder": "-",
"sortable": true,
"toggled": true,
"type": "each",
"id": "u:44baade025ad"
},
{
"align": "left",
"className": "no-border",
"items": {
"maxLine": 1,
"text": "tpl",
"tpl": "${NAME}<br />",
"type": "tpl",
"id": "u:356a8968a779"
},
"label": "锁定流程实例",
"name": "LK_WF_INST_ID_label",
"placeholder": "-",
"sortable": true,
"toggled": true,
"type": "each",
"id": "u:6f989feda547"
},
{
"align": "left",
"className": "no-border",
"label": "版本",
"maxLine": 1,
"name": "VER",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${VER_label}",
"type": "tpl",
"id": "u:c064759fcd19"
},
{
"align": "left",
"className": "no-border",
"label": "备注",
"maxLength": 1000,
"maxLine": 1,
"minLength": 0,
"name": "REMARK",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${REMARK_label}",
"type": "tpl",
"id": "u:a40af0f15ae9"
},
{
"align": "left",
"className": "no-border",
"label": "名称",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "NAME",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${NAME_label}",
"type": "tpl",
"id": "u:bfdf30485179"
},
{
"align": "left",
"className": "no-border",
"label": "代码",
"maxLength": 50,
"maxLine": 1,
"minLength": 0,
"name": "CODE",
"placeholder": "-",
"sortable": true,
"toggled": true,
"tpl": "${CODE_label}",
"type": "tpl",
"id": "u:95720751d819"
}
],
"columnsTogglable": true,
"filterTogglable": true,
"footerToolbar": [
{
"type": "bulk-actions"
},
{
"type": "pagination",
"layout": "total,perPage,pager,go",
"mode": "normal",
"activePage": 2,
"lastPage": 99999,
"total": "${totalRow}",
"perPage": 10,
"maxButtons": 5,
"showPerPage": true,
"perPageAvailable": [
10,
20,
50,
100
],
"showPageInput": true,
"disabled": false
}
],
"headerToolbar": [
{
"type": "columns-toggler",
"align": "right"
}
],
"hideQuickSaveBtn": true,
"id": "u:25cf6d711740",
"initFetch": true,
"itemActions": [],
"messages": {},
"mode": "table",
"name": "crud",
"pageField": "pageNum",
"perPageAvailable": [
10
],
"perPageField": "pageSize",
"selectable": true,
"silentPolling": true,
"syncLocation": false,
"tableClassName": "amis-container",
"tableLayout": "fixed",
"type": "crud",
"data": []
}
],
"id": "u:564d37749468",
"md": 6
}
],
"id": "u:4494dfd81541",
"type": "grid"
}
],
"className": "amis-container",
"comIds": [
"u:4494dfd81541"
],
"id": "u:365f434b878e",
"initApi": {
"adaptor": "return {\\n ...payload,\\n status: payload.code === 200 ? 0 : payload.code\\n}",
"dataType": "json",
"headers": {
"Content-Type": "application/json"
},
"method": "post",
"silent": true,
"url": "/api/user/isLogin"
},
"initFetch": true,
"name": "main_page",
"pullRefresh": {
"disabled": true
},
"showErrorMsg": false,
"silentPolling": false
}
from amis.
Related Issues (20)
- CRUD导出 Excel 模板,暂无数据,在文档示例中就有问题
- Docs, language picker not change language HOT 1
- 多页应用导航栏支持带参数折叠吗 HOT 1
- amis-editor 6.8.0 添加事件 弹窗 出现 e.focus is not a function
- 渲染页面缓存问题
- 分页组件,简洁模式,在最后一页,【下一页】能点击的问题 HOT 1
- 表格2.0快速构建 表格字段输入类型选择除单行文本框之外的字段,确认后再次点快速构建输入类型被还原为单行文本框
- 多层弹窗中,第一个弹窗之后的弹窗无法获取event事件对象数据 HOT 1
- Table2 itemDraggableOn 配置当前行是否可拖拽的条件无效
- InputTable 组件 maxLength 配置, 在存在 perPage 配置,超出 maxLength 限制时, 添加按钮未隐藏
- 表单 inputImage 路径问题 HOT 2
- 请问自定义组件放入自由容器内,如何实现拖拽功能?能否在官网提供一个文档说明
- 在@FormItem渲染器下自定义组件报错,换成@Renderer就正常 HOT 1
- 6.8 更新后编辑器上面的按钮属性面板变了,事件动作没了,完全没法用了 HOT 2
- 怎么做到单条件搜索 HOT 3
- dialog 嵌套 CRUD 中得 filter 回车提交查询失效
- 多环境 HOT 1
- 锚点导航-默认三个锚点,点击第二个锚点标题不跳转
- 将代码粘贴进文档可实现,但是在编辑器不可实现 HOT 2
- 多个输入框填数字然后计算其他输入框的值时,输入会变得很卡 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amis.