Beispiel #1
0
        public System.Web.Mvc.ActionResult view_10435()
        {
            qc = set.getUserYSBQC(set.BDDM.Qysds);
            JToken         reportData = set.getUserYSBQCReportData(qc.Id, qc.BDDM);
            Nsrxx          xx         = set.getNsrxx();
            GDTXDate       gd         = set.getGDTXDate(qc.BDDM);
            QysdsYjdAModel model      = new QysdsYjdAModel {
                Nsrxx = xx, GDTXDate = gd, reportData = reportData
            };

            return(View(model));
        }
Beispiel #2
0
        public System.Web.Mvc.ActionResult edit_10435()
        {
            QysdsYjdAModel model;

            qc = set.getUserYSBQC(set.BDDM.Qysds);
            JToken   hdxxvojsons = set.getQysdsyjdHdxxvojsons();
            JToken   reportData  = set.getUserYSBQCReportData(qc.Id, qc.BDDM);
            Nsrxx    xx          = set.getNsrxx();
            GDTXDate gd          = set.getGDTXDate(qc.BDDM);

            if (reportData.HasValues)
            {
                model = new QysdsYjdAModel {
                    Nsrxx = xx, GDTXDate = gd, QcsData = hdxxvojsons, reportData = reportData
                };
            }
            else
            {
                model = new QysdsYjdAModel {
                    Nsrxx = xx, GDTXDate = gd, QcsData = hdxxvojsons, reportData = new JArray()
                };
            }
            return(View(model));
        }