This commit is contained in:
win10 committed 2020-08-25 17:01:14 +08:00
1 parent fabe9325c4
commit 46512fb342
4 files changed
+14 -16

No files matched your search

+4
View File
@@ -511,6 +511,9 @@ class Bjtongji extends AdminBase
$info = BTJ::field('kaoshi_id, banji_id')
->find($id);
$bj = new \app\teach\model\Banji;
$school = $bj->where('id', $info->banji_id)->value('school_id');
// 查询该班级各学科任课教师
$btj = new BTJ;
$list['data'] = $btj->where('kaoshi_id', $info->kaoshi_id)
@@ -532,6 +535,7 @@ class Bjtongji extends AdminBase
'webtitle'=>'设置任课教师'
,'butname'=>'设置'
,'formpost'=>'PUT'
,'danwei_id' => $school
,'url'=>'/chengji/bjtj/renkeupdate/'.$id,
);
+2 -2
View File
@@ -97,7 +97,7 @@
cjgl.add('添加单位','/school/create','650','500');
break;
case 'download':
cjgl.add('设置任课班级','/chengji/bjtj/renkeeditteacher/' + "{$list.kaoshi_id}",'','',true);
cjgl.add('设置任课班级','/chengji/bjtj/renkeeditteacher/' + "{$list.kaoshi_id}",'600','400',false);
break;
};
});
@@ -115,7 +115,7 @@
cjgl.del(obj,"/school");
break;
case 'edit':// 编辑
cjgl.add('编辑' + obj.data.banji_title +'任课','/chengji/bjtj/renkeedit/'+obj.data.id,'650','500',true);
cjgl.add('编辑' + obj.data.banji_title +'任课','/chengji/bjtj/renkeedit/'+obj.data.id,'650','500',false);
break;
case 'status':// 状态
cjgl.status(obj,"{:url('setstatus')}");
+2 -1
View File
@@ -58,7 +58,8 @@
$.post(
"/teacher/index/srcteacher",
{
"str": val
"str": val,
'danwei_id': "{$list.set.danwei_id}"
},
function(data,status){
data = data.data;
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff. Show more