<template>
    <myTable :baseData="baseData"></myTable>
</template>

<script setup>

import { ref, reactive, defineProps } from "vue"
import myTable from "./myTable.vue"
import { apiProjectdocumentLists } from '@/api/project_document_set'

const props = defineProps({
    project_id: Number
})



const baseData = reactive({
    fetchFun: apiProjectdocumentLists,
    tit: "文档",
    queryParams: { project_id: props.project_id },
    columnList: [
        { label: '排序号', prop: 'sort' },
        { label: '文档大类', prop: 'large_category' },
        { label: '文档中类', prop: 'middle_category' },
        { label: '文档名称', prop: 'name' },
        { label: '文档描述', prop: 'describe' },
        { label: '必传', prop: 'is_upload' },
        { label: '文档', prop: '' },
    ]
})

</script>

