From d6d8252b1738301bc3e47b5ad338f3d21154eb1e Mon Sep 17 00:00:00 2001
From: lcr <977192391@qq.com>
Date: Fri, 14 Jun 2024 18:27:43 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.env.development | 2 +-
.env.production | 4 +-
.env.staging | 4 +-
package.json | 2 +-
src/api/business/ctApply.js | 9 +
src/api/business/ctApplyPlan.js | 44 +++
src/api/business/ctRebot.js | 10 +
src/layout/components/Sidebar/Logo.vue | 2 +-
src/views/business/ctApply/index.vue | 46 +--
src/views/business/ctApplyPlan/index.vue | 387 +++++++++++++++++++++++
src/views/business/ctRebot/index.vue | 2 +-
src/views/login.vue | 2 +-
src/views/register.vue | 2 +-
13 files changed, 488 insertions(+), 28 deletions(-)
create mode 100644 src/api/business/ctApplyPlan.js
create mode 100644 src/views/business/ctApplyPlan/index.vue
diff --git a/.env.development b/.env.development
index 1b1d179..69b6183 100644
--- a/.env.development
+++ b/.env.development
@@ -4,7 +4,7 @@ VUE_APP_TITLE = 影刀后台管理系统
# 开发环境配置
ENV = 'development'
-# 后台管理系统/开发环境
+# 影刀后台管理系统/开发环境
VUE_APP_BASE_API = '/dev-api'
# 路由懒加载
diff --git a/.env.production b/.env.production
index f617a43..04409d7 100644
--- a/.env.production
+++ b/.env.production
@@ -1,8 +1,8 @@
# 页面标题
-VUE_APP_TITLE = 后台管理系统
+VUE_APP_TITLE = 影刀后台管理系统
# 生产环境配置
ENV = 'production'
-# 后台管理系统/生产环境
+# 影刀后台管理系统/生产环境
VUE_APP_BASE_API = '/prod-api'
diff --git a/.env.staging b/.env.staging
index 42f8f78..80d70c1 100644
--- a/.env.staging
+++ b/.env.staging
@@ -1,10 +1,10 @@
# 页面标题
-VUE_APP_TITLE = 后台管理系统
+VUE_APP_TITLE = 影刀后台管理系统
NODE_ENV = production
# 测试环境配置
ENV = 'staging'
-# 后台管理系统/测试环境
+# 影刀后台管理系统/测试环境
VUE_APP_BASE_API = '/stage-api'
diff --git a/package.json b/package.json
index e4d2180..199d6d1 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "ruoyi",
"version": "3.8.5",
- "description": "后台管理系统",
+ "description": "影刀后台管理系统",
"author": "若依",
"license": "MIT",
"scripts": {
diff --git a/src/api/business/ctApply.js b/src/api/business/ctApply.js
index 9143f57..ff85938 100644
--- a/src/api/business/ctApply.js
+++ b/src/api/business/ctApply.js
@@ -11,6 +11,15 @@ export function syn() {
}
+// 查询所有应用列表
+export function listApplyAll(query) {
+ return request({
+ url: '/business/ctApply/listAll',
+ method: 'get',
+ params: query
+ })
+}
+
// 查询应用信息管理列表
export function listCtApply(query) {
return request({
diff --git a/src/api/business/ctApplyPlan.js b/src/api/business/ctApplyPlan.js
new file mode 100644
index 0000000..10d033b
--- /dev/null
+++ b/src/api/business/ctApplyPlan.js
@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询应用执行计划管理列表
+export function listCtApplyPlan(query) {
+ return request({
+ url: '/business/ctApplyPlan/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询应用执行计划管理详细
+export function getCtApplyPlan(id) {
+ return request({
+ url: '/business/ctApplyPlan/' + id,
+ method: 'get'
+ })
+}
+
+// 新增应用执行计划管理
+export function addCtApplyPlan(data) {
+ return request({
+ url: '/business/ctApplyPlan',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改应用执行计划管理
+export function updateCtApplyPlan(data) {
+ return request({
+ url: '/business/ctApplyPlan',
+ method: 'put',
+ data: data
+ })
+}
+
+// 删除应用执行计划管理
+export function delCtApplyPlan(id) {
+ return request({
+ url: '/business/ctApplyPlan/' + id,
+ method: 'delete'
+ })
+}
diff --git a/src/api/business/ctRebot.js b/src/api/business/ctRebot.js
index 4de0cc0..cb77354 100644
--- a/src/api/business/ctRebot.js
+++ b/src/api/business/ctRebot.js
@@ -9,6 +9,16 @@ export function syn() {
})
}
+
+// 查询所有可用机器人
+export function listRebotAll(query) {
+ return request({
+ url: '/business/ctRebot/listAll',
+ method: 'get',
+ params: query
+ })
+}
+
// 查询机器人管理列表
export function listCtRebot(query) {
return request({
diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue
index b1e8482..adcf440 100644
--- a/src/layout/components/Sidebar/Logo.vue
+++ b/src/layout/components/Sidebar/Logo.vue
@@ -35,7 +35,7 @@ export default {
},
data() {
return {
- title: '后台管理系统',
+ title: '影刀后台管理系统',
logo: logoImg
}
}
diff --git a/src/views/business/ctApply/index.vue b/src/views/business/ctApply/index.vue
index 46330a1..a009960 100644
--- a/src/views/business/ctApply/index.vue
+++ b/src/views/business/ctApply/index.vue
@@ -21,6 +21,14 @@
+
+
+
搜索
重置
@@ -46,11 +54,7 @@
{{ scope.$index + 1 }}
-
-
-
-
-
+
@@ -59,6 +63,10 @@
+
+
+
+
@@ -70,8 +78,10 @@
-
+
+
+
@@ -113,18 +123,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
@@ -147,6 +145,18 @@
placeholder="请选择应用修改时间">
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/business/ctApplyPlan/index.vue b/src/views/business/ctApplyPlan/index.vue
new file mode 100644
index 0000000..4e54dfd
--- /dev/null
+++ b/src/views/business/ctApplyPlan/index.vue
@@ -0,0 +1,387 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 搜索
+ 重置
+
+
+
+
+
+ 新增
+
+
+ 修改
+
+
+ 删除
+
+
+ 导出
+
+
+
+
+
+
+
+
+ {{ scope.$index + 1 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}
+
+
+
+
+
+ {{ parseTime(scope.row.updateTime, '{y}-{m}-{d}') }}
+
+
+
+
+
+ 修改
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/business/ctRebot/index.vue b/src/views/business/ctRebot/index.vue
index 24a818d..bb4650c 100644
--- a/src/views/business/ctRebot/index.vue
+++ b/src/views/business/ctRebot/index.vue
@@ -35,7 +35,7 @@
{{ scope.$index + 1 }}
-
+
diff --git a/src/views/login.vue b/src/views/login.vue
index ecfaaea..7b3a13d 100644
--- a/src/views/login.vue
+++ b/src/views/login.vue
@@ -1,7 +1,7 @@
- 后台管理系统
+ 影刀后台管理系统
- 后台管理系统
+ 影刀后台管理系统