master #173
@ -16,9 +16,13 @@ const statsBy = ref("");
|
|||||||
const isFilterOpened = ref(false);
|
const isFilterOpened = ref(false);
|
||||||
const isResearchOpened = ref(false);
|
const isResearchOpened = ref(false);
|
||||||
const articleToDisplay = ref(Object)
|
const articleToDisplay = ref(Object)
|
||||||
const filters = ref([""])
|
const filters = ref([]);
|
||||||
const researchList = ref(await fetchResearches(1))
|
const researchList = ref(await fetchResearches(1));
|
||||||
let chart;
|
let chart;
|
||||||
|
//todo changer dynamiquement le 1 ici en fct de sur quel profil on est
|
||||||
|
const researcher = ref(await fetchResearcher(1));
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
@ -51,8 +55,6 @@ const downloadBibTex = (research) => {
|
|||||||
const downloadArticle = (research) => {
|
const downloadArticle = (research) => {
|
||||||
//todo
|
//todo
|
||||||
}
|
}
|
||||||
//todo changer dynamiquement le 1 ici en fct de sur quel profil on est
|
|
||||||
const researcher = ref(await fetchResearcher(1))
|
|
||||||
|
|
||||||
function downloadCoAuthors(){
|
function downloadCoAuthors(){
|
||||||
const data = JSON.stringify(researcher.value);
|
const data = JSON.stringify(researcher.value);
|
||||||
@ -154,7 +156,6 @@ function update(){
|
|||||||
Stat type :
|
Stat type :
|
||||||
<select @change="update()" id="stats-select" v-model="statsOf">
|
<select @change="update()" id="stats-select" v-model="statsOf">
|
||||||
<option value="views">Views</option>
|
<option value="views">Views</option>
|
||||||
<option value="co-authors">Co-authors</option>
|
|
||||||
<option value="researches">Researches</option>
|
<option value="researches">Researches</option>
|
||||||
<option value="language">Languages</option>
|
<option value="language">Languages</option>
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user