messing with status reads

This commit is contained in:
iamBadgers
2026-04-23 18:56:23 -07:00
parent cd26e658ad
commit 685055a955
4 changed files with 68 additions and 33 deletions

View File

@@ -5,21 +5,24 @@ import { useRouter } from 'vue-router'
import InputText from 'primevue/inputtext'
import Button from 'primevue/button'
import Card from 'primevue/card'
import Dropdown from 'primevue/dropdown';
import Dropdown from 'primevue/dropdown'
const router = useRouter()
const table_name = ref("Default Table Name")
const table_link = ref("default_table_link")
const table_name = ref('Default Table Name')
const table_link = ref('default_table_link')
const version = ref(12)
const availableVersion = ref([
11, 12
]);
const availableVersion = ref([11, 12])
function saveTable() {
axios.post('/api/tables', { "table_name": table_name.value, "table_link": table_link.value, "version": version.value }).then(() => router.push({ name: "home" }))
axios
.post('/api/tables', {
table_name: table_name.value,
table_link: table_link.value,
version: version.value,
})
.then(() => router.push({ name: 'home' }))
}
</script>
<style>
@@ -49,5 +52,4 @@ function saveTable() {
<Button class="button-box" label="Clear" />
</template>
</Card>
</template>