[bug] 去掉组织机构导入按钮

This commit is contained in:
zhaoxiao
2021-11-02 13:38:36 +08:00
parent dbb9c9c3fd
commit b4e0580f21
+4 -4
View File
@@ -10,10 +10,10 @@
<a-button @click="handleAdd(2)" type="primary" v-has="'sys:depart:addLowerLevel'">添加下级</a-button> <a-button @click="handleAdd(2)" type="primary" v-has="'sys:depart:addLowerLevel'">添加下级</a-button>
<a-button type="primary" icon="download" @click="handleExportXls('部门信息')" v-has="'sys:depart:export'">导出 <a-button type="primary" icon="download" @click="handleExportXls('部门信息')" v-has="'sys:depart:export'">导出
</a-button> </a-button>
<a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" <!-- <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader"-->
:action="importExcelUrl" @change="handleImportExcel" v-has="'sys:depart:import'"> <!-- :action="importExcelUrl" @change="handleImportExcel" v-has="'sys:depart:import'">-->
<a-button type="primary" icon="import">导入</a-button> <!-- <a-button type="primary" icon="import">导入</a-button>-->
</a-upload> <!-- </a-upload>-->
<a-button @click="batchDel" type="danger" icon="delete" v-has="'sys:depart:batchDel'">批量删除</a-button> <a-button @click="batchDel" type="danger" icon="delete" v-has="'sys:depart:batchDel'">批量删除</a-button>
<!--<a-button @click="refresh" type="default" icon="reload" :loading="loading">刷新</a-button>--> <!--<a-button @click="refresh" type="default" icon="reload" :loading="loading">刷新</a-button>-->
</a-row> </a-row>