From b92aab2d41ba17fc274060ecc6246e55148622cf Mon Sep 17 00:00:00 2001 From: guoxing <1369478551@qq.com> Date: Thu, 4 May 2023 14:18:00 +0800 Subject: [PATCH] 11111111111 --- demo-web-ui/.env.development | 6 +- .../src/api/system/datamapping/datamapping.js | 15 +- demo-web-ui/src/api/system/region/region.js | 11 + demo-web-ui/src/router/index.js | 51 +-- .../src/views/datamapping/shujuyingshe.vue | 364 ++++++------------ .../organizationManageInfo.vue | 5 +- demo-web-ui/src/views/region/region.vue | 20 +- 7 files changed, 193 insertions(+), 279 deletions(-) diff --git a/demo-web-ui/.env.development b/demo-web-ui/.env.development index 71fa840..bf4ed3f 100644 --- a/demo-web-ui/.env.development +++ b/demo-web-ui/.env.development @@ -5,7 +5,5 @@ ENV = 'development' VUE_APP_BASE_API = '/api' ## 配置测试和本地开发时的 接口地址 -##VUE_APP_URL = "http://26077a35f5.wicp.vip" -## VUE_APP_URL = "http://anrui.yyundong.com" -##VUE_APP_URL = "http://1mn7264414.qicp.vip" -VUE_APP_URL = "http://39.104.100.138:9112" +##VUE_APP_URL = "http://39.104.100.138:9112" +VUE_APP_URL = "http://192.168.3.183:9112" diff --git a/demo-web-ui/src/api/system/datamapping/datamapping.js b/demo-web-ui/src/api/system/datamapping/datamapping.js index aa8e59e..42a86e1 100644 --- a/demo-web-ui/src/api/system/datamapping/datamapping.js +++ b/demo-web-ui/src/api/system/datamapping/datamapping.js @@ -6,5 +6,18 @@ export function listPage(data) { method: 'post', data: data, headers: { 'Content-Type': 'application/json' } - }) + }) + } + +// 自主学习计划指导 + +export function selectSysPlanStudent(data) { + return request({ + url: '/v1/sysPlan/selectSysPlanStudent', + method: 'post', + data: data, + headers: { 'Content-Type': 'application/json' } + }) + +} \ 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 4bf541e..b0b81ee 100644 --- a/demo-web-ui/src/api/system/region/region.js +++ b/demo-web-ui/src/api/system/region/region.js @@ -128,6 +128,17 @@ export default { }) }, + //提交数据 + upSysPlan: function(data) { + return request({ + url: 'v1/sysPlan/upSysPlan', + 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 65771fd..f2a8f95 100644 --- a/demo-web-ui/src/router/index.js +++ b/demo-web-ui/src/router/index.js @@ -7,8 +7,7 @@ Vue.use(Router) /* 所有角色可以访问/没有权限要求的基页 */ -export const constantRoutes = [ - { +export const constantRoutes = [{ path: '/redirect', component: Layout, hidden: true, @@ -33,8 +32,7 @@ export const constantRoutes = [ path: '/index', component: Layout, redirect: '/index', - children: [ - { + children: [{ path: '/index', component: () => import('@/views/index.vue'), @@ -56,7 +54,7 @@ export const constantRoutes = [ path: '/region', component: () => import('@/views/region/region.vue'), - name: 'region', + name: 'region', meta: { title: '自主学习计划管理' } @@ -117,7 +115,7 @@ export const constantRoutes = [ { path: '/personalization', component: () => import('@/views/personalization/personalization.vue'), - name: 'personalization', + name: 'personalization', meta: { title: '公告管理' } @@ -125,7 +123,7 @@ export const constantRoutes = [ { path: '/copyofprocess', component: () => import('@/views/copyofprocess/liuchengchasongguanli.vue'), - name: 'liuchengchasongguanli', + name: 'liuchengchasongguanli', meta: { title: '论坛管理' } @@ -156,15 +154,18 @@ export const constantRoutes = [ path: '/organizationManage', component: () => import('@/views/organizationManage/organizationManage.vue'), - name: 'organizationManage', + name: 'organizationManage', meta: { title: '论坛交流' } }, { path: '/datamapping', - component: () => import('@/views/datamapping/shujuyingshe.vue'), - meta: { title: '自主学习计划制定指导' } + component: () => import('@/views/datamapping/shujuyingshe.vue'), + name: 'shujuyingshe', + meta: { + title: '自主学习计划制定指导' + } }, { path: '/organizationManage', @@ -207,7 +208,8 @@ export const constantRoutes = [ redirect: '/RoleAdminister', children: [{ path: '/RoleAdminister', - component: () => import('@/views/RoleAdminister/RoleAdminister.vue'), name: 'RoleAdminister', + component: () => import('@/views/RoleAdminister/RoleAdminister.vue'), + name: 'RoleAdminister', meta: { title: '角色管理' } @@ -363,8 +365,7 @@ export const constantRoutes = [ meta: { title: '用户管理' }, - children: [ - { + children: [{ path: '/workflow/definition', component: () => import('@/views/workflow/definition/definition.vue'), @@ -392,7 +393,10 @@ export const constantRoutes = [ path: '/datamapping', component: () => import('@/views/datamapping/shujuyingshe.vue'), name: 'shujuyingshe', - meta: { title: '数据映射', noCache: true } + meta: { + title: '数据映射', + noCache: true + } }] }, // { @@ -450,12 +454,13 @@ export const constantRoutes = [ path: '/flow/flowRecordForBusiness', component: () => import('@/views/flow/flowRecordForBusiness'), name: 'flowRecordForBusiness' - }/*, - { - path: '/portal/flow/flowRecord', - component: ()=> import('@/views/flow/flowRecord'), - name: 'flowRecord' - }*/ + } + /*, + { + path: '/portal/flow/flowRecord', + component: ()=> import('@/views/flow/flowRecord'), + name: 'flowRecord' + }*/ // 404 page must be placed at the end !!! // { path: '*', redirect: '/404', hidden: true } ] @@ -464,7 +469,9 @@ export const constantRoutes = [ const createRouter = () => new Router({ // mode: 'history', // require service support - scrollBehavior: () => ({ y: 0 }), + scrollBehavior: () => ({ + y: 0 + }), routes: constantRoutes }) @@ -476,4 +483,4 @@ export function resetRouter() { router.matcher = newRouter.matcher // reset router } -export default router +export default router diff --git a/demo-web-ui/src/views/datamapping/shujuyingshe.vue b/demo-web-ui/src/views/datamapping/shujuyingshe.vue index 0a419a0..c78e2ef 100644 --- a/demo-web-ui/src/views/datamapping/shujuyingshe.vue +++ b/demo-web-ui/src/views/datamapping/shujuyingshe.vue @@ -1,261 +1,135 @@ - + + diff --git a/demo-web-ui/src/views/organizationManage/organizationManageInfo.vue b/demo-web-ui/src/views/organizationManage/organizationManageInfo.vue index 7f3b3aa..9eec204 100644 --- a/demo-web-ui/src/views/organizationManage/organizationManageInfo.vue +++ b/demo-web-ui/src/views/organizationManage/organizationManageInfo.vue @@ -60,7 +60,7 @@ @@ -88,11 +88,10 @@ activeNames: ['1'], form: {}, temp: [] ,// 添加和修改 - userSid :"" + userSid :window.sessionStorage.getItem('userSid') }; }, mounted() { - this.userSid = window.sessionStorage.getItem('userSid') console.log("ddddddddddddddd", this.userSid ) }, methods: { diff --git a/demo-web-ui/src/views/region/region.vue b/demo-web-ui/src/views/region/region.vue index 103088b..2f7a678 100644 --- a/demo-web-ui/src/views/region/region.vue +++ b/demo-web-ui/src/views/region/region.vue @@ -9,10 +9,10 @@