Browse Source

单选下拉多选数据源新增任选系统表单字段配置优化

lwx_v1
liwenxuan 1 year ago
parent
commit
9e34ace7f3
  1. 3
      src/main/java/com/hxgk/lowcode/service/impl/CustomerFormServiceImpl.java

3
src/main/java/com/hxgk/lowcode/service/impl/CustomerFormServiceImpl.java

@ -275,10 +275,12 @@ public class CustomerFormServiceImpl implements CustomerFormService {
ArrayList<Tree> masterTreeList = new ArrayList<>();
String userKey = key;
String onlyToShowTableId = "";
//上线修改
String url = "http://172.20.2.87:7777/customer_form/gainTableField";//本地+内网
//String url = "http://36.133.126.182:39250/customer_form/gainTableField";//外网
if(cfid.contains("zibiaoid-")){
onlyToShowTableId = cfid.split("zibiaoid-")[1];
cfid = cfid.split(":")[0];//当选择某个主表的子表时,连主表数据一并返回。
}
JSONObject param = new JSONObject();
@ -314,6 +316,7 @@ public class CustomerFormServiceImpl implements CustomerFormService {
HashMap<String,Object> showMap = new HashMap<>();
showMap.put("show",masterTableName.toString().replace("\"",""));
showMap.put("onlyToShowTableId",onlyToShowTableId);
tree.setTreeAttrs(showMap);
if(!(sunTableArrObj == null)){

Loading…
Cancel
Save