题库考试增加bug
This commit is contained in:
parent
7f1cc7c19f
commit
3b3d698494
|
@ -40,6 +40,7 @@
|
||||||
var a = GetQueryString2("a");
|
var a = GetQueryString2("a");
|
||||||
top.$('#in').attr('value', id);
|
top.$('#in').attr('value', id);
|
||||||
top.$('#in').attr('show', name);
|
top.$('#in').attr('show', name);
|
||||||
|
top.$('#in').attr('show2', item.total.total.score);
|
||||||
top.$('#in').attr('target', a);
|
top.$('#in').attr('target', a);
|
||||||
aaa(a);
|
aaa(a);
|
||||||
closeForm2()
|
closeForm2()
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
editable=false>
|
editable=false>
|
||||||
<input type="hidden" name="exampaper" id="exampaper"/>
|
<input type="hidden" name="exampaper" id="exampaper"/>
|
||||||
<a id="choseexampaper" class='easyui-linkbutton' onclick="javascript:opendg2('选择试卷','html/exampaper/chose/', 'exampaper')" style="width:auto">选择</a>
|
<a id="choseexampaper" class='easyui-linkbutton' onclick="javascript:opendg2('选择试卷','html/exampaper/chose/', 'exampaper')" style="width:auto">选择</a>
|
||||||
|
<a id="editpaper" class='easyui-linkbutton' onclick="editpaper()" style="width:auto;display:none" >编辑</a>
|
||||||
</div>
|
</div>
|
||||||
<div style="margin-bottom:5px;">
|
<div style="margin-bottom:5px;">
|
||||||
<input id="totalscore" name="totalscore" class="easyui-numberbox" style="width:90%"
|
<input id="totalscore" name="totalscore" class="easyui-numberbox" style="width:90%"
|
||||||
|
@ -105,9 +106,9 @@
|
||||||
}
|
}
|
||||||
function editpaper(){
|
function editpaper(){
|
||||||
var id=$('#exampaper').combobox('getValue')
|
var id=$('#exampaper').combobox('getValue')
|
||||||
var url = 'html/exampaper/edit/' + id
|
var url = 'html/exampaper/edit/?id' + id
|
||||||
var myw = screen.availWidth * 0.7;
|
var myw = screen.availWidth * 0.7;
|
||||||
opendg('编辑试卷',url,myw)
|
opendg2('编辑试卷',url,myw)
|
||||||
}
|
}
|
||||||
function aaa(x) {
|
function aaa(x) {
|
||||||
if (x == "participant") {
|
if (x == "participant") {
|
||||||
|
@ -118,6 +119,7 @@
|
||||||
else if (x == "exampaper") {
|
else if (x == "exampaper") {
|
||||||
$('#exampaper').attr('value', top.$('#in').val());
|
$('#exampaper').attr('value', top.$('#in').val());
|
||||||
$('#exampapername').textbox('setValue', top.$('#in').attr('show'));
|
$('#exampapername').textbox('setValue', top.$('#in').attr('show'));
|
||||||
|
$('#totalscore').numberbox('setValue', top.$('#in').attr('show2'))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
|
@ -167,7 +167,7 @@
|
||||||
<div id="dd" style="overflow: hidden;"></div>
|
<div id="dd" style="overflow: hidden;"></div>
|
||||||
<div id="userdd" style="overflow: hidden;"></div>
|
<div id="userdd" style="overflow: hidden;"></div>
|
||||||
<div id="questiondd" style="overflow: hidden;"></div>
|
<div id="questiondd" style="overflow: hidden;"></div>
|
||||||
<input type="hidden" id="in" show="" total="" target="" />
|
<input type="hidden" id="in" show="" total="" target="" show2=""/>
|
||||||
<!-- <button type="hidden" id="getb" onclick="test()" /> -->
|
<!-- <button type="hidden" id="getb" onclick="test()" /> -->
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|
Loading…
Reference in New Issue