|
|
@@ -64,10 +64,6 @@ const onAdd = () => {
|
|
|
ModelObjectSelectorRef.value.showModel(moduleId, apiId)
|
|
|
}
|
|
|
|
|
|
-const onEdit = (data: { atuId: number }) => {
|
|
|
- window.console.log(data.atuId)
|
|
|
-}
|
|
|
-
|
|
|
const onDelete = (data: { moduleId: number; apiId: number; atuId: number; objectTitle: string }) => {
|
|
|
const { moduleId, apiId, atuId, objectTitle } = data
|
|
|
ElMessageBox.confirm(`确认删除「${objectTitle}」吗?`, '确认信息').then(async () => {
|
|
|
@@ -163,14 +159,6 @@ function goBack() {
|
|
|
<el-table-column label="操作" width="140" align="center" fixed="right">
|
|
|
<template #default="scope">
|
|
|
<el-button-group>
|
|
|
- <el-button type="primary" size="small" plain @click="onEdit(scope.row)">
|
|
|
- <template #icon>
|
|
|
- <el-icon>
|
|
|
- <svg-icon name="i-ep:edit" />
|
|
|
- </el-icon>
|
|
|
- </template>
|
|
|
- </el-button>
|
|
|
-
|
|
|
<el-button type="danger" size="small" plain @click="onDelete(scope.row)">
|
|
|
<template #icon>
|
|
|
<el-icon>
|