Преглед на файлове

修改暂停继续图标

zhuliu преди 1 година
родител
ревизия
fc499810d9
променени са 2 файла, в които са добавени 7 реда и са изтрити 3 реда
  1. 2 2
      src/views/components/import/task/components/index.vue
  2. 5 1
      src/views/project/index.vue

+ 2 - 2
src/views/components/import/task/components/index.vue

@@ -54,13 +54,13 @@
                 <el-link class="margin-left_10" type="primary" @click="updateImportTaskState(scope.row, 4)"
                   v-if="scope.row.state == 1 || scope.row.state == 0">
                   <el-tooltip class="item" effect="dark" content="暂停" placement="top">
-                    <i class="iconfont icon-zanting1"></i>
+                    <i class="iconfont icon-zanting"></i>
                   </el-tooltip>
                 </el-link>
                 <el-link class="margin-left_10" type="primary" @click="updateImportTaskState(scope.row, 0)"
                   v-if="scope.row.state == 4">
                   <el-tooltip class="item" type="primary" effect="dark" content="继续" placement="top">
-                    <i class="iconfont icon-zanting"></i>
+                    <i class="iconfont icon-zanting1"></i>
                   </el-tooltip>
                 </el-link>
                 <el-link class="margin-left_10" type="primary" v-if="scope.row.taskType == 1"

+ 5 - 1
src/views/project/index.vue

@@ -51,7 +51,7 @@
           </el-main>
           <el-footer class="pagination" v-if="[2].indexOf(isOperate) == -1 && this.queryShowType != '2'">
             <el-pagination backgroundx layout="total,sizes, prev, pager, next, jumper" :current-page.sync="queryParams.current"
-              :page-size.sync="queryParams.size" @current-change="handleCurrentChange" :total="total">
+              :page-size.sync="queryParams.size" @current-change="handleCurrentChange" @size-change="handleSizeChange" :total="total">
             </el-pagination>
           </el-footer>
         </el-container>
@@ -320,6 +320,10 @@ export default {
       this.queryParams.current = val;
       this.isGrouping();
     },
+    handleSizeChange(val){
+      this.queryParams.size = val;
+      this.isGrouping();
+    },
     //切换到分组
     onChange(val) {
       if (val != '') {