|
|
@@ -28,6 +28,9 @@ |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button type="info" plain icon="el-icon-upload2" size="mini" @click="handleImport" v-hasPermi="['system:dept:import']">导入</el-button> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button type="warning" plain icon="el-icon-download" size="mini" @click="handleExport" v-hasPermi="['system:dept:export']">导出</el-button> |
|
|
|
</el-col> |
|
|
|
<el-col :span="1.5"> |
|
|
|
<el-button type="success" plain icon="el-icon-edit" size="mini" @click="handlePoint" v-hasPermi="['system:dept:point']">更新坐标</el-button> |
|
|
|
</el-col> |
|
|
@@ -389,6 +392,12 @@ export default { |
|
|
|
this.$modal.msgSuccess("删除成功") |
|
|
|
}).catch(() => {}) |
|
|
|
}, |
|
|
|
/** 导出按钮操作 */ |
|
|
|
handleExport() { |
|
|
|
this.download('system/dept/export', { |
|
|
|
...this.queryParams |
|
|
|
}, `行政区划_${new Date().getTime()}.xlsx`) |
|
|
|
}, |
|
|
|
/* 导入EXCEL组件 */ |
|
|
|
handleImport() { |
|
|
|
this.upload.title = "行政区划导入" |
|
|
|