Compare commits
2 Commits
5a66c89349
...
6e71c38dad
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e71c38dad | |||
| d62f8bf320 |
@@ -46,3 +46,8 @@
|
||||
- 新增 `handleCompactSearch` 方法,支持回车/点击/清除/下拉切换触发搜索,keyword 映射为 `cargoName` 参数
|
||||
- 引入 Element Plus 图标组件(Search, Plus)
|
||||
- 样式:flex 单行布局、轻量阴影 `0 2px 8px rgba(0,0,0,0.06)`、select 160px / input 280px 固定宽度
|
||||
|
||||
## cargo-type 操作按钮恢复(导出/模板)
|
||||
- 紧凑搜索栏重构时误删了「下载模板」「批量导出」两个按钮(原在 menu-left 插槽)。
|
||||
- 已重新加回按钮区:添加分类、批量导入、下载模板(`cargo_type_template`+`handleTemplate`)、批量导出(`cargo_type_export`+`handleExport`)、批量删除。
|
||||
- `handleExport` / `handleTemplate` 方法始终未删,仅缺按钮入口,现已恢复。
|
||||
|
||||
@@ -38,6 +38,18 @@
|
||||
v-if="permission.cargo_type_import"
|
||||
@click="handleImport"
|
||||
>批量导入</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
v-if="permission.cargo_type_template"
|
||||
@click="handleTemplate"
|
||||
>下载模板</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
v-if="permission.cargo_type_export"
|
||||
@click="handleExport"
|
||||
>批量导出</el-button>
|
||||
<el-button
|
||||
type="danger"
|
||||
plain
|
||||
|
||||
Reference in New Issue
Block a user