diff --git a/.env.development b/.env.development index d74af37..69b6183 100644 --- a/.env.development +++ b/.env.development @@ -1,10 +1,10 @@ # 页面标题 -VUE_APP_TITLE = 后台管理系统 +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/.gitignore b/.gitignore new file mode 100644 index 0000000..3c3629e --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules diff --git a/debug.log b/debug.log new file mode 100644 index 0000000..b145715 --- /dev/null +++ b/debug.log @@ -0,0 +1,4 @@ +[0613/100035.500:ERROR:registration_protocol_win.cc(108)] CreateFile: 系统找不到指定的文件。 (0x2) +[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) 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 new file mode 100644 index 0000000..ff85938 --- /dev/null +++ b/src/api/business/ctApply.js @@ -0,0 +1,64 @@ +import request from '@/utils/request' + + +// 同步应用数据 +export function syn() { + return request({ + url: '/business/ctApply/syn', + method: 'post', + data:{} + }) +} + + +// 查询所有应用列表 +export function listApplyAll(query) { + return request({ + url: '/business/ctApply/listAll', + method: 'get', + params: query + }) +} + +// 查询应用信息管理列表 +export function listCtApply(query) { + return request({ + url: '/business/ctApply/list', + method: 'get', + params: query + }) +} + +// 查询应用信息管理详细 +export function getCtApply(id) { + return request({ + url: '/business/ctApply/' + id, + method: 'get' + }) +} + +// 新增应用信息管理 +export function addCtApply(data) { + return request({ + url: '/business/ctApply', + method: 'post', + data: data + }) +} + +// 修改应用信息管理 +export function updateCtApply(data) { + return request({ + url: '/business/ctApply', + method: 'put', + data: data + }) +} + +// 删除应用信息管理 +export function delCtApply(id) { + return request({ + url: '/business/ctApply/' + id, + method: 'delete' + }) +} diff --git a/src/api/business/ctApplyPlan.js b/src/api/business/ctApplyPlan.js new file mode 100644 index 0000000..31c58b0 --- /dev/null +++ b/src/api/business/ctApplyPlan.js @@ -0,0 +1,63 @@ +import request from '@/utils/request' + + +// 重新运行计划 +export function appRetry(jobUuid) { + return request({ + url: '/business/ctApplyPlan/appRetry', + method: 'post', + data: {jobUuid} + }) +} + +// 停止运行计划 +export function stopRun(jobUuid) { + return request({ + url: '/business/ctApplyPlan/stopRun', + method: 'post', + data: {jobUuid} + }) +} + +// 查询应用执行计划管理列表 +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 new file mode 100644 index 0000000..cb77354 --- /dev/null +++ b/src/api/business/ctRebot.js @@ -0,0 +1,63 @@ +import request from '@/utils/request' + +// 同步机器人数据 +export function syn() { + return request({ + url: '/business/ctRebot/syn', + method: 'post', + data:{} + }) +} + + +// 查询所有可用机器人 +export function listRebotAll(query) { + return request({ + url: '/business/ctRebot/listAll', + method: 'get', + params: query + }) +} + +// 查询机器人管理列表 +export function listCtRebot(query) { + return request({ + url: '/business/ctRebot/list', + method: 'get', + params: query + }) +} + +// 查询机器人管理详细 +export function getCtRebot(id) { + return request({ + url: '/business/ctRebot/' + id, + method: 'get' + }) +} + +// 新增机器人管理 +export function addCtRebot(data) { + return request({ + url: '/business/ctRebot', + method: 'post', + data: data + }) +} + +// 修改机器人管理 +export function updateCtRebot(data) { + return request({ + url: '/business/ctRebot', + method: 'put', + data: data + }) +} + +// 删除机器人管理 +export function delCtRebot(id) { + return request({ + url: '/business/ctRebot/' + id, + method: 'delete' + }) +} diff --git a/src/api/business/ctResourceLibrary.js b/src/api/business/ctResourceLibrary.js new file mode 100644 index 0000000..d628c3e --- /dev/null +++ b/src/api/business/ctResourceLibrary.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询资源库管理列表 +export function listCtResourceLibrary(query) { + return request({ + url: '/business/ctResourceLibrary/list', + method: 'get', + params: query + }) +} + +// 查询资源库管理详细 +export function getCtResourceLibrary(id) { + return request({ + url: '/business/ctResourceLibrary/' + id, + method: 'get' + }) +} + +// 新增资源库管理 +export function addCtResourceLibrary(data) { + return request({ + url: '/business/ctResourceLibrary', + method: 'post', + data: data + }) +} + +// 修改资源库管理 +export function updateCtResourceLibrary(data) { + return request({ + url: '/business/ctResourceLibrary', + method: 'put', + data: data + }) +} + +// 删除资源库管理 +export function delCtResourceLibrary(id) { + return request({ + url: '/business/ctResourceLibrary/' + id, + method: 'delete' + }) +} diff --git a/src/api/business/survey.js b/src/api/business/survey.js deleted file mode 100644 index bf50234..0000000 --- a/src/api/business/survey.js +++ /dev/null @@ -1,53 +0,0 @@ -import request from '@/utils/request' - -// 查询模版属性列表 -export function listBySurveyId(surveyId) { - return request({ - url: '/business/survey/listBySurveyId?surveyId=' + surveyId, - method: 'get', - }) -} - - -// 查询调查问卷管理列表 -export function listSurvey(query) { - return request({ - url: '/business/survey/list', - method: 'get', - params: query - }) -} - -// 查询调查问卷管理详细 -export function getSurvey(id) { - return request({ - url: '/business/survey/' + id, - method: 'get' - }) -} - -// 新增调查问卷管理 -export function addSurvey(data) { - return request({ - url: '/business/survey', - method: 'post', - data: data - }) -} - -// 修改调查问卷管理 -export function updateSurvey(data) { - return request({ - url: '/business/survey', - method: 'put', - data: data - }) -} - -// 删除调查问卷管理 -export function delSurvey(id) { - return request({ - url: '/business/survey/' + id, - method: 'delete' - }) -} diff --git a/src/api/business/template.js b/src/api/business/template.js deleted file mode 100644 index 4f7b0c1..0000000 --- a/src/api/business/template.js +++ /dev/null @@ -1,54 +0,0 @@ -import request from '@/utils/request' - -// 查询模版管理列表 -export function listTemplate(query) { - return request({ - url: '/business/template/list', - method: 'get', - params: query - }) -} - - -// 查询模版管理列表 -export function listAll(query) { - return request({ - url: '/business/template/listAll', - method: 'get', - params: query - }) -} - -// 查询模版管理详细 -export function getTemplate(id) { - return request({ - url: '/business/template/' + id, - method: 'get' - }) -} - -// 新增模版管理 -export function addTemplate(data) { - return request({ - url: '/business/template', - method: 'post', - data: data - }) -} - -// 修改模版管理 -export function updateTemplate(data) { - return request({ - url: '/business/template', - method: 'put', - data: data - }) -} - -// 删除模版管理 -export function delTemplate(id) { - return request({ - url: '/business/template/' + id, - method: 'delete' - }) -} diff --git a/src/api/business/templateProp.js b/src/api/business/templateProp.js deleted file mode 100644 index 6b237bf..0000000 --- a/src/api/business/templateProp.js +++ /dev/null @@ -1,45 +0,0 @@ -import request from '@/utils/request' - - -// 查询模版管理列表 -export function listTemplateProp(query) { - return request({ - url: '/business/templateProp/list', - method: 'get', - params: query - }) -} - -// 查询模版属性详细 -export function getTemplateProp(id) { - return request({ - url: '/business/templateProp/' + id, - method: 'get' - }) -} - -// 新增模版属性 -export function addTemplateProp(data) { - return request({ - url: '/business/templateProp', - method: 'post', - data: data - }) -} - -// 修改模版属性 -export function updateTemplateProp(data) { - return request({ - url: '/business/templateProp', - method: 'put', - data: data - }) -} - -// 删除模版属性 -export function delTemplateProp(id) { - return request({ - url: '/business/templateProp/' + id, - method: 'delete' - }) -} diff --git a/src/api/business/templatePropValue.js b/src/api/business/templatePropValue.js deleted file mode 100644 index bb6eda9..0000000 --- a/src/api/business/templatePropValue.js +++ /dev/null @@ -1,61 +0,0 @@ -import request from '@/utils/request' - -// 统计数据 -export function countGroup(surveyId) { - return request({ - url: '/business/templatePropValue/countGroup?surveyId=' + surveyId, - method: 'get', - }) -} - -// 查询模版属性值列表 -export function listTemplatePropValue(query) { - return request({ - url: '/business/templatePropValue/list', - method: 'get', - params: query - }) -} - -// 查询模版属性值详细 -export function getTemplatePropValue(id) { - return request({ - url: '/business/templatePropValue/' + id, - method: 'get' - }) -} - -// 新增模版属性值 -export function addTemplatePropValue(data) { - return request({ - url: '/business/templatePropValue', - method: 'post', - data: data - }) -} - -// 新增模版属性值 -export function addList(data) { - return request({ - url: '/business/templatePropValue/addList', - method: 'post', - data: data - }) -} - -// 修改模版属性值 -export function updateTemplatePropValue(data) { - return request({ - url: '/business/templatePropValue', - method: 'put', - data: data - }) -} - -// 删除模版属性值 -export function delTemplatePropValue(id) { - return request({ - url: '/business/templatePropValue/' + id, - method: 'delete' - }) -} diff --git a/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue index 6c583cf..3d0910e 100644 --- a/src/components/FileUpload/index.vue +++ b/src/components/FileUpload/index.vue @@ -60,7 +60,7 @@ export default { // 文件类型, 例如['png', 'jpg', 'jpeg'] fileType: { type: Array, - default: () => ["doc", "xls", "ppt", "txt", "pdf"], + default: () => ["doc", "docx","xls", "xlsx"], }, // 是否显示提示 isShowTip: { 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/countGroup/index.vue b/src/views/business/countGroup/index.vue deleted file mode 100644 index 404ffc9..0000000 --- a/src/views/business/countGroup/index.vue +++ /dev/null @@ -1,175 +0,0 @@ - - - - - diff --git a/src/views/business/ctApply/index.vue b/src/views/business/ctApply/index.vue new file mode 100644 index 0000000..183075d --- /dev/null +++ b/src/views/business/ctApply/index.vue @@ -0,0 +1,378 @@ + + + diff --git a/src/views/business/ctApplyPlan/index.vue b/src/views/business/ctApplyPlan/index.vue new file mode 100644 index 0000000..2fb416c --- /dev/null +++ b/src/views/business/ctApplyPlan/index.vue @@ -0,0 +1,519 @@ + + + \ No newline at end of file diff --git a/src/views/business/ctRebot/index.vue b/src/views/business/ctRebot/index.vue new file mode 100644 index 0000000..d615937 --- /dev/null +++ b/src/views/business/ctRebot/index.vue @@ -0,0 +1,258 @@ + + + diff --git a/src/views/business/ctResourceLibrary/index.vue b/src/views/business/ctResourceLibrary/index.vue new file mode 100644 index 0000000..ba419e1 --- /dev/null +++ b/src/views/business/ctResourceLibrary/index.vue @@ -0,0 +1,340 @@ + + + diff --git a/src/views/business/survey/index.vue b/src/views/business/survey/index.vue deleted file mode 100644 index c5e7526..0000000 --- a/src/views/business/survey/index.vue +++ /dev/null @@ -1,347 +0,0 @@ - - - diff --git a/src/views/business/surveySubmit/index.vue b/src/views/business/surveySubmit/index.vue deleted file mode 100644 index 97e00e9..0000000 --- a/src/views/business/surveySubmit/index.vue +++ /dev/null @@ -1,166 +0,0 @@ - - - diff --git a/src/views/business/template/index.vue b/src/views/business/template/index.vue deleted file mode 100644 index 311496d..0000000 --- a/src/views/business/template/index.vue +++ /dev/null @@ -1,298 +0,0 @@ - - - diff --git a/src/views/business/templateProp/index.vue b/src/views/business/templateProp/index.vue deleted file mode 100644 index 9455b0c..0000000 --- a/src/views/business/templateProp/index.vue +++ /dev/null @@ -1,363 +0,0 @@ - - - diff --git a/src/views/business/templatePropValue/index.vue b/src/views/business/templatePropValue/index.vue deleted file mode 100644 index 372a633..0000000 --- a/src/views/business/templatePropValue/index.vue +++ /dev/null @@ -1,307 +0,0 @@ - - - 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 @@