| | |
| | | |
| | | |
| | | <span slot="action" slot-scope="text, record"> |
| | | <a @click="resumeJob(record)" v-if="record.status==-1">启动</a> |
| | | <a @click="pauseJob(record)" v-if="record.status==0">停止</a> |
| | | <a @click="executeImmediately(record)">立即执行</a> |
| | | |
| | | <a-divider type="vertical" /> |
| | | <a @click="handlequartzLog(record)">日志</a> |
| | | <a-divider type="vertical" /> |
| | | <a-dropdown> |
| | | <a class="ant-dropdown-link">更多 <a-icon type="down" /></a> |
| | | <a-menu slot="overlay"> |
| | | <a-menu-item><a @click="executeImmediately(record)">立即执行</a></a-menu-item> |
| | | <a-menu-item> |
| | | <a @click="resumeJob(record)" v-if="record.status==-1">启动</a> |
| | | <a @click="pauseJob(record)" v-if="record.status==0">停止</a> |
| | | |
| | | </a-menu-item> |
| | | <a-menu-item><a @click="handleEdit(record)">编辑</a></a-menu-item> |
| | | <a-menu-item><a @click="handlequartzLog(record)">日志</a></a-menu-item> |
| | | <a-menu-item> |
| | | <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)"> |
| | | <a>删除</a> |
| | |
| | | } |
| | | }, |
| | | { |
| | | title: '任务类名', |
| | | title: '任务名称', |
| | | align:"center", |
| | | dataIndex: 'jobClassName', |
| | | dataIndex: 'jobName', |
| | | sorter: true, |
| | | /* customRender:function (text) { |
| | | return "*"+text.substring(9,text.length); |
| | |
| | | scopedSlots: {customRender: 'parameterRender'}, |
| | | }, |
| | | { |
| | | title: '描述', |
| | | title: '说明', |
| | | align:"center", |
| | | width: 250, |
| | | dataIndex: 'description', |
| | | scopedSlots: {customRender: 'description'}, |
| | | }, |