| | |
| | | </basic-container> |
| | | </el-main> |
| | | <form-dialog ref="formDialog"></form-dialog> |
| | | <table-dialog ref="tableDialog"></table-dialog> |
| | | </el-container> |
| | | </template> |
| | | |
| | | <script> |
| | | import basicOption from "@/util/basic-option"; |
| | | import FormDialog from "@/views/modelingMenu/ui/formDefine/components/formDialog"; |
| | | import TableDialog from "@/views/modelingMenu/ui/formDefine/components/tableDialog" |
| | | |
| | | export default { |
| | | name: "index", |
| | | components: {FormDialog}, |
| | | components: {FormDialog, TableDialog}, |
| | | data() { |
| | | return { |
| | | option: { |
| | |
| | | this.$message.error('请在表格上方选择新增类型'); |
| | | return; |
| | | } |
| | | if (this.tableRadio === "0") { |
| | | this.$refs.formDialog.visible = true; |
| | | } |
| | | |
| | | this.tableRadio === "0" ? this.$refs.formDialog.visible = true : this.$refs.tableDialog.visible = true; |
| | | } |
| | | } |
| | | } |