t className = 'label-success';
    if (value==1){
        resultF = '失败';
        className = 'label-danger';
    }
    return '<span class="label ' + className + '">' + resultF + '</span>'
}


/**
 * 获取URL后面的ID
 * return: _id
 */
function getId() {
    let str=location.href;
    let args = str.split('/');
    return args[args.length-2];
}


/*
*ajax get callback
*/
function ajax_callback1(msg){
    let index = layer.alert(msg, {
        skin: 'layui-layer-molv' //样式类名
    },function()