Skip to content

Instantly share code, notes, and snippets.

reportReasonMerge2(state,action) {
let {
mData,
orecords,
} = action.payload
let {
reportMerge,
reportRecords
} = state
let data
/**
* Created by marginyu on 17/4/10.
*/
import React,{Component, PropTypes} from 'react';
import {DatePicker,Tag} from "antd";
import moment from 'moment';
const {RangePicker} = DatePicker;
const dateFormat = "YYYY-MM-DD";
//全选的实现
$(".check-all").click(function (e) {
$(this).parents('.table').find('.ids').prop("checked", this.checked);
});
$(".ids").click(function () {
var pel = $(this).parents('.table');
var all = pel.find('.check-all');
if (pel.find('input.ids').not(':checked').length > 0)
all.prop("checked", false);
else
@fubobing126
fubobing126 / react 兼容IE9
Last active September 8, 2017 08:26
兼容
<!--[if lte IE 10]>
<script
src="/js/media.match.min.js"></script>
<![endif]-->