From 4d92d79ce8c817762fcb2985bab3d46a6e84761c Mon Sep 17 00:00:00 2001 From: lcr <977192391@qq.com> Date: Fri, 28 Jun 2024 09:48:37 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E5=AE=8C=E5=96=84=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- debug.log | 1 + src/api/business/ctApply.js | 9 + src/api/business/ctApplyPlan.js | 22 ++ src/api/business/ctResourceLibrary.js | 9 + src/views/business/ctApply/index.vue | 25 +- src/views/business/ctApplyPlan/index.vue | 247 ++++++++++++++++-- .../business/ctResourceLibrary/index.vue | 10 +- src/views/login.vue | 4 +- src/views/system/user/index.vue | 106 +++----- 9 files changed, 329 insertions(+), 104 deletions(-) diff --git a/debug.log b/debug.log index b145715..55b33b5 100644 --- a/debug.log +++ b/debug.log @@ -2,3 +2,4 @@ [0613/102540.147:ERROR:registration_protocol_win.cc(108)] CreateFile: 系统找不到指定的文件。 (0x2) [0618/152950.053:ERROR:registration_protocol_win.cc(108)] CreateFile: 系统找不到指定的文件。 (0x2) [0618/160106.928:ERROR:registration_protocol_win.cc(108)] CreateFile: 系统找不到指定的文件。 (0x2) +[0626/154642.203:ERROR:registration_protocol_win.cc(108)] CreateFile: 系统找不到指定的文件。 (0x2) diff --git a/src/api/business/ctApply.js b/src/api/business/ctApply.js index ff85938..60e0867 100644 --- a/src/api/business/ctApply.js +++ b/src/api/business/ctApply.js @@ -1,6 +1,15 @@ import request from '@/utils/request' +// 修改应用用时 +export function updateRunDate(data) { + return request({ + url: '/business/ctApply/updateRunDate', + method: 'post', + data:data + }) +} + // 同步应用数据 export function syn() { return request({ diff --git a/src/api/business/ctApplyPlan.js b/src/api/business/ctApplyPlan.js index 31c58b0..2813a2e 100644 --- a/src/api/business/ctApplyPlan.js +++ b/src/api/business/ctApplyPlan.js @@ -1,6 +1,28 @@ import request from '@/utils/request' + + +// 启用或禁用 +export function stopOrStart(data) { + return request({ + url: '/business/ctApplyPlan/stopOrStart', + method: 'post', + data: data + }) +} + + +// 修改运行时间 +export function updateRunTime(data) { + return request({ + url: '/business/ctApplyPlan/updateRunTime', + method: 'post', + data: data + }) +} + + // 重新运行计划 export function appRetry(jobUuid) { return request({ diff --git a/src/api/business/ctResourceLibrary.js b/src/api/business/ctResourceLibrary.js index fafb944..fb792a8 100644 --- a/src/api/business/ctResourceLibrary.js +++ b/src/api/business/ctResourceLibrary.js @@ -1,5 +1,14 @@ import request from '@/utils/request' +// 提交参数修改 +export function updateBatch(data) { + return request({ + url: '/business/ctResourceLibrary/updateBatch', + method: 'post', + data: data + }) +} + // 根据应用id查询所有参数 export function listByAppId(appId) { return request({ diff --git a/src/views/business/ctApply/index.vue b/src/views/business/ctApply/index.vue index 78f8df5..be4e7d8 100644 --- a/src/views/business/ctApply/index.vue +++ b/src/views/business/ctApply/index.vue @@ -34,7 +34,7 @@ 同步应用数据 - 提示:搜索更新并非实时数据,同步为最新数据 + 提示:搜索更新并非实时数据,同步为最新数据 @@ -46,7 +46,7 @@ {{ scope.$index + 1 }} - + {{ scope.row.appName }} @@ -56,14 +56,14 @@ - + 应用名称前缀:部门-XXX 分配部门 {{ scope.row.deptName }} - {{scope.row.deptName}} - 未分配部门 + {{ scope.row.deptName }} + 未分配部门 @@ -82,6 +82,7 @@ + - + @@ -111,8 +112,8 @@ - 设置人工用时 + 设置人工用时 @@ -191,7 +192,7 @@
{{ scope.row.appName }}
应用名称前缀:部门-XXX 分配部门
{{ scope.row.deptName }}