Update measurement data in lesion table
This commit is contained in:
1 parent
78faa2a8f9
commit
9fb5cc2953
3 files changed
+98
-223
No files matched your search
@@ -7,7 +7,7 @@ Template.lesionDialog.onRendered(function () {
|
||||
if(locationUID != null) {
|
||||
|
||||
activeLesionMeasurementData.locationUID = locationUID;
|
||||
measurementManagerDAL.addLesionData(activeLesionMeasurementData);
|
||||
measurementManagerDAL.updateTimepointData(activeLesionMeasurementData);
|
||||
}else{
|
||||
|
||||
// Show Dialog
|
||||
@@ -23,36 +23,3 @@ Template.lesionDialog.onRendered(function () {
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
// Listen lesionMeaurementCreated Event and when this event is triggered, show lesionLocationDialog Box
|
||||
/*
|
||||
$(document).on("lesionMeasurementCreated",function(e,eventCaller,data){
|
||||
console.log("Lesion measurement xreated");
|
||||
var element = data.element;
|
||||
var tabId = data.tabId;
|
||||
var viewports = $("#content"+tabId).find(".imageViewerViewport");
|
||||
var viewportIndex = $(viewports).index($(element));
|
||||
data.viewportIndex = viewportIndex;
|
||||
data.totalViewportCount = viewports.length;
|
||||
|
||||
//Set Lesion Table Data to insert into lesion table
|
||||
setLesionTableData(data);
|
||||
|
||||
// Check popup will shown or not
|
||||
var returnVal = lesionNumberIsAdded(data);
|
||||
if(!returnVal.isFound) {
|
||||
if( !Session.get("lesionLocationSelected") ) {
|
||||
$("#modal-dialog-container").css({
|
||||
"top": eventCaller.pageY,
|
||||
"left": eventCaller.pageX
|
||||
});
|
||||
|
||||
$("#lesionDialog").modal("show");
|
||||
}
|
||||
} else {
|
||||
// If lesionNumber is added before:
|
||||
data.rowIndex = returnVal.rowIndex;
|
||||
$(document).trigger("addLesionToExistedRow",data);
|
||||
}
|
||||
});*/
|
||||
Reference in new issue
Block a user