فهرست منبع

修复一下传参

1
mo 2 سال پیش
والد
کامیت
e8af36b835
1فایلهای تغییر یافته به همراه12 افزوده شده و 9 حذف شده
  1. 12 9
      src/views/returnVisitManager/components/waitVisit.vue

+ 12 - 9
src/views/returnVisitManager/components/waitVisit.vue

@@ -45,9 +45,8 @@
             clearable
             filterable
           >
-          <el-option :value="1" label="已回访"></el-option>
-            <el-option :value="0" label="未回访"></el-option>
-
+            <el-option value="1" label="已回访"></el-option>
+            <el-option value="0" label="未回访"></el-option>
           </el-select>
         </el-form-item>
         <!-- @change="handleChange" -->
@@ -67,7 +66,6 @@
             value-format="yyyy-MM"
             type="month"
             placeholder="回访周期"
-
           >
           </el-date-picker>
         </el-form-item>
@@ -85,7 +83,10 @@
             <template slot-scope="scope">
               <div @click="gotoStudent(scope.row.studentId)">
                 <p>
-                  <el-button type="text">{{ scope.row.studentName }}<br>  ({{ scope.row.studentId }})</el-button>
+                  <el-button type="text"
+                    >{{ scope.row.studentName }}<br />
+                    ({{ scope.row.studentId }})</el-button
+                  >
                 </p>
               </div>
             </template>
@@ -105,7 +106,7 @@
           </el-table-column>
           <el-table-column align="center" prop="isVisit" label="回访状态">
             <template slot-scope="scope">
-              <p>{{ scope.row.createTime?'已回访':'未回访' }}</p>
+              <p>{{ scope.row.createTime ? "已回访" : "未回访" }}</p>
             </template>
           </el-table-column>
 
@@ -113,7 +114,9 @@
             <template slot-scope="scope">
               <div>
                 {{
-                  scope.row.createTime ? scope.row.createTime.split(" ")[0] : "--"
+                  scope.row.createTime
+                    ? scope.row.createTime.split(" ")[0]
+                    : "--"
                 }}
               </div>
             </template>
@@ -176,8 +179,8 @@ export default {
         student: "",
         organId: "",
         visiterType: "",
-        isVisit: '',
-        visitCycle: '',
+        isVisit: "",
+        visitCycle: "",
       },
 
       visitChiose: visitChiose1,