diff --git a/src/modules/otus/components/Panel/PanelCollectionObjects/PanelCollectionObjects.vue b/src/modules/otus/components/Panel/PanelCollectionObjects/PanelCollectionObjects.vue
deleted file mode 100644
index ce1f709..0000000
--- a/src/modules/otus/components/Panel/PanelCollectionObjects/PanelCollectionObjects.vue
+++ /dev/null
@@ -1,85 +0,0 @@
-
-
-
-
-
-
- Collection Objects
-
-
-
- Collection Objects
-
- Inventory
-
-
-
-
-
-
diff --git a/src/modules/otus/components/Panel/PanelCollectionObjects/main.js b/src/modules/otus/components/Panel/PanelCollectionObjects/main.js
deleted file mode 100644
index 8b202c9..0000000
--- a/src/modules/otus/components/Panel/PanelCollectionObjects/main.js
+++ /dev/null
@@ -1,6 +0,0 @@
-import PanelCollectionObjects from "./PanelCollectionObjects.vue";
-
-export default {
- id: 'panel:collection-objects',
- component: PanelCollectionObjects
-}
\ No newline at end of file
diff --git a/src/modules/otus/components/Panel/PanelInventory/PanelInventory.vue b/src/modules/otus/components/Panel/PanelInventory/PanelInventory.vue
new file mode 100644
index 0000000..fffa445
--- /dev/null
+++ b/src/modules/otus/components/Panel/PanelInventory/PanelInventory.vue
@@ -0,0 +1,160 @@
+
+
+
+
+
+
+ Collection Objects
+
+
+
+ Inventory
+
+
+ -
+
+
+ {{ makeInventoryLabel(inventoryItem) }}
+
+
+
+ -
+
+ Full Record
+
+
+ - {{ entry[0] }}
+ - {{ entry[1] }}
+
+
+
+
+
+
+
+
+ Collection Objects
+
+
+ -
+
+
+ {{ collectionObject.id }} — length {{JSON.stringify(collectionObject).length}}
+
+
+ -
+ {{ entry[0] }}: {{ entry[1] }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/modules/otus/components/Panel/PanelInventory/main.js b/src/modules/otus/components/Panel/PanelInventory/main.js
new file mode 100644
index 0000000..1c3a28a
--- /dev/null
+++ b/src/modules/otus/components/Panel/PanelInventory/main.js
@@ -0,0 +1,6 @@
+import PanelInventory from "./PanelInventory.vue";
+
+export default {
+ id: 'panel:inventory',
+ component: PanelInventory
+}
\ No newline at end of file
diff --git a/src/modules/otus/constants/layouts/overview.js b/src/modules/otus/constants/layouts/overview.js
index a5f52a2..bceeed6 100644
--- a/src/modules/otus/constants/layouts/overview.js
+++ b/src/modules/otus/constants/layouts/overview.js
@@ -8,7 +8,7 @@ export const DEFAULT_OVERVIEW_LAYOUT = {
'panel:type-specimen',
'panel:nomenclature',
'panel:nomenclature-references',
- 'panel:collection-objects'
+ 'panel:inventory'
],
[
'panel:map',
diff --git a/src/modules/otus/services/TaxonWorks.js b/src/modules/otus/services/TaxonWorks.js
index 88024fb..9c11a45 100644
--- a/src/modules/otus/services/TaxonWorks.js
+++ b/src/modules/otus/services/TaxonWorks.js
@@ -68,9 +68,10 @@ export default class TaxonWorks {
@with_buffered_determinations = boolean_param(params, :with_buffered_determinations)
@with_buffered_other_labels = boolean_param(params, :with_buffered_other_labels)
*/
- return makeAPIRequest.get(`/collection_objects?otu_id[]=${otuId}&with_buffered_determination=true`, opt)
+ // return makeAPIRequest.get(`/collection_objects?otu_id[]=${otuId}&with_buffered_determination=true`, opt)
// return makeAPIRequest.get(`/collection_objects?otu_id[]=${otuId}&descendants=true`, opt)
- // return makeAPIRequest.get(`/collection_objects?otu_id[]=${otuId}`, opt)
+ return makeAPIRequest.get(`/collection_objects?otu_id[]=${otuId}`, opt)
+ // return makeAPIRequest.get(`/collection_objects?otu_id[]=${otuId}/dwc.json`, opt)
}
static getInventory(otuId, opt) {