Pārlūkot izejas kodu

活动导出写了一半,优先处理BUG

mo 2 gadi atpakaļ
vecāks
revīzija
d161fdc327

+ 9 - 1
src/views/categroyManager/vipActiveList.vue

@@ -20,6 +20,13 @@
         @click="onExport"
         >活动导出</el-button
       > -->
+            <el-button
+        type="primary"
+        style="margin-bottom: 20px"
+        v-permission="'export/vipGroupActivity'"
+        @click="onActiveExport"
+        >活动资格导出</el-button
+      >
       <save-form
         :inline="true"
         class="searchForm"
@@ -341,13 +348,14 @@ import {
   removeVipActive,
   enableVipGroupActivity,
 } from "@/api/vipSeting";
+import ExportChiose from "@/components/Export-chiose";
 import qs from "qs";
 import { Export } from "@/utils/downLoadFile";
 import cleanDeep from "clean-deep";
 import { vipResetTypeList } from "@/utils/searchArray";
 export default {
   name: "vipActiveList",
-  components: { pagination },
+  components: { pagination,ExportChiose },
   data() {
     return {
       vipResetTypeList,

+ 9 - 0
src/views/smallStudentManager/components/visiList.vue

@@ -118,6 +118,15 @@
             </div>
           </template>
         </el-table-column>
+                <el-table-column align="center" prop="lastCourseTime" label="最后回访时间">
+          <template slot-scope="scope">
+            <div>
+              {{
+                scope.row.lastCourseTime ? scope.row.lastCourseTime.split(" ")[0] : "--"
+              }}
+            </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>