From ac77e8b36af7edc8ac08696c100958a12c950eb1 Mon Sep 17 00:00:00 2001 From: youngS Date: Tue, 20 Apr 2021 15:19:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=98=E5=82=A8=E5=8F=82=E6=95=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fir_admin/src/components/JsonEditor/index.vue | 77 +++++++++++++++ fir_admin/src/views/authentication/Detail.vue | 2 +- fir_admin/src/views/authentication/list.vue | 2 +- fir_admin/src/views/storage/Detail.vue | 99 +++++++++++-------- fir_admin/src/views/storage/list.vue | 70 ++++++------- .../src/components/user/FirUserStorage.vue | 61 ++++++------ fir_ser/admin/views/app.py | 13 +-- fir_ser/admin/views/storage.py | 22 ++--- fir_ser/admin/views/user.py | 17 +--- fir_ser/api/models.py | 15 ++- fir_ser/api/utils/baseutils.py | 9 ++ fir_ser/api/utils/serializer.py | 23 +++-- fir_ser/api/utils/storage/storage.py | 22 ++--- fir_ser/api/utils/utils.py | 20 ---- fir_ser/api/views/storage.py | 12 +-- 15 files changed, 265 insertions(+), 199 deletions(-) create mode 100644 fir_admin/src/components/JsonEditor/index.vue diff --git a/fir_admin/src/components/JsonEditor/index.vue b/fir_admin/src/components/JsonEditor/index.vue new file mode 100644 index 0000000..c05b090 --- /dev/null +++ b/fir_admin/src/components/JsonEditor/index.vue @@ -0,0 +1,77 @@ +