yuxc
2023-08-02 3e5bba6ac8fd2a26445bf93208a5ee1745405548
Source/UBCS-WEB/src/components/FormTemplate/FormTemplate.vue
@@ -5,6 +5,7 @@
    <avue-form
      v-model="form"
      :option="option"
      v-loading="loading"
      ref="form"
      :style="{ minHeight: loading ? '300px' : '' }"
      :key="updateIndex"
@@ -49,7 +50,7 @@
    // 默认禁用元素
    disabledProp: {
      type: Array,
      default: () => ["id"],
      default: () => ["id","lcstatus"],
    },
    templateOid: {
      type: String,
@@ -561,7 +562,7 @@
          maxlength: formItem.maxlength,
          filterable: true,
          referConfig:
            formItem.type == "refer"
            formItem.type == "refer"
              ? {
                  title: formItem.text,
                  showField: formItem.showField || formItem.field,
@@ -603,7 +604,7 @@
      if (this.type === "add") {
        this.loading = false;
      }
      this.geDictData(dictKeys);
      this.getFormDetail();
    },