From bc3ecf7fd5b762ea603df9b55238dfb7ddc3c3e5 Mon Sep 17 00:00:00 2001 From: ymq1 Date: Thu, 26 Jun 2025 17:00:47 +0800 Subject: [PATCH] bugfix --- json/build.sh | 3 +++ json/folder.json | 21 +++++++++++++++++++++ json/folderinfo.json | 22 ++++++++++++++++++++++ 3 files changed, 46 insertions(+) create mode 100755 json/build.sh create mode 100644 json/folder.json create mode 100644 json/folderinfo.json diff --git a/json/build.sh b/json/build.sh new file mode 100755 index 0000000..23fab8d --- /dev/null +++ b/json/build.sh @@ -0,0 +1,3 @@ +#!/usr/bin/bash + +xls2ui -m ../models -o ../wwwroot filemgr *.json diff --git a/json/folder.json b/json/folder.json new file mode 100644 index 0000000..e8287f6 --- /dev/null +++ b/json/folder.json @@ -0,0 +1,21 @@ +{ + "tblname": "folder", + "uitype":"tree", + "title":"目录", + "params":{ + "idField":"id", + "textField":"name", + "sortby":"name", + "editable":true, + "browserfields":{ + "alters":{} + }, + "edit_exclouded_fields":[], + "parentField":"parentid", + "toolbar":{ + }, + "binds":[ + ] + } + +} diff --git a/json/folderinfo.json b/json/folderinfo.json new file mode 100644 index 0000000..2f6612e --- /dev/null +++ b/json/folderinfo.json @@ -0,0 +1,22 @@ +{ + "tblname": "folderinfo", + "title":"目录信息", + "params": { + "sortby":"name", + "logined_userorgid":"orgid", + "browserfields": { + "exclouded": ["id", "biztype", "orgid" ], + "cwidth": {} + }, + "editexclouded": [ + "id", "orgid" + ], + "subtables": [ + { + "field":"fiid", + "title":"目录", + "subtable":"folder" + } + ] + } +}