|
|
|
@ -675,7 +675,8 @@ public class CollectController extends Controller {
|
|
|
|
|
*/
|
|
|
|
|
@Before({GET.class})
|
|
|
|
|
@IsLoginInterface({})
|
|
|
|
|
public void getJobList(String job_name, int page, int limit) throws ParseException {
|
|
|
|
|
@IsNumericInterface({"self_or_next"})
|
|
|
|
|
public void getJobList(String job_name, int self_or_next, int page, int limit) throws ParseException {
|
|
|
|
|
//操作人员
|
|
|
|
|
String person_id = SessionKit.get(getRequest(), getResponse(), "person_id");
|
|
|
|
|
//检查当前登录人员是不是发布任务的角色
|
|
|
|
@ -691,7 +692,7 @@ public class CollectController extends Controller {
|
|
|
|
|
|
|
|
|
|
//获取登录人员第一个发布任务的角色是什么
|
|
|
|
|
int publish_role_id = kvCheck.getInt("publish_role_id");
|
|
|
|
|
Page<Record> list = cm.getJobList(bureau_id, publish_role_id, job_name, page, limit);
|
|
|
|
|
Page<Record> list = cm.getJobList(bureau_id, publish_role_id, job_name,self_or_next, page, limit);
|
|
|
|
|
renderJson(CommonUtil.renderJsonForLayUI(list));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
@ -1227,7 +1228,7 @@ public class CollectController extends Controller {
|
|
|
|
|
target_id = person_id;
|
|
|
|
|
}
|
|
|
|
|
//否则的话,就是传啥查啥,传单位查单位,传人查人
|
|
|
|
|
String json = cm.getFormFillJob(job_id, target_id,status_code);
|
|
|
|
|
String json = cm.getFormFillJob(job_id, target_id, status_code);
|
|
|
|
|
renderJson(json);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|