/// <summary>
        /// 问题一览
        /// </summary>
        /// <param name="sco_app_Id">附件id</param>
        /// <param name="scoPagecurrent">当前页</param>
        /// <returns></returns>
        public ActionResult QaList(string qa_app_Id, string qaPagecurrent)
        {
            List <View_Qa> qaList     = new List <View_Qa>();
            string         qaLinkpage = "";// 分页标签
            ResourceList   reList     = new ResourceList();

            using (JSZX_ResourceEntities db = new JSZX_ResourceEntities())
            {
                // 初期化时当前页是否为空、若为空默认第一页
                if (string.IsNullOrEmpty(qaPagecurrent))
                {
                    qaPagecurrent = "1";
                }

                // 取得记录集数
                int qaListcount = reList.GetResourceQaSizeByAppId(qa_app_Id, db);

                // 分页
                Pages2 qaPage = new Pages2();
                qaPage.subeachnums        = Constant.VIEWONLINE_QUESTION_NUM; // 每页显示的条目数
                qaPage.subnums            = qaListcount;                      // 总条目数
                qaPage.subcurrentpage     = int.Parse(qaPagecurrent);         // 当前被选中的页
                qaPage.subeachpages       = 10;                               // 每次显示的页数
                qaPage.subpagetype        = 2;                                // 分页样式1:普通模式、2:经典模式
                qaPage.subformname        = "Qa_ActionForm";                  // 表单名
                qaPage.hidIdName          = "qaPagecurrent";                  //存放当前页的隐藏控件的id
                qaPage.subPageId          = "qaPagehow";                      //跳转页数输入框控件的id
                qaPage.functionName       = "GetQaList();";                   //获取列表信息的方法名
                qaPage.functionPageName   = "qaPage";                         //翻页的方法名
                qaPage.functionTopageName = "qaTopage";                       //跳转页面的方法名
                qaLinkpage = qaPage.SubPages();                               // 生成分页标签
                qaList     = reList.GetResourceQaByAppId(qa_app_Id, qaPage.subeachnums, Convert.ToInt32(qaPagecurrent), db);
            }

            ViewData["qaPagecurrent"] = qaPagecurrent; // 当前页
            ViewData["qaList"]        = qaList;
            ViewData["qaLinkpage"]    = qaLinkpage;    // 分页标签


            return(View());
        }
        /// <summary>
        /// 评价一览
        /// </summary>
        /// <param name="sco_app_Id">附件id</param>
        /// <param name="scoPagecurrent">当前页</param>
        /// <returns></returns>
        public ActionResult ScoreList(string sco_app_Id, string scoPagecurrent)
        {
            List <View_Score> scoList     = new List <View_Score>();
            string            scoLinkpage = "";// 分页标签
            ResourceList      reList      = new ResourceList();

            using (JSZX_ResourceEntities db = new JSZX_ResourceEntities())
            {
                // 初期化时当前页是否为空、若为空默认第一页
                if (string.IsNullOrEmpty(scoPagecurrent))
                {
                    scoPagecurrent = "1";
                }
                // 取得记录集数
                int scoListcount = reList.GetResourceScoreSizeByAppId(sco_app_Id, db);
                // 分页
                Pages2 scoPage = new Pages2();
                scoPage.subeachnums        = Constant.VIEWONLINE_COMMENTARY_NUM; // 每页显示的条目数
                scoPage.subnums            = scoListcount;                       // 总条目数
                scoPage.subcurrentpage     = int.Parse(scoPagecurrent);          // 当前被选中的页
                scoPage.subeachpages       = 10;                                 // 每次显示的页数
                scoPage.subpagetype        = 2;                                  // 分页样式1:普通模式、2:经典模式
                scoPage.subformname        = "Sco_ActionForm";                   // 表单名
                scoPage.hidIdName          = "scoPagecurrent";                   //存放当前页的隐藏控件的id
                scoPage.subPageId          = "scoPagehow";                       //跳转页数输入框控件的id
                scoPage.functionName       = "GetScoreList();";                  //获取列表信息的方法名
                scoPage.functionPageName   = "scoPage";                          //翻页的方法名
                scoPage.functionTopageName = "scoTopage";                        //跳转页面的方法名
                scoLinkpage = scoPage.SubPages();                                // 生成分页标签
                scoList     = reList.GetResourceScoreByAppId(sco_app_Id, scoPage.subeachnums, Convert.ToInt32(scoPagecurrent), db);
            }

            ViewData["scoPagecurrent"] = scoPagecurrent; // 当前页
            ViewData["scoList"]        = scoList;
            ViewData["scoLinkpage"]    = scoLinkpage;    // 分页标签

            return(View());
        }