From 7a5ca142106854bf0b17950b8bfdaf5267e3a66d Mon Sep 17 00:00:00 2001
From: fengdong777 <1478994744@qq.com>
Date: Thu, 4 May 2023 18:20:23 +0800
Subject: [PATCH] 5.4
---
.../src/api/system/datamapping/datamapping.js | 33 +-
demo-web-ui/src/api/system/region/region.js | 44 +-
demo-web-ui/src/store/modules/user.js | 1 +
.../src/views/datamapping/shujuyingshe.vue | 59 +-
.../organizationManage/organizationManage.vue | 353 ++++-----
.../src/views/postManage/postManage.vue | 716 ++++++------------
demo-web-ui/src/views/region/region.vue | 38 +-
7 files changed, 518 insertions(+), 726 deletions(-)
diff --git a/demo-web-ui/src/api/system/datamapping/datamapping.js b/demo-web-ui/src/api/system/datamapping/datamapping.js
index 42a86e1..a741519 100644
--- a/demo-web-ui/src/api/system/datamapping/datamapping.js
+++ b/demo-web-ui/src/api/system/datamapping/datamapping.js
@@ -1,23 +1,34 @@
import request from '@/utils/request'
-export function listPage(data) {
+export function saveSysPlanSchedule(data) {
return request({
- url: '/portal/v1/sysmapping/listPage',
+ url: 'v1/sysPlanSchedule/saveSysPlanSchedule',
method: 'post',
data: data,
headers: { 'Content-Type': 'application/json' }
- })
+ })
}
-
-// 自主学习计划指导
-
-export function selectSysPlanStudent(data) {
+
+// 自主学习计划指导
+
+export function selectSysPlanStudent (data) {
return request({
- url: '/v1/sysPlan/selectSysPlanStudent',
+ url: `v1/sysPlan/selectSysPlanStudent/${data.userName}`,
method: 'post',
data: data,
- headers: { 'Content-Type': 'application/json' }
- })
-
+ headers: {
+ 'Content-Type': 'application/json'
+ }
+ })
+}
+export function selectSysPlanComment (data) {
+ return request({
+ url: `v1/sysPlan/selectSysPlanComment/${data.sid}`,
+ 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 b0b81ee..0ed2c91 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',
@@ -85,21 +85,20 @@ export default {
// 自主学姐计划
// 分页列表
- selectSysPlan: function(params) {
+ selectSysPlanXs: function (data) {
return request({
- url: '/v1/sysPlan/selectSysPlan',
+ url: `v1/sysPlan/selectSysPlanXs/${data.userName}`,
method: 'post',
- params: params,
+ data: data,
headers: {
'Content-Type': 'application/json'
}
})
},
-
// 新增保存
- saveSysPlan: function(data) {
+ saveSysPlan: function (data) {
return request({
- url: '/v1/sysPlan/saveSysPlan',
+ url: 'v1/sysPlanSchedule/saveSysPlanSchedule',
method: 'post',
data: data,
headers: {
@@ -107,9 +106,15 @@ export default {
}
})
},
+ selectSysPlanComment: function (sid) {
+ return request({
+ url: 'v1/sysPlan/selectSysPlanComment/' + sid,
+ method: 'post'
+ })
+ },
// 删除
- deleteSysPlan: function(sid) {
+ deleteSysPlan: function (sid) {
return request({
url: '/v1/sysPlan/deleteSysPlan/' + sid,
method: 'delete'
@@ -117,7 +122,7 @@ export default {
},
//点击修改回显数据
- alterSysPlant: function(data) {
+ alterSysPlant: function (data) {
return request({
url: '/v1/sysPlan/alterSysPlan',
method: 'POST',
@@ -128,18 +133,7 @@ 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/store/modules/user.js b/demo-web-ui/src/store/modules/user.js
index 6fbe6fc..248e74a 100644
--- a/demo-web-ui/src/store/modules/user.js
+++ b/demo-web-ui/src/store/modules/user.js
@@ -49,6 +49,7 @@ const actions = {
}
commit('SET_UESRINFO', user)
window.sessionStorage.setItem('userSid', user.userSid)
+ window.sessionStorage.setItem('userName', user.userName)
window.sessionStorage.setItem('Orgname', user.Orgname)
window.sessionStorage.setItem('departmentName', user.departmentName)
window.sessionStorage.setItem('name', user.name)
diff --git a/demo-web-ui/src/views/datamapping/shujuyingshe.vue b/demo-web-ui/src/views/datamapping/shujuyingshe.vue
index c78e2ef..ba5e6d5 100644
--- a/demo-web-ui/src/views/datamapping/shujuyingshe.vue
+++ b/demo-web-ui/src/views/datamapping/shujuyingshe.vue
@@ -19,9 +19,9 @@
-
-
-
+
+
+
@@ -36,34 +36,34 @@
-->
- {{form.teacherNo}}
-
+
+
学生学号 |
- {{form.studentNo}}
-
+
+
|
学习计划内容 |
- {{form.planContent}}
-
+
+
+ |
+
+
+ 反馈意见 |
+
+
+
|
-
-
- 反馈意见 |
-
-
-
- |
- 保存
+ 保存
@@ -73,8 +73,8 @@
\ No newline at end of file
+.my-tabs {
+ margin-top: 10px;
+}
+
diff --git a/demo-web-ui/src/views/postManage/postManage.vue b/demo-web-ui/src/views/postManage/postManage.vue
index 675225d..0c013d4 100644
--- a/demo-web-ui/src/views/postManage/postManage.vue
+++ b/demo-web-ui/src/views/postManage/postManage.vue
@@ -1,505 +1,289 @@
-
-
-
-
-
-
-
-
-
-
-
- 修改
- 删除
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+ 查询
+
+
+
+
+
+
+
+ 编辑
+
+
+
+
+
+
+
+
+
+
+
+
+
- 上级岗位 |
-
-
-
-
+ 学习计划 |
+
+
+
|
|
- 岗位名称 |
+ 进度内容 |
-
+
|
- 岗位职级 |
+ 反馈意见 |
-
-
-
-
+
|
+
+
+ 保存
+
+
+
+
+
+
- 岗位编码 |
+ 学习计划 |
-
+
+
+
+
|
-
+
- -->
-
+
- -->
+
-
-
-
-
-
-
-
- 上级岗位 |
-
-
-
-
-
- |
-
-
- 岗位名称 |
-
-
- |
-
-
- 岗位职级 |
-
-
-
-
-
- |
-
-
- 岗位编码 |
-
-
- |
-
-
-
-
-
- 保 存
-
-
-
-
+
+
+
+
-
diff --git a/demo-web-ui/src/views/region/region.vue b/demo-web-ui/src/views/region/region.vue
index 2f7a678..d272457 100644
--- a/demo-web-ui/src/views/region/region.vue
+++ b/demo-web-ui/src/views/region/region.vue
@@ -9,10 +9,10 @@
-
+
编辑
-
+
删除