You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2020/07/23 08:12:51 UTC
[shardingsphere-elasticjob-ui] 19/44: fix and reduce jobs detail
code
This is an automated email from the ASF dual-hosted git repository.
zhangyonglun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob-ui.git
commit 7ca44f3fc5fef44a1f6ee7fe1b49cd0157a036e8
Author: renfufei <re...@huobi.com>
AuthorDate: Tue Jul 21 00:08:27 2020 +0800
fix and reduce jobs detail code
---
.../module/operationJobsDetail.vue | 35 ++--------------------
1 file changed, 2 insertions(+), 33 deletions(-)
diff --git a/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs-detail/module/operationJobsDetail.vue b/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs-detail/module/operationJobsDetail.vue
index 04df449..06e5d58 100644
--- a/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs-detail/module/operationJobsDetail.vue
+++ b/shardingsphere-elasticjob-ui-frontend/src/views/operation-jobs-detail/module/operationJobsDetail.vue
@@ -142,36 +142,6 @@ export default {
searchForm: {
jobName: ''
},
- rules: {
- jobName: [
- {
- required: true,
- message: this.$t('operationJobs').rules.jobName,
- trigger: 'change'
- }
- ],
- shardingTotalCount: [
- {
- required: true,
- message: this.$t('operationJobs').rules.shardingTotalCount,
- trigger: 'change'
- }
- ],
- cron: [
- {
- required: true,
- message: this.$t('operationJobs').rules.cron,
- trigger: 'change'
- }
- ],
- description: [
- {
- required: true,
- message: this.$t('operationJobs').rules.description,
- trigger: 'change'
- }
- ]
- },
tableData: [],
cloneTableData: [],
currentPage: 1,
@@ -182,10 +152,9 @@ export default {
created() {
this.jobName = this.$route.params.jobName ||
localStorage.getItem("/operation-jobs/status-detail/jobName")
- console.dir(this.jobName);
if(!this.jobName){
- //this.goBack()
- //return
+ this.goBack()
+ return
}
this.search()
},