移除代码生成器批量删除剩余部分
This commit is contained in:
parent
cfc3f55b16
commit
259db657e1
|
|
@ -219,14 +219,13 @@ const setFormData = async (data: Record<string, any>) => {
|
|||
}
|
||||
}
|
||||
|
||||
const getDetail = (row: Record<string, any>) => {
|
||||
const getDetail = async (row: Record<string, any>) => {
|
||||
const data = await ${moduleName}Detail({
|
||||
${primaryKey}: row.${primaryKey}
|
||||
})
|
||||
setFormData(data)
|
||||
}
|
||||
|
||||
|
||||
const handleClose = () => {
|
||||
emit('close')
|
||||
}
|
||||
|
|
|
|||
|
|
@ -52,17 +52,6 @@
|
|||
</template>
|
||||
新增
|
||||
</el-button>
|
||||
<el-button
|
||||
v-perms="['${moduleName}:del']"
|
||||
:disabled="!selectData.length"
|
||||
type="danger"
|
||||
@click="handleDelete(selectData)"
|
||||
>
|
||||
<template #icon>
|
||||
<icon name="el-icon-Delete" />
|
||||
</template>
|
||||
删除
|
||||
</el-button>
|
||||
</div>
|
||||
<el-table
|
||||
class="mt-4"
|
||||
|
|
|
|||
Loading…
Reference in New Issue