fix(fe archive_page.ts): changed name to composable archive to archive_page
This commit is contained in:
parent
67748b3c33
commit
9160b73d03
3 changed files with 5 additions and 5 deletions
|
@ -1,13 +1,13 @@
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import {ref, reactive, watch, computed, onMounted} from "vue";
|
import {ref, reactive, watch, computed, onMounted} from "vue";
|
||||||
import { archive } from "@/composables/content/archive.js.ts";
|
import { archive_page } from "@/composables/content/archive_page.ts";
|
||||||
import FileUpload from "@/components/content/partials/dialogs/FileUpload.vue";
|
import FileUpload from "@/components/content/partials/dialogs/FileUpload.vue";
|
||||||
import FileEdit from "@/components/content/partials/dialogs/FileEdit.vue";
|
import FileEdit from "@/components/content/partials/dialogs/FileEdit.vue";
|
||||||
import ConfirmDelete from "@/components/content/partials/dialogs/ConfirmDelete.vue";
|
import ConfirmDelete from "@/components/content/partials/dialogs/ConfirmDelete.vue";
|
||||||
import Table from "@/components/content/partials/Table.vue";
|
import Table from "@/components/content/partials/Table.vue";
|
||||||
|
|
||||||
const { items, listData, headers, selected, loading, search, getItems, editItem, deleteItem } = archive()
|
const { items, listData, headers, selected, loading, search, getItems, editItem, deleteItem } = archive_page()
|
||||||
|
|
||||||
const itemEdited = ref({})
|
const itemEdited = ref({})
|
||||||
const bulk = ref(false)
|
const bulk = ref(false)
|
||||||
|
|
|
@ -2,9 +2,9 @@
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import {ref, reactive} from "vue";
|
import {ref, reactive} from "vue";
|
||||||
import { trackType } from "@/composables/content/track_type.ts";
|
import { trackType } from "@/composables/content/track_type.ts";
|
||||||
import {archive} from "@/composables/content/archive.js.ts";
|
import {archive_page} from "@/composables/content/archive_page.ts";
|
||||||
|
|
||||||
const { items, listData, headers, selected, loading, getItems, editItem, deleteItem, uploadItem } = archive();
|
const { items, headers, selected, loading, uploadItem } = archive_page();
|
||||||
const trackTypes = trackType(false);
|
const trackTypes = trackType(false);
|
||||||
const check_analyzer = ref([]);
|
const check_analyzer = ref([]);
|
||||||
const selectedTrackType = ref();
|
const selectedTrackType = ref();
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import axios from "axios";
|
import axios from "axios";
|
||||||
import {ref, reactive, computed} from "vue";
|
import {ref, reactive, computed} from "vue";
|
||||||
|
|
||||||
export function archive() {
|
export function archive_page() {
|
||||||
const items = ref([])
|
const items = ref([])
|
||||||
const selected = ref([])
|
const selected = ref([])
|
||||||
const loading = ref(false)
|
const loading = ref(false)
|
Loading…
Add table
Add a link
Reference in a new issue