diff --git a/zero-doc/src/main/resources/plugin/doc/oob/cab/d.exam.xlsx b/zero-doc/src/main/resources/plugin/doc/oob/cab/d.exam.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..27c08b9c4ee0eca19740cb20227913b778399756 Binary files /dev/null and b/zero-doc/src/main/resources/plugin/doc/oob/cab/d.exam.xlsx differ diff --git a/zero-doc/src/main/resources/plugin/doc/oob/initialize.json b/zero-doc/src/main/resources/plugin/doc/oob/initialize.json index 3cbec822631c76713298e4031ba6eabe397d2dff..ad4a2eda818bfe421e7f0c00f7513fcd7d2612e5 100644 --- a/zero-doc/src/main/resources/plugin/doc/oob/initialize.json +++ b/zero-doc/src/main/resources/plugin/doc/oob/initialize.json @@ -1,6 +1,8 @@ [ "plugin/doc/oob/cab/d.doc.xlsx", + "plugin/doc/oob/cab/d.exam.xlsx", "plugin/doc/oob/data/doc.directory.tree.xlsx", "plugin/doc/oob/data/doc.directory.xlsx", - "plugin/doc/oob/role/ADMIN.SUPER/falcon.d.doc.xlsx" + "plugin/doc/oob/role/ADMIN.SUPER/falcon.d.doc.xlsx", + "plugin/doc/oob/role/ADMIN.SUPER/falcon.d.exam.xlsx" ] \ No newline at end of file diff --git a/zero-doc/src/main/resources/plugin/doc/oob/module.json b/zero-doc/src/main/resources/plugin/doc/oob/module.json index 0da1b5cb6ca7369abf1354153874925d0f5f34c0..cefd6e3194a54c1a34b52fda6e0530a1084ff43f 100644 --- a/zero-doc/src/main/resources/plugin/doc/oob/module.json +++ b/zero-doc/src/main/resources/plugin/doc/oob/module.json @@ -1,3 +1,4 @@ [ - "d.doc" + "d.doc", + "d.exam" ] \ No newline at end of file diff --git a/zero-doc/src/main/resources/plugin/doc/oob/module/crud/d.exam.json b/zero-doc/src/main/resources/plugin/doc/oob/module/crud/d.exam.json new file mode 100644 index 0000000000000000000000000000000000000000..5d6e062058a863e99a216d863a72f5026b095705 --- /dev/null +++ b/zero-doc/src/main/resources/plugin/doc/oob/module/crud/d.exam.json @@ -0,0 +1,12 @@ +{ + "name": "exam", + "daoCls": "cn.vertxup.doc.domain.tables.daos.DExamDao", + "field": { + "unique": [ + [ + "code", + "sigma" + ] + ] + } +} \ No newline at end of file diff --git a/zero-doc/src/main/resources/plugin/doc/oob/module/ui/d.exam.json b/zero-doc/src/main/resources/plugin/doc/oob/module/ui/d.exam.json new file mode 100644 index 0000000000000000000000000000000000000000..f0f658cea2936dd33b33609d0e620a9602a44d0f --- /dev/null +++ b/zero-doc/src/main/resources/plugin/doc/oob/module/ui/d.exam.json @@ -0,0 +1,48 @@ +[ + { + "title": "名称", + "dataIndex": "name", + "sorter": true, + "$filter.type": "SEARCH", + "$filter.config": { + "placeholder": "输入名称", + "button": { + "search": "搜索", + "reset": "重置" + } + } + }, + { + "title": "编号", + "dataIndex": "code", + "sorter": true, + "$filter.type": "SEARCH", + "$filter.config": { + "placeholder": "输入编号", + "button": { + "search": "搜索", + "reset": "重置" + } + } + }, + { + "title": "类型", + "dataIndex": "type" + }, + { + "title": "更新人", + "dataIndex": "updatedBy", + "$render": "USER", + "$config": { + "uri": "/api/user/:key", + "field": "realname" + }, + "$empty": "(系统)" + }, + { + "title": "更新时间", + "dataIndex": "updatedAt", + "$render": "DATE", + "$format": "YYYY-MM-DD HH:mm" + } +] \ No newline at end of file diff --git a/zero-doc/src/main/resources/plugin/doc/oob/role/ADMIN.SUPER/falcon.d.exam.xlsx b/zero-doc/src/main/resources/plugin/doc/oob/role/ADMIN.SUPER/falcon.d.exam.xlsx new file mode 100644 index 0000000000000000000000000000000000000000..091ca68c53e3f97ec36775117526d5e97230ce2e Binary files /dev/null and b/zero-doc/src/main/resources/plugin/doc/oob/role/ADMIN.SUPER/falcon.d.exam.xlsx differ diff --git a/zero-doc/src/main/resources/plugin/ke/rule.form/d.exam.json b/zero-doc/src/main/resources/plugin/ke/rule.form/d.exam.json new file mode 100644 index 0000000000000000000000000000000000000000..22cb5b75ddcdf8692ef29e100dbd76de4ce64a8b --- /dev/null +++ b/zero-doc/src/main/resources/plugin/ke/rule.form/d.exam.json @@ -0,0 +1,8 @@ +{ + "phase": "AFTER", + "data": { + "type": "RECORD", + "viewId": "`${viewId}`", + "identifier": "d.exam" + } +} \ No newline at end of file