예제 #1
0
        /// <summary>
        /// 绑定签名常用值签名
        /// 返回员工所属科室的签名集合
        /// </summary>
        /// <param name="p_ctlCall">按钮控件 通常PinkieControls</param>
        /// <param name="p_ctlTarget">签名接受控件 通常textbox、listview</param>
        /// <param name="p_intType">签名列表的类型:1为医生签名;2为护士签名</param>
        /// <param name="p_blnVerify">是否身份验证 true=需要 false=不需要</param>
        /// <param name="p_employeeID">员工ID</param>
        public void m_mthBindEmployeeSign(Control p_ctlCall, Control p_ctlTarget, int p_intType, bool p_blnVerify, string p_employeeID)
        {
            clsCommonUseTool objTool = new clsCommonUseTool();

            objTool.m_BlnIsShowLevel = m_blnIsShowLevel;
            objTool.m_mthBindEmployeeSign(p_ctlCall, p_ctlTarget, p_intType, p_blnVerify, p_employeeID);
        }
예제 #2
0
 /// <summary>
 /// 绑定特定部门签名常用值签名
 /// 数组传入
 /// </summary>
 /// <param name="p_ctlCallArr">按钮控件 通常PinkieControls</param>
 /// <param name="p_ctlTargetArr">签名接受控件 通常textbox、listview</param>
 /// <param name="p_intTypeArr">签名列表的类型:1为医生签名;2为护士签名</param>
 /// <param name="p_strDeptID">科室ID</param>
 /// <param name="p_blnVerify">是否身份验证 true=需要 false=不需要</param>
 public void m_mthBindEmployeeSign(Control[] p_ctlCallArr, Control[] p_ctlTargetArr, int[] p_intTypeArr, string[] p_strDeptIDArr, bool[] p_blnVerifyArr)
 {
     if (p_ctlCallArr != null && p_ctlCallArr.Length > 0)
     {
         clsCommonUseTool objTool;
         for (int i = 0; i < p_ctlCallArr.Length; i++)
         {
             objTool = new clsCommonUseTool();
             objTool.m_BlnIsShowLevel = m_blnIsShowLevel;
             objTool.m_mthBindEmployeeSign(p_ctlCallArr[i], p_ctlTargetArr[i], p_intTypeArr[i], p_strDeptIDArr[i], p_blnVerifyArr[i]);
         }
     }
 }
예제 #3
0
        /// <summary>
        /// 绑定签名常用值签名
        /// 返回员工所属科室的签名集合
        /// </summary>
        /// <param name="p_ctlCall">按钮控件 通常PinkieControls</param>
        /// <param name="p_ctlTarget">签名接受控件 通常textbox、listview</param>
        /// <param name="p_intType">签名列表的类型:1为医生签名;2为护士签名</param>
        /// <param name="p_blnVerify">是否身份验证 true=需要 false=不需要</param>
        /// <param name="p_employeeID">员工ID</param>
        /// <param name="p_blnIsorNoneShowLevel">是否显示职称:0通过参数配置设置;1显示,2不显示</param>
        public void m_mthBindEmployeeSign(Control p_ctlCall, Control p_ctlTarget, int p_intType, bool p_blnVerify, string p_employeeID, int p_intIsorNoneShowLevel)
        {
            clsCommonUseTool objTool = new clsCommonUseTool();

            if (p_intIsorNoneShowLevel == 1)
            {
                objTool.m_BlnIsShowLevel = true;
            }
            else if (p_intIsorNoneShowLevel == 2)
            {
                objTool.m_BlnIsShowLevel = false;
            }
            else
            {
                objTool.m_BlnIsShowLevel = m_blnIsShowLevel;
            }
            objTool.m_mthBindEmployeeSign(p_ctlCall, p_ctlTarget, p_intType, p_blnVerify, p_employeeID);
        }