From 736ee5071166b206661b59316f99e1a43b1555b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BB=BB=E7=8F=AE=E5=AE=87?= Date: Tue, 30 Jan 2024 16:53:40 +0800 Subject: [PATCH] =?UTF-8?q?system=20=E6=A8=A1=E5=9D=97=EF=BC=8Cquartz=20jo?= =?UTF-8?q?b=20=E9=A1=B5=E9=9D=A2=E4=B8=AD=E6=96=B0=E5=A2=9E=E5=BC=B9?= =?UTF-8?q?=E7=AA=97=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/jeecg/JEasyCron/InputCron.vue | 38 ++-- src/views/system/modules/QuartzJobModal.vue | 214 +++++++++---------- 2 files changed, 125 insertions(+), 127 deletions(-) diff --git a/src/components/jeecg/JEasyCron/InputCron.vue b/src/components/jeecg/JEasyCron/InputCron.vue index 868d4b3..8dc8288 100644 --- a/src/components/jeecg/JEasyCron/InputCron.vue +++ b/src/components/jeecg/JEasyCron/InputCron.vue @@ -3,7 +3,7 @@ - 选择 + Select @@ -24,44 +24,44 @@ import EasyCron from './EasyCron.vue' export default { name: 'input-cron', - components: {EasyCron}, + components: { EasyCron }, model: { prop: 'cronValue', - event: 'change' + event: 'change', }, props: { cronValue: { type: String, - default: '' + default: '', }, width: { type: String, - default: '800px' + default: '800px', }, placeholder: { type: String, - default: '请输入cron表达式' + default: '请输入cron表达式', }, disabled: { type: Boolean, - default: false + default: false, }, exeStartTime: { type: [Number, String, Object], - default: 0 + default: 0, }, hideSecond: { type: Boolean, - default: false + default: false, }, hideYear: { type: Boolean, - default: false + default: false, }, remote: { type: Function, - default: null - } + default: null, + }, }, data() { return { @@ -78,22 +78,20 @@ export default { }, editCronValue(newVal, oldVal) { this.$emit('change', newVal) - } + }, }, methods: { showConfigDlg() { if (!this.disabled) { this.show = true } - } - } + }, + }, } diff --git a/src/views/system/modules/QuartzJobModal.vue b/src/views/system/modules/QuartzJobModal.vue index c27c6aa..d7600fb 100644 --- a/src/views/system/modules/QuartzJobModal.vue +++ b/src/views/system/modules/QuartzJobModal.vue @@ -6,27 +6,32 @@ :confirmLoading="confirmLoading" @ok="handleOk" @cancel="handleCancel" - okText="保存并安排任务" - cancelText="关闭"> - + okText="Save And Schedule Tasks" + cancelText="Close" + > - - - + + - + - - + + - - + + - - + + @@ -34,108 +39,103 @@ \ No newline at end of file