feature:增加API导入导出,方便填写录入,暂时屏蔽自动书写导入的创建时间的功能,等待gorm合并pr后恢复。
This commit is contained in:
@@ -71,6 +71,17 @@
|
||||
icon="Refresh"
|
||||
@click="onFresh"
|
||||
>刷新缓存</el-button>
|
||||
<ExportTemplate
|
||||
template-id="api"
|
||||
/>
|
||||
<ExportExcel
|
||||
template-id="api"
|
||||
:limit="9999"
|
||||
/>
|
||||
<ImportExcel
|
||||
template-id="api"
|
||||
@on-success="getTableData"
|
||||
/>
|
||||
</div>
|
||||
<el-table
|
||||
:data="tableData"
|
||||
@@ -252,6 +263,9 @@ import { ref } from 'vue'
|
||||
import { ElMessage, ElMessageBox } from 'element-plus'
|
||||
import { VideoCameraFilled } from '@element-plus/icons-vue'
|
||||
import { toDoc } from '@/utils/doc'
|
||||
import ExportExcel from '@/components/exportExcel/exportExcel.vue'
|
||||
import ExportTemplate from '@/components/exportExcel/exportTemplate.vue'
|
||||
import ImportExcel from '@/components/exportExcel/importExcel.vue'
|
||||
|
||||
defineOptions({
|
||||
name: 'Api',
|
||||
|
||||
Reference in New Issue
Block a user