|
|
@@ -35,9 +35,11 @@ function initQueryParams() {
|
|
|
var store_params = $.zui.store.get('store_param_'+current_url);
|
|
|
var checked_dept = null;
|
|
|
var position_id = null;
|
|
|
+ var checked_person = null;
|
|
|
if(store_params) {
|
|
|
checked_dept = store_params.checked_dept;
|
|
|
position_id = store_params.position_id;
|
|
|
+ checked_person = store_params.checked_person;
|
|
|
$("#start_time").val(store_params.start_time.substr(0,11));
|
|
|
$("#end_time").val(store_params.end_time.substr(0,11));
|
|
|
// $("#hasScoreList").val(store_params.hasScore);
|
|
|
@@ -50,11 +52,21 @@ function initQueryParams() {
|
|
|
$("#fsList").attr('disabled','disabled');
|
|
|
}
|
|
|
setJobSelect("#jobSelect",position_id);
|
|
|
+
|
|
|
+ setFeePersonSelect("#feePersonList",checked_person,checked_dept);
|
|
|
+
|
|
|
+ $('#fsList').change(function(){
|
|
|
+ setFeePersonSelect("#feePersonList",null,$("#fsList").val());
|
|
|
+ })
|
|
|
//获取页面参数
|
|
|
var page_params = $.zui.store.get("page_params");
|
|
|
if(page_params && page_params.status) {
|
|
|
cur_status = page_params.status;
|
|
|
}
|
|
|
+
|
|
|
+ if(cur_status==14 || cur_status==15 || cur_status==16){
|
|
|
+ $("#appealResultDiv").show();
|
|
|
+ }
|
|
|
}
|
|
|
//初始化表行按钮
|
|
|
function initTableRowBtn() {
|
|
|
@@ -83,13 +95,20 @@ function queryAppeal(){
|
|
|
"end_time": end_time,
|
|
|
"checked_dept": $("#fsList").val(),
|
|
|
"check_status": cur_status,
|
|
|
- "position_id":$("#jobSelect").val()
|
|
|
+ "position_id":$("#jobSelect").val(),
|
|
|
+ "checked_person": $("#feePersonList").val(),
|
|
|
+ "appeal_result": $("#appealResultSelect").val()
|
|
|
}
|
|
|
var hide = false;
|
|
|
if(hasRole(ROLE_STATION_ADMIN) || hasRole(ROLE_STATION) || hasRole(ROLE_JICHA) || roleContains('STATION')) {
|
|
|
hide = true;
|
|
|
}
|
|
|
|
|
|
+ var appeal_result_hide=true;
|
|
|
+ if(cur_status==14 || cur_status==15 || cur_status==16){
|
|
|
+ appeal_result_hide = false;
|
|
|
+ }
|
|
|
+
|
|
|
var cols = [
|
|
|
{width: 30, text: '序号', flex: true, colClass: 'text-center',field:'num'},
|
|
|
{width: 100, text: '任务名称', flex: true,colClass: '',field:'name'},
|
|
|
@@ -98,6 +117,7 @@ function queryAppeal(){
|
|
|
{width: 80, text: '稽查人员', type: 'string', flex: true, hide:hide,field:'checkman_name'},
|
|
|
{width: 80, text: '复核人员', type: 'string', flex: true, hide:hide,field:'recheckman_name'},
|
|
|
{width: 120, text: '稽查时间段', type: 'string', flex: true, colClass: '',field:'check_period'},
|
|
|
+ {width: 80, text: '申诉结果', type: 'string', flex: true, hide:appeal_result_hide,field:'appeal_result_name'},
|
|
|
// {width: 80, text: '状态', type: 'string', flex: true, colClass: '',field:'check_status_name'},
|
|
|
];
|
|
|
var colFunc = {width: 120, text: '操作', type: 'string', flex: true, field: 'id'};
|