2021-01-31 02:43:13 +13:00
|
|
|
<template>
|
|
|
|
<q-page class="column items-center justify-center">
|
|
|
|
|
|
|
|
<div class="col-12">
|
|
|
|
<h3>Project screen for {{projectName}}</h3>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-12 q-mb-lg">
|
|
|
|
<q-btn
|
|
|
|
color="primary"
|
|
|
|
size="md"
|
|
|
|
label="Export project"
|
|
|
|
class="q-px-xl q-py-xs"
|
|
|
|
@click="exportProject(projectName)"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</q-page>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { Component } from "vue-property-decorator"
|
|
|
|
|
|
|
|
import BaseClass from "src/BaseClass"
|
|
|
|
|
2021-02-26 14:50:46 +13:00
|
|
|
import { retrieveCurrentProjectName, exportProject } from "src/scripts/projectManagement/projectManagent"
|
|
|
|
|
2021-01-31 02:43:13 +13:00
|
|
|
@Component({
|
|
|
|
components: { }
|
|
|
|
})
|
|
|
|
export default class ProjectScreen extends BaseClass {
|
|
|
|
projectName = ""
|
|
|
|
|
2021-02-26 14:50:46 +13:00
|
|
|
exportProject = exportProject
|
|
|
|
|
2021-01-31 02:43:13 +13:00
|
|
|
async created () {
|
2021-02-26 14:50:46 +13:00
|
|
|
this.projectName = await retrieveCurrentProjectName()
|
2021-01-31 02:43:13 +13:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|