Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
83335715
Commit
83335715
authored
May 18, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
94e6634b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
apps/classroom/Tpl/default/Index/search_w3g.html
+11
-10
No files found.
apps/classroom/Tpl/default/Index/search_w3g.html
View file @
83335715
...
@@ -359,16 +359,17 @@
...
@@ -359,16 +359,17 @@
url
:
"{:U('exams/Index/paper')}"
+
"&api=1&search="
+
that
.
keyword
,
url
:
"{:U('exams/Index/paper')}"
+
"&api=1&search="
+
that
.
keyword
,
dataType
:
"json"
,
dataType
:
"json"
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
let
array
=
res
.
data
.
length
>
0
?
res
.
data
:
[]
if
(
res
.
status
==
1
)
{
console
.
log
(
res
)
let
result
=
res
.
data
that
.
options
[
1
].
items
=
array
.
map
(
r
=>
{
let
array
=
result
.
data
.
length
>
0
?
result
.
data
:
[]
return
{
that
.
options
[
1
].
items
=
array
.
map
(
r
=>
{
id
:
r
.
exams_paper_id
,
return
{
title
:
r
.
exams_paper_title
,
id
:
r
.
exams_paper_id
,
price
:
r
.
price
title
:
r
.
exams_paper_title
,
}
price
:
r
.
price
})
}
console
.
log
(
that
.
options
[
1
].
items
)
})
}
}
}
})
})
},
},
...
...
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