Test on ec server
This commit is contained in:
@ -121,6 +121,8 @@ function ConstructMessageDialog() {
|
||||
' </div> ' +
|
||||
' <div class="modal-body"> ' +
|
||||
' <span id="spanMessageText"></span> ' +
|
||||
' <table id="ModalHeaderGrid"></table> ' +
|
||||
' <table id="ModalBodyGrid"></table> ' +
|
||||
' </div> ' +
|
||||
' <div class="modal-footer"> ' +
|
||||
' <button type="button" data-dismiss="modal">OK</button> ' +
|
||||
|
@ -467,14 +467,45 @@ function pinButtonRunInfo() {
|
||||
var rowData = $("#HeaderGrid").data("igGrid").dataSource.dataView()[selectedRow.index];
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: _apiUrl + '/pin/' + toolTypeId + "/markAsPinned",
|
||||
url: "http://localhost:5126/api" + '/pin/' + toolTypeId + "/markAsPinned",
|
||||
data: rowData,
|
||||
success: function (e) {
|
||||
DisplayWSMessage("info", "Marked as pinned", e);
|
||||
$("#PinButton").prop("disabled", false);
|
||||
$.getJSON(_apiUrl + '/pin/' + toolTypeId + "/pinned?biorad_id=" + _BioRadId + "&cde_id=" + _CdeId + "&rds=" + rowData.RDS, function (data) {
|
||||
$("#PinnedGrid").igGrid({
|
||||
$.getJSON("http://localhost:5126/api" + '/pin/' + toolTypeId + "/pinned?biorad_id=" + _BioRadId + "&cde_id=" + _CdeId + "&rds=" + rowData.RDS, function (data) {
|
||||
$("#ModalHeaderGrid").igGrid({
|
||||
dataSource: data,
|
||||
features: [
|
||||
{ name: 'Resizing' }
|
||||
],
|
||||
columns: [
|
||||
{ key: "ID", dataType: "number", hidden: true, },
|
||||
{ key: "ToolTypeID", dataType: "number", hidden: true, },
|
||||
{ key: "Reactor", dataType: "string", width: "10%" },
|
||||
{ key: "RDS", dataType: "string", width: "10%" },
|
||||
{ key: "PSN", dataType: "string", width: "10%" },
|
||||
{ key: "Layer", dataType: "string", width: "10%" },
|
||||
{ key: "Zone", dataType: "string", width: "10%" }
|
||||
],
|
||||
responseDataKey: "Results",
|
||||
});
|
||||
$("#ModalBodyGrid").igGrid({
|
||||
dataSource: data,
|
||||
features: [
|
||||
{ name: 'Resizing' }
|
||||
],
|
||||
columns: [
|
||||
{ key: "ID", dataType: "number", hidden: true, },
|
||||
{ key: "ToolTypeID", dataType: "number", hidden: true, },
|
||||
{ key: "PointA", dataType: "number", width: "10%" },
|
||||
{ key: "PointB", dataType: "number", width: "10%" },
|
||||
{ key: "PointC", dataType: "number", width: "10%" },
|
||||
{ key: "PointD", dataType: "number", width: "10%" },
|
||||
{ key: "PointE", dataType: "number", width: "10%" },
|
||||
{ key: "PointF", dataType: "number", width: "10%" },
|
||||
{ key: "PointG", dataType: "number", width: "10%" },
|
||||
{ key: "PointI", dataType: "number", width: "10%" },
|
||||
],
|
||||
responseDataKey: "Results",
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user