| | |
| | | /// </summary> |
| | | private void getTree() |
| | | { |
| | | string _where = " and 1=1 and "+this.strWhere; |
| | | var pgq = new PageQueryModel(1, 999999, "a.defect_name","asc","", _where); |
| | | string _where = " and 1=1 and a.type1=1 and " + this.strWhere; |
| | | var pgq = new PageQueryModel(1, 999999, "a.defect_name", "asc", "", _where); |
| | | var json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | | { |
| | |
| | | // tlMenu.OptionsBehavior.Editable = true; |
| | | tlMenu.OptionsBehavior.AllowRecursiveNodeChecking = false; |
| | | tlMenu.BestFitColumns(); |
| | | tlMenu.ExpandAll(); |
| | | } |
| | | catch (Exception ex) |
| | | { |