|  |  |  | 
|---|
|  |  |  | <QueryForm v-model="filters" :query-form-config="queryFormConfig" @handleQuery="getList(1)" @clear="clear"> | 
|---|
|  |  |  | </QueryForm> | 
|---|
|  |  |  | <div class="pt16 mb10"> | 
|---|
|  |  |  | <el-button type="primary" @click="batchStatus(0)" | 
|---|
|  |  |  | v-permissions="['business:platformjob:update']">批量启用</el-button> | 
|---|
|  |  |  | <el-button type="primary" @click="batchStatus(0)" v-permissions="['business:platformjob:update']">批量启用</el-button> | 
|---|
|  |  |  | <el-button @click="batchStatus(1)" v-permissions="['business:platformjob:update']">批量禁用</el-button> | 
|---|
|  |  |  | </div> | 
|---|
|  |  |  | <el-table @selection-change="handleSelectionChange" class="mb20" v-loading="loading" :data="list" stripe> | 
|---|
|  |  |  | 
|---|
|  |  |  | <el-table-column prop="content" label="消息模板" min-width="300" show-overflow-tooltip /> | 
|---|
|  |  |  | <el-table-column label="状态" width="120" align="center" fixed="right"> | 
|---|
|  |  |  | <template v-slot="scope"> | 
|---|
|  |  |  | <el-switch v-permissions="['business:platformjob:update']" v-model="scope.row.status" @change="changeStatus(scope.row)" :active-value="0" :inactive-value="1"> | 
|---|
|  |  |  | <el-switch v-permissions="['business:platformjob:update']" v-model="scope.row.status" | 
|---|
|  |  |  | @change="changeStatus(scope.row)" :active-value="0" :inactive-value="1"> | 
|---|
|  |  |  | </el-switch> | 
|---|
|  |  |  | </template> | 
|---|
|  |  |  | </el-table-column> | 
|---|
|  |  |  | 
|---|
|  |  |  | }, | 
|---|
|  |  |  | handleSizeChange(capacity) { | 
|---|
|  |  |  | this.pagination.pageSize = capacity | 
|---|
|  |  |  | this.getList() | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|