mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
feat: 更新工作流分类选择组件,修复值回显问题并优化添加数据操作
This commit is contained in:
@ -143,6 +143,10 @@ async function addInRow(row: TableDataWithIndex<Api.Workflow.WorkflowCategory>)
|
||||
handleAdd();
|
||||
}
|
||||
|
||||
async function handleAddDataOperate() {
|
||||
editingData.value = null;
|
||||
handleAdd();
|
||||
}
|
||||
function handleExport() {
|
||||
download('/workflow/category/export', searchParams, `流程分类_#[[${new Date().getTime()}]]#.xlsx`);
|
||||
}
|
||||
@ -159,7 +163,7 @@ function handleExport() {
|
||||
:show-add="hasAuth('workflow:category:add')"
|
||||
:show-delete="false"
|
||||
:show-export="false"
|
||||
@add="handleAdd"
|
||||
@add="handleAddDataOperate"
|
||||
@export="handleExport"
|
||||
@refresh="getData"
|
||||
>
|
||||
|
Reference in New Issue
Block a user