david %!s(int64=2) %!d(string=hai) anos
pai
achega
f6dcc79e9f
Modificáronse 1 ficheiros con 5 adicións e 3 borrados
  1. 5 3
      src/views/bonus/period.vue

+ 5 - 3
src/views/bonus/period.vue

@@ -104,8 +104,6 @@
               </el-row>    
                         
 <!--                  <el-row><el-button class="button" type="primary" @click.native="autoPerfHandle(currentPeriod)" >计算和拉取期业绩</el-button></el-row>-->
-                
-              
                 <div>
                   <el-table :data="dialogData" height="550" v-loading="dialogLoading" style="width: 100%">
                     <el-table-column prop="CREATED_AT" :label="$t('bonus.actionTime')" width="180">
@@ -522,7 +520,11 @@ export default {
           type: 'success'
         })
         this.getData(this.currentPage, this.pageSize)
-      }).catch(response => {
+      }).catch(err => {
+        this.$message({
+          message: err,
+          type: 'error'
+        })
       })
     },
     viewHandle (row) {