Sfoglia il codice sorgente

Merge branch 'feature_20250922_公装日报增加未拜访原因' into release

zhujindu 2 mesi fa
parent
commit
e0f8d3dc16
1 ha cambiato i file con 31 aggiunte e 1 eliminazioni
  1. 31 1
      src/views/week/daily.vue

+ 31 - 1
src/views/week/daily.vue

@@ -427,7 +427,7 @@
               v-model="notVisitReason"
               rows="3"
               autosize
-              maxlength="800"
+              maxlength="1000"
               show-word-limit
               type="textarea"
               :formatter="formatter" />
@@ -592,6 +592,36 @@ export default {
         if (this.$route.query.reportId != undefined) {
           this.getDetailById();
         } else {
+          this.notVisitReason = '';
+          this.reportContents = [
+            {
+              dayContent: '',
+              contentTime: '',
+              type: 2,
+              status: '1',
+            },
+            {
+              dayContent: '',
+              contentTime: '',
+
+              type: 3,
+              status: '1',
+            },
+            {
+              dayContent: '',
+              contentTime: '',
+              projectFollowNum: '',
+              type: 3,
+              status: '1',
+            },
+            {
+              dayContent: '',
+              contentTime: '',
+              tucReportingSuccessNum: '',
+              type: 3,
+              status: '1',
+            },
+          ];
           this.getReportInfo();
         }
       }