|
@@ -196,10 +196,10 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
{
|
|
|
JsonData data = JsonMapper.ToObject(value);
|
|
|
List<Dictionary<string, object>> dataList = new List<Dictionary<string, object>>();
|
|
|
- Dictionary<string, object> item = new Dictionary<string, object>();
|
|
|
var first = maindb.BusinessScopeType.OrderBy(m => m.Id).ToList();
|
|
|
foreach (var itemf in first)
|
|
|
{
|
|
|
+ Dictionary<string, object> item = new Dictionary<string, object>();
|
|
|
item.Add("value", itemf.Id);
|
|
|
item.Add("text", itemf.KindName);
|
|
|
var second = maindb.BusinessScope.Where(m => m.KindId == itemf.Id).OrderBy(m => m.Id).ToList();
|
|
@@ -211,7 +211,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
subitem.Add("text", items.Name);
|
|
|
sublist.Add(subitem);
|
|
|
}
|
|
|
- item.Add("Children", sublist);
|
|
|
+ item.Add("children", sublist);
|
|
|
dataList.Add(item);
|
|
|
}
|
|
|
return dataList;
|
|
@@ -290,6 +290,7 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
}
|
|
|
return dataList;
|
|
|
}
|
|
|
+
|
|
|
public Dictionary<string, string> GetSubjects()
|
|
|
{
|
|
|
Dictionary<string, string> dic = new Dictionary<string, string>();
|
|
@@ -493,8 +494,8 @@ namespace MySystem.Areas.Api.Controllers.v1
|
|
|
public Dictionary<string, string> GetAccountTypes()
|
|
|
{
|
|
|
Dictionary<string, string> dic = new Dictionary<string, string>();
|
|
|
- dic.Add("BANK_ACCOUNT_TYPE_CORPORATE", "对公银行账户");
|
|
|
- dic.Add("BANK_ACCOUNT_TYPE_PERSONAL", "经营者个人银行卡");
|
|
|
+ dic.Add("BANK_ACCOUNT_TYPE_CORPORATE", "企业对公银行账号");
|
|
|
+ dic.Add("BANK_ACCOUNT_TYPE_PERSONAL", "法人个人银行卡");
|
|
|
return dic;
|
|
|
}
|
|
|
public Dictionary<string, string> GetBanks()
|