Sfoglia il codice sorgente

解决手机端编辑多表表单出现from附近语法错误问题

长阳分支推送专用
liangkun 2 anni fa
parent
commit
f670a58d95
1 ha cambiato i file con 8 aggiunte e 1 eliminazioni
  1. +8
    -1
      Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Form/Scheme/FormSchemeBLL.cs

+ 8
- 1
Learun.Framework.Ultimate V7/Learun.Framework.Module/Learun.Application.Module/Learun.Application.Form/Scheme/FormSchemeBLL.cs Vedi File

@@ -577,6 +577,7 @@ namespace Learun.Application.Form
TableTree.Add(treeone);
}
TableTree = TableTree.ToTree();
bool hasupload = false;

// 确定表与组件之间的关系
Dictionary<string, List<FormCompontModel>> tableComponts = new Dictionary<string, List<FormCompontModel>>();
@@ -592,6 +593,7 @@ namespace Learun.Application.Form
}
if (compont.type == "upload")
{
hasupload = true;
tableComponts[compont.table].Add(compont);
}
if (compont.type == "guid")
@@ -602,8 +604,13 @@ namespace Learun.Application.Form
}
}
}
Dictionary<string, string> uploadfieldkeyvalue = new Dictionary<string, string>();

if (!hasupload)
{
return uploadfieldkeyvalue;
}
GetInstanceTableData(TableTree, tableComponts, formSchemeModel.dbId, keyValue, processIdName, null, res);
Dictionary < string,string> uploadfieldkeyvalue=new Dictionary<string, string>();
foreach (var itemCompont in tableComponts)
{
foreach (FormCompontModel formitem in itemCompont.Value)


Caricamento…
Annulla
Salva