田源
2024-08-29 edeb0b47f1052c2257a0f14c0e4b6499a6816cce
Source/plt-web/plt-web-ui/src/views/modelingMenu/ui/formDefine/index.vue
@@ -63,16 +63,18 @@
      </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: {
@@ -96,9 +98,8 @@
        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;
    }
  }
}