Kaynağa Gözat

加字段

1
mo 3 yıl önce
ebeveyn
işleme
50b8b19b39

+ 16 - 13
src/views/smallStudentManager/components/visiList.vue

@@ -34,7 +34,7 @@
           ></el-option>
         </el-select>
       </el-form-item>
-            <el-form-item prop="feedbackTypeDesc">
+      <el-form-item prop="feedbackTypeDesc">
         <el-select
           v-model.trim="searchForm.feedbackTypeDesc"
           placeholder="请选择反馈详情"
@@ -102,6 +102,12 @@
             </div>
           </template>
         </el-table-column>
+        <el-table-column align="center" prop="overview" label="学员情况">
+
+          <template slot-scope="scope">
+             <overflow-text :text="scope.row.overview"></overflow-text>
+          </template>
+        </el-table-column>
         <el-table-column align="center" prop="type" label="回访结果">
           <template slot-scope="scope">
             <div>
@@ -109,7 +115,7 @@
             </div>
           </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 v-if="scope.row.feedbackTypeDesc">
               {{ scope.row.feedbackTypeDesc | feedbackTypeDescFilter }}
@@ -150,13 +156,12 @@
         :useVisitType="useVisitType"
         @close="visitVisiable = false"
         @submited="refresh"
-
       />
     </el-dialog>
   </div>
 </template>
 <script>
-import { feedbackTypeList,feedbackTypeDescList } from "@/utils/searchArray";
+import { feedbackTypeList, feedbackTypeDescList } from "@/utils/searchArray";
 import { getVisitList } from "@/views/returnVisitManager/api";
 import pagination from "@/components/Pagination/index";
 import { getTimes } from "@/utils";
@@ -189,7 +194,7 @@ export default {
     };
   },
   mounted() {
-         if (this.groupType == "PRACTICE") {
+    if (this.groupType == "PRACTICE") {
       this.useVisitType = ["小课回访", "网管课回访"];
     } else if (this.groupType == "THEORY") {
       this.useVisitType = ["小课回访", "乐理课回访"];
@@ -214,12 +219,10 @@ export default {
       };
       this.search();
     },
-    refresh(){
-
-      this.getList()
-         this.$emit('getList')
-    }
-    ,
+    refresh() {
+      this.getList();
+      this.$emit("getList");
+    },
     getList() {
       // cleanDeep
       let { timer, ...rest } = this.searchForm;
@@ -229,8 +232,8 @@ export default {
         page: this.rules.page,
         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) {