|  |  | 
 |  |  | <template> | 
 |  |  |   <TableLayout :permissions="['business:devices:query']"> | 
 |  |  |   <TableLayout :permissions="['business:quartz:query']"> | 
 |  |  |     <!-- 搜索表单 --> | 
 |  |  |     <el-form ref="searchForm" slot="search-form" :model="searchForm" label-width="100px" inline> | 
 |  |  |       <el-form-item label="Bean名称" prop="beanName"> | 
 |  |  | 
 |  |  |         <li><el-button type="primary" @click="$refs.OperaTimerWindow.open('新建任务')" icon="el-icon-plus" v-permissions="['business:devices:create']">新建</el-button></li> | 
 |  |  |       </ul> | 
 |  |  |       <el-table | 
 |  |  |           :height="tableHeightNew" | 
 |  |  |         v-loading="isWorking.search" | 
 |  |  |         :data="tableData.list" | 
 |  |  |         stripe | 
 |  |  | 
 |  |  |       this.$dialog.actionConfirm('确认暂停该任务吗?') | 
 |  |  |           .then(() => { | 
 |  |  |             this.pausing = true | 
 |  |  |             this.api.paustById(row.id) | 
 |  |  |             this.api.pauseById(row.id) | 
 |  |  |                 .then(() => { | 
 |  |  |                   this.$message.info('暂停成功') | 
 |  |  |                   this.search() |