ludc
2023-06-09 75212b53168e4979db4fa2939109fe2f9a489524
Source/UBCS-WEB/src/components/FormTemplate/index.vue
@@ -1,6 +1,7 @@
<template>
  <el-dialog
    :visible.sync="dialogVisible"
    v-if="dialogVisible"
    v-dialogDrag
    top="0vh"
    :title="title"
@@ -14,6 +15,7 @@
      :visible="visible"
      :type="type"
      :rowOid="rowOid"
      :templateOid="templateOid"
      ref="FormTempalte"
      @getFormData="getFormData"
    ></FormTempalte>
@@ -160,7 +162,9 @@
  methods: {
    openDialog() {
      this.getFormTemplate();
      this.getCodeRule();
      if (this.type === 'add') {
        this.getCodeRule();
      }
    },
    close() {
      this.dialogVisible = false;