mo 2 éve
szülő
commit
2da188a800

+ 3 - 3
src/views/smallStudentManager/components/visiList.vue

@@ -109,7 +109,7 @@
             <overflow-text :text="scope.row.overview"></overflow-text>
           </template>
         </el-table-column>
-        <el-table-column align="center" prop="type" label="回访结果">
+        <el-table-column align="center" prop="type" label="学员状态">
           <template slot-scope="scope">
             <div>
               {{ scope.row.feedbackType | feedbackTypeFilter }}
@@ -237,8 +237,8 @@ export default {
         rows: this.rules.limit,
         ...getTimes(timer, ["startTime", "endTime"]),
 
-        purpose: this.useVisitType[1] ? this.useVisitType[1] : null,
-        type: this.useVisitType[0] ? this.useVisitType[0] : null,
+        // purpose: this.useVisitType[1] ? this.useVisitType[1] : null,
+        // type: this.useVisitType[0] ? this.useVisitType[0] : null,
       };
       getVisitList(cleanDeep(params)).then((res) => {
         if (res.code == 200) {

+ 7 - 6
src/views/withdrawal-application/modals/visit.vue

@@ -56,7 +56,7 @@
           style="width: 80% !important"
           placeholder="请输入学员情况"
           :rows="3"
-          maxlength="50"
+          maxlength="400"
           show-word-limit
         ></el-input>
       </el-form-item>
@@ -71,7 +71,7 @@
           style="width: 80% !important"
           placeholder="请输入家长反馈"
           :rows="3"
-          maxlength="50"
+          maxlength="400"
           show-word-limit
         ></el-input>
       </el-form-item>
@@ -133,10 +133,11 @@
           <uploadImageList :uploaded="visitForm.attachments" />
         </div>
       </el-form-item>
+      <!--   :rules="[{ required: true, message: '请输入家长反馈内容' }]" -->
       <el-form-item
         label="原因"
         prop="feedback"
-        :rules="[{ required: true, message: '请输入家长反馈内容' }]"
+
         v-if="visitForm.visitType[0] == '小课回访'"
       >
         <el-input
@@ -145,7 +146,7 @@
           style="width: 80% !important"
           placeholder="原因"
           :rows="3"
-          maxlength="50"
+          maxlength="400"
           show-word-limit
         ></el-input>
       </el-form-item>
@@ -215,8 +216,8 @@ export default {
         probStatus:''
       },
       visitRules: {
-        overview: [{ required: true, message: "请输入学生近况" }],
-        feedback: [{ required: true, message: "请输入家长反馈" }],
+        // overview: [{ required: true, message: "请输入学生近况" }],
+        // feedback: [{ required: true, message: "请输入家长反馈" }],
         visitTime: [{ required: true, message: "请输入回访时间" }],
       },
       recordVisible: false,