fujunling
2023-06-06 e480475d30c1a079a39b6cbf1dd43dc485394e62
Source/UBCS-WEB/src/components/FormTemplate/CodeApply.vue
@@ -57,13 +57,6 @@
    getType(item) {
      return this.selfColumnType[item.sectype];
    },
    init(columnList) {
      this.$refs.FormTempalte.templateRender(columnList);
    },
    handleResize() {
      let windowWidth = document.body.clientWidth;
      this.trendsSpan = 24 / Math.floor(windowWidth / 500);
    },
    isRequired(item) {
      return item.nullableFlag != "true";
    },
@@ -90,6 +83,15 @@
        return [];
      }
    },
    init(columnList) {
      this.$refs.FormTempalte.templateRender(columnList);
    },
    handleResize() {
      let windowWidth = document.body.clientWidth;
      this.trendsSpan = 24 / Math.floor(windowWidth / 500);
    },
    async validate() {
      return await this.$refs.FormTempalte.validate();
    },