FAISP/src/main/resources/static/js/publicBoard/reference.js

24 lines
689 B
JavaScript
Raw Normal View History

2022-10-04 02:37:28 +00:00
$(document).on('click', '#addReferenceBtn', function (){
getEditModal(null, "PLB003")
})
$(document).on('click', '.planTr', function (){
$(".trChkBox").prop("checked", false);
$(this).find(".trChkBox").prop("checked", true);
getViewModal(Number($(this).find(".planKey").val()), "PLB003");
})
$(document).on('click', '#saveBtn', function (){
savePublicBoard("referenceEditForm", "PLB003")
})
$(document).on('click', '#editBtn', function (){
$("#viewModal").modal('hide')
getEditModal($("#viewModalPublicKey").val(), "PLB003")
2022-10-14 01:17:05 +00:00
})
$(document).on('click', '.referenceTab', function (){
location.href = "/publicBoard/referencePage?tabStatus="+$(this).attr('data-tabcd')
})