Skip to content

Commit

Permalink
Merge pull request #146 from SonicCloudOrg/dev
Browse files Browse the repository at this point in the history
修改接口path
  • Loading branch information
ZhouYixun authored May 18, 2022
2 parents 48fbec0 + 4f8cccb commit 0415c16
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/views/Jobs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const open = () => {
dialogVisible.value = true
}
const getJobsList = (pageNum, pSize) => {
axios.get("/task/jobs/list", {
axios.get("/controller/jobs/list", {
params: {
projectId: route.params.projectId,
page: pageNum || 1,
Expand All @@ -45,7 +45,7 @@ const getJobsList = (pageNum, pSize) => {
})
}
const getJobInfo = (id) => {
axios.get("/task/jobs", {
axios.get("/controller/jobs", {
params: {
id
}
Expand All @@ -54,7 +54,7 @@ const getJobInfo = (id) => {
})
}
const updateStatus = (id, type) => {
axios.get("/task/jobs/updateStatus", {
axios.get("/controller/jobs/updateStatus", {
params: {
id, type
}
Expand All @@ -76,7 +76,7 @@ const getSuiteList = () => {
})
}
const deleteJob = (id) => {
axios.delete("/task/jobs", {
axios.delete("/controller/jobs", {
params: {
id
}
Expand All @@ -102,7 +102,7 @@ const getSuiteName = (id) => {
const summit = () => {
updateJob['value'].validate((valid) => {
if (valid) {
axios.put("/task/jobs", jobs.value).then(resp => {
axios.put("/controller/jobs", jobs.value).then(resp => {
if (resp['code'] === 2000) {
ElMessage.success({
message: resp['message'],
Expand Down

0 comments on commit 0415c16

Please sign in to comment.