Procházet zdrojové kódy

盲票列表bug修复

hwb0 před 3 roky
rodič
revize
fe5d926309
1 změnil soubory, kde provedl 4 přidání a 10 odebrání
  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
       )