RE Single class scenarios picklist
This commit is contained in:
@@ -40,10 +40,11 @@
|
||||
import FileFlowViewer from '@/components/FileFlowViewer.vue';
|
||||
import { ApplicationCodeService } from '@/service/ApplicationCodeService';
|
||||
import { LoadingStore } from '@/stores/LoadingStore.js';
|
||||
import { ScenarioStore } from '@/stores/ScenarioStore.js';
|
||||
import { UserPrefStore } from '@/stores/UserPrefStore.js';
|
||||
import Tree from 'primevue/tree';
|
||||
import { onMounted, ref, watch } from 'vue';
|
||||
import { useRouter } from 'vue-router';
|
||||
import { UserPrefStore } from '@/stores/UserPrefStore.js';
|
||||
|
||||
const nodes = ref(null)
|
||||
const expandedKeys = ref({});
|
||||
@@ -51,10 +52,13 @@ const selectedFile = ref({})
|
||||
const router = useRouter();
|
||||
const userPrefStore = UserPrefStore();
|
||||
const loadingStore = LoadingStore()
|
||||
const scenario_store = ScenarioStore();
|
||||
|
||||
onMounted(() => {
|
||||
console.log("Mounted")
|
||||
fetchApplicationData();
|
||||
scenario_store.fetchScenariosForRE();
|
||||
|
||||
})
|
||||
|
||||
function fetchApplicationData() {
|
||||
@@ -88,6 +92,8 @@ function onNodeSelect(e){
|
||||
if(e.icon == "pi pi-fw pi-file"){
|
||||
selectedFile.value = e.key
|
||||
}
|
||||
userPrefStore.setSelectedFile(e.label)
|
||||
console.log("user pref store file", userPrefStore.getSelFile)
|
||||
console.log(e)
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user