fix(workbench): 行动方案详情弹窗加编辑按钮——关闭详情后复用editPlan预填表单 (actionplan-detail-edit-btn)
This commit is contained in:
@@ -279,6 +279,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
<el-button @click="showDetail = false">关闭</el-button>
|
<el-button @click="showDetail = false">关闭</el-button>
|
||||||
|
<el-button type="primary" @click="editPlan(detailPlan)">编辑</el-button>
|
||||||
</template>
|
</template>
|
||||||
</MyDialog>
|
</MyDialog>
|
||||||
|
|
||||||
@@ -526,6 +527,7 @@ function openCreate() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function editPlan(row: any) {
|
function editPlan(row: any) {
|
||||||
|
showDetail.value = false
|
||||||
editingId.value = row.id
|
editingId.value = row.id
|
||||||
formTitle.value = '编辑行动方案'
|
formTitle.value = '编辑行动方案'
|
||||||
form.value = {
|
form.value = {
|
||||||
|
|||||||
Reference in New Issue
Block a user