Commit 28bc4ce4 authored by wangxl's avatar wangxl

4444

parent cab2e1b4
...@@ -2,10 +2,7 @@ ...@@ -2,10 +2,7 @@
<div class="app-content" style="height: 65vh;overflow: auto;"> <div class="app-content" style="height: 65vh;overflow: auto;">
<a-spin :spinning="loading" style="width: 100%;height: 100%;"> <a-spin :spinning="loading" style="width: 100%;height: 100%;">
<div style="width:100%; height: 36px;"> <div style="width:100%; height: 36px;">
<!-- <a :href="url" download="memberInfo.xlsx"> <up-load @beforeUpload="beforeUpload" :format="['xls', 'xlsx']" />
<a-icon type="download"></a-icon>&nbsp;<span style="color:green;text-decoration:underline;">项目组成员模板下载</span>
</a> -->
<up-load @beforeUpload="beforeUpload" :format="['xls', 'xlsx']"/>
</div> </div>
<div style="width:100%;height: calc(100% - 72px);overflow: auto;"> <div style="width:100%;height: calc(100% - 72px);overflow: auto;">
<a-table :dataSource="tableData" :columns="columns" :pagination="false" :loading="loading" bordered size="small"> <a-table :dataSource="tableData" :columns="columns" :pagination="false" :loading="loading" bordered size="small">
...@@ -17,6 +14,9 @@ ...@@ -17,6 +14,9 @@
</a-table> </a-table>
</div> </div>
<div style="text-align:center;width:100%; height: 36px;"> <div style="text-align:center;width:100%; height: 36px;">
<a :href="url" download="memberInfo.xlsx" style="margin-right: 30px;">
<a-icon type="download"></a-icon>&nbsp;<span style="color:green;text-decoration:underline;">项目组成员模板下载</span>
</a>
<a-button type="primary" @click="dataImport" :disabled="disabled">导入</a-button> <a-button type="primary" @click="dataImport" :disabled="disabled">导入</a-button>
</div> </div>
</a-spin> </a-spin>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment