mirror of
https://github.com/QingdaoU/OnlineJudgeFE.git
synced 2025-01-16 17:25:35 +00:00
put back export/import function
This commit is contained in:
parent
69a397ac0c
commit
c5111ee685
@ -17,6 +17,8 @@
|
||||
<template slot="title"><i class="el-icon-fa-bars"></i>{{$t('m.Problem')}}</template>
|
||||
<el-menu-item index="/problems">{{$t('m.Problem_List')}}</el-menu-item>
|
||||
<el-menu-item index="/problem/create">{{$t('m.Create_Problem')}}</el-menu-item>
|
||||
<el-menu-item index="/problem/batch_ops">{{$t('m.Export_Import_Problem')}}</el-menu-item>
|
||||
|
||||
</el-submenu>
|
||||
<el-submenu index="contest">
|
||||
<template slot="title"><i class="el-icon-fa-trophy"></i>{{$t('m.Contest')}}</template>
|
||||
|
@ -1,6 +1,8 @@
|
||||
<template>
|
||||
<div>
|
||||
<panel title="Export Problems">
|
||||
<div style="padding-bottom: 10px;">
|
||||
</div>
|
||||
<panel title="Export Problems (beta)">
|
||||
<el-table :data="problems"
|
||||
v-loading="loadingProblems" @selection-change="handleSelectionChange">
|
||||
<el-table-column
|
||||
@ -47,7 +49,7 @@
|
||||
</el-pagination>
|
||||
</div>
|
||||
</panel>
|
||||
<panel title="Import QDUOJ Problems">
|
||||
<panel title="Import QDUOJ Problems (beta)">
|
||||
<el-upload
|
||||
action="/api/admin/import_problem"
|
||||
name="file"
|
||||
@ -59,7 +61,7 @@
|
||||
</el-upload>
|
||||
</panel>
|
||||
|
||||
<panel title="Import FPS Problems">
|
||||
<panel title="Import FPS Problems (beta)">
|
||||
<el-upload
|
||||
action="/api/admin/import_fps"
|
||||
name="file"
|
||||
|
Loading…
x
Reference in New Issue
Block a user