田源
2023-06-19 ddd17a7643ca777f70389ae9eacb75b8dba6beab
Source/UBCS-WEB/src/components/FormTemplate/FormTempalte.vue
@@ -517,7 +517,6 @@
            collapse: true,
            column: [],
          });
          return
        }
        if (
          formItem.type === "combox" &&
@@ -597,7 +596,7 @@
      this.$set(this.option, "column", column);
      this.$set(this.option, "group", group);
      this.formIndex++;
      if (this.type === 'add' || this.type === 'preview') {
      if (this.type === 'add') {
        this.loading = false;
      }
      this.geDictData(dictKeys);
@@ -653,11 +652,11 @@
      if (type === "truefalse") {
        return [
          {
            key: 'false',
            key: false,
            value: "否",
          },
          {
            key: 'true',
            key: true,
            value: "是",
          },
        ];
@@ -701,7 +700,7 @@
    },
    // 获取表单详情数据
    getFormDetail() {
      if (this.type === 'add' || this.type === 'preview') return
      if (this.type === 'add') return
      getFormDetail({ templateOid: this.templateOid, oid: this.rowOid }).then(
        (res) => {
          this.form = Object.assign(this.form, res.data.data[0])