mirror of
https://gitcode.com/yangzongzhuan/RuoYi-Vue3.git
synced 2026-05-23 03:18:36 +00:00
新增代码生成详情页功能
This commit is contained in:
@@ -148,6 +148,7 @@ function submitForm() {
|
|||||||
const genTable = Object.assign({}, info.value)
|
const genTable = Object.assign({}, info.value)
|
||||||
genTable.columns = columns.value
|
genTable.columns = columns.value
|
||||||
genTable.params = {
|
genTable.params = {
|
||||||
|
genView: info.value.view ? '1' : '0',
|
||||||
treeCode: info.value.treeCode,
|
treeCode: info.value.treeCode,
|
||||||
treeName: info.value.treeName,
|
treeName: info.value.treeName,
|
||||||
treeParentCode: info.value.treeParentCode,
|
treeParentCode: info.value.treeParentCode,
|
||||||
|
|||||||
@@ -71,7 +71,7 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="24">
|
<el-col :span="12">
|
||||||
<el-form-item prop="formColNum">
|
<el-form-item prop="formColNum">
|
||||||
<template #label>
|
<template #label>
|
||||||
表单布局
|
表单布局
|
||||||
@@ -87,6 +87,13 @@
|
|||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
|
<el-col :span="12">
|
||||||
|
<el-form-item prop="genView">
|
||||||
|
<template #label>扩展功能</template>
|
||||||
|
<el-checkbox v-model="info.view">生成详情页</el-checkbox>
|
||||||
|
</el-form-item>
|
||||||
|
</el-col>
|
||||||
|
|
||||||
<el-col :span="12">
|
<el-col :span="12">
|
||||||
<el-form-item prop="genType">
|
<el-form-item prop="genType">
|
||||||
<template #label>
|
<template #label>
|
||||||
|
|||||||
Reference in New Issue
Block a user