/// <summary>
        /// 显示信息
        /// </summary>
        void ShowInfo()
        {
            if (m_lnqInstitution != null)
            {
                txtSDBNo.Text    = m_lnqInstitution.BillNo;
                txtFileName.Text = m_lnqInstitution.FileName;
                txtFileNo.Text   = m_lnqInstitution.FileNo;

                FM_FileSort sort = m_serverFileBasic.SortInfo(m_lnqInstitution.SortID);

                txtFileSort.Text = sort.SortName;
                txtFileSort.Tag  = sort.SortID;

                txtRemark.Text = m_lnqInstitution.Introductions;

                lbPropoer.Text       = m_lnqInstitution.Propoer;
                lbPropoerTime.Text   = m_lnqInstitution.PropoerTime.ToString();
                lbSDBStatus.Text     = m_lnqInstitution.BillStatus;
                llbFileDownLoad.Text = lbPropoer.Text + "的文件";
                llbFileDownLoad.Tag  = m_lnqInstitution.FileUnique;
            }
            else
            {
                lbSDBStatus.Text     = InstitutionBillStatus.新建流程.ToString();
                lbPropoer.Text       = BasicInfo.LoginName;
                lbPropoerTime.Text   = ServerTime.Time.ToString();
                txtSDBNo.Text        = m_billNoControl.GetNewBillNo();
                llbFileDownLoad.Text = "";
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// 显示信息
        /// </summary>
        void ShowInfo()
        {
            if (m_lnqInstitution != null)
            {
                txtSDBNo.Text        = m_lnqInstitution.BillNo;
                txtFileName.Text     = m_lnqInstitution.FileName;
                txtFileNo.Text       = m_lnqInstitution.FileNo;
                txtReplaceFileNo.Tag = m_lnqInstitution.ReplaceFileID;

                if (txtReplaceFileNo.Tag != null)
                {
                    FM_FileList fileInfo = m_serverFileBasic.GetFile((int)txtReplaceFileNo.Tag);

                    txtReplaceFileNo.Text   = fileInfo.FileNo;
                    txtReplaceFileName.Text = fileInfo.FileName;
                    txtRepalceVersion.Text  = fileInfo.Version;
                }

                txtDepartment.Tag  = m_lnqInstitution.Department;
                txtDepartment.Text = txtDepartment.Tag == null ? "" : UniversalFunction.GetDeptName(txtDepartment.Tag.ToString());

                FM_FileSort sort = m_serverFileBasic.SortInfo(m_lnqInstitution.SortID);

                txtFileSort.Text = sort.SortName;
                txtFileSort.Tag  = sort.SortID;

                txtRemark.Text = m_lnqInstitution.Introductions;

                lbPropoer.Text       = m_lnqInstitution.Propoer;
                lbPropoerTime.Text   = m_lnqInstitution.PropoerTime.ToString();
                lbSDBStatus.Text     = m_lnqInstitution.BillStatus;
                llbFileDownLoad.Text = lbPropoer.Text + "的文件";
                llbFileDownLoad.Tag  = m_lnqInstitution.FileUnique;

                if (m_lnqInstitution.OperationMode == radioButton1.Text)
                {
                    radioButton1.Checked = true;
                    radioButton2.Checked = false;
                }
                else
                {
                    radioButton1.Checked = false;
                    radioButton2.Checked = true;
                }
            }
            else
            {
                lbSDBStatus.Text     = InstitutionBillStatus.新建流程.ToString();
                lbPropoer.Text       = BasicInfo.LoginName;
                lbPropoerTime.Text   = ServerTime.Time.ToString();
                txtSDBNo.Text        = m_billNoControl.GetNewBillNo();
                llbFileDownLoad.Text = "";
            }
        }
Exemplo n.º 3
0
        /// <summary>
        /// 是否为第三层次文件
        /// </summary>
        /// <param name="sortID">文件类别ID</param>
        /// <returns>是 返回True,否 返回False</returns>
        bool IsThreeTripFile(int sortID)
        {
            ISystemFileBasicInfo serverBasic = ServerModuleFactory.GetServerModule <ISystemFileBasicInfo>();
            FM_FileSort          sort        = serverBasic.SortInfo(sortID);

            if (sort.FileType == (int)CE_FileType.制度文件)
            {
                if (sort.SortName.Contains("_规定、细则、规程、标准"))
                {
                    return(true);
                }
                else
                {
                    return(false);
                }
            }
            else
            {
                return(false);
            }
        }
Exemplo n.º 4
0
        /// <summary>
        /// 显示数据
        /// </summary>
        void ShowData()
        {
            if (m_lnqReleaseProcess.ReplaceFileID != null)
            {
                FM_FileList lnqTemp = m_serverFileBasicInfo.GetFile(Convert.ToInt32(m_lnqReleaseProcess.ReplaceFileID));

                txtReplaceFileNo.Tag    = lnqTemp.FileID;
                txtReplaceFileNo.Text   = lnqTemp.FileNo;
                txtReplaceFileName.Text = lnqTemp.FileName;
                txtRepalceVersion.Text  = lnqTemp.Version;
            }

            txtRemark.Text         = m_lnqReleaseProcess.Remark;
            txtFileNo.Text         = m_lnqReleaseProcess.FileNo;
            txtFileName.Text       = m_lnqReleaseProcess.FileName;
            txtDepartment.Text     = m_serverDepartment.GetDepartmentName(m_lnqReleaseProcess.Department);
            txtDepartment.Tag      = m_lnqReleaseProcess.Department;
            txtSortName.Tag        = m_lnqReleaseProcess.SortID;
            txtSortName.Text       = m_serverFileBasicInfo.SortInfo(Convert.ToInt32(m_lnqReleaseProcess.SortID)).SortName;
            txtAuditorAdvise.Text  = m_lnqReleaseProcess.AuditorAdvise;
            txtApproverAdvise.Text = m_lnqReleaseProcess.ApproverAdvise;
            txtSDBNo.Text          = m_lnqReleaseProcess.SDBNo;
            txtVersion.Text        = m_lnqReleaseProcess.Version;

            lbApprover.Text     = m_lnqReleaseProcess.Approver;
            lbApproverTime.Text = m_lnqReleaseProcess.ApproverTime.ToString();
            lbAuditor.Text      = m_lnqReleaseProcess.Auditor;
            lbAuditorTime.Text  = m_lnqReleaseProcess.AuditorTime.ToString();
            lbPropoer.Text      = m_lnqReleaseProcess.Propoer;
            lbPropoerTime.Text  = m_lnqReleaseProcess.PropoerTime.ToString();
            lbSDBStatus.Text    = m_lnqReleaseProcess.SDBStatus;

            llbProposerDownLoad.Text = m_lnqReleaseProcess == null ? "" : lbPropoer.Text + "的文件";

            llbProposerDownLoad.Tag = m_lnqReleaseProcess.FileUnique.ToString();
        }