$("#button").on('click', function() {
    art.dialog.open(url, {
        title: name,
        lock: true,
        width: 700,
        height: 500,
        ok:'È·¶¨',
        cancel: true
    });
    return false;
});
$(".button").on('click', function() {
    art.dialog.open(openurl, {
        title: title,
        lock: true,
        width: 650,
        height: 450,
        ok:'È·¶¨',
        cancel: true
    });
    return false;
});
$(".addNote").on('click', function() {
    art.dialog.open(noteurl, {
        title: titlenote,
        lock: true,
        width: 750,
        height: 400,
        ok:'È·¶¨',
        cancel: true
    });
    return false;
});

$(".auditNote").on('click', function() {
    art.dialog.open(openurl, {
        title: title,
        lock: true,
        width: 750,
        height: 400,
        ok:'È·¶¨',
        cancel: true
    });
    return false;
});
$(".buttonUser").on('click', function() {
    art.dialog.open(openurl, {
        title: title,
        lock: true,
        width: 750,
        height: 520,
        ok:'È·¶¨',
        cancel: true
    });
    return false;
});
$(".buttonDept").on('click', function() {
    art.dialog.open(openurl, {
        title: title,
        lock: true,
        width: 750,
        height: 500,
        ok:'È·¶¨',
        cancel: true
    });
    return false;
});
$(".buttonEdit").on('click', function() {
    art.dialog.open(urlEdit, {
        title: titleEdit,
        lock: true,
        width: 650,
        height: 450,
        ok:'È·¶¨',
        cancel: true
    });
    return false;
});
$(".buttonAudit").on('click', function() {
    art.dialog.open(urlAudit, {
        title: titleAudit,
        lock: true,
        width: 650,
        height: 450,
         button: [
        {
            name: '通过',
            
            focus: true
        },
        {
            name: '否决',
            callback: function () {
                alert('确认否决')
            }
        },
        {
            name: '关闭'
        }
    ]
    });
    return false;
});
