From f156d473fb0c4ba31671b169bdb5c3a61f933ebf Mon Sep 17 00:00:00 2001 From: zhuzhuanzhuan Date: 星期三, 16 八月 2023 17:42:57 +0800 Subject: [PATCH] 定时任务的界面调整和日志界面调整 --- src/views/system/QuartzJobList.vue | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/views/system/QuartzJobList.vue b/src/views/system/QuartzJobList.vue index c418702..b025d43 100644 --- a/src/views/system/QuartzJobList.vue +++ b/src/views/system/QuartzJobList.vue @@ -76,8 +76,7 @@ <span slot="action" slot-scope="text, record"> - <a @click="resumeJob(record)" v-if="record.status==-1">鍚姩</a> - <a @click="pauseJob(record)" v-if="record.status==0">鍋滄</a> + <a @click="executeImmediately(record)">绔嬪嵆鎵ц</a> <a-divider type="vertical" /> <a @click="handlequartzLog(record)">鏃ュ織</a> @@ -85,7 +84,11 @@ <a-dropdown> <a class="ant-dropdown-link">鏇村 <a-icon type="down" /></a> <a-menu slot="overlay"> - <a-menu-item><a @click="executeImmediately(record)">绔嬪嵆鎵ц</a></a-menu-item> + <a-menu-item> + <a @click="resumeJob(record)" v-if="record.status==-1">鍚姩</a> + <a @click="pauseJob(record)" v-if="record.status==0">鍋滄</a> + + </a-menu-item> <a-menu-item><a @click="handleEdit(record)">缂栬緫</a></a-menu-item> <a-menu-item> <a-popconfirm title="纭畾鍒犻櫎鍚�?" @confirm="() => handleDelete(record.id)"> @@ -146,9 +149,9 @@ } }, { - title: '浠诲姟绫诲悕', + title: '浠诲姟鍚嶇О', align:"center", - dataIndex: 'jobClassName', + dataIndex: 'jobName', sorter: true, /* customRender:function (text) { return "*"+text.substring(9,text.length); @@ -167,9 +170,8 @@ scopedSlots: {customRender: 'parameterRender'}, }, { - title: '鎻忚堪', + title: '璇存槑', align:"center", - width: 250, dataIndex: 'description', scopedSlots: {customRender: 'description'}, }, -- Gitblit v1.9.3