Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
A
admin-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
admin-base
Commits
824ffa97
Commit
824ffa97
authored
Jan 03, 2019
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商品列表跳转期数列表
parent
72e03b3e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
+14
-7
index.vue
src/components/lesson/index.vue
+6
-2
index.vue
src/components/periods/index.vue
+3
-1
index.vue
src/components/sourceManage/index.vue
+1
-1
role.vue
src/components/system/role.vue
+4
-3
No files found.
src/components/lesson/index.vue
View file @
824ffa97
...
...
@@ -26,6 +26,11 @@
<el-table-column
prop=
"title"
label=
"课程名"
>
<template
slot-scope=
"scope"
>
<router-link
:to=
"
{name:'periods', query: { id: scope.row.id}}" >
{{
scope
.
row
.
title
}}
</router-link>
</
template
>
</el-table-column>
<el-table-column
label=
"课程类型"
>
...
...
@@ -169,8 +174,7 @@
},
changeShow
(
data
){
this
.
dialogObj
.
show
=
data
}
},
}
}
</
script
>
...
...
src/components/periods/index.vue
View file @
824ffa97
...
...
@@ -386,12 +386,14 @@
getLessonApi
(
json
).
then
(
res
=>
{
this
.
lessonList
=
res
.
list
;
})
}
}
,
},
mounted
(){
let
_query
=
this
.
$route
.
query
;
if
(
_query
&&
_query
.
goods_id
)
{
this
.
goodsId
=
parseInt
(
_query
.
goods_id
);
}
else
if
(
_query
&&
_query
.
id
){
this
.
lessonId
=
parseInt
(
_query
.
id
);
}
this
.
onSearch
();
this
.
getGoodsOption
();
...
...
src/components/sourceManage/index.vue
View file @
824ffa97
...
...
@@ -17,7 +17,7 @@
</el-form>
<div
class=
"head clear-both"
>
<el-button
@
click=
"add"
plain
type=
"success"
style=
"float: right"
v-if=
"!$store.state.readonly"
>
新增来源码
</el-button>
<el-button
@
click=
"manageObj.show=true"
plain
type=
"primary"
style=
"float: right;margin-right:30px"
>
来源码类别管理
</el-button>
<el-button
@
click=
"manageObj.show=true"
plain
type=
"primary"
style=
"float: right;margin-right:30px"
v-if=
"$store.state.orderRefund"
>
来源码类别管理
</el-button>
</div>
<el-table
:data=
"sourceList"
...
...
src/components/system/role.vue
View file @
824ffa97
...
...
@@ -58,6 +58,7 @@
<span>
{{ node.label }}
</span>
<span
v-if=
"data.pid !== 0"
>
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='5-1'|| data.cover=== '5-10'"
>
退款
</el-checkbox>
<el-checkbox
v-model=
"data.refund"
v-if=
"data.cover ==='10-1' "
>
类别管理
</el-checkbox>
<el-checkbox
v-model=
"data.readonly"
>
只读
</el-checkbox>
<el-checkbox
v-model=
"data.delete"
>
删除
</el-checkbox>
</span>
...
...
@@ -121,7 +122,7 @@
i
.
children
.
forEach
(
j
=>
{
j
.
readonly
=
false
;
j
.
delete
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
)
j
.
refund
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
)
j
.
refund
=
false
;
})
}
});
...
...
@@ -160,7 +161,7 @@
i
.
children
.
forEach
(
j
=>
{
j
.
readonly
=
false
;
j
.
delete
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
)
j
.
refund
=
false
;
if
(
j
.
name
===
'月课订单列表'
||
j
.
name
===
'日课订单列表'
||
j
.
name
===
"来源码管理"
)
j
.
refund
=
false
;
})
}
});
...
...
@@ -177,7 +178,7 @@
if
(
x
.
id
===
i
.
id
){
x
.
readonly
=
!!
i
.
readonly
;
x
.
delete
=
!!
i
.
delete
;
if
(
i
.
cover
===
'5-1'
||
i
.
cover
===
'5-10'
){
if
(
i
.
cover
===
'5-1'
||
i
.
cover
===
'5-10'
||
i
.
cover
===
"10-1"
){
x
.
refund
=
!!
i
.
refund
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment