zhengnaiwen_citu 4 месяцев назад
Родитель
Сommit
2b44c77c06
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      src/views/accumulatePoints/accumulatePointsIntegralList/index.vue

+ 4 - 1
src/views/accumulatePoints/accumulatePointsIntegralList/index.vue

@@ -3,6 +3,7 @@
     <m-search v-if="!$attrs.panorama" class="mb-3" :items="searchItems" v-model="searchValues" @search="onSearch"></m-search>
     <m-table
       v-loading="loading"
+      :cardTitle="cardTitle || undefined"
       :items="items"
       :headers="headers"
       :page-size="pageInfo.size"
@@ -53,7 +54,8 @@ export default {
       searchValues: {
         employeeName: null,
         organizationName: null
-      }
+      },
+      cardTitle: null
     }
   },
   created () {
@@ -90,6 +92,7 @@ export default {
   },
   methods: {
     onInitPanorama (organizationNo, employeeNo) {
+      this.cardTitle = '积分列表'
       this.searchValues = {
         organizationNo,
         employeeNo