文件名从 src/views/job/index.vue 修改 |
| | |
| | | type="primary" |
| | | plain |
| | | @click="openForm('create')" |
| | | v-hasPermi="['data:schedule:create']" |
| | | v-hasPermi="['shasteel:schedule:create']" |
| | | > |
| | | <Icon icon="ep:plus" class="mr-5px" /> |
| | | 新增 |
| | |
| | | link |
| | | type="primary" |
| | | @click="openForm('update', scope.row.id)" |
| | | v-hasPermi="['data:schedule:update']" |
| | | v-hasPermi="['shasteel:schedule:update']" |
| | | > |
| | | 编辑 |
| | | </el-button> |
| | |
| | | link |
| | | type="danger" |
| | | @click="handleDelete(scope.row.id)" |
| | | v-hasPermi="['data:schedule:delete']" |
| | | v-hasPermi="['shasteel:schedule:delete']" |
| | | > |
| | | 删除 |
| | | </el-button> |
| | |
| | | const getList = async () => { |
| | | loading.value = true |
| | | try { |
| | | debugger |
| | | const page = await ScheduleJobApi.getScheduleJobPage(queryParams) |
| | | list.value = page.list |
| | | total.value = page.total |