|
@@ -172,7 +172,7 @@
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ $("#save_user_class").attr("disabled","disabled");
|
|
|
post_common_service( "userClass/addList",dutyList,function(data){
|
|
post_common_service( "userClass/addList",dutyList,function(data){
|
|
|
tip("添加成功");
|
|
tip("添加成功");
|
|
|
$('#add_fee_station').modal('hide');
|
|
$('#add_fee_station').modal('hide');
|
|
@@ -254,12 +254,13 @@
|
|
|
}else{
|
|
}else{
|
|
|
var cache = $(".tr-1").data("cache");
|
|
var cache = $(".tr-1").data("cache");
|
|
|
var work_date = $("#save_user_class").data("work_date");
|
|
var work_date = $("#save_user_class").data("work_date");
|
|
|
- var param = {
|
|
|
|
|
|
|
+ var param = {
|
|
|
'dept_id':cache.dept_id,
|
|
'dept_id':cache.dept_id,
|
|
|
'work_date':work_date
|
|
'work_date':work_date
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
post_common_service( "userClass/getList",param,function(data){
|
|
post_common_service( "userClass/getList",param,function(data){
|
|
|
|
|
+ // console.log(data);
|
|
|
for(var i=0;i<data.length;i++){
|
|
for(var i=0;i<data.length;i++){
|
|
|
$(".table select").eq(i).val(data[i].user_id);
|
|
$(".table select").eq(i).val(data[i].user_id);
|
|
|
}
|
|
}
|