From 9bf8690ba4e19d8fb3c3010fa78c102257f60a7e Mon Sep 17 00:00:00 2001 From: yumiguan <41277086+yumiguan@users.noreply.github.com> Date: Thu, 9 Jun 2022 16:26:22 +0800 Subject: [PATCH] feature/datamanager-display-super-by (#664) * DataManager displays super_by * update version --- frontend/src/store/datamanager.js | 8 +++--- .../src/views/datamanager/DataDetailInfo.vue | 28 ++++++++++++++++++- lyrebird/mock/dm/__init__.py | 16 +++++++++++ lyrebird/version.py | 2 +- 4 files changed, 48 insertions(+), 6 deletions(-) diff --git a/frontend/src/store/datamanager.js b/frontend/src/store/datamanager.js index 500740ef0..0f613adcb 100644 --- a/frontend/src/store/datamanager.js +++ b/frontend/src/store/datamanager.js @@ -32,10 +32,10 @@ export default { dataListSelectedLabel: [], isLabelDisplay: true, isReloadTreeWhenUpdate: false, - undisplayedKey: ['children', 'type', 'parent_id'], - undeletableKey: ['id', 'rule', 'name', 'label', 'category'], - uneditableKey: ['id', 'rule'], - stickyTopKey: ['id', 'rule', 'super_id', 'name', 'label'], + undisplayedKey: ['children', 'type', 'parent_id', 'abs_parent_path', 'parent'], + undeletableKey: ['id', 'rule', 'name', 'label', 'category', 'super_by'], + uneditableKey: ['id', 'rule', 'super_by'], + stickyTopKey: ['id', 'rule', 'super_id', 'name', 'label', 'super_by'], displayCopyKey: ['id'] }, mutations: { diff --git a/frontend/src/views/datamanager/DataDetailInfo.vue b/frontend/src/views/datamanager/DataDetailInfo.vue index e0b597226..e0da0fa46 100644 --- a/frontend/src/views/datamanager/DataDetailInfo.vue +++ b/frontend/src/views/datamanager/DataDetailInfo.vue @@ -1,5 +1,5 @@