wsx 10 mesi fa
parent
commit
bfbae2890d

+ 1 - 27
src/BIZComponents/processSubmitDialog/processSubmitDialog.vue

@@ -15,7 +15,6 @@
         <!--          {{ form.name }}-->
         <!--        </div>-->
         <fm-generate-form
-          @on-change="onChange"
           :preview="true"
           class="el-form-box"
           v-if="Object.keys(form?.formJson || {}).length !== 0"
@@ -632,32 +631,7 @@ this.postOptions.push(...response.data);
         return result.trim();
       },
 
-      onChange(field, value) {
-        console.log(field, value);
-        // input_if1cav3p
-
-        if (field === 'date_fxb0rd2w') {
-          this.editForm.start = value;
-        }
-
-        if (field === 'date_mz7gmwkm') {
-          this.editForm.end = value;
-        }
-
-        if (this.editForm.start && this.editForm.end) {
-          this.editForm.days = this.getDays(
-            this.editForm.start,
-            this.editForm.end
-          );
-          this.$refs.generateForm.setData({
-            input_if1cav3p: this.editForm.days
-          });
-        } else {
-          this.$refs.generateForm.setData({
-            input_if1cav3p: 0
-          });
-        }
-      }
+    
     }
   };
 </script>

+ 1 - 1
src/views/home/index.vue

@@ -1206,7 +1206,7 @@
           text-overflow: ellipsis; /* 溢出内容用省略号表示 */
           display: -webkit-box; /* 采用 WebKit 的盒子模型 */
           -webkit-box-orient: vertical; /* 垂直排列子元素 */
-          -webkit-line-clamp: 5; /* 限制显示的行数为 3 行 */
+          // -webkit-line-clamp: 2; /* 限制显示的行数为 3 行 */
           word-break: break-word;
         }
       }