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
72e03b3e
Commit
72e03b3e
authored
Jan 03, 2019
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
来源码类别
parent
9450d59e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
dialog.vue
src/components/achievement/dialog.vue
+0
-2
index.vue
src/components/achievement/index.vue
+6
-2
No files found.
src/components/achievement/dialog.vue
View file @
72e03b3e
...
...
@@ -70,7 +70,6 @@
this
.
classListOption
();
},
classListOption
(){
console
.
log
(
this
.
dialogObj
)
let
json
=
{
page
:
this
.
nowPage
,
limit
:
this
.
limit
,
...
...
@@ -78,7 +77,6 @@
end_at
:
this
.
dialogObj
.
timeValue
[
1
],
}
getTeacherClassApi
(
json
,
this
.
dialogObj
.
teacher_id
).
then
(
res
=>
{
console
.
log
(
res
.
list
)
this
.
classList
=
res
.
list
this
.
total
=
res
.
total
;
})
...
...
src/components/achievement/index.vue
View file @
72e03b3e
...
...
@@ -88,7 +88,7 @@
label=
"班主任名字"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"nameClick(scope.row
,searchSecondFrom.dateValue
)"
>
<el-button
type=
"text"
@
click=
"nameClick(scope.row)"
>
{{
scope
.
row
.
teacher_name
}}
</el-button>
</
template
>
...
...
@@ -203,7 +203,11 @@
},
nameClick
(
val
,
dataTime
){
this
.
dialogObj
.
teacher_id
=
val
.
tid
;
this
.
dialogObj
.
timeValue
=
dataTime
if
(
dataTime
!=
undefined
){
this
.
dialogObj
.
timeValue
=
dataTime
}
else
{
this
.
dialogObj
.
timeValue
=
[
val
.
cur_date
,
val
.
cur_date
]
}
this
.
dialogObj
.
show
=
true
;
},
}
...
...
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