浏览代码

Merge branch 'bugfix_220505' into 'master'

盲票列表bug修复

See merge request quanshu/mp-ui-pc!195
zhong chunping 3 年之前
父节点
当前提交
a5f86b2c7b
共有 1 个文件被更改,包括 4 次插入10 次删除
  1. 4 10
      src/views/business/ticket/index.vue

+ 4 - 10
src/views/business/ticket/index.vue

@@ -209,7 +209,7 @@
             >编辑</el-button
             >
             <el-button
-              v-if="
+              v-show="
                 scope.row.status.value === 'off' ||
                 scope.row.status.value === 'done'
               "
@@ -219,14 +219,14 @@
               >上架</el-button
             >
             <el-button
-              v-if="scope.row.status.value === 'on'"
+              v-show="scope.row.status.value === 'on'"
               v-hasPermi="['business:ticket:on']"
               type="text"
               @click="setStatus(scope.row, 'off')"
               >下架</el-button
             >
             <el-button
-              v-if="scope.row.status.value === 'done'"
+              v-show="scope.row.status.value === 'done'"
               v-hasPermi="['business:ticket:remove']"
               type="text"
               class="del"
@@ -327,14 +327,8 @@ export default {
     },
 
     // 盲票组列表
-    getList(reset) {
-      if (this.loading) {
-        return;
-      }
+    getList() {
       this.loading = true;
-      if (reset) {
-        this.queryParams = { pageNum: 1, pageSize: 20 };
-      }
       getTicketList( 'pageNum=' + this.pageParams.pageNum + '&pageSize=' + this.pageParams.pageSize + '&orderByColumn='+ this.pageParams.orderByColumn +'&isAsc='+ this.pageParams.isAsc +'&',
         this.queryParams
       )