').queryParams = queryParams;
        $("#listdata").datagrid('reload');
    }

    function formatTime(val, row) {
        var newDate_attend = new Date();
        newDate_attend.setTime(val * 1000);
        var my_create_time_attend=newDate_attend.format('yyyy-MM-dd hh:mm:ss');
        return my_create_time_attend;
    }

    function add() {
        $('#addForm').form('clear');
        $('#dlg-add').window('open');
    }

    function edit() {
        var selRow = $('#listdata').datagrid('getSelected');
