[OQRS] Addes triped table to the requests
这个提交包含在:
父节点
47c435e3e6
当前提交
aad8eaab3b
共有 2 个文件被更改,包括 5 次插入 和 5 次删除
|
|
@ -78,7 +78,7 @@ function echo_qsl_method($method) {
|
|||
<span id="infoBox"></span>
|
||||
</div>
|
||||
</div>
|
||||
<table style="width:100%" class="table-sm oqrstable table table-bordered table-hover table-condensed text-center" id="qsoList">
|
||||
<table style="width:100%" class="table-sm oqrstable table table-striped table-bordered table-hover table-condensed text-center" id="qsoList">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><div class="form-check" style="margin-top: -1.5em"><input class="form-check-input" type="checkbox" id="checkBoxAll" /></div></th>
|
||||
|
|
|
|||
|
|
@ -448,9 +448,9 @@ $(document).ready(function () {
|
|||
|
||||
$('.oqrstable').on('click', 'input[type="checkbox"]', function() {
|
||||
if ($(this).is(":checked")) {
|
||||
$(this).closest('tr').addClass('alert-success');
|
||||
$(this).closest('tr').addClass('activeRow');
|
||||
} else {
|
||||
$(this).closest('tr').removeClass('alert-success');
|
||||
$(this).closest('tr').removeClass('activeRow');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
@ -557,13 +557,13 @@ $(document).ready(function () {
|
|||
function selectQsoID(qsoID) {
|
||||
var element = $("#oqrsID_" + qsoID);
|
||||
element.find("input[type=checkbox]").prop("checked", true);
|
||||
element.addClass('alert-success');
|
||||
element.addClass('activeRow');
|
||||
}
|
||||
|
||||
function unselectQsoID(qsoID) {
|
||||
var element = $("#oqrsID_" + qsoID);
|
||||
element.find("input[type=checkbox]").prop("checked", false);
|
||||
element.removeClass('alert-success');
|
||||
element.removeClass('activeRow');
|
||||
$('#checkBoxAll').prop("checked", false);
|
||||
}
|
||||
|
||||
|
|
|
|||
正在加载…
在新工单中引用