|
@@ -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"
|
|
@@ -328,13 +328,7 @@ export default {
|
|
|
|
|
|
// 盲票组列表
|
|
|
getList(reset) {
|
|
|
- if (this.loading) {
|
|
|
- return;
|
|
|
- }
|
|
|
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
|
|
|
)
|