Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
roncoo
roncoo-education
提交
4f23638d
R
roncoo-education
项目概览
roncoo
/
roncoo-education
大约 1 年 前同步成功
通知
146
Star
5
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
R
roncoo-education
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
4f23638d
编写于
7月 26, 2019
作者:
K
keyinghao
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
提交
上级
f387db44
变更
76
隐藏空白更改
内联
并排
Showing
76 changed file
with
1283 addition
and
1045 deletion
+1283
-1045
roncoo-education-boss/src/api/adv.js
roncoo-education-boss/src/api/adv.js
+0
-46
roncoo-education-boss/src/api/commonality.js
roncoo-education-boss/src/api/commonality.js
+18
-1
roncoo-education-boss/src/api/course.js
roncoo-education-boss/src/api/course.js
+0
-135
roncoo-education-boss/src/api/homepage.js
roncoo-education-boss/src/api/homepage.js
+281
-0
roncoo-education-boss/src/api/lecturer.js
roncoo-education-boss/src/api/lecturer.js
+110
-0
roncoo-education-boss/src/api/login.js
roncoo-education-boss/src/api/login.js
+1
-0
roncoo-education-boss/src/api/order.js
roncoo-education-boss/src/api/order.js
+38
-0
roncoo-education-boss/src/api/sys.js
roncoo-education-boss/src/api/sys.js
+370
-0
roncoo-education-boss/src/api/system.js
roncoo-education-boss/src/api/system.js
+0
-466
roncoo-education-boss/src/api/user.js
roncoo-education-boss/src/api/user.js
+3
-155
roncoo-education-boss/src/api/zone.js
roncoo-education-boss/src/api/zone.js
+0
-2
roncoo-education-boss/src/router/index.js
roncoo-education-boss/src/router/index.js
+5
-0
roncoo-education-boss/src/router/menu.json5
roncoo-education-boss/src/router/menu.json5
+7
-0
roncoo-education-boss/src/store/modules/menu.js
roncoo-education-boss/src/store/modules/menu.js
+4
-1
roncoo-education-boss/src/store/modules/opts.js
roncoo-education-boss/src/store/modules/opts.js
+1
-1
roncoo-education-boss/src/utils/request.js
roncoo-education-boss/src/utils/request.js
+2
-2
roncoo-education-boss/src/views/course/course/audit/edit.vue
roncoo-education-boss/src/views/course/course/audit/edit.vue
+2
-2
roncoo-education-boss/src/views/course/course/course/edit.vue
...oo-education-boss/src/views/course/course/course/edit.vue
+2
-2
roncoo-education-boss/src/views/homepage/adv/pc/edit.vue
roncoo-education-boss/src/views/homepage/adv/pc/edit.vue
+10
-10
roncoo-education-boss/src/views/homepage/adv/pc/index.vue
roncoo-education-boss/src/views/homepage/adv/pc/index.vue
+19
-11
roncoo-education-boss/src/views/homepage/website/navBar/add.vue
...-education-boss/src/views/homepage/website/navBar/add.vue
+1
-1
roncoo-education-boss/src/views/homepage/website/navBar/edit.vue
...education-boss/src/views/homepage/website/navBar/edit.vue
+1
-1
roncoo-education-boss/src/views/homepage/website/navBar/index.vue
...ducation-boss/src/views/homepage/website/navBar/index.vue
+18
-9
roncoo-education-boss/src/views/homepage/website/websiteLink/add.vue
...ation-boss/src/views/homepage/website/websiteLink/add.vue
+1
-1
roncoo-education-boss/src/views/homepage/website/websiteLink/edit.vue
...tion-boss/src/views/homepage/website/websiteLink/edit.vue
+5
-5
roncoo-education-boss/src/views/homepage/website/websiteLink/index.vue
...ion-boss/src/views/homepage/website/websiteLink/index.vue
+13
-4
roncoo-education-boss/src/views/homepage/website/websiteNav/add.vue
...cation-boss/src/views/homepage/website/websiteNav/add.vue
+7
-1
roncoo-education-boss/src/views/homepage/website/websiteNav/edit.vue
...ation-boss/src/views/homepage/website/websiteNav/edit.vue
+10
-4
roncoo-education-boss/src/views/homepage/website/websiteNav/index.vue
...tion-boss/src/views/homepage/website/websiteNav/index.vue
+7
-3
roncoo-education-boss/src/views/homepage/website/websiteNavArticle/index.vue
...ss/src/views/homepage/website/websiteNavArticle/index.vue
+121
-0
roncoo-education-boss/src/views/homepage/zone/course/add.vue
roncoo-education-boss/src/views/homepage/zone/course/add.vue
+9
-3
roncoo-education-boss/src/views/homepage/zone/course/edit.vue
...oo-education-boss/src/views/homepage/zone/course/edit.vue
+8
-7
roncoo-education-boss/src/views/homepage/zone/course/index.vue
...o-education-boss/src/views/homepage/zone/course/index.vue
+28
-8
roncoo-education-boss/src/views/homepage/zone/pc/edit.vue
roncoo-education-boss/src/views/homepage/zone/pc/edit.vue
+16
-5
roncoo-education-boss/src/views/homepage/zone/pc/index.vue
roncoo-education-boss/src/views/homepage/zone/pc/index.vue
+33
-13
roncoo-education-boss/src/views/lecturer/lecturer/audit/add.vue
...-education-boss/src/views/lecturer/lecturer/audit/add.vue
+37
-46
roncoo-education-boss/src/views/lecturer/lecturer/audit/audit.vue
...ducation-boss/src/views/lecturer/lecturer/audit/audit.vue
+2
-2
roncoo-education-boss/src/views/lecturer/lecturer/audit/edit.vue
...education-boss/src/views/lecturer/lecturer/audit/edit.vue
+4
-3
roncoo-education-boss/src/views/lecturer/lecturer/audit/index.vue
...ducation-boss/src/views/lecturer/lecturer/audit/index.vue
+4
-4
roncoo-education-boss/src/views/lecturer/lecturer/lecturer/edit.vue
...cation-boss/src/views/lecturer/lecturer/lecturer/edit.vue
+4
-11
roncoo-education-boss/src/views/lecturer/lecturer/lecturer/index.vue
...ation-boss/src/views/lecturer/lecturer/lecturer/index.vue
+4
-4
roncoo-education-boss/src/views/lecturer/profit/profit/edit.vue
...-education-boss/src/views/lecturer/profit/profit/edit.vue
+2
-2
roncoo-education-boss/src/views/lecturer/profit/profit/index.vue
...education-boss/src/views/lecturer/profit/profit/index.vue
+3
-3
roncoo-education-boss/src/views/login/index.vue
roncoo-education-boss/src/views/login/index.vue
+4
-5
roncoo-education-boss/src/views/order/order/orderInfo/index.vue
...-education-boss/src/views/order/order/orderInfo/index.vue
+7
-7
roncoo-education-boss/src/views/order/order/orderInfo/remark.vue
...education-boss/src/views/order/order/orderInfo/remark.vue
+2
-2
roncoo-education-boss/src/views/sys/log/orderPay/index.vue
roncoo-education-boss/src/views/sys/log/orderPay/index.vue
+1
-1
roncoo-education-boss/src/views/sys/log/sys/index.vue
roncoo-education-boss/src/views/sys/log/sys/index.vue
+1
-1
roncoo-education-boss/src/views/sys/msg/msg/add.vue
roncoo-education-boss/src/views/sys/msg/msg/add.vue
+3
-12
roncoo-education-boss/src/views/sys/msg/msg/edit.vue
roncoo-education-boss/src/views/sys/msg/msg/edit.vue
+3
-3
roncoo-education-boss/src/views/sys/msg/msg/index.vue
roncoo-education-boss/src/views/sys/msg/msg/index.vue
+1
-1
roncoo-education-boss/src/views/sys/msg/msgUser/index.vue
roncoo-education-boss/src/views/sys/msg/msgUser/index.vue
+5
-1
roncoo-education-boss/src/views/sys/msg/template/add.vue
roncoo-education-boss/src/views/sys/msg/template/add.vue
+1
-1
roncoo-education-boss/src/views/sys/msg/template/edit.vue
roncoo-education-boss/src/views/sys/msg/template/edit.vue
+1
-1
roncoo-education-boss/src/views/sys/msg/template/index.vue
roncoo-education-boss/src/views/sys/msg/template/index.vue
+1
-1
roncoo-education-boss/src/views/sys/platform/platform/add.vue
...oo-education-boss/src/views/sys/platform/platform/add.vue
+1
-1
roncoo-education-boss/src/views/sys/platform/platform/edit.vue
...o-education-boss/src/views/sys/platform/platform/edit.vue
+1
-1
roncoo-education-boss/src/views/sys/platform/platform/index.vue
...-education-boss/src/views/sys/platform/platform/index.vue
+2
-2
roncoo-education-boss/src/views/sys/pms/menu/add.vue
roncoo-education-boss/src/views/sys/pms/menu/add.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/menu/edit.vue
roncoo-education-boss/src/views/sys/pms/menu/edit.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/menu/index.vue
roncoo-education-boss/src/views/sys/pms/menu/index.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/role/add.vue
roncoo-education-boss/src/views/sys/pms/role/add.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/role/edit.vue
roncoo-education-boss/src/views/sys/pms/role/edit.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/role/index.vue
roncoo-education-boss/src/views/sys/pms/role/index.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/role/pms.vue
roncoo-education-boss/src/views/sys/pms/role/pms.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/user/add.vue
roncoo-education-boss/src/views/sys/pms/user/add.vue
+2
-2
roncoo-education-boss/src/views/sys/pms/user/edit.vue
roncoo-education-boss/src/views/sys/pms/user/edit.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/user/index.vue
roncoo-education-boss/src/views/sys/pms/user/index.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/user/password.vue
roncoo-education-boss/src/views/sys/pms/user/password.vue
+1
-1
roncoo-education-boss/src/views/sys/pms/user/role.vue
roncoo-education-boss/src/views/sys/pms/user/role.vue
+1
-1
roncoo-education-boss/src/views/sys/website/sys/index.vue
roncoo-education-boss/src/views/sys/website/sys/index.vue
+1
-6
roncoo-education-boss/src/views/sys/website/website/index.vue
...oo-education-boss/src/views/sys/website/website/index.vue
+3
-3
roncoo-education-boss/src/views/user/user/studyLog/index.vue
roncoo-education-boss/src/views/user/user/studyLog/index.vue
+1
-1
roncoo-education-gateway/src/main/java/com/roncoo/education/gateway/common/FilterPre.java
...n/java/com/roncoo/education/gateway/common/FilterPre.java
+5
-3
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/common/req/WebsiteNavArticleUpdateREQ.java
...system/service/common/req/WebsiteNavArticleUpdateREQ.java
+5
-0
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/common/resq/WebsiteNavArticleViewRESQ.java
...system/service/common/resq/WebsiteNavArticleViewRESQ.java
+10
-5
未找到文件。
roncoo-education-boss/src/api/adv.js
已删除
100644 → 0
浏览文件 @
f387db44
import
request
from
'
@/utils/request
'
// 首页轮播PC端分页列表接口
export
function
coursePcAdvList
(
params
,
page
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/adv/list
'
,
method
:
'
post
'
,
data
:
{
pageNum
:
page
,
numPerPage
:
pageSize
,
...
params
}
})
}
// 轮播广告添加接口
export
function
coursePcAdvSave
(
params
)
{
return
request
({
url
:
'
/course/pc/adv/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 轮播广告更新接口
export
function
coursePcAdvUpdate
(
params
)
{
return
request
({
url
:
'
/course/pc/adv/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 轮播广告删除接口
export
function
coursePcAdvDelete
(
params
)
{
return
request
({
url
:
'
/course/pc/adv/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 轮播广告查看接口
export
function
coursePcAdvView
(
params
)
{
return
request
({
url
:
'
/course/pc/adv/view
'
,
method
:
'
post
'
,
data
:
params
})
}
roncoo-education-boss/src/api/commonality.js
浏览文件 @
4f23638d
...
...
@@ -8,4 +8,21 @@ export function uploadPic(data = {}) {
method
:
'
post
'
,
data
:
data
})
}
\ No newline at end of file
}
// 列出用户菜单
export
function
menuUserList
(
params
)
{
return
request
({
url
:
'
/system/pc/menu/user/list
'
,
method
:
'
post
'
,
data
:
params
})
}
export
function
enumList
(
enumName
)
{
return
request
({
url
:
`/system/pc/sys/enum/list`
,
method
:
'
post
'
,
data
:
{
enumName
:
enumName
}
})
}
roncoo-education-boss/src/api/course.js
浏览文件 @
4f23638d
...
...
@@ -107,138 +107,3 @@ export function categoryDelete(data = {}) {
data
:
data
})
}
// 首页专区PC端分页列表接口
export
function
coursePcZoneList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/zone/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 专区添加接口
export
function
coursePcZoneSave
(
params
)
{
return
request
({
url
:
'
/course/pc/zone/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 专区删除接口
export
function
coursePcZoneDelete
(
params
)
{
return
request
({
url
:
'
/course/pc/zone/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 专区更新接口
export
function
coursePcZoneUpdate
(
params
)
{
return
request
({
url
:
'
/course/pc/zone/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 专区查看接口
export
function
coursePcZoneView
(
params
)
{
return
request
({
url
:
'
/course/pc/zone/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 订单分页列表接口
export
function
orderList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/order/info/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 订单后台备注更新接口
export
function
orderUpdate
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/order/info/update
'
,
method
:
'
post
'
,
data
:
data
})
}
// 订单查看接口
export
function
orderView
(
id
)
{
return
request
({
url
:
'
/course/pc/order/info/view
'
,
method
:
'
post
'
,
data
:
{
id
:
id
}
})
}
// 统计订单收入情况接口
export
function
orderStatistical
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/order/info/statistical
'
,
method
:
'
post
'
,
data
:
data
})
}
// 用户学习日志分页列表接口
export
function
studyLoglist
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/course/user/study/log/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 支付记录分页列表接口
export
function
orderPaylist
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/order/pay/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 分页列出专区课程信息
export
function
zoneCourselist
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/zone/course/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 删除专区课程信息
export
function
zoneCourseDelete
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/zone/course/delete
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新专区课程信息
export
function
zoneCourseUpdate
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/zone/course/update
'
,
method
:
'
post
'
,
data
:
data
})
}
// 添加专区课程信息
export
function
zoneCourseSave
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/zone/course/save
'
,
method
:
'
post
'
,
data
:
data
})
}
roncoo-education-boss/src/api/homepage.js
0 → 100644
浏览文件 @
4f23638d
import
request
from
'
@/utils/request
'
// 首页管理接口
// 首页轮播PC端分页列表接口
export
function
advList
(
params
,
page
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/adv/list
'
,
method
:
'
post
'
,
data
:
{
pageNum
:
page
,
numPerPage
:
pageSize
,
...
params
}
})
}
// 轮播广告添加接口
export
function
advSave
(
params
)
{
return
request
({
url
:
'
/course/pc/adv/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 轮播广告更新接口
export
function
advUpdate
(
params
)
{
return
request
({
url
:
'
/course/pc/adv/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 轮播广告删除接口
export
function
advDelete
(
params
)
{
return
request
({
url
:
'
/course/pc/adv/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 轮播广告查看接口
export
function
advView
(
params
)
{
return
request
({
url
:
'
/course/pc/adv/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 头部导航分页列表接口
export
function
navBarList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/nav/bar/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 头部导航保存接口
export
function
navBarSave
(
params
)
{
return
request
({
url
:
'
/system/pc/nav/bar/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 头部导航删除接口
export
function
navBarDelete
(
params
)
{
return
request
({
url
:
'
/system/pc/nav/bar/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 头部导航删除接口
export
function
navBarUpdate
(
params
)
{
return
request
({
url
:
'
/system/pc/nav/bar/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 头部导航查看接口
export
function
navBarView
(
params
)
{
return
request
({
url
:
'
/system/pc/nav/bar/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点友情链接分页列表接口
export
function
websiteLinkList
(
params
,
page
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/website/link/list
'
,
method
:
'
post
'
,
data
:
{
pageNum
:
page
,
numPerPage
:
pageSize
,
...
params
}
})
}
// 站点友情链接保存接口
export
function
websiteLinkSave
(
params
)
{
return
request
({
url
:
'
/system/pc/website/link/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点友情链接删除接口
export
function
websiteLinkDelete
(
params
)
{
return
request
({
url
:
'
/system/pc/website/link/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点友情链接更新接口
export
function
websiteLinkUpdate
(
params
)
{
return
request
({
url
:
'
/system/pc/website/link/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点友情链接查看接口
export
function
websiteLinkView
(
params
)
{
return
request
({
url
:
'
/system/pc/website/link/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航分页列表接口
export
function
websiteNavList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/website/nav/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 底部导航保存接口
export
function
websiteNavSave
(
params
)
{
return
request
({
url
:
'
/system/pc/website/nav/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航删除接口
export
function
websiteNavDelete
(
params
)
{
return
request
({
url
:
'
/system/pc/website/nav/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航航更新接口
export
function
websiteNavUpate
(
params
)
{
return
request
({
url
:
'
/system/pc/website/nav/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航查看接口
export
function
websiteNavView
(
params
)
{
return
request
({
url
:
'
/system/pc/website/nav/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点导航文章查看
export
function
navArticleView
(
data
=
{})
{
return
request
({
url
:
'
/system/pc/website/nav/article/view
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新站点导航文章接口
export
function
navArticleUpdate
(
data
=
{})
{
return
request
({
url
:
'
/system/pc/website/nav/article/update
'
,
method
:
'
post
'
,
data
:
data
})
}
// 首页专区PC端分页列表接口
export
function
pcZoneList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/zone/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 专区添加接口
export
function
pcZoneSave
(
params
)
{
return
request
({
url
:
'
/course/pc/zone/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 专区删除接口
export
function
pcZoneDelete
(
params
)
{
return
request
({
url
:
'
/course/pc/zone/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 专区更新接口
export
function
pcZoneUpdate
(
params
)
{
return
request
({
url
:
'
/course/pc/zone/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 专区查看接口
export
function
pcZoneView
(
params
)
{
return
request
({
url
:
'
/course/pc/zone/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 分页列出专区课程信息
export
function
zoneCourselist
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/zone/course/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 删除专区课程信息
export
function
zoneCourseDelete
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/zone/course/delete
'
,
method
:
'
post
'
,
data
:
data
})
}
// 更新专区课程信息
export
function
zoneCourseUpdate
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/zone/course/update
'
,
method
:
'
post
'
,
data
:
data
})
}
// 添加专区课程信息
export
function
zoneCourseSave
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/zone/course/save
'
,
method
:
'
post
'
,
data
:
data
})
}
roncoo-education-boss/src/api/lecturer.js
0 → 100644
浏览文件 @
4f23638d
import
request
from
'
@/utils/request
'
// 讲师接口
// 讲师分页列表接口
export
function
lecturerList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/user/pc/lecturer/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 更新讲师信息
export
function
lecturerUpdate
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 根据讲师id或用户编号查看讲师信息
export
function
lecturerView
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师审核分页列表接口
export
function
lecturerAuditList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/user/pc/lecturer/audit/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 添加讲师审核信息
export
function
lecturerAuditSave
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 更新讲师审核信息
export
function
lecturerAuditUpdate
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师审核
export
function
lecturerAudit
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/audit`
,
method
:
'
post
'
,
data
:
data
})
}
// 根据讲师id查看讲师审核信息
export
function
lecturerAuditView
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 校验手机号是否已注册成为用户或已申请成为讲师
export
function
lecturerAuditCheck
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/check`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师分润分页列表接口
export
function
lecturerProfitList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/user/pc/lecturer/profit/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 讲师提现更新提现状态接口
export
function
lecturerProfitUpdate
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/profit/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师提现批量更新提现状态接口
export
function
lecturerProfitBatch
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/profit/batch`
,
method
:
'
post
'
,
data
:
data
})
}
roncoo-education-boss/src/api/login.js
浏览文件 @
4f23638d
...
...
@@ -8,6 +8,7 @@ export function login(mobile, password, clientId, ip) {
clientId
:
clientId
,
ip
:
ip
}
// 密码登录接口
return
request
({
url
:
'
/user/pc/user/login/password
'
,
method
:
'
post
'
,
...
...
roncoo-education-boss/src/api/order.js
0 → 100644
浏览文件 @
4f23638d
import
request
from
'
@/utils/request
'
// 订单接口
// 订单分页列表接口
export
function
orderList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/order/info/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 订单后台备注更新接口
export
function
orderUpdate
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/order/info/update
'
,
method
:
'
post
'
,
data
:
data
})
}
// 订单查看接口
export
function
orderView
(
id
)
{
return
request
({
url
:
'
/course/pc/order/info/view
'
,
method
:
'
post
'
,
data
:
{
id
:
id
}
})
}
// 统计订单收入情况接口
export
function
orderStatistical
(
data
=
{})
{
return
request
({
url
:
'
/course/pc/order/info/statistical
'
,
method
:
'
post
'
,
data
:
data
})
}
roncoo-education-boss/src/api/sys.js
0 → 100644
浏览文件 @
4f23638d
import
request
from
'
@/utils/request
'
// 支付记录分页列表接口
export
function
orderPaylist
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/course/pc/order/pay/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 后台操作日志分页列表接口
export
function
sysLogList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/sys/log/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 站内信消息分页列表接口
export
function
msgList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/msg/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 站内信消息保存接口
export
function
msgSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息删除接口
export
function
msgDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息更新接口
export
function
msgUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息手动发送接口
export
function
msgPush
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/push`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息查看接口
export
function
msgView
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 用户消息分页列表接口
export
function
msgUserList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/msg/user/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 用户消息删除接口
export
function
msgUserDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/user/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 用户消息查看接口
export
function
msgUserView
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/user/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 消息模板分页列表接口
export
function
templateList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/msg/template/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 消息模板删除接口
export
function
templateDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/template/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 消息模板保存接口
export
function
templateSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/template/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 消息模板更新接口
export
function
templateUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/template/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 获取站点信息接口
export
function
websiteView
(
data
=
{})
{
return
request
({
url
:
`/system/pc/website/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 更新站点信息接口
export
function
websiteUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/website/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 获取系统配置信息
export
function
sysView
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 更新系统配置信息接口
export
function
sysUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 平台信息分页列表接口
export
function
platformList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/user/pc/platform/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 更新平台信息接口
export
function
platformUpdate
(
data
=
{})
{
return
request
({
url
:
`/user/pc/platform/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 平台信息查看接口
export
function
platformView
(
data
=
{})
{
return
request
({
url
:
`/user/pc/platform/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 平台信息保存接口
export
function
platformSave
(
data
=
{})
{
return
request
({
url
:
`/user/pc/platform/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 平台信息删除接口
export
function
platformDelete
(
data
=
{})
{
return
request
({
url
:
`/user/pc/platform/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 后台管理员分页列表接口
export
function
sysUserList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/sys/user/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 后台管理员添加接口
export
function
userSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/user/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 后台管理员删除接口
export
function
userDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/user/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 后台管理员更新接口
export
function
userUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/user/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 后台管理员密码接口
export
function
updatePassword
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/user/update/password`
,
method
:
'
post
'
,
data
:
data
})
}
// 列出角色用户关联信息接口
export
function
roleUserList
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/user/list`
,
method
:
'
post
'
,
data
:
data
})
}
// 添加用户角色信息接口
export
function
roleUserSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/user/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 角色分页列表接口
export
function
roleList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/sys/role/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 角色添加接口
export
function
roleSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 角色删除接口
export
function
roleDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 角色更新接口
export
function
roleUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 列出菜单角色关联信息接口
export
function
menuRoleList
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/role/list`
,
method
:
'
post
'
,
data
:
data
})
}
// 添加角色菜单关联信息接口
export
function
menuRoleSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/role/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 菜单信息列出信息接口
export
function
menuList
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/list`
,
method
:
'
post
'
,
data
:
data
})
}
// 菜单信息保存接口
export
function
menuSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 菜单信息删除接口
export
function
menuDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 菜单信息更新接口
export
function
menuUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/update`
,
method
:
'
post
'
,
data
:
data
})
}
roncoo-education-boss/src/api/system.js
浏览文件 @
4f23638d
import
request
from
'
@/utils/request
'
// 列出用户菜单
export
function
menuUserList
(
params
)
{
return
request
({
url
:
'
/system/pc/menu/user/list
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点友情链接分页列表接口
export
function
websiteLinkList
(
params
,
page
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/website/link/list
'
,
method
:
'
post
'
,
data
:
{
pageNum
:
page
,
numPerPage
:
pageSize
,
...
params
}
})
}
// 站点友情链接保存接口
export
function
websiteLinkSave
(
params
)
{
return
request
({
url
:
'
/system/pc/website/link/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点友情链接删除接口
export
function
websiteLinkDelete
(
params
)
{
return
request
({
url
:
'
/system/pc/website/link/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点友情链接更新接口
export
function
websiteLinkUpdate
(
params
)
{
return
request
({
url
:
'
/system/pc/website/link/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 站点友情链接查看接口
export
function
websiteLinkView
(
params
)
{
return
request
({
url
:
'
/system/pc/website/link/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 头部导航分页列表接口
export
function
navBarList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/nav/bar/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 头部导航保存接口
export
function
navBarSave
(
params
)
{
return
request
({
url
:
'
/system/pc/nav/bar/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 头部导航删除接口
export
function
navBarDelete
(
params
)
{
return
request
({
url
:
'
/system/pc/nav/bar/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 头部导航删除接口
export
function
navBarUpdate
(
params
)
{
return
request
({
url
:
'
/system/pc/nav/bar/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 头部导航查看接口
export
function
navBarView
(
params
)
{
return
request
({
url
:
'
/system/pc/nav/bar/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航分页列表接口
export
function
websiteNavList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/website/nav/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 底部导航保存接口
export
function
websiteNavSave
(
params
)
{
return
request
({
url
:
'
/system/pc/website/nav/save
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航删除接口
export
function
websiteNavDelete
(
params
)
{
return
request
({
url
:
'
/system/pc/website/nav/delete
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航航更新接口
export
function
websiteNavUpate
(
params
)
{
return
request
({
url
:
'
/system/pc/website/nav/update
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航查看接口
export
function
websiteNavView
(
params
)
{
return
request
({
url
:
'
/system/pc/website/nav/view
'
,
method
:
'
post
'
,
data
:
params
})
}
// 底部导航文章查看接口
export
function
articleView
(
params
)
{
return
request
({
...
...
@@ -171,325 +27,3 @@ export function articleUpdate(params) {
})
}
export
function
enumList
(
enumName
)
{
return
request
({
url
:
`/system/pc/sys/enum/list`
,
method
:
'
post
'
,
data
:
{
enumName
:
enumName
}
})
}
// 后台管理员分页列表接口
export
function
sysUserList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/sys/user/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 后台管理员添加接口
export
function
userSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/user/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 后台管理员删除接口
export
function
userDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/user/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 后台管理员更新接口
export
function
userUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/user/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 后台管理员密码接口
export
function
updatePassword
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/user/update/password`
,
method
:
'
post
'
,
data
:
data
})
}
// 列出角色用户关联信息接口
export
function
roleUserList
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/user/list`
,
method
:
'
post
'
,
data
:
data
})
}
// 添加用户角色信息接口
export
function
roleUserSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/user/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 角色分页列表接口
export
function
roleList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/sys/role/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 角色添加接口
export
function
roleSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 角色删除接口
export
function
roleDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 角色更新接口
export
function
roleUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/role/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 列出菜单角色关联信息接口
export
function
menuRoleList
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/role/list`
,
method
:
'
post
'
,
data
:
data
})
}
// 添加角色菜单关联信息接口
export
function
menuRoleSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/role/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 菜单信息列出信息接口
export
function
menuList
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/list`
,
method
:
'
post
'
,
data
:
data
})
}
// 菜单信息保存接口
export
function
menuSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 菜单信息删除接口
export
function
menuDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 菜单信息更新接口
export
function
menuUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/menu/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 获取站点信息接口
export
function
websiteView
(
data
=
{})
{
return
request
({
url
:
`/system/pc/website/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 更新站点信息接口
export
function
websiteUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/website/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 获取系统配置信息
export
function
sysView
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 更新系统配置信息接口
export
function
sysUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/sys/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息分页列表接口
export
function
msgList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/msg/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 站内信消息保存接口
export
function
msgSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息删除接口
export
function
msgDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息更新接口
export
function
msgUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息查看接口
export
function
msgView
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 站内信消息手动发送接口
export
function
msgPush
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/push`
,
method
:
'
post
'
,
data
:
data
})
}
// 用户消息删除接口
export
function
msgUserDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/user/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 用户消息分页列表接口
export
function
msgUserList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/msg/user/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 用户消息查看接口
export
function
msgUserView
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/user/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 消息模板分页列表接口
export
function
templateList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/msg/template/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 消息模板删除接口
export
function
templateDelete
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/template/delete`
,
method
:
'
post
'
,
data
:
data
})
}
// 消息模板保存接口
export
function
templateSave
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/template/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 消息模板更新接口
export
function
templateUpdate
(
data
=
{})
{
return
request
({
url
:
`/system/pc/msg/template/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 后台操作日志分页列表接口
export
function
sysLogList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/system/pc/sys/log/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
roncoo-education-boss/src/api/user.js
浏览文件 @
4f23638d
...
...
@@ -34,164 +34,12 @@ export function userExtView(data = {}) {
data
:
data
})
}
// 上传图片
export
function
uploadPic
(
data
=
{})
{
return
request
({
url
:
`/course/pc/upload/pic`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师分页列表接口
export
function
lecturerList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/user/pc/lecturer/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 更新讲师信息
export
function
lecturerUpdate
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/update`
,
method
:
'
post
'
,
data
:
data
})
}
//
根据讲师id或用户编号查看讲师信息
export
function
lecturerView
(
data
=
{}
)
{
//
用户学习日志分页列表接口
export
function
studyLoglist
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
`/user/pc/lecturer/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师审核分页列表接口
export
function
lecturerAuditList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/user/pc/lecturer/audit/list
'
,
url
:
'
/course/pc/course/user/study/log/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 添加讲师审核信息
export
function
lecturerAuditSave
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 更新讲师审核信息
export
function
lecturerAuditUpdate
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师审核
export
function
lecturerAudit
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/audit`
,
method
:
'
post
'
,
data
:
data
})
}
// 根据讲师id查看讲师审核信息
export
function
lecturerAuditView
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 校验手机号是否已注册成为用户或已申请成为讲师
export
function
lecturerAuditCheck
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/audit/check`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师分润分页列表接口
export
function
lecturerProfitList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/user/pc/lecturer/profit/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 讲师提现更新提现状态接口
export
function
lecturerProfitUpdate
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/profit/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 讲师提现批量更新提现状态接口
export
function
lecturerProfitBatch
(
data
=
{})
{
return
request
({
url
:
`/user/pc/lecturer/profit/batch`
,
method
:
'
post
'
,
data
:
data
})
}
// 平台信息分页列表接口
export
function
platformList
(
params
,
pageCurrent
=
1
,
pageSize
=
20
)
{
return
request
({
url
:
'
/user/pc/platform/list
'
,
method
:
'
post
'
,
data
:
{
pageCurrent
:
pageCurrent
,
pageSize
:
pageSize
,
...
params
}
})
}
// 更新平台信息接口
export
function
platformUpdate
(
data
=
{})
{
return
request
({
url
:
`/user/pc/platform/update`
,
method
:
'
post
'
,
data
:
data
})
}
// 平台信息查看接口
export
function
platformView
(
data
=
{})
{
return
request
({
url
:
`/user/pc/platform/view`
,
method
:
'
post
'
,
data
:
data
})
}
// 平台信息保存接口
export
function
platformSave
(
data
=
{})
{
return
request
({
url
:
`/user/pc/platform/save`
,
method
:
'
post
'
,
data
:
data
})
}
// 平台信息删除接口
export
function
platformDelete
(
data
=
{})
{
return
request
({
url
:
`/user/pc/platform/delete`
,
method
:
'
post
'
,
data
:
data
})
}
roncoo-education-boss/src/api/zone.js
已删除
100644 → 0
浏览文件 @
f387db44
import
request
from
'
@/utils/request
'
roncoo-education-boss/src/router/index.js
浏览文件 @
4f23638d
...
...
@@ -79,6 +79,11 @@ export const asyncRouterMap = [
path
:
'
websiteNav
'
,
component
:
()
=>
import
(
'
@/views/homepage/website/websiteNav
'
),
meta
:
{
requireAuth
:
true
}
},
{
path
:
'
websiteNavArticle
'
,
component
:
()
=>
import
(
'
@/views/homepage/website/websiteNavArticle
'
),
meta
:
{
requireAuth
:
true
}
}
]
}
...
...
roncoo-education-boss/src/router/menu.json5
浏览文件 @
4f23638d
...
...
@@ -101,6 +101,13 @@
"path": "/homepage/website/websiteNav",
"icon": null,
},
{
"id": 2,
"name": "文章管理",
"path": "/homepage/website/websiteNavArticle",
"icon": null,
"hidden": true,
},
{
"id": 2,
"name": "友情链接",
...
...
roncoo-education-boss/src/store/modules/menu.js
浏览文件 @
4f23638d
import
mockMenuData
from
'
@/router/menu.json5
'
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
commonality
'
import
_
from
'
lodash
'
function
flattenMenu
(
menu
,
parents
=
[])
{
...
...
@@ -39,6 +39,9 @@ const menu = {
commit
(
'
set_system_menu
'
,
mockMenuData
)
}
resolve
()
}).
catch
(()
=>
{
// 如果没有权限默认初始化首页权限页路由
commit
(
'
set_system_menu
'
,
mockMenuData
)
})
})
}
...
...
roncoo-education-boss/src/store/modules/opts.js
浏览文件 @
4f23638d
import
{
enumList
}
from
'
@/api/
system
'
import
{
enumList
}
from
'
@/api/
commonality
'
import
{
getSession
,
setSession
}
from
'
@/utils/storage
'
function
toObj
(
arr
)
{
...
...
roncoo-education-boss/src/utils/request.js
浏览文件 @
4f23638d
...
...
@@ -38,8 +38,8 @@ service.interceptors.response.use(
duration
:
5
*
1000
})
//
50008:非法的token; 50012:其他客户端登录了; 50014:Token 过期了
;
if
(
res
.
code
===
50008
||
res
.
code
===
50012
||
res
.
code
===
50014
)
{
//
302:非法的token; 301:Token 过期了; 305 菜单过期
;
if
(
res
.
code
===
302
||
res
.
code
===
301
||
res
.
code
===
305
)
{
MessageBox
.
confirm
(
'
你已被登出,可以取消继续留在该页面,或者重新登录
'
,
'
确定登出
'
,
...
...
roncoo-education-boss/src/views/course/course/audit/edit.vue
浏览文件 @
4f23638d
...
...
@@ -58,7 +58,7 @@
</
template
>
<
script
>
import
*
as
courseApis
from
'
@/api/course
'
import
*
as
userApi
from
'
@/api/user
'
import
*
as
commonalityApi
from
'
@/api/commonality
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
@@ -151,7 +151,7 @@ export default {
const
file
=
files
[
0
];
const
param
=
new
FormData
();
param
.
append
(
'
picFile
'
,
file
,
file
.
name
);
user
Api
.
uploadPic
(
param
).
then
(
res
=>
{
commonality
Api
.
uploadPic
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
const
imgUrl
=
res
.
data
insert
(
imgUrl
)
...
...
roncoo-education-boss/src/views/course/course/course/edit.vue
浏览文件 @
4f23638d
...
...
@@ -58,7 +58,7 @@
</
template
>
<
script
>
import
*
as
courseApis
from
'
@/api/course
'
import
*
as
userApi
from
'
@/api/user
'
import
*
as
commonalityApi
from
'
@/api/commonality
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
@@ -151,7 +151,7 @@ export default {
const
file
=
files
[
0
];
const
param
=
new
FormData
();
param
.
append
(
'
picFile
'
,
file
,
file
.
name
);
user
Api
.
uploadPic
(
param
).
then
(
res
=>
{
commonality
Api
.
uploadPic
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
const
imgUrl
=
res
.
data
insert
(
imgUrl
)
...
...
roncoo-education-boss/src/views/homepage/adv/pc/edit.vue
浏览文件 @
4f23638d
...
...
@@ -64,19 +64,15 @@
</
template
>
<
script
>
import
*
as
api
s
from
'
@/api/adv
'
import
*
as
api
from
'
@/api/homepage
'
export
default
{
name
:
'
Edit
'
,
data
()
{
return
{
ctrl
:
{
dialogVisible
:
true
},
opts
:
{
advTargetList
:
[]
},
form
:
{},
fileList
:
[],
rules
:
{
advImg
:
[
...
...
@@ -143,7 +139,7 @@
return
this
.
$confirm
(
`确定移除
${
file
.
name
}
?`
);
},
submitForm
(
formName
)
{
if
(
this
.
form
===
undefined
)
{
if
(
this
.
form
Data
===
undefined
)
{
this
.
$message
({
showClose
:
true
,
message
:
'
提交失败
'
,
...
...
@@ -153,7 +149,7 @@
this
.
loading
.
show
()
if
(
this
.
formData
.
id
===
undefined
)
{
// 新增
api
s
.
coursePcA
dvSave
(
this
.
formData
).
then
(
res
=>
{
api
.
a
dvSave
(
this
.
formData
).
then
(
res
=>
{
this
.
loading
.
hide
()
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
// 提交成功, 关闭窗口, 刷新列表
...
...
@@ -165,11 +161,13 @@
type
:
'
error
'
});
}
})
}).
catch
(()
=>
{
this
.
loading
.
hide
()
})
}
else
{
// 编辑
this
.
loading
.
show
()
api
s
.
coursePcA
dvUpdate
(
this
.
formData
).
then
(
res
=>
{
api
.
a
dvUpdate
(
this
.
formData
).
then
(
res
=>
{
this
.
loading
.
hide
()
this
.
load
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
...
...
@@ -182,7 +180,9 @@
type
:
'
error
'
});
}
})
}).
catch
(()
=>
{
this
.
loading
.
hide
()
})
}
}
}
...
...
roncoo-education-boss/src/views/homepage/adv/pc/index.vue
浏览文件 @
4f23638d
...
...
@@ -78,7 +78,7 @@
</div>
</template>
<
script
>
import
*
as
api
s
from
'
@/api/adv
'
import
*
as
api
from
'
@/api/homepage
'
import
Edit
from
'
./edit
'
export
default
{
components
:
{
Edit
},
...
...
@@ -144,7 +144,7 @@
},
//改变状态
changeStatus
(
id
,
statusId
)
{
api
s
.
coursePcA
dvUpdate
({
id
:
id
,
statusId
:
statusId
}).
then
(
res
=>
{
api
.
a
dvUpdate
({
id
:
id
,
statusId
:
statusId
}).
then
(
res
=>
{
this
.
ctrl
.
loading
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
const
msg
=
{
0
:
'
禁用成功
'
,
1
:
'
启用成功
'
}
...
...
@@ -159,9 +159,17 @@
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
this
.
reload
()
}
})
}).
catch
(()
=>
{
this
.
ctrl
.
loading
=
false
const
msg
=
{
0
:
'
禁用失败
'
,
1
:
'
启用失败
'
}
this
.
$message
({
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
})
},
//删除
handleDelRow
(
id
)
{
...
...
@@ -171,7 +179,7 @@
type
:
'
warning
'
}).
then
(()
=>
{
this
.
ctrl
.
loading
=
true
api
s
.
coursePcA
dvDelete
({
id
:
id
}).
then
(
res
=>
{
api
.
a
dvDelete
({
id
:
id
}).
then
(
res
=>
{
this
.
ctrl
.
loading
=
false
console
.
log
(
res
)
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
...
...
@@ -179,19 +187,21 @@
type
:
'
success
'
,
message
:
"
删除成功
"
});
this
.
handleReset
()
this
.
reload
()
}
else
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
删除失败
"
});
this
.
handleReset
()
}
})
}).
catch
(()
=>
{
})
},
// 刷新页面
reload
()
{
this
.
map
=
{}
this
.
formData
=
{}
this
.
getList
()
},
handleSizeChange
(
val
)
{
...
...
@@ -211,14 +221,12 @@
},
// 重置查询条件
handleReset
()
{
this
.
map
=
{}
this
.
formData
=
{}
this
.
getList
()
this
.
reload
()
},
//轮播广告列表
getList
()
{
this
.
ctrl
.
loading
=
true
api
s
.
coursePcA
dvList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
api
.
a
dvList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
this
.
ctrl
.
loading
=
false
this
.
list
=
res
.
data
.
list
this
.
page
.
pageCurrent
=
res
.
data
.
pageCurrent
...
...
roncoo-education-boss/src/views/homepage/website/navBar/add.vue
浏览文件 @
4f23638d
...
...
@@ -30,7 +30,7 @@
</el-dialog>
</template>
<
script
>
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
homepage
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
roncoo-education-boss/src/views/homepage/website/navBar/edit.vue
浏览文件 @
4f23638d
...
...
@@ -26,7 +26,7 @@
</el-dialog>
</template>
<
script
>
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
homepage
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
roncoo-education-boss/src/views/homepage/website/navBar/index.vue
浏览文件 @
4f23638d
...
...
@@ -85,7 +85,7 @@
</div>
</template>
<
script
>
import
*
as
api
s
from
'
@/api/system
'
import
*
as
api
from
'
@/api/homepage
'
import
Edit
from
'
./edit
'
import
Add
from
'
./add
'
export
default
{
...
...
@@ -150,7 +150,7 @@
type
:
'
warning
'
}).
then
(()
=>
{
this
.
ctrl
.
loading
=
true
api
s
.
navBarDelete
({
id
:
id
}).
then
(
res
=>
{
api
.
navBarDelete
({
id
:
id
}).
then
(
res
=>
{
this
.
ctrl
.
loading
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
$message
({
...
...
@@ -164,10 +164,13 @@
type
:
'
error
'
,
message
:
"
删除失败
"
});
this
.
reload
()
}
})
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
删除失败
"
});
})
})
},
handleChangeStatus
(
id
,
statusId
)
{
...
...
@@ -179,13 +182,12 @@
}).
then
(()
=>
{
this
.
changeStatus
(
id
,
statusId
)
}).
catch
(()
=>
{
this
.
reload
()
})
},
//改变状态
changeStatus
(
id
,
statusId
)
{
this
.
ctrl
.
loading
=
true
api
s
.
navBarUpdate
({
id
,
statusId
}).
then
(
res
=>
{
api
.
navBarUpdate
({
id
,
statusId
}).
then
(
res
=>
{
this
.
ctrl
.
loading
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
const
msg
=
{
0
:
'
禁用成功
'
,
1
:
'
启用成功
'
}
...
...
@@ -200,8 +202,15 @@
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
}
}).
catch
(()
=>
{
this
.
ctrl
.
loading
=
false
const
msg
=
{
0
:
'
禁用失败
'
,
1
:
'
启用失败
'
}
this
.
$message
({
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
})
},
// 查询条件
...
...
@@ -231,7 +240,7 @@
},
getList
()
{
this
.
ctrl
.
loading
=
true
api
s
.
navBarList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
api
.
navBarList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
this
.
page
.
pageCurrent
=
res
.
data
.
pageCurrent
this
.
page
.
totalCount
=
res
.
data
.
totalCount
...
...
roncoo-education-boss/src/views/homepage/website/websiteLink/add.vue
浏览文件 @
4f23638d
...
...
@@ -26,7 +26,7 @@
</el-dialog>
</template>
<
script
>
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
homepage
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
roncoo-education-boss/src/views/homepage/website/websiteLink/edit.vue
浏览文件 @
4f23638d
...
...
@@ -6,19 +6,19 @@
:visible.sync=
"visible"
:before-close=
"handleClose"
>
<el-form
:model=
"formData"
:rules=
"rules"
ref=
"formData"
label-width=
"100px"
>
<el-form-item
label=
"链接地址"
prop=
"linkUrl"
>
<el-form-item
label=
"链接地址
:
"
prop=
"linkUrl"
>
<el-input
v-model=
"formData.linkUrl"
></el-input>
</el-form-item>
<el-form-item
label=
"链接名称"
prop=
"linkName"
>
<el-form-item
label=
"链接名称
:
"
prop=
"linkName"
>
<el-input
v-model=
"formData.linkName"
></el-input>
</el-form-item>
<el-form-item
label=
"打开方式"
prop=
"linkTarget"
width=
"200"
>
<el-form-item
label=
"打开方式
:
"
prop=
"linkTarget"
width=
"200"
>
<template>
<el-radio
v-model=
"formData.linkTarget"
label=
"_blank"
>
新窗口打开
</el-radio>
<el-radio
v-model=
"formData.linkTarget"
label=
"_self"
>
同窗口打开
</el-radio>
</
template
>
</el-form-item>
<el-form-item
label=
"排序
:
"
>
<el-form-item
label=
"排序
:
"
>
<el-input-number
style=
"width: 300px;"
v-model=
"formData.sort"
@
change=
"handleChange"
:min=
"1"
:max=
"10000"
></el-input-number>
</el-form-item>
</el-form>
...
...
@@ -30,7 +30,7 @@
</template>
<
script
>
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
homepage
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
roncoo-education-boss/src/views/homepage/website/websiteLink/index.vue
浏览文件 @
4f23638d
...
...
@@ -79,7 +79,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
homepage
'
import
Edit
from
'
./edit
'
import
Add
from
'
./add
'
export
default
{
...
...
@@ -172,6 +172,12 @@
}
}).
catch
(()
=>
{
this
.
ctrl
.
loading
=
false
const
msg
=
{
0
:
'
禁用失败
'
,
1
:
'
启用失败
'
}
this
.
$message
({
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
})
},
//删除
...
...
@@ -196,11 +202,14 @@
type
:
'
error
'
,
message
:
"
删除失败
"
});
this
.
reload
()
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
删除失败
"
});
this
.
ctrl
.
loading
=
false
})
}).
catch
(()
=>
{
this
.
ctrl
.
loading
=
false
})
},
// 查询条件
...
...
roncoo-education-boss/src/views/homepage/website/websiteNav/add.vue
浏览文件 @
4f23638d
...
...
@@ -17,7 +17,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
homepage
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
@@ -74,6 +74,12 @@
message
:
"
提交失败
"
});
}
}).
catch
(()
=>
{
this
.
loading
.
hide
()
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
})
}
else
{
this
.
$message
({
...
...
roncoo-education-boss/src/views/homepage/website/websiteNav/edit.vue
浏览文件 @
4f23638d
...
...
@@ -6,10 +6,10 @@
:visible.sync=
"visible"
:before-close=
"handleClose"
>
<el-form
:model=
"formData"
:rules=
"rules"
ref=
"formData"
label-width=
"100px"
>
<el-form-item
label=
"导航名称"
prop=
"navName"
>
<el-form-item
label=
"导航名称
:
"
prop=
"navName"
>
<el-input
v-model=
"formData.navName"
placeholder=
"请输入导航名称"
></el-input>
</el-form-item>
<el-form-item
label=
"排序
:
"
>
<el-form-item
label=
"排序
:
"
>
<el-input-number
style=
"width: 300px;"
v-model=
"formData.sort"
@
change=
"handleChange"
:min=
"1"
:max=
"10000"
></el-input-number>
</el-form-item>
</el-form>
...
...
@@ -20,7 +20,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
homepage
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
@@ -87,7 +87,13 @@ export default {
message
:
"
提交失败
"
});
}
})
}).
catch
(()
=>
{
this
.
loading
.
hide
()
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
})
}
else
{
this
.
$message
({
type
:
'
error
'
,
...
...
roncoo-education-boss/src/views/homepage/website/websiteNav/index.vue
浏览文件 @
4f23638d
...
...
@@ -64,6 +64,7 @@
<el-button
type=
"danger"
@
click=
"handleDelRow(scope.row.id)"
size=
"mini"
>
删除
</el-button>
<el-button
type=
"primary"
@
click=
"handleUpdateRow(scope.row)"
size=
"mini"
>
修改
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-circle-plus-outline"
size=
"mini"
v-if=
"scope.row.parentId == 0"
@
click=
"handleAddSubclass(scope.row.id)"
>
添加
</el-button>
<el-button
type=
"primary"
size=
"mini"
v-if=
"scope.row.parentId !== 0"
@
click=
"handleArticala(scope.row.id)"
>
文章管理
</el-button>
</li>
</ul>
</
template
>
...
...
@@ -87,7 +88,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/
system
'
import
*
as
api
from
'
@/api/
homepage
'
import
Edit
from
'
./edit
'
import
Add
from
'
./add
'
export
default
{
...
...
@@ -127,6 +128,9 @@
this
.
getList
()
},
methods
:
{
handleArticala
(
id
)
{
this
.
$router
.
push
({
path
:
'
/homepage/website/websiteNavArticle
'
,
query
:
{
navId
:
id
}});
},
//新增
handleAddSubclass
(
id
)
{
this
.
formData
.
parentId
=
id
...
...
@@ -153,9 +157,9 @@
type
:
'
warning
'
}).
then
(()
=>
{
this
.
map
.
id
=
id
this
.
ctrl
.
load
=
true
this
.
ctrl
.
load
ing
=
true
api
.
websiteNavDelete
(
this
.
map
).
then
(
res
=>
{
this
.
ctrl
.
load
=
false
this
.
ctrl
.
load
ing
=
false
if
(
res
.
code
===
200
)
{
this
.
$message
({
type
:
'
success
'
,
...
...
roncoo-education-boss/src/views/homepage/website/websiteNavArticle/index.vue
0 → 100644
浏览文件 @
4f23638d
<
template
>
<div
class=
"pad20"
>
<el-form
:model=
"formData"
v-loading=
"ctrl.loading"
label-width=
"100px"
>
<el-form-item
label=
"文章名称:"
>
<el-input
v-model=
"formData.artTitle"
></el-input>
</el-form-item>
<el-form-item
label=
"文章描述:"
style=
"width:80%"
>
<div
id=
"artDesc"
style=
"height:400px;max-height:500px;"
></div>
</el-form-item>
<el-form-item
label=
"排序:"
>
<el-input-number
style=
"width: 300px;"
v-model=
"formData.sort"
@
change=
"handleChange"
:min=
"1"
:max=
"10000"
></el-input-number>
</el-form-item>
</el-form>
<el-row
style=
"margin-top:17px; "
>
<el-button
style=
"float:right"
size=
"mini"
type=
"primary"
@
click=
"submitForm('formData')"
>
确 定
</el-button>
<el-button
style=
"float:right;margin-left:6px;"
size=
"mini"
type=
"danger"
plain
@
click=
"handleClose"
>
取 消
</el-button>
</el-row>
</div>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/homepage
'
import
*
as
commonalityApi
from
'
@/api/commonality
'
export
default
{
data
()
{
return
{
ctrl
:
{
loading
:
false
},
formData
:
{},
navId
:
''
}
},
mounted
()
{
this
.
navId
=
this
.
$route
.
query
.
navId
console
.
log
(
this
.
navId
)
this
.
getArticala
(
this
.
navId
)
},
methods
:
{
createEdit
()
{
const
E
=
require
(
'
wangeditor
'
)
this
.
editor
=
new
E
(
'
#artDesc
'
)
setTimeout
(()
=>
{
this
.
editor
.
create
();
// 创建用户协议富文本编辑器
this
.
editor
.
customConfig
.
customUploadImg
=
this
.
editorUpload
console
.
log
(
this
.
formData
)
if
(
this
.
formData
.
artDesc
!==
undefined
&&
this
.
formData
.
artDesc
!==
''
&&
this
.
formData
.
artDesc
!==
null
)
{
this
.
editor
.
txt
.
html
(
this
.
formData
.
artDesc
)
}
else
{
this
.
editor
.
txt
.
html
(
''
)
}
},
100
)
},
// 编辑器上传图片
editorUpload
(
files
,
insert
)
{
const
file
=
files
[
0
];
const
param
=
new
FormData
();
param
.
append
(
'
picFile
'
,
file
,
file
.
name
);
commonalityApi
.
uploadPic
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
const
imgUrl
=
res
.
data
insert
(
imgUrl
)
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
'
上传图片出错,请稍后重试
'
})
})
},
handleChange
(
value
)
{
this
.
formData
.
sort
=
value
},
getArticala
(
navId
)
{
this
.
ctrl
.
loading
=
true
api
.
navArticleView
({
navId
:
navId
}).
then
(
res
=>
{
this
.
createEdit
();
this
.
ctrl
.
loading
=
false
if
(
res
.
code
===
200
)
{
this
.
formData
=
res
.
data
}
}).
catch
(()
=>
{
this
.
ctrl
.
loading
=
false
})
},
handleClose
()
{
this
.
editor
.
txt
.
clear
()
this
.
$router
.
push
({
path
:
'
/homepage/website/websiteNav
'
});
},
submitForm
(
formName
)
{
this
.
formData
.
artDesc
=
this
.
editor
.
txt
.
html
()
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
loading
.
show
()
api
.
navArticleUpdate
(
this
.
formData
).
then
(
res
=>
{
this
.
loading
.
hide
()
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
tips
(
'
操作成功
'
,
'
success
'
)
this
.
handleClose
()
}
else
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
更新失败
"
});
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
})
}
else
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
更新失败
"
});
}
});
}
}
}
</
script
>
roncoo-education-boss/src/views/homepage/zone/course/add.vue
浏览文件 @
4f23638d
...
...
@@ -80,7 +80,8 @@
</el-dialog>
</template>
<
script
>
import
*
as
api
from
'
@/api/course
'
import
*
as
api
from
'
@/api/homepage
'
import
*
as
courseApi
from
'
@/api/course
'
export
default
{
data
()
{
return
{
...
...
@@ -155,7 +156,7 @@
// 分页列出课程信息
pageList
()
{
this
.
ctrl
.
load
=
true
a
pi
.
courseList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
courseA
pi
.
courseList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
this
.
page
.
pageCurrent
=
res
.
data
.
pageCurrent
this
.
page
.
totalCount
=
res
.
data
.
totalCount
...
...
@@ -188,7 +189,12 @@
message
:
"
保存失败
"
});
}
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
})
},
handleClose
()
{
this
.
$emit
(
'
close-callback
'
)
...
...
roncoo-education-boss/src/views/homepage/zone/course/edit.vue
浏览文件 @
4f23638d
...
...
@@ -18,7 +18,7 @@
</
template
>
<
script
>
import
*
as
api
from
'
@/api/
cours
e
'
import
*
as
api
from
'
@/api/
homepag
e
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
@@ -54,14 +54,19 @@
api
.
zoneCourseUpdate
(
this
.
formData
).
then
(
res
=>
{
this
.
loading
.
hide
()
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
$emit
(
'
close-callback
'
)
this
.
handleClose
(
)
}
else
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
更新失败
"
});
}
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
})
}
else
{
this
.
$message
({
type
:
'
error
'
,
...
...
@@ -73,7 +78,3 @@
}
}
</
script
>
<
style
scoped
>
</
style
>
roncoo-education-boss/src/views/homepage/zone/course/index.vue
浏览文件 @
4f23638d
...
...
@@ -84,7 +84,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/
cours
e
'
import
*
as
api
from
'
@/api/
homepag
e
'
import
Add
from
'
./add
'
import
Edit
from
'
./edit
'
export
default
{
...
...
@@ -137,11 +137,28 @@
changeStatus
(
id
,
statusId
)
{
api
.
zoneCourseUpdate
({
id
,
statusId
}).
then
(
res
=>
{
this
.
ctrl
.
loading
=
false
const
msg
=
{
0
:
'
禁用成功
'
,
1
:
'
启用成功
'
}
this
.
$message
({
type
:
'
success
'
,
message
:
msg
[
statusId
]
});
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
const
msg
=
{
0
:
'
禁用成功
'
,
1
:
'
启用成功
'
}
this
.
$message
({
type
:
'
success
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
}
else
{
const
msg
=
{
0
:
'
禁用失败
'
,
1
:
'
启用失败
'
}
this
.
$message
({
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
}
this
.
reload
()
}).
catch
(()
=>
{
this
.
ctrl
.
loading
=
false
const
msg
=
{
0
:
'
禁用失败
'
,
1
:
'
启用失败
'
}
this
.
$message
({
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
})
},
...
...
@@ -175,10 +192,13 @@
type
:
'
error
'
,
message
:
"
删除失败
"
});
this
.
reload
()
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
删除失败
"
});
})
}).
catch
(()
=>
{
})
},
// 关闭编辑弹窗回调
...
...
roncoo-education-boss/src/views/homepage/zone/pc/edit.vue
浏览文件 @
4f23638d
...
...
@@ -23,7 +23,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
s
from
'
@/api/cours
e
'
import
*
as
api
from
'
@/api/homepag
e
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
@@ -61,6 +61,7 @@
}
},
methods
:
{
//关闭弹窗
handleClose
(
done
)
{
this
.
$emit
(
'
close-callback
'
)
},
...
...
@@ -72,29 +73,39 @@
if
(
valid
)
{
this
.
loading
.
show
()
if
(
this
.
formData
.
id
===
undefined
)
{
api
s
.
courseP
cZoneSave
(
this
.
formData
).
then
(
res
=>
{
api
.
p
cZoneSave
(
this
.
formData
).
then
(
res
=>
{
this
.
loading
.
hide
()
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
$emit
(
'
close-callback
'
)
this
.
handleClose
(
)
}
else
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
})
}
else
{
// 编辑
api
s
.
courseP
cZoneUpdate
(
this
.
formData
).
then
(
res
=>
{
api
.
p
cZoneUpdate
(
this
.
formData
).
then
(
res
=>
{
this
.
loading
.
hide
()
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
$emit
(
'
close-callback
'
)
this
.
handleClose
(
)
}
else
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
}
}).
catch
(()
=>
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
})
}
}
else
{
...
...
roncoo-education-boss/src/views/homepage/zone/pc/index.vue
浏览文件 @
4f23638d
...
...
@@ -74,7 +74,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/
cours
e
'
import
*
as
api
from
'
@/api/
homepag
e
'
import
Edit
from
'
./edit
'
export
default
{
components
:
{
Edit
},
...
...
@@ -116,14 +116,30 @@
},
//改变状态
changeStatus
(
id
,
statusId
)
{
api
.
courseP
cZoneUpdate
({
id
,
statusId
}).
then
(
res
=>
{
api
.
p
cZoneUpdate
({
id
,
statusId
}).
then
(
res
=>
{
this
.
ctrl
.
loading
=
false
const
msg
=
{
0
:
'
禁用成功
'
,
1
:
'
启用成功
'
}
this
.
$message
({
type
:
'
success
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
const
msg
=
{
0
:
'
禁用成功
'
,
1
:
'
启用成功
'
}
this
.
$message
({
type
:
'
success
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
}
else
{
const
msg
=
{
0
:
'
禁用失败
'
,
1
:
'
启用失败
'
}
this
.
$message
({
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
}
}).
catch
(()
=>
{
this
.
ctrl
.
loading
=
false
const
msg
=
{
0
:
'
禁用失败
'
,
1
:
'
启用失败
'
}
this
.
$message
({
type
:
'
error
'
,
message
:
msg
[
statusId
]
});
this
.
reload
()
})
},
//新增
...
...
@@ -143,7 +159,7 @@
id
:
data
.
id
}
this
.
ctrl
.
loading
=
true
api
.
courseP
cZoneDelete
(
this
.
map
).
then
(
res
=>
{
api
.
p
cZoneDelete
(
this
.
map
).
then
(
res
=>
{
this
.
ctrl
.
loading
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
$message
({
...
...
@@ -156,10 +172,14 @@
type
:
'
error
'
,
message
:
"
删除失败
"
});
this
.
reload
()
}
})
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
ctrl
.
loading
=
false
this
.
$message
({
type
:
'
error
'
,
message
:
"
删除失败
"
});
})
})
},
// 关闭编辑弹窗回调
...
...
@@ -203,7 +223,7 @@
},
getList
()
{
this
.
ctrl
.
loading
=
true
api
.
courseP
cZoneList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
api
.
p
cZoneList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
this
.
page
.
pageCurrent
=
res
.
data
.
pageCurrent
this
.
page
.
totalCount
=
res
.
data
.
totalCount
...
...
roncoo-education-boss/src/views/lecturer/lecturer/audit/add.vue
浏览文件 @
4f23638d
...
...
@@ -5,28 +5,28 @@
:title=
"title"
:visible.sync=
"visible"
:before-close=
"handleClose"
>
<el-form
ref=
"form
"
:model=
"form
"
:rules=
"rules"
label-width=
"100px"
>
<el-form
ref=
"form
Data"
:model=
"formData
"
:rules=
"rules"
label-width=
"100px"
>
<el-form-item
label=
"讲师名称:"
prop=
"lecturerName"
>
<el-input
v-model=
"form.lecturerName"
></el-input>
<el-input
v-model=
"form
Data
.lecturerName"
></el-input>
</el-form-item>
<el-form-item
label=
"手机号码:"
prop=
"lecturerMobile"
>
<el-input
v-model=
"form.lecturerMobile"
></el-input>
<el-input
v-model=
"form
Data
.lecturerMobile"
></el-input>
<el-button
type=
"primary"
v-if=
"check === 1"
@
click=
"checkMobile()"
>
校验
</el-button>
<el-button
type=
"success"
icon=
"el-icon-check"
v-if=
"check === 2"
></el-button>
<el-button
type=
"danger"
icon=
"el-icon-close"
v-if=
"check === 3"
></el-button>
</el-form-item>
<el-form-item
v-if=
"newUser === 2"
label=
"登录密码:"
>
<el-input
v-model=
"form.mobilePsw"
placeholder=
"请输入登录密码"
></el-input>
<el-input
v-model=
"form
Data
.mobilePsw"
placeholder=
"请输入登录密码"
></el-input>
</el-form-item>
<el-form-item
v-if=
"newUser === 2"
label=
"确认密码:"
>
<el-input
v-model=
"form.confirmPasswd"
placeholder=
"请输入确认密码"
></el-input>
<el-input
v-model=
"form
Data
.confirmPasswd"
placeholder=
"请输入确认密码"
></el-input>
</el-form-item>
<el-form-item
label=
"邮箱:"
prop=
"lecturerEmail"
>
<el-input
v-model=
"form.lecturerEmail"
></el-input>
<el-input
v-model=
"form
Data
.lecturerEmail"
></el-input>
</el-form-item>
</el-form>
<el-row
style=
"margin-top:17px; "
>
<el-button
style=
"float:right"
size=
"mini"
type=
"primary"
@
click=
"submitForm('form')"
>
确 定
</el-button>
<el-button
style=
"float:right"
size=
"mini"
type=
"primary"
@
click=
"submitForm('form
Data
')"
>
确 定
</el-button>
<el-button
style=
"float:right;margin-left:6px;"
size=
"mini"
type=
"danger"
plain
@
click=
"handleClose"
>
取 消
</el-button>
</el-row>
</el-dialog>
...
...
@@ -34,14 +34,14 @@
<
script
>
import
{
isvalidMobile
}
from
'
@/utils/validate
'
import
{
isvalidEmail
}
from
'
@/utils/validate
'
import
*
as
userApi
from
'
@/api/us
er
'
import
*
as
api
from
'
@/api/lectur
er
'
export
default
{
name
:
'
Add
'
,
data
()
{
return
{
newUser
:
1
,
check
:
1
,
form
:
{},
form
Data
:
{},
rules
:
{
lecturerMobile
:
[
{
required
:
true
,
message
:
'
请输入手机号码
'
,
trigger
:
'
blur
'
}
...
...
@@ -68,7 +68,7 @@ export default {
methods
:
{
// 关闭弹窗
handleClose
(
done
)
{
this
.
form
=
{}
this
.
form
Data
=
{}
this
.
newUser
=
1
this
.
check
=
1
this
.
$emit
(
'
close-callback
'
)
...
...
@@ -83,7 +83,7 @@ export default {
return
false
}
this
.
load
===
true
userA
pi
.
lecturerAuditCheck
({
lecturerMobile
:
this
.
form
.
lecturerMobile
}).
then
(
res
=>
{
a
pi
.
lecturerAuditCheck
({
lecturerMobile
:
this
.
form
.
lecturerMobile
}).
then
(
res
=>
{
if
(
res
.
data
===
501
)
{
// 该手机没注册
this
.
newUser
=
2
...
...
@@ -119,70 +119,61 @@ export default {
})
},
// 保存讲师信息
submitForm
(
form
)
{
if
(
!
this
.
form
.
lecturerName
)
{
submitForm
(
form
Data
)
{
if
(
!
this
.
form
Data
.
lecturerName
)
{
this
.
$message
({
type
:
'
error
'
,
message
:
'
请输入讲师名称
'
});
return
false
}
if
(
!
this
.
form
.
lecturerMobile
)
{
if
(
!
this
.
form
Data
.
lecturerMobile
)
{
this
.
$message
({
type
:
'
error
'
,
message
:
'
请输入手机号码
'
});
return
false
}
if
(
!
isvalidMobile
(
this
.
form
.
lecturerMobile
))
{
if
(
!
isvalidMobile
(
this
.
form
Data
.
lecturerMobile
))
{
this
.
$message
({
type
:
'
error
'
,
message
:
'
请输入正确的手机号
'
});
return
false
}
if
(
!
isvalidEmail
(
this
.
form
.
lecturerEmail
))
{
if
(
!
isvalidEmail
(
this
.
form
Data
.
lecturerEmail
))
{
this
.
$message
({
type
:
'
error
'
,
message
:
'
请输入正确的邮箱
'
});
return
false
}
this
.
$refs
[
form
].
validate
((
valid
)
=>
{
this
.
$refs
[
form
Data
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
handleConfirm
()
this
.
loading
.
show
()
api
.
lecturerAuditSave
(
this
.
formData
).
then
(
res
=>
{
this
.
loading
.
hide
()
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
// 提交成功, 关闭窗口, 刷新列表
this
.
tips
(
'
操作成功
'
,
'
success
'
)
this
.
handleClose
()
}
else
{
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
}
}).
catch
(()
=>
{
this
.
loading
.
hide
()
})
}
else
{
return
false
;
this
.
$message
({
type
:
'
error
'
,
message
:
"
提交失败
"
});
}
})
},
//异步保存讲师信息
async
handleConfirm
()
{
this
.
load
=
true
let
res
=
{}
if
(
this
.
form
===
undefined
)
{
this
.
$alert
(
res
.
msg
||
'
提交失败
'
)
}
else
{
res
=
await
userApi
.
lecturerAuditSave
(
this
.
form
)
// this.tips('成功', 'success')
}
this
.
load
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
// 提交成功, 关闭窗口, 刷新列表
this
.
$emit
(
'
close-callback
'
)
}
else
{
this
.
$alert
(
res
.
msg
||
'
提交失败
'
)
}
}
}
}
</
script
>
<
style
scoped
>
.cancel
{
text-align
:
right
;
}
.button
{
padding
:
5px
10px
;
}
</
style
>
roncoo-education-boss/src/views/lecturer/lecturer/audit/audit.vue
浏览文件 @
4f23638d
...
...
@@ -23,7 +23,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
userApi
from
'
@/api/us
er
'
import
*
as
api
from
'
@/api/lectur
er
'
export
default
{
name
:
'
Audit
'
,
props
:
{
...
...
@@ -63,7 +63,7 @@
if
(
this
.
formData
.
id
===
undefined
)
{
this
.
$alert
(
res
.
msg
||
'
审核失败
'
)
}
else
{
res
=
await
userA
pi
.
lecturerAudit
(
this
.
formData
)
res
=
await
a
pi
.
lecturerAudit
(
this
.
formData
)
this
.
tips
(
'
成功
'
,
'
success
'
)
}
this
.
load
=
false
...
...
roncoo-education-boss/src/views/lecturer/lecturer/audit/edit.vue
浏览文件 @
4f23638d
...
...
@@ -72,7 +72,8 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
userApi
from
'
@/api/user
'
import
*
as
commonalityApi
from
'
@/api/commonality
'
import
*
as
api
from
'
@/api/lecturer
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
@@ -123,7 +124,7 @@
const
file
=
files
[
0
];
const
param
=
new
FormData
();
param
.
append
(
'
picFile
'
,
file
,
file
.
name
);
user
Api
.
uploadPic
(
param
).
then
(
res
=>
{
commonality
Api
.
uploadPic
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
const
imgUrl
=
res
.
data
insert
(
imgUrl
)
...
...
@@ -159,7 +160,7 @@
if
(
this
.
formData
.
id
===
undefined
)
{
this
.
$alert
(
res
.
msg
||
'
提交失败
'
)
}
else
{
res
=
await
userA
pi
.
lecturerAuditUpdate
(
this
.
formData
)
res
=
await
a
pi
.
lecturerAuditUpdate
(
this
.
formData
)
}
this
.
load
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
...
...
roncoo-education-boss/src/views/lecturer/lecturer/audit/index.vue
浏览文件 @
4f23638d
...
...
@@ -108,7 +108,7 @@
</div>
</template>
<
script
>
import
*
as
userApi
from
'
@/api/us
er
'
import
*
as
api
from
'
@/api/lectur
er
'
import
Add
from
'
./add
'
import
Edit
from
'
./edit
'
import
viewLecturer
from
'
./view
'
...
...
@@ -183,7 +183,7 @@
},
lecturerAuditList
()
{
this
.
load
===
true
userA
pi
.
lecturerAuditList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
a
pi
.
lecturerAuditList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
this
.
page
.
pageCurrent
=
res
.
data
.
pageCurrent
this
.
page
.
totalCount
=
res
.
data
.
totalCount
...
...
@@ -209,7 +209,7 @@
},
// 请求更新用户方法
changeStatus
(
id
,
statusId
)
{
userA
pi
.
lecturerAuditUpdate
({
id
:
id
,
statusId
:
statusId
}).
then
(
res
=>
{
a
pi
.
lecturerAuditUpdate
({
id
:
id
,
statusId
:
statusId
}).
then
(
res
=>
{
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
const
msg
=
{
0
:
'
禁用成功
'
,
1
:
'
启用成功
'
}
this
.
$message
({
...
...
@@ -261,7 +261,7 @@
//查看讲师审核信息
getById
(
id
,
title
)
{
this
.
load
===
true
userA
pi
.
lecturerAuditView
({
id
:
id
}).
then
(
res
=>
{
a
pi
.
lecturerAuditView
({
id
:
id
}).
then
(
res
=>
{
this
.
formData
=
res
.
data
if
(
JSON
.
stringify
(
res
.
data
.
lecturerExt
)
!==
'
{}
'
)
{
this
.
lecturerExt
=
res
.
data
.
lecturerExt
...
...
roncoo-education-boss/src/views/lecturer/lecturer/lecturer/edit.vue
浏览文件 @
4f23638d
...
...
@@ -77,7 +77,8 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
userApi
from
'
@/api/user
'
import
*
as
api
from
'
@/api/lecturer
'
import
*
as
commonalityApi
from
'
@/api/commonality
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
@@ -150,7 +151,7 @@
if
(
this
.
formData
.
id
===
undefined
)
{
this
.
$alert
(
res
.
msg
||
'
提交失败
'
)
}
else
{
res
=
await
userA
pi
.
lecturerUpdate
(
this
.
formData
)
res
=
await
a
pi
.
lecturerUpdate
(
this
.
formData
)
}
this
.
load
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
...
...
@@ -166,7 +167,7 @@
const
file
=
files
[
0
];
const
param
=
new
FormData
();
param
.
append
(
'
picFile
'
,
file
,
file
.
name
);
user
Api
.
uploadPic
(
param
).
then
(
res
=>
{
commonality
Api
.
uploadPic
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
const
imgUrl
=
res
.
data
insert
(
imgUrl
)
...
...
@@ -181,11 +182,3 @@
}
}
</
script
>
<
style
scoped
>
.cancel
{
text-align
:
right
;
}
.button
{
padding
:
5px
10px
;
}
</
style
>
roncoo-education-boss/src/views/lecturer/lecturer/lecturer/index.vue
浏览文件 @
4f23638d
...
...
@@ -89,7 +89,7 @@
</div>
</template>
<
script
>
import
*
as
userApi
from
'
@/api/us
er
'
import
*
as
api
from
'
@/api/lectur
er
'
import
Edit
from
'
./edit
'
import
viewLecturer
from
'
./view
'
export
default
{
...
...
@@ -147,7 +147,7 @@
},
lecturerList
()
{
this
.
load
===
true
userA
pi
.
lecturerList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
a
pi
.
lecturerList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
this
.
page
.
pageCurrent
=
res
.
data
.
pageCurrent
this
.
page
.
totalCount
=
res
.
data
.
totalCount
...
...
@@ -173,7 +173,7 @@
},
// 请求更新用户方法
changeStatus
(
id
,
statusId
)
{
userA
pi
.
lecturerUpdate
({
id
:
id
,
statusId
:
statusId
}).
then
(
res
=>
{
a
pi
.
lecturerUpdate
({
id
:
id
,
statusId
:
statusId
}).
then
(
res
=>
{
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
const
msg
=
{
0
:
'
禁用成功
'
,
1
:
'
启用成功
'
}
this
.
$message
({
...
...
@@ -218,7 +218,7 @@
},
// 查看信息
getById
(
id
,
title
)
{
userA
pi
.
lecturerView
({
id
:
id
}).
then
(
res
=>
{
a
pi
.
lecturerView
({
id
:
id
}).
then
(
res
=>
{
this
.
formData
=
res
.
data
if
(
JSON
.
stringify
(
res
.
data
.
lecturerExt
)
!==
'
{}
'
)
{
this
.
lecturerExt
=
res
.
data
.
lecturerExt
...
...
roncoo-education-boss/src/views/lecturer/profit/profit/edit.vue
浏览文件 @
4f23638d
...
...
@@ -24,7 +24,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
userApi
from
'
@/api/us
er
'
import
*
as
api
from
'
@/api/lectur
er
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
@@ -78,7 +78,7 @@
message
:
"
提交失败
"
});
}
else
{
userA
pi
.
lecturerProfitUpdate
(
this
.
formData
).
then
(
res
=>
{
a
pi
.
lecturerProfitUpdate
(
this
.
formData
).
then
(
res
=>
{
this
.
loading
.
hide
()
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
$emit
(
'
close-callback
'
)
...
...
roncoo-education-boss/src/views/lecturer/profit/profit/index.vue
浏览文件 @
4f23638d
...
...
@@ -78,7 +78,7 @@
</div>
</template>
<
script
>
import
*
as
userApi
from
'
@/api/us
er
'
import
*
as
api
from
'
@/api/lectur
er
'
import
Edit
from
'
./edit
'
export
default
{
components
:
{
Edit
},
...
...
@@ -173,7 +173,7 @@
// 分页列出打款信息
listForPage
()
{
this
.
ctrl
.
load
=
true
userA
pi
.
lecturerProfitList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
a
pi
.
lecturerProfitList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
this
.
page
.
pageCurrent
=
res
.
data
.
pageCurrent
this
.
page
.
totalCount
=
res
.
data
.
totalCount
...
...
@@ -217,7 +217,7 @@
// 请求批量更新标记为已打款
changeStatus
()
{
this
.
ctrl
.
load
=
true
userA
pi
.
lecturerProfitBatch
({
id
:
this
.
id
,
profitStatus
:
2
}).
then
(
res
=>
{
a
pi
.
lecturerProfitBatch
({
id
:
this
.
id
,
profitStatus
:
2
}).
then
(
res
=>
{
this
.
ctrl
.
load
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
$message
({
...
...
roncoo-education-boss/src/views/login/index.vue
浏览文件 @
4f23638d
...
...
@@ -29,13 +29,12 @@
</el-button>
</el-form-item>
<div
class=
"tips"
>
<span
style=
"margin-right:20px;"
>
mobile: 1
3
800000000
</span>
<span>
password:
123456
</span>
<span
style=
"margin-right:20px;"
>
mobile: 1
8
800000000
</span>
<span>
password:
isjfodFEdfDIDJ.45t592834
</span>
</div>
</el-form>
</div>
</
template
>
<
script
>
import
{
isvalidMobile
}
from
'
@/utils/validate
'
export
default
{
...
...
@@ -57,8 +56,8 @@ export default {
}
return
{
loginForm
:
{
mobile
:
'
1
3
800000000
'
,
password
:
'
123456
'
,
mobile
:
'
1
8
800000000
'
,
password
:
'
isjfodFEdfDIDJ.45t592834
'
,
clientId
:
'
lkb65617f842ad4c37895a733b8de43cbb
'
,
//客户端ID
ip
:
'
127.0.0.0
'
},
...
...
roncoo-education-boss/src/views/order/order/orderInfo/index.vue
浏览文件 @
4f23638d
...
...
@@ -148,8 +148,9 @@
</div>
</template>
<
script
>
import
*
as
courseApis
from
'
@/api/course
'
import
*
as
orderApi
from
'
@/api/order
'
import
*
as
userApi
from
'
@/api/user
'
import
*
as
lecturerApi
from
'
@/api/lecturer
'
import
Remark
from
'
./remark
'
import
ViewLecturer
from
'
@/views/lecturer/lecturer/lecturer/view
'
import
viewUser
from
'
@/views/user/user/ext/view
'
...
...
@@ -219,7 +220,7 @@ export default {
},
methods
:
{
statistical
()
{
courseApis
.
orderStatistical
(
this
.
map
).
then
(
res
=>
{
orderApi
.
orderStatistical
(
this
.
map
).
then
(
res
=>
{
this
.
totalProfit
=
res
.
data
.
totalProfit
.
toFixed
(
2
)
this
.
platformProfit
=
res
.
data
.
platformProfit
.
toFixed
(
2
)
this
.
lecturerProfit
=
res
.
data
.
lecturerProfit
.
toFixed
(
2
)
...
...
@@ -227,7 +228,7 @@ export default {
},
getList
()
{
this
.
ctrl
.
load
=
true
courseApis
.
orderList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
orderApi
.
orderList
(
this
.
map
,
this
.
page
.
pageCurrent
,
this
.
page
.
pageSize
).
then
(
res
=>
{
this
.
list
=
res
.
data
.
list
this
.
page
.
pageSize
=
res
.
data
.
pageSize
this
.
page
.
totalCount
=
res
.
data
.
totalCount
...
...
@@ -243,7 +244,7 @@ export default {
//跳转订单备注页面
handleRemark
(
data
)
{
this
.
ctrl
.
load
=
true
courseApis
.
orderView
(
data
.
id
).
then
(
res
=>
{
orderApi
.
orderView
(
data
.
id
).
then
(
res
=>
{
this
.
ctrl
.
load
=
false
this
.
formdata
=
res
.
data
this
.
ctrl
.
dialogTitle
=
"
订单备注
"
...
...
@@ -266,7 +267,7 @@ export default {
//跳转讲师详情页面
handleLecturerView
(
lecturerUserNo
)
{
this
.
ctrl
.
load
=
true
us
erApi
.
lecturerView
({
lecturerUserNo
:
lecturerUserNo
}).
then
(
res
=>
{
lectur
erApi
.
lecturerView
({
lecturerUserNo
:
lecturerUserNo
}).
then
(
res
=>
{
this
.
formdata
=
res
.
data
this
.
lecturerExt
=
res
.
data
.
lecturerExt
this
.
ctrl
.
dialogTitle
=
res
.
data
.
lecturerName
+
'
-
'
+
'
查看详情
'
...
...
@@ -279,7 +280,7 @@ export default {
//跳转订单详情页面
handleView
(
id
)
{
this
.
ctrl
.
load
=
true
courseApis
.
orderView
(
id
).
then
(
res
=>
{
orderApi
.
orderView
(
id
).
then
(
res
=>
{
this
.
ctrl
.
load
=
false
this
.
formdata
=
res
.
data
this
.
ctrl
.
dialogTitle
=
'
订单详情
'
...
...
@@ -290,7 +291,6 @@ export default {
},
// 支付时间段查询条件
changeTime
()
{
console
.
log
(
"
payTime=>
"
,
this
.
payTime
)
if
(
this
.
payTime
!==
null
&&
this
.
payTime
.
length
)
{
this
.
map
.
beginPayTime
=
this
.
dateToString
(
this
.
payTime
[
0
])
this
.
map
.
endPayTime
=
this
.
dateToString
(
this
.
payTime
[
1
])
...
...
roncoo-education-boss/src/views/order/order/orderInfo/remark.vue
浏览文件 @
4f23638d
...
...
@@ -19,7 +19,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
courseApis
from
'
@/api/course
'
import
*
as
orderApi
from
'
@/api/order
'
export
default
{
name
:
'
Remark
'
,
props
:
{
...
...
@@ -49,7 +49,7 @@ export default {
},
async
handleConfirm
()
{
let
res
=
{}
res
=
await
courseApis
.
orderUpdate
(
this
.
formData
)
res
=
await
orderApi
.
orderUpdate
(
this
.
formData
)
this
.
tips
(
'
成功
'
,
'
success
'
)
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
// 提交成功, 关闭窗口, 刷新列表
...
...
roncoo-education-boss/src/views/sys/log/orderPay/index.vue
浏览文件 @
4f23638d
...
...
@@ -44,7 +44,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/
course
'
import
*
as
api
from
'
@/api/
sys
'
export
default
{
data
()
{
return
{
...
...
roncoo-education-boss/src/views/sys/log/sys/index.vue
浏览文件 @
4f23638d
...
...
@@ -51,7 +51,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
data
()
{
return
{
...
...
roncoo-education-boss/src/views/sys/msg/msg/add.vue
浏览文件 @
4f23638d
...
...
@@ -41,8 +41,8 @@
</div>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
userApi
from
'
@/api/user
'
import
*
as
api
from
'
@/api/sys
'
import
*
as
commonalityApi
from
'
@/api/commonality
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
@@ -137,7 +137,7 @@ export default {
const
file
=
files
[
0
];
const
param
=
new
FormData
();
param
.
append
(
'
picFile
'
,
file
,
file
.
name
);
user
Api
.
uploadPic
(
param
).
then
(
res
=>
{
commonality
Api
.
uploadPic
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
const
imgUrl
=
res
.
data
insert
(
imgUrl
)
...
...
@@ -152,12 +152,3 @@ export default {
}
}
</
script
>
<
style
scoped
>
.cancel
{
text-align
:
right
;
}
.button
{
padding
:
5px
10px
;
}
</
style
>
roncoo-education-boss/src/views/sys/msg/msg/edit.vue
浏览文件 @
4f23638d
...
...
@@ -28,8 +28,8 @@
</div>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
userApi
from
'
@/api/user
'
import
*
as
api
from
'
@/api/sys
'
import
*
as
commonalityApi
from
'
@/api/commonality
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
@@ -115,7 +115,7 @@ export default {
const
file
=
files
[
0
];
const
param
=
new
FormData
();
param
.
append
(
'
picFile
'
,
file
,
file
.
name
);
user
Api
.
uploadPic
(
param
).
then
(
res
=>
{
commonality
Api
.
uploadPic
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
const
imgUrl
=
res
.
data
insert
(
imgUrl
)
...
...
roncoo-education-boss/src/views/sys/msg/msg/index.vue
浏览文件 @
4f23638d
...
...
@@ -86,7 +86,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
import
Edit
from
'
./edit
'
import
Add
from
'
./add
'
export
default
{
...
...
roncoo-education-boss/src/views/sys/msg/msgUser/index.vue
浏览文件 @
4f23638d
...
...
@@ -65,7 +65,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
import
viewUser
from
'
./view
'
export
default
{
components
:
{
viewUser
},
...
...
@@ -141,7 +141,9 @@
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
this
.
ctrl
.
load
=
true
api
.
msgUserDelete
({
id
:
id
}).
then
(
res
=>
{
this
.
ctrl
.
load
=
false
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
this
.
$message
({
type
:
'
success
'
,
...
...
@@ -155,6 +157,8 @@
});
this
.
reload
()
}
}).
catch
(()
=>
{
this
.
ctrl
.
load
=
false
})
}).
catch
(()
=>
{
this
.
reload
()
...
...
roncoo-education-boss/src/views/sys/msg/template/add.vue
浏览文件 @
4f23638d
...
...
@@ -21,7 +21,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/msg/template/edit.vue
浏览文件 @
4f23638d
...
...
@@ -21,7 +21,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/msg/template/index.vue
浏览文件 @
4f23638d
...
...
@@ -55,7 +55,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
import
Edit
from
'
./edit
'
import
Add
from
'
./add
'
export
default
{
...
...
roncoo-education-boss/src/views/sys/platform/platform/add.vue
浏览文件 @
4f23638d
...
...
@@ -21,7 +21,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/
user
'
import
*
as
api
from
'
@/api/
sys
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/platform/platform/edit.vue
浏览文件 @
4f23638d
...
...
@@ -23,7 +23,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/
user
'
import
*
as
api
from
'
@/api/
sys
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/platform/platform/index.vue
浏览文件 @
4f23638d
<
template
>
<
template
>
<div
class=
"pad20"
>
<div>
<el-form
:inline=
"true"
size=
"mini"
>
...
...
@@ -72,7 +72,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/
user
'
import
*
as
api
from
'
@/api/
sys
'
import
Edit
from
'
./edit
'
import
ViewPlatform
from
'
./view
'
import
AddPlatform
from
'
./add
'
...
...
roncoo-education-boss/src/views/sys/pms/menu/add.vue
浏览文件 @
4f23638d
...
...
@@ -33,7 +33,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/pms/menu/edit.vue
浏览文件 @
4f23638d
...
...
@@ -29,7 +29,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/pms/menu/index.vue
浏览文件 @
4f23638d
...
...
@@ -63,7 +63,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
import
Add
from
'
./add
'
import
Edit
from
'
./edit
'
export
default
{
...
...
roncoo-education-boss/src/views/sys/pms/role/add.vue
浏览文件 @
4f23638d
...
...
@@ -21,7 +21,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/pms/role/edit.vue
浏览文件 @
4f23638d
...
...
@@ -23,7 +23,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/pms/role/index.vue
浏览文件 @
4f23638d
...
...
@@ -84,7 +84,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
import
Add
from
'
./add
'
import
Edit
from
'
./edit
'
import
Pms
from
'
./pms
'
...
...
roncoo-education-boss/src/views/sys/pms/role/pms.vue
浏览文件 @
4f23638d
...
...
@@ -25,7 +25,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Pms
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/pms/user/add.vue
浏览文件 @
4f23638d
...
...
@@ -30,7 +30,7 @@
</
template
>
<
script
>
import
{
isvalidMobile
}
from
'
@/utils/validate
'
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
import
listUser
from
'
./list
'
export
default
{
components
:
{
listUser
},
...
...
@@ -102,7 +102,7 @@ export default {
if
(
res
.
code
===
200
&&
res
.
data
>
0
)
{
// 提交成功, 关闭窗口, 刷新列表
this
.
tips
(
'
操作成功
'
,
'
success
'
)
this
.
$emit
(
'
close-callback
'
)
this
.
handleClose
(
)
}
else
{
this
.
$message
({
type
:
'
error
'
,
...
...
roncoo-education-boss/src/views/sys/pms/user/edit.vue
浏览文件 @
4f23638d
...
...
@@ -26,7 +26,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Edit
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/pms/user/index.vue
浏览文件 @
4f23638d
...
...
@@ -76,7 +76,7 @@
</div>
</template>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
import
Edit
from
'
./edit
'
import
Add
from
'
./add
'
import
Password
from
'
./password
'
...
...
roncoo-education-boss/src/views/sys/pms/user/password.vue
浏览文件 @
4f23638d
...
...
@@ -20,7 +20,7 @@
</el-dialog>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Add
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/pms/user/role.vue
浏览文件 @
4f23638d
...
...
@@ -63,7 +63,7 @@
</el-dialog>
</template>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
name
:
'
Role
'
,
data
()
{
...
...
roncoo-education-boss/src/views/sys/website/sys/index.vue
浏览文件 @
4f23638d
...
...
@@ -122,7 +122,7 @@
</div>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
api
from
'
@/api/sys
'
export
default
{
data
()
{
return
{
...
...
@@ -169,8 +169,3 @@
}
}
</
script
>
<
style
scoped
>
.button
{
padding
:
5px
11px
;
}
</
style
>
roncoo-education-boss/src/views/sys/website/website/index.vue
浏览文件 @
4f23638d
...
...
@@ -77,8 +77,8 @@
</div>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/sys
tem
'
import
*
as
userApi
from
'
@/api/user
'
import
*
as
api
from
'
@/api/sys
'
import
*
as
commonalityApi
from
'
@/api/commonality
'
export
default
{
data
()
{
return
{
...
...
@@ -136,7 +136,7 @@
const
file
=
files
[
0
];
const
param
=
new
FormData
();
param
.
append
(
'
picFile
'
,
file
,
file
.
name
);
user
Api
.
uploadPic
(
param
).
then
(
res
=>
{
commonality
Api
.
uploadPic
(
param
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
const
imgUrl
=
res
.
data
insert
(
imgUrl
)
...
...
roncoo-education-boss/src/views/user/user/studyLog/index.vue
浏览文件 @
4f23638d
...
...
@@ -41,7 +41,7 @@
</div>
</
template
>
<
script
>
import
*
as
api
from
'
@/api/
course
'
import
*
as
api
from
'
@/api/
user
'
export
default
{
data
()
{
return
{
...
...
roncoo-education-gateway/src/main/java/com/roncoo/education/gateway/common/FilterPre.java
浏览文件 @
4f23638d
...
...
@@ -95,9 +95,11 @@ public class FilterPre extends ZuulFilter {
throw
new
BaseException
(
ResultEnum
.
MENU_PAST
);
}
String
tk
=
stringRedisTemplate
.
opsForValue
().
get
(
RedisPreEnum
.
ADMINI_MENU
.
getCode
().
concat
(
userNo
.
toString
()));
/*
* if (!checkUri(uri, tk)) { throw new BaseException(ResultEnum.MENU_NO); }
*/
// if (!checkUri(uri, tk)) {
// throw new BaseException(ResultEnum.MENU_NO);
// }
// 更新时间,使用户菜单不过期
stringRedisTemplate
.
opsForValue
().
set
(
RedisPreEnum
.
ADMINI_MENU
.
getCode
().
concat
(
userNo
.
toString
()),
tk
,
1
,
TimeUnit
.
HOURS
);
}
...
...
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/common/req/WebsiteNavArticleUpdateREQ.java
浏览文件 @
4f23638d
...
...
@@ -30,6 +30,11 @@ public class WebsiteNavArticleUpdateREQ implements Serializable {
*/
@ApiModelProperty
(
value
=
"文章标题"
,
required
=
true
)
private
String
artTitle
;
/**
* 排序
*/
@ApiModelProperty
(
value
=
"排序"
,
required
=
true
)
private
Integer
sort
;
/**
* 文章图片
*/
...
...
roncoo-education-system/roncoo-education-system-service/src/main/java/com/roncoo/education/system/service/common/resq/WebsiteNavArticleViewRESQ.java
浏览文件 @
4f23638d
...
...
@@ -22,28 +22,33 @@ public class WebsiteNavArticleViewRESQ implements Serializable {
/**
* 主键
*/
@ApiModelProperty
(
value
=
"主键id"
,
required
=
true
)
@ApiModelProperty
(
value
=
"主键id"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
id
;
/**
* 导航ID
*/
@ApiModelProperty
(
value
=
"导航ID"
,
required
=
true
)
@ApiModelProperty
(
value
=
"导航ID"
)
@JsonSerialize
(
using
=
ToStringSerializer
.
class
)
private
Long
navId
;
/**
* 文章标题
*/
@ApiModelProperty
(
value
=
"文章标题"
,
required
=
true
)
@ApiModelProperty
(
value
=
"文章标题"
)
private
String
artTitle
;
/**
* 排序
*/
@ApiModelProperty
(
value
=
"排序"
)
private
Integer
sort
;
/**
* 文章图片
*/
@ApiModelProperty
(
value
=
"文章图片"
,
required
=
true
)
@ApiModelProperty
(
value
=
"文章图片"
)
private
String
artPic
;
/**
* 文章描述
*/
@ApiModelProperty
(
value
=
"文章描述"
,
required
=
true
)
@ApiModelProperty
(
value
=
"文章描述"
)
private
String
artDesc
;
}
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录