Commit 4f81ef02 authored by renjintao's avatar renjintao

upload

parent 699edccd
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
<p>确定同步账户?</p> <p>确定同步账户?</p>
</Modal> </Modal>
<Modal v-model="modalImport" title="导入excel" fullscreen hidefooter> <Modal v-model="modalImport" title="导入excel" fullscreen hidefooter>
<Upload action :before-upload="beforeUpload" ref="uploadfile"> <Upload action :before-upload="beforeUpload" ref="uploadfile" :format="formatList">
<Button icon="ios-cloud-upload-outline">上传Excel文件</Button> <Button icon="ios-cloud-upload-outline">上传Excel文件</Button>
</Upload> </Upload>
<DataGrid <DataGrid
...@@ -425,6 +425,7 @@ export default { ...@@ -425,6 +425,7 @@ export default {
], ],
selectRow: {}, //删除时选中的行数据 selectRow: {}, //删除时选中的行数据
//导入导出时使用start //导入导出时使用start
formatList: ['xlsx', 'xls'],
searchs: { searchs: {
pageIndex: 1, pageIndex: 1,
pageSize: 1000, pageSize: 1000,
...@@ -490,13 +491,13 @@ export default { ...@@ -490,13 +491,13 @@ export default {
easy: true, easy: true,
high: true, high: true,
}, },
{ // {
key: "roleTitles", // key: "roleTitles",
title: this.l("roleTitles"), // title: this.l("roleTitles"),
align: "left", // align: "left",
easy: true, // easy: true,
high: true, // high: true,
}, // },
{ {
key: "accountId", key: "accountId",
title: this.l("accountId"), title: this.l("accountId"),
......
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