ProcessList.aspx.cs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. using SiteCore;
  2. using SQLData;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Data;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Web;
  9. using System.Web.UI;
  10. using System.Web.UI.WebControls;
  11. using Utils.Serialization;
  12. public partial class EProcess_ProcessList : BasePage
  13. {
  14. protected override void OnPreInit(EventArgs e)
  15. {
  16. _repTitle = "部门流程列表";
  17. PmTag = "processlist";
  18. //_selfCheckPermission = true;
  19. _filterItem = "title,sign_date";
  20. _keyFilterVisible = false;
  21. _addVisible = false;
  22. _filterDateBtn = false;
  23. }
  24. protected void Page_Load(object sender, EventArgs e)
  25. {
  26. if (!IsPostBack)
  27. {
  28. //string ctid = GetString("ctid");
  29. //string tid = GetString("tid");
  30. //StringBuilder sql = new StringBuilder();
  31. //sql.AppendFormat("select * from view_erptradecell where ctid={0};",ctid);
  32. //sql.AppendFormat("select * from ce_erpBill where tid={0};",0);
  33. //sql.AppendFormat("select * from ce_ErpReturnCash where tid={0};",0);
  34. //sql.AppendFormat("select * from ce_erptradorder where tid={0};",0);
  35. //sql.AppendFormat("select * from ce_erptradeLog where AfterSaleState>=0 and ctid={0};",0);
  36. //DataSet ds = DbHelper.DbConn.ExecuteDataset(sql.ToString());
  37. //AppendScript("tradeData=" + JsonString.DataTable2AjaxJson(ds.Tables[0]) + ";");
  38. //AppendScript("billData=" + JsonString.DataTable2AjaxJson(ds.Tables[1]) + ";");
  39. //AppendScript("cashData=" + JsonString.DataTable2AjaxJson(ds.Tables[2]) + ";");
  40. //AppendScript("orderData=" + JsonString.DataTable2AjaxJson(ds.Tables[3]) + ";");
  41. //selType.DataSource = dt;
  42. //selType.DataValueField = "ID";
  43. //selType.DataTextField = "Name";
  44. //selType.DataBind();
  45. }
  46. //foreach (DataRow dr in dt.Rows)
  47. //{
  48. //}
  49. }
  50. }