| | |
| | | <template> |
| | | <div class="app-container"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="68px"> |
| | | <el-form-item label="任务名称" prop="jobName"> |
| | | <el-input |
| | | v-model="queryParams.jobName" |
| | |
| | | }; |
| | | }, |
| | | created() { |
| | | const jobId = this.$route.query.jobId; |
| | | const jobId = this.$route.params && this.$route.params.jobId; |
| | | if (jobId !== undefined && jobId != 0) { |
| | | getJob(jobId).then(response => { |
| | | this.queryParams.jobName = response.data.jobName; |