| 123456789101112131415161718192021222324252627282930313233 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.UI;
- using System.Data;
- using System.Text;
- using System.Web.UI.WebControls;
- using ServiceReference;
- public partial class Realizelist : System.Web.UI.Page
- {
- public IPowerMettersService services;
- public string type;
- public string text;
- public string topic;
- protected void Page_Load(object sender, EventArgs e)
- {
- services = new PowerMettersServiceClient();
- type = Request.QueryString["type"] == null ? "" : Request.QueryString["type"].ToString();
- topic = type.Replace("0", "即办").Replace("-1", "其他").Replace("2", "全程网上申办,快递送达").Replace("3", "网上申报、预审,窗口核验、取件").Replace("4", "窗口申报,快递送达").Replace("1", "全程网上申办,在线取件");
- Branch[] bm = services.GetBranchsByApplyType(Convert.ToInt32(type));
- foreach (Branch b in bm)
- {
- text = text + "<p class='list3' onclick='javascript:window.location.href=\"Rlist.aspx?guid=" + b.GUID + "&type="+type+"\"'> <span>" + b.ShortName + "</span></p> ";
- }
- if (text==null)
- {
- text = "<p class='list3'>未获取到部门事项</p><p class='list3' style='background:url();'></p>";
- }
- }
- }
|