Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

修复job作业跳转id的问题 #7120

Merged
merged 3 commits into from
Oct 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
}
let biz_cc_id = this.get_parent && this.get_parent().get_child('biz_cc_id')._get_value();
let bk_job_host = window.BK_JOB_HOST;
let url = bk_job_host + '/' + biz_cc_id + "/api_plan/" + this.value;
if (bk_job_host.charAt(bk_job_host.length - 1) == "/") bk_job_host = bk_job_host.substr(0, bk_job_host.length - 1);
let url = bk_job_host + "/api_plan/" + this.value;
window.open(url, '_blank')
},
validation: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
let biz_cc_id = this.get_parent && this.get_parent().get_child('biz_cc_id')._get_value();
let bk_job_host = window.BK_JOB_HOST;
if (bk_job_host.charAt(bk_job_host.length - 1) == "/") bk_job_host = bk_job_host.substr(0, bk_job_host.length - 1);
let url = bk_job_host + '/' + biz_cc_id + "/api_plan/" + this.value;
let url = bk_job_host + "/api_plan/" + this.value;
window.open(url, '_blank')
},
validation: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
let biz_cc_id = this.get_parent && this.get_parent().get_child('biz_cc_id')._get_value();
let bk_job_host = window.BK_JOB_HOST;
if (bk_job_host.charAt(bk_job_host.length - 1) == "/") bk_job_host = bk_job_host.substr(0, bk_job_host.length - 1);
let url = bk_job_host + '/' + biz_cc_id + "/api_plan/" + this.value;
let url = bk_job_host + "/api_plan/" + this.value;
window.open(url, '_blank')
},
validation: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@
}
let biz_cc_id = this.get_parent && this.get_parent().get_child('biz_cc_id')._get_value();
let bk_job_host = window.BK_JOB_HOST;
let url = bk_job_host + '/' + biz_cc_id + "/api_plan/" + this.value;
if (bk_job_host.charAt(bk_job_host.length - 1) == "/") bk_job_host = bk_job_host.substr(0, bk_job_host.length - 1);
let url = bk_job_host + "/api_plan/" + this.value;
window.open(url, '_blank')
},
validation: [
Expand Down