From f89d52077373d838527302a1813c19fe4a3eba98 Mon Sep 17 00:00:00 2001 From: yumiguan <41277086+yumiguan@users.noreply.github.com> Date: Fri, 12 Aug 2022 19:39:06 +0800 Subject: [PATCH] Feature/datamanager group detail display info (#679) * Support datamanager group detail display info * update * update readme * update tests * update tests * fix issue --- README.md | 2 +- .../components/DocumentTreeDialogCreate.vue | 39 ++- frontend/src/components/DocumentTreeNode.vue | 35 +-- frontend/src/store/datamanager.js | 25 +- frontend/src/store/settings.js | 1 + frontend/src/views/datamanager/DataDetail.vue | 6 + .../views/datamanager/DataDetailHttpData.vue | 6 +- .../src/views/datamanager/DataDetailInfo.vue | 292 ++++++++++++------ .../views/datamanager/DataDetailPlainJSON.vue | 140 +++++++++ frontend/src/views/datamanager/DataList.vue | 1 + frontend/src/views/statusbar/StatusInfo.vue | 12 +- lyrebird/mock/blueprints/apis/common.py | 1 + lyrebird/mock/blueprints/apis/mock.py | 6 +- lyrebird/mock/dm/__init__.py | 112 ++++--- lyrebird/mock/dm/file_data_adapter.py | 6 + lyrebird/mock/qrcode.py | 14 +- .../lyrebird_plugin_demo/README.md | 2 +- .../lyrebird_plugin_demo/setup.py | 1 - lyrebird/utils.py | 23 ++ lyrebird/version.py | 2 +- tests/test_conf_api.py | 9 +- tests/test_dm.py | 67 +++- 22 files changed, 601 insertions(+), 201 deletions(-) create mode 100644 frontend/src/views/datamanager/DataDetailPlainJSON.vue diff --git a/README.md b/README.md index 6a6242402..ab720f0e8 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,7 @@ docker pull overbridge/lyrebird - macOS/Windows -* Python >= 3.6 +* Python >= 3.7 ```bash # macOS系统中推荐使用Homebrew(https://brew.sh/#install)安装Python3 diff --git a/frontend/src/components/DocumentTreeDialogCreate.vue b/frontend/src/components/DocumentTreeDialogCreate.vue index 1d30584be..0469cd6e4 100644 --- a/frontend/src/components/DocumentTreeDialogCreate.vue +++ b/frontend/src/components/DocumentTreeDialogCreate.vue @@ -1,12 +1,12 @@