From 758ec43352e6327aa32182a19af3621404154bd6 Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Thu, 4 May 2023 09:03:31 +0800 Subject: [PATCH] 111111111 --- demo-web-ui/.env.development | 2 +- .../copyofprocess/liuchengchasongguanli.js | 82 ++ .../system/personalization/personalization.js | 52 +- demo-web-ui/src/api/system/region/region.js | 65 +- demo-web-ui/src/router/index.js | 18 +- demo-web-ui/src/utils/request.js | 2 +- .../copyofprocess/liuchengchasongguanli.vue | 492 ++++------- .../organizationManage/organizationManage.vue | 834 ++++-------------- .../organizationManageInfo.vue | 157 ++++ .../views/personalization/personalization.vue | 247 ++++-- demo-web-ui/src/views/region/region.vue | 695 ++++----------- .../views/workflow/definition/definition.vue | 380 ++++---- 12 files changed, 1220 insertions(+), 1806 deletions(-) create mode 100644 demo-web-ui/src/api/system/copyofprocess/liuchengchasongguanli.js create mode 100644 demo-web-ui/src/views/organizationManage/organizationManageInfo.vue diff --git a/demo-web-ui/.env.development b/demo-web-ui/.env.development index 9b523de..71fa840 100644 --- a/demo-web-ui/.env.development +++ b/demo-web-ui/.env.development @@ -6,6 +6,6 @@ VUE_APP_BASE_API = '/api' ## 配置测试和本地开发时的 接口地址 ##VUE_APP_URL = "http://26077a35f5.wicp.vip" -# VUE_APP_URL = "http://anrui.yyundong.com" +## VUE_APP_URL = "http://anrui.yyundong.com" ##VUE_APP_URL = "http://1mn7264414.qicp.vip" VUE_APP_URL = "http://39.104.100.138:9112" diff --git a/demo-web-ui/src/api/system/copyofprocess/liuchengchasongguanli.js b/demo-web-ui/src/api/system/copyofprocess/liuchengchasongguanli.js new file mode 100644 index 0000000..b3f4418 --- /dev/null +++ b/demo-web-ui/src/api/system/copyofprocess/liuchengchasongguanli.js @@ -0,0 +1,82 @@ +import request from '@/utils/request' + +let tokens = window.sessionStorage.getItem('token'); + +// 论坛管理 +// 获取论坛管理 +export function selectSysForum(data) { + return request({ + url: '/v1/sysforum/selectSysForum', + method: 'post', + params: data + }) +} + +// 新增论坛管理 +export function saveSysForum(data) { + return request({ + url: '/v1/sysforum/saveSysForum', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json', + 'token': tokens + } + + }) +} + +// 删除论坛管理 +export function deleteSysForum(sid) { + return request({ + url: '/v1/sysforum/deleteSysForum/' + sid, + method: 'delete', + }) +} + +// 修改论坛管理 +export function alterSysForum(data) { + return request({ + url: '/v1/sysforum/alterSysForum', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json', + 'token': tokens + } + }) + +} + +// 新增论坛评论 +export function saveSysForumComment(data) { + return request({ + url: '/v1/sysforumcommen/saveSysForumComment', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json', + 'token': tokens + } + }) + } + + // 删除论坛评论 + export function deleteSysForumComment(sid) { + return request({ + url: '/v1/sysforumcommen/deleteSysForumComment/' + sid, + method: 'delete', + }) + } + + // 查询论坛评论 + export function selectSysForumCommentOne(sid) { + return request({ + url: '/v1/sysforumcommen/selectSysForumCommentOne/' + sid, + method: 'GET', + headers: { + 'Content-Type': 'application/json', + 'token': tokens + } + }) + } diff --git a/demo-web-ui/src/api/system/personalization/personalization.js b/demo-web-ui/src/api/system/personalization/personalization.js index e22fc15..049be97 100644 --- a/demo-web-ui/src/api/system/personalization/personalization.js +++ b/demo-web-ui/src/api/system/personalization/personalization.js @@ -1,5 +1,6 @@ import request from '@/utils/request' +let tokens = window.sessionStorage.getItem('token'); // 获取菜单 分页列表 export function getList(data) { return request({ @@ -15,6 +16,55 @@ export function saveOrUpdate(data) { url: '/portal/v1/sysuserdefaultorg/saveOrUpdate', method: 'post', data: data, - headers: { 'Content-Type': 'application/json' } + headers: { + 'Content-Type': 'application/json' + } + }) + +} + +// 公告管理 +// 获取公告管理 +export function selectSysNotice(data) { + return request({ + url: '/v1/sysnatic/selectSysNotice', + method: 'post', + params: data + }) +} + +// 新增公告管理 +export function saveSusNotice(data) { + return request({ + url: '/v1/sysnatic/saveSysNotice', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json', + 'token': tokens + } + + }) +} + +// 删除公告管理 +export function deleteSysNotice(sid) { + return request({ + url: '/v1/sysnatic/deleteSysNotice/' + sid, + method: 'delete', }) } + +// 修改公告管理 +export function alterSusNotice(data) { + return request({ + url: '/v1/sysnatic/alterSysNotice', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json', + 'token': tokens + } + + }) +} \ No newline at end of file diff --git a/demo-web-ui/src/api/system/region/region.js b/demo-web-ui/src/api/system/region/region.js index edaf66a..4bf541e 100644 --- a/demo-web-ui/src/api/system/region/region.js +++ b/demo-web-ui/src/api/system/region/region.js @@ -3,7 +3,7 @@ import request from '@/utils/request' export default { // 分页列表 - pagerList: function (params) { + pagerList: function(params) { return request({ url: '/portal/v1/regions/pagerList', method: 'post', @@ -15,7 +15,7 @@ export default { }, // 新增保存 - save: function (regionDto) { + save: function(regionDto) { return request({ url: '/portal/v1/regions/save', method: 'post', @@ -49,7 +49,7 @@ export default { // }, // 删除 - delete: function (sid) { + delete: function(sid) { return request({ url: '/portal/v1/regions/delete/' + sid, method: 'delete', @@ -58,7 +58,7 @@ export default { }, //点击修改回显数据 - updateEcho: function (sid) { + updateEcho: function(sid) { return request({ url: '/portal/v1/regions/getOne/' + sid, method: 'post', @@ -70,7 +70,7 @@ export default { // 区域修改保存 // system/region/update/{sid} - update: function (params,sid) { + update: function(params, sid) { return request({ url: '/portal/v1/regions/update/' + sid, method: 'post', @@ -79,5 +79,56 @@ export default { 'Content-Type': 'application/json' } }) - } -} + }, + + + // 自主学姐计划 + + // 分页列表 + selectSysPlan: function(params) { + return request({ + url: '/v1/sysPlan/selectSysPlan', + method: 'post', + params: params, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 新增保存 + saveSysPlan: function(data) { + return request({ + url: '/v1/sysPlan/saveSysPlan', + method: 'post', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + // 删除 + deleteSysPlan: function(sid) { + return request({ + url: '/v1/sysPlan/deleteSysPlan/' + sid, + method: 'delete' + }) + }, + + //点击修改回显数据 + alterSysPlant: function(data) { + return request({ + url: '/v1/sysPlan/alterSysPlan', + method: 'POST', + data: data, + headers: { + 'Content-Type': 'application/json' + } + }) + }, + + + + +} diff --git a/demo-web-ui/src/router/index.js b/demo-web-ui/src/router/index.js index f0aea97..607ab79 100644 --- a/demo-web-ui/src/router/index.js +++ b/demo-web-ui/src/router/index.js @@ -22,8 +22,8 @@ export const constantRoutes = [ redirect: 'login' }, { - path: '/reg', - component: () => import("@/views/regist/User.vue") + path: '/Regist', + component: () => import("@/views/Regist/User.vue") }, { path: '/login', @@ -55,7 +55,8 @@ export const constantRoutes = [ { path: '/region', component: () => - import('@/views/region/region.vue'), + import('@/views/region/region.vue'), + name: 'region', meta: { title: '自主学习计划管理' } @@ -115,14 +116,16 @@ export const constantRoutes = [ }, { path: '/personalization', - component: () => import('@/views/personalization/personalization.vue'), + component: () => import('@/views/personalization/personalization.vue'), + name: 'personalization', meta: { title: '公告管理' } }, { path: '/copyofprocess', - component: () => import('@/views/copyofprocess/liuchengchasongguanli'), + component: () => import('@/views/copyofprocess/liuchengchasongguanli.vue'), + name: 'liuchengchasongguanli', meta: { title: '论坛管理' } @@ -152,7 +155,8 @@ export const constantRoutes = [ { path: '/organizationManage', component: () => - import('@/views/organizationManage/organizationManage.vue'), + import('@/views/organizationManage/organizationManage.vue'), + name: 'organizationManage', meta: { title: '论坛交流' } @@ -160,7 +164,7 @@ export const constantRoutes = [ { path: '/datamapping', component: () => import('@/views/datamapping/shujuyingshe.vue'), - meta: { title: '自主学习计划制定指导', noCache: true } + meta: { title: '自主学习计划制定指导' } }, { path: '/organizationManage', diff --git a/demo-web-ui/src/utils/request.js b/demo-web-ui/src/utils/request.js index 7420aec..f8cdd1c 100644 --- a/demo-web-ui/src/utils/request.js +++ b/demo-web-ui/src/utils/request.js @@ -7,7 +7,7 @@ import { getToken, getStorage } from '@/utils/auth' console.log('dadadadad', process.env.VUE_APP_URL) const service = axios.create({ baseURL: process.env.VUE_APP_URL, // url = base url + request url - timeout: 5000, // request timeout + timeout: 50000, // request timeout // headers: { 'Content-Type': 'application/json' } }) diff --git a/demo-web-ui/src/views/copyofprocess/liuchengchasongguanli.vue b/demo-web-ui/src/views/copyofprocess/liuchengchasongguanli.vue index c7bbae1..0aa7679 100644 --- a/demo-web-ui/src/views/copyofprocess/liuchengchasongguanli.vue +++ b/demo-web-ui/src/views/copyofprocess/liuchengchasongguanli.vue @@ -1,315 +1,211 @@ - + diff --git a/demo-web-ui/src/views/organizationManage/organizationManage.vue b/demo-web-ui/src/views/organizationManage/organizationManage.vue index 3e27716..a19d896 100644 --- a/demo-web-ui/src/views/organizationManage/organizationManage.vue +++ b/demo-web-ui/src/views/organizationManage/organizationManage.vue @@ -1,660 +1,214 @@ - - + \ No newline at end of file diff --git a/demo-web-ui/src/views/organizationManage/organizationManageInfo.vue b/demo-web-ui/src/views/organizationManage/organizationManageInfo.vue new file mode 100644 index 0000000..7f3b3aa --- /dev/null +++ b/demo-web-ui/src/views/organizationManage/organizationManageInfo.vue @@ -0,0 +1,157 @@ + + + + + diff --git a/demo-web-ui/src/views/personalization/personalization.vue b/demo-web-ui/src/views/personalization/personalization.vue index b30ce33..24497ac 100644 --- a/demo-web-ui/src/views/personalization/personalization.vue +++ b/demo-web-ui/src/views/personalization/personalization.vue @@ -1,117 +1,172 @@ + }, + save() { - + diff --git a/demo-web-ui/src/views/region/region.vue b/demo-web-ui/src/views/region/region.vue index 1f0db5e..103088b 100644 --- a/demo-web-ui/src/views/region/region.vue +++ b/demo-web-ui/src/views/region/region.vue @@ -1,563 +1,204 @@ - - - - - - + diff --git a/demo-web-ui/src/views/workflow/definition/definition.vue b/demo-web-ui/src/views/workflow/definition/definition.vue index 7075a90..7445342 100644 --- a/demo-web-ui/src/views/workflow/definition/definition.vue +++ b/demo-web-ui/src/views/workflow/definition/definition.vue @@ -1,77 +1,33 @@