| | |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <div class="reset" @click="handleReset"></div> |
| | | <div class="searchs" @click="handleSearch"></div> |
| | | <div class="reset" @click="handleReset">重置</div> |
| | | <div class="searchs" @click="handleSearch">搜索</div> |
| | | </el-form-item> |
| | | </div> |
| | | </el-form> |
| | |
| | | ? 'distributed' |
| | | : scope.row.status === 3 |
| | | ? 'finish ' |
| | | : scope.row.status === 4 |
| | | ? 'cancel ' |
| | | |
| | | |
| | | : 'fail ' |
| | | " |
| | | > |
| | |
| | | : scope.row.status === 2 |
| | | ? '执行中' |
| | | : scope.row.status === 3 |
| | | ? '完成' |
| | | : scope.row.status === 4 |
| | | ? '取消' |
| | | : '失败' |
| | | ? '已执行' |
| | | |
| | | : '执行失败' |
| | | }} |
| | | </span> |
| | | </template> |
| | |
| | | <span>{{ scope.row.event_number ? scope.row.event_number : '/' }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="80"><div class="ztzf-view ">查看</div></el-table-column> |
| | | <el-table-column label="操作" width="80"><div class="ztzf-view">查看</div></el-table-column> |
| | | </el-table> |
| | | </div> |
| | | <!-- 分页 --> |
| | | <div style="display: flex;justify-content: center"> |
| | | <div style="display: flex; justify-content: center"> |
| | | <el-pagination |
| | | class="ztzf-pagination" |
| | | v-model:current-page="pageParams.current" |
| | |
| | | { label: '待执行', value: 1 }, |
| | | { label: '执行中', value: 2 }, |
| | | { label: '已完成', value: 3 }, |
| | | { label: '已取消', value: 4 }, |
| | | { label: '执行失败', value: 5 }, |
| | | |
| | | { label: '执行失败', value: 4 }, |
| | | ] |
| | | // 设备页面参数 |
| | | const devicePageParams = ref({ |
| | |
| | | } |
| | | // 获取任务列表 |
| | | const getJobList = () => { |
| | | // 事件状态:0 =待处理,1=待分拨,2=待处理,3=处理中,4=已完成 5=已完结 |
| | | jobList(taskDetailParams).then(res => { |
| | | if (res.data.code !== 0) return |
| | | taskDetailData.value = res.data.data.records |
| | | total.value = res.data.data.total |
| | | |
| | | }) |
| | | } |
| | | // 机巢列表数据 |
| | |
| | | } |
| | | |
| | | :deep() { |
| | | |
| | | |
| | | .el-form-item__label { |
| | | font-family: Segoe UI, Segoe UI; |
| | | font-weight: 400; |
| | |
| | | cursor: pointer; |
| | | background: url('/src/assets/images/home/homeLeft/inspection-reset.png') no-repeat center; |
| | | background-size: 100% 100%; |
| | | color: #fff; |
| | | font-weight: bold; |
| | | font-size: 14px; |
| | | text-align: center; |
| | | } |
| | | .searchs { |
| | | margin-left: 23px; |
| | |
| | | height: 32px; |
| | | background: url('/src/assets/images/home/homeLeft/inspection-select.png') no-repeat center; |
| | | background-size: 100% 100%; |
| | | color: #fff; |
| | | font-weight: bold; |
| | | font-size: 14px; |
| | | text-align: center; |
| | | } |
| | | .tabledata { |
| | | padding: 0 16px; |
| | |
| | | </style> |
| | | <style lang="scss"> |
| | | .inspection-rask-details-dialog { |
| | | width: 1270px; |
| | | width: 1270px; |
| | | height: 856px; |
| | | |
| | | |
| | | |
| | | } |
| | | </style> |