Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
EUbOPEN Web
Manage
Activity
Members
Labels
Plan
Issues
15
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChEMBL
EUbOPEN
EUbOPEN Web
Commits
d14716ae
Commit
d14716ae
authored
1 year ago
by
David Mendez
Browse files
Options
Downloads
Patches
Plain Diff
eubopen: add min targets section for compound report card
parent
2fab9757
No related branches found
Branches containing commit
No related tags found
1 merge request
!88
Changes for the Midterm Review
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
components/report_cards/chemical_probe/MainTargets.vue
+56
-3
56 additions, 3 deletions
components/report_cards/chemical_probe/MainTargets.vue
web-components-submodule
+1
-1
1 addition, 1 deletion
web-components-submodule
with
57 additions
and
4 deletions
components/report_cards/chemical_probe/MainTargets.vue
+
56
−
3
View file @
d14716ae
<
template
>
<v-card>
<v-card-text>
<div>
Main targets here!!! itemID:
{{
itemID
}}
, chemblID:
{{
chemblID
}}
</div>
<ChEMBLDataTable
:dataset-state=
"datasetState"
:store-module-name=
"storeModuleName"
:outlined-card=
"true"
/>
</v-card-text>
</v-card>
</
template
>
<
script
>
import
IndexNames
from
'
@/web-components-submodule/standardisation/IndexNames.js
'
import
{
datasetMixin
}
from
'
~/web-components-submodule/mixins/datasets/datasetMixin.js
'
import
EntityNames
from
'
~/web-components-submodule/standardisation/EntityNames.js
'
import
ChEMBLDataTable
from
'
~/web-components-submodule/components/common/dataSets/data_table/ChEMBLDataTable.vue
'
export
default
{
components
:
{
ChEMBLDataTable
,
},
mixins
:
[
datasetMixin
],
props
:
{
itemID
:
{
type
:
String
,
...
...
@@ -19,6 +30,48 @@ export default {
type
:
String
,
default
:
()
=>
undefined
,
},
storeModuleName
:
{
type
:
String
,
default
:
()
=>
`main_targets_for_compound`
,
},
},
data
()
{
return
{
propertiesGroups
:
{
1
:
{
id
:
'
main_targets_for_a_compound
'
,
selected
:
true
,
allHeaders
:
[],
},
},
entityID
:
EntityNames
.
EubopenMainTarget
.
entityID
,
customDataRepresentationParams
:
{
possiblePageSizes
:
[
5
,
10
],
itemsPerPage
:
5
,
},
}
},
computed
:
{
starterParams
()
{
return
{
chemblID
:
this
.
chemblID
,
propertiesGroups
:
this
.
propertiesGroups
,
initialQuery
:
{
query
:
{
bool
:
{
must
:
[
{
terms
:
{
'
molecule.molecule_eubopen_id.keyword
'
:
[
this
.
itemID
],
},
},
],
},
},
},
indexName
:
IndexNames
.
getIndexNameFromEntityID
(
this
.
entityID
),
}
},
},
}
</
script
>
...
...
This diff is collapsed.
Click to expand it.
web-components-submodule
@
a5e713f8
Compare
b4b69a05
...
a5e713f8
Subproject commit
b4b69a0505a33ce08a3d49bdc9516caf5a9713e3
Subproject commit
a5e713f8ba1b028b8fe87fc0e7a99fa8276ac9fe
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment