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
0b8a7a5f
Commit
0b8a7a5f
authored
May 19, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
试卷
parent
d49f39d6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
13 deletions
+13
-13
apps/exams/Tpl/default/AdminPaper/selectQuestion.html
+13
-13
No files found.
apps/exams/Tpl/default/AdminPaper/selectQuestion.html
View file @
0b8a7a5f
...
...
@@ -5,19 +5,19 @@
#list
table
td
{
text-align
:
center
;}
.allexams
{
float
:
left
;}
#point
{
padding-top
:
1px
;}
.confirm
{
background
:
white
;
position
:
absolute
;
width
:
100%
;
bottom
:
0
;
left
:
0
;
text-align
:
left
;
padding
:
1%
;}
.confirm
{
background
:
white
;
position
:
absolute
;
width
:
100%
;
bottom
:
0
;
left
:
0
;
text-align
:
left
;
padding
:
1%
;}
</style>
<div
id=
"bg"
></div>
<div
id=
"show"
>
<table
border=
"0"
cellpadding=
"3"
width=
"100%"
cellspacing=
"1"
style=
"background-color: #ececec;"
>
<dd
style=
"text-align: left;"
>
<input
type=
"text"
id=
"title"
name=
"title"
placeholder=
"请输入试题内容进行搜索"
/>
<select
name=
"point_title"
id=
"point"
>
<option
value=
"0"
>
所有考点
</option
>
<volist
name=
"point"
id=
"p"
>
<option
value=
"{$p.exams_point_id}"
>
{$p.title}
</option
>
</volist
>
</select
>
<!-- <select name="point_title" id="point">--
>
<!-- <option value="0">所有考点</option>--
>
<!-- <volist name="point" id="p">--
>
<!-- <option value="{$p.exams_point_id}">{$p.title}</option>--
>
<!-- </volist>--
>
<!-- </select>--
>
<input
type=
"button"
class=
"btn_b"
onclick=
"getData(1)"
value=
"搜索"
/>
</dd>
<tr
style=
"text-align: center; BACKGROUND-COLOR: #d2dbea; font-weight: bold"
>
...
...
@@ -174,13 +174,13 @@
});
}
//获取数据Id
function
getDataId
(){
//获取数据Id
function
getDataId
(){
var
question_type
=
$
(
"input[name='question_type']"
).
val
();
var
title
=
$
(
'#title'
).
val
();
var
point_title
=
$
(
'#point'
).
val
();
$
.
ajax
({
type
:
'POST'
,
$
.
ajax
({
type
:
'POST'
,
url
:
"{:U('exams/AdminPaper/getQuestionIds')}"
,
async
:
false
,
data
:
{
question_type
:
question_type
,
paper_id
:
$
(
"input[name='paper_id']"
).
val
()
,
search_title
:
title
,
point_title
:
point_title
},
//
...
...
@@ -189,7 +189,7 @@
data
=
data
.
substring
(
1
);
$
(
"input[id=checkbox_all]"
).
val
(
data
);
}
});
});
}
//获取分页条
...
...
@@ -231,7 +231,7 @@
getDataId
();
}
}
function
checkAllExamsPages
(){
var
check
=
$
(
"input[id=checkbox_all]"
);
var
is_all
=
check
.
attr
(
'checked'
);
...
...
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