برگزاری آزمون آسکی (OSCE) صلاحیت پایان دوره دانشجویان رشته اتاق عمل
امتیاز:
var DialogName = "/FarzinSoft/FarzinMessageSystem/Messages/ShowMsgContentFrm.aspx";
/////////////////////////////////////////////////////////////////////////////
function InitialPage() {
CreateFilesList();
CreateDocsList();
//*********************
$(function () {
$("body").keydown(function (e) {
keydown(e);
});
});
}
/////////////////////////////////////////////////////////////////////////////
function CreateFilesList() {
var oXmlDoc = null;
oXmlDoc = $.xmlDOM($('#AttacmentFilesXml').val());
$(oXmlDoc.find("Attachments > Attachment").each(function (index) {
var $Row = $('');
$("#FileAttachmentTable").append($Row);
$Row.addClass(((index + 1) % 2 == 0) ? "Table-Row-even" : "Table-Row-odd");
$Row.click({ CurrentTable: $("#FileAttachmentTable"), CurrentRow: $Row.get(0) }, function (e) { TableRowSelect(e.data.CurrentTable, e.data.CurrentRow); });
$Row.mouseover({ CurrentRow: $Row.get(0) }, function (e) { TableRowHighLight(e.data.CurrentRow); });
$Row.mouseout({ CurrentRow: $Row.get(0) }, function (e) { RemoveTableRowHighLight(e.data.CurrentRow); });
//-------------
var strFileName = $(this).attr("Name");
var strPath = $(this).attr("Path");
var strDescription = $(this).find("Description").text();
if (strDescription == "")
strDescription = "---";
var $Count = $("");
$Row.append($Count);
$Count.attr("align", "Center");
$Count.html("" + (index + 1) + "");
//---------------------------
var $Name = $("");
$Row.append($Name);
$Name.attr("align", "left");
$Name.attr("dir", "ltr");
$Name.html(" " + strFileName + "");
$Name.attr("Path", strPath);
//---------------------------
var $Description = $("");
$Row.append($Description);
$Description.attr("align", "right");
$Description.html(" " + strDescription.replace(/\n/g, "") + "");
}));
}
/////////////////////////////////////////////////////////////////////////////
function CreateDocsList() {
var oXmlDoc = null;
oXmlDoc = $.xmlDOM($('#AttacmentDocsXml').val());
$(oXmlDoc.find("Documents > Document").each(function (index) {
var strAlternativeColor = "";
var $Row = $('');
$("#DocAttachmentTable").append($Row);
$Row.addClass(((index + 1) % 2 == 0) ? "Table-Row-even" : "Table-Row-odd");
$Row.click({ CurrentTable: $("#DocAttachmentTable"), CurrentRow: $Row.get(0) }, function (e) { TableRowSelect(e.data.CurrentTable, e.data.CurrentRow); });
$Row.mouseover({ CurrentRow: $Row.get(0) }, function (e) { TableRowHighLight(e.data.CurrentRow); });
$Row.mouseout({ CurrentRow: $Row.get(0) }, function (e) { RemoveTableRowHighLight(e.data.CurrentRow); });
//-------------
var strTitle = $(this).attr("Title");
var strEntityNumber = $(this).attr("EntityNumber");
var strEntityTypeCode = $(this).attr("EntityTypeCode");
var strEntityCode = $(this).attr("EntityCode");
var strIsPreNote = $(this).attr("IsPreNote");
var $Count = $("");
$Row.append($Count);
$Count.attr("align", "Center");
$Count.html(" " + (index + 1) + "");
//---------------------
var $Number = $("");
$Row.append($Number);
$Number.attr("align", "right");
if (strIsPreNote == "0")
$Number.html("" + strEntityNumber + "");
else
$Number.html("پيشنويس");
//---------------------
var $Name = $("");
$Row.append($Name);
$Name.attr("align", "right");
$Name.attr("dir", "ltr");
$Name.html("" + strTitle + "");
$Name.attr("EntityTypeCode", strEntityTypeCode);
$Name.attr("EntityCode", strEntityCode);
//---------------------
var $Send = $("");
$Row.append($Send);
$Send.attr("align", "Center");
if (strIsPreNote == "0")
$Send.html("");
else
$Send.html(" ");
}));
}
/////////////////////////////////////////////////////////////////////////////
function DownLoad_OnClick(eParam) {
// var strRandParam = CCookie.GetCookie("TempSessionFile");
// var oDownload = eParam.parentElement;
// var strFeature = "top=0, left=0, height=400, width=600, menubar=no, status=no, scrollbars=yes, resizable=yes";
// var formElement = "" +
// "" +
// "";
// var hWnd = window.open("", Math.floor(Math.random() * 100000).toString(), strFeature, true);
// hWnd.document.open();
// hWnd.document.write(formElement);
// hWnd.form1.submit();
var oDownload = eParam.parentElement;
return DownloadFile(oDownload.getAttribute("Path"));
}
/////////////////////////////////////////////////////////////////////////////
function Send(eParam) {
var strGroupSendXML = "";
strGroupSendXML += "";
strGroupSendXML += "";
//------------
var o = new Object();
SetStorage("GroupSendXML", strGroupSendXML, true, function () {
o.DialogName = "/FarzinSoft/FarzinManualFlow/Send_Receive/SendService/SendServiceFrm.aspx";
o.src = "/FarzinSoft/FarzinManualFlow/Send_Receive/SendService/SendServiceFrm.aspx?CloseDlg=0";
o.height = "610";
o.position = "center";
o.title = "ارجاع";
o.dialogArguments = "";
ShowDialogPage(o);
});
}
/////////////////////////////////////////////////////////////////////////////
function beforeCloseFunction_EditEntity(oReturnValue, strETC, strEC) {
var strEntityTypeCode = strETC;
var strFirstEntityCode = strEC;
var strEntityCode = strEC;
if (oReturnValue != null) {
strEntityTypeCode = oReturnValue.EntityTypeCode.toString();
strFirstEntityCode = oReturnValue.FirstEntityCode.toString();
strEntityCode = oReturnValue.EntityCode.toString();
if (strEntityTypeCode == "" || isNaN(strEntityTypeCode) || strFirstEntityCode == "" || isNaN(strFirstEntityCode) || strEntityCode == "" || isNaN(strEntityCode)) {
strEntityTypeCode = strETC;
strFirstEntityCode = strEC;
strEntityCode = strEC;
}
}
////After unLock
}
function EditEntity(eParam) {
var strETC = $(eParam).attr("ETC");
var strEC = $(eParam).attr("EC");
//----------
var o = new Object();
o.DialogName = "***FormBuilderDialog***" + "_" + GetRandomKey();
o.src = "/FarzinSoft/FarzinFormBuilder/Entity/EntityInstance/Update/UP.aspx?CheckFlow=0&PreNote=1&PreNoteFromMessage=1&ETC=" + strETC +
"&EC=" + strEC + "&FEC=" + strEC + "&FormBuilderDialogKey=" + o.DialogName;
o.title = "ويرايش مدرك";
o.height = null;
o.width = null;
o.position = null;
o.draggable = null;
o.resizable = null;
o.onbeforeCloseFunction = function (e) { beforeCloseFunction_EditEntity(e, strETC, strEC); };
ShowDialogPage(o);
return false;
}
/////////////////////////////////////////////////////////////////////////////
function ShowDetail(eParam) {
var o = new Object();
o.DialogName = "***FormBuilderDialog***" + "_" + GetRandomKey();
o.src = "/FarzinSoft/FarzinFormBuilder/Entity/EntityInstance/View/View.aspx?ETC=" + $(eParam).attr("ETC") + "&EC=" + $(eParam).attr("EC") + "&FormBuilderDialogKey=" + o.DialogName;
o.title = "مشاهده مدرك";
o.height = null;
o.width = null;
o.position = null;
o.draggable = null;
o.resizable = null;
o.dialogArguments = "Wnd" + $(eParam).attr("ETC") + "_" + $(eParam).attr("EC");
o.onbeforeCloseFunction = function (e) { };
ShowDialogPage(o);
return false;
}
/////////////////////////////////////////////////////////////////////////////
function ForwardMessage()
{
var arryInput = new Array();
arryInput[0] = null;
arryInput[1] = $('#AttacmentFilesXml').val();
arryInput[2] = $('#AttacmentDocsXml').val();
//---------------
var o = new Object();
o.DialogName = "/FarzinSoft/FarzinMessageSystem/Messages/SendMessage.aspx";
o.src = "/FarzinSoft/FarzinMessageSystem/Messages/SendMessage.aspx?" +
"Ref=" + (($("#ReplyMsgBtn").css("display") == "none") ? "SendBox" : "") +
"&ForwardMsgID=" + $("#MsgID").val();
o.title = "ارسال مجدد پيام";
o.height = "815";
o.width = "900";
o.position = null;
o.draggable = null;
o.resizable = null;
o.dialogArguments = arryInput;
o.onbeforeCloseFunction = function (e) { };
ShowDialogPage(o);
}
/////////////////////////////////////////////////////////////////////////////
function ReplyMessage() {
var arryInput = new Array();
arryInput[0] = null;
arryInput[1] = $('#AttacmentFilesXml').val();
arryInput[2] = $('#AttacmentDocsXml').val();
arryInput[3] = "";
//---------------
var o = new Object();
o.DialogName = "/FarzinSoft/FarzinMessageSystem/Messages/SendMessage.aspx";
o.src = "/FarzinSoft/FarzinMessageSystem/Messages/SendMessage.aspx?ForwardMsgID=" + $("#MsgID").val();
o.title = "پاسخ به پيام";
o.height = "800";
o.width = "900";
o.position = null;
o.draggable = null;
o.resizable = false;
o.dialogArguments = arryInput;
o.onbeforeCloseFunction = function (e) { };
ShowDialogPage(o);
}
/////////////////////////////////////////////////////////////////////////////
function ShowReceivers()
{
var o = new Object();
o.DialogName = "/FarzinSoft/FarzinMessageSystem/Messages/GetListOfReciversOfSentFrm.aspx";
o.src = "/FarzinSoft/FarzinMessageSystem/Messages/GetListOfReciversOfSentFrm.aspx?ViewOnly=" + (($('#ReplyMsgBtn').css("display") == "" || $('#ReplyMsgBtn').css("display") == "block" ) ? "true" : "false") + "&MsgID=" + $("#MsgID").val();
o.title = "ليست گيرندگان پيام";
o.height = "400";
o.width = "600";
o.position = null;
o.draggable = null;
o.resizable = null;
o.dialogArguments = null;
o.onbeforeCloseFunction = function (e) { };
ShowDialogPage(o);
}
/////////////////////////////////////////////////////////////////////////////
function keydown(e) {
if (e.which == 27)
btnClose_click();
}
/////////////////////////////////////////////////////////////////////////////
function btnClose_click() {
CloseDialogPage(DialogName);
}
/////////////////////////////////////////////////////////////////////////////
function DeleteMessage() {
//-----------------حذف از لیست پدر
GetDialogArguments(DialogName).DeleteMessages();//window.dialogArguments._FARZIN_ParentWindow.DeleteMessages();
CloseDialogPage(DialogName)
}
/////////////////////////////////////////////////////////////////////////////
با عنایت خداوند متعال آزمون صلاحیت پیش از دوره دانشجویان ترم 7 رشته اتاق عمل در روز شنبه مورخ 98/11/12 ساعت 8 صبح در مرکز صلاحیت های بالینی دانشگاه توسط واحد EDO (دفتر توسعه ) دانشکده پیراپزشکی برگزار گردید .