修复课教师荣誉类型错误
This commit is contained in:
1 parent
ea219f69bd
commit
1f9bfaa674
2 files changed
+3
-1
No files matched your search
@@ -15,7 +15,7 @@
|
||||
<div class="layui-form-item">
|
||||
<label for="category" class="layui-form-label"><span class="x-red">*</span>荣誉类型</label>
|
||||
<div class="layui-input-block">
|
||||
{php} $category = getCategory(112);{/php}
|
||||
{php} $category = getCategory(114);{/php}
|
||||
<select name="category" lay-verify="required">
|
||||
<option value=""></option>
|
||||
{volist name="category" id="vo"}
|
||||
|
||||
@@ -110,6 +110,8 @@
|
||||
var data = obj.data; //获得当前行数据
|
||||
var layEvent = obj.event; //获得 lay-event 对应的值(也可以是表头的 event 参数对应的值)
|
||||
var tr = obj.tr; //获得当前行 tr 的DOM对象
|
||||
console.log(obj.data.id);
|
||||
console.log(obj.data.title);
|
||||
switch(layEvent){
|
||||
case 'detail':// 查看
|
||||
parent.x_admin_add_to_tab(obj.data.title + ' 列表','rylist/'+obj.data.id+'/'+obj.data.title,true);
|
||||
|
||||
Reference in new issue
Block a user