Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
4de19274
提交
4de19274
编写于
6月 30, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
新建广告等
上级
24cfaca9
变更
3
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
1035 行增加
和
8 行删除
+1035
-8
router.js
src/router/router.js
+5
-0
advert-simple-manage.vue
src/views/education/advert-simple-manage.vue
+6
-8
edit-simple-manage.vue
src/views/education/edit-simple-manage.vue
+1024
-0
未找到文件。
src/router/router.js
浏览文件 @
4de19274
...
...
@@ -48,6 +48,7 @@ const editCustom = r => require.ensure([], () => r(require('../views/education/e
const
externalResourceManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/education/external-resource-manage.vue'
)),
'external-resource-manage'
)
const
auditCustomCourse
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/education/audit-custom-course.vue'
)),
'audit-custom-course'
)
const
advertSimpleManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/education/advert-simple-manage.vue'
)),
'advert-simple-manage'
)
const
editSimpleManage
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/education/edit-simple-manage.vue'
)),
'edit-simple-manage'
)
const
noticeEditor
=
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
'../views/education/notice-editor.vue'
)),
'notice-editor'
)
...
...
@@ -239,6 +240,10 @@ export default [{
path
:
'/advert-simple-manage'
,
component
:
advertSimpleManage
,
},
{
path
:
'/edit-simple-manage'
,
component
:
editSimpleManage
,
},
// {
// path: '/followup',
// name: 'followUp',
...
...
src/views/education/advert-simple-manage.vue
浏览文件 @
4de19274
...
...
@@ -119,6 +119,7 @@
},
methods
:
{
//
getHtmlStatus
(
status
)
{
if
(
status
==
0
)
{
return
`<span style="color:#666666;">未发布</span>`
;
...
...
@@ -134,7 +135,6 @@
// 查询列表
search
()
{
let
searchForm
=
Object
.
assign
({},
this
.
searchForm
);
this
.
GET
(
"contents/course/custom/check/v1/list"
,
searchForm
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
this
.
tableList
=
res
.
data
&&
res
.
data
.
courseList
||
[];
...
...
@@ -147,22 +147,19 @@
// 重置
reset
()
{
this
.
searchForm
=
{
courseName
:
''
,
projectId
:
''
,
status
:
-
1
,
createdDoctorName
:
''
,
pageNo
:
1
,
pageSize
:
15
,
};
},
// 查看
每种查看的方式不一样
// 查看
editAdvert
(
row
)
{
console
.
log
(
row
);
this
.
$router
.
push
({
path
:
'
audit-custom-cours
e'
,
path
:
'
edit-simple-manag
e'
,
query
:
{
courseId
:
row
.
courseId
,
createdDoctorName
:
row
.
createdDoctorName
,
id
:
row
.
id
,
}
})
},
...
...
@@ -172,6 +169,7 @@
this
.
$refs
[
formName
].
resetFields
();
},
// 切换每页个数
handleSizeChange
(
val
){
this
.
searchForm
.
pageSize
=
val
;
this
.
search
();
...
...
src/views/education/edit-simple-manage.vue
0 → 100644
浏览文件 @
4de19274
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录