|
|
|
@ -1,5 +1,6 @@ |
|
|
|
package com.hxgk.lowcode.controller; |
|
|
|
|
|
|
|
import com.hxgk.lowcode.model.entity.Option; |
|
|
|
import com.hxgk.lowcode.model.entity.SystemRole; |
|
|
|
import com.hxgk.lowcode.model.entity.Tree; |
|
|
|
import com.hxgk.lowcode.service.CustomerFormService; |
|
|
|
@ -9,6 +10,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.HashMap; |
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
/* |
|
|
|
@ -66,4 +68,15 @@ public class AssociatedFormsController { |
|
|
|
return JsonData.buildSuccess(serviceRoleList); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*下拉,多选,单选,选项数据*/ |
|
|
|
@RequestMapping(value = "AssociateOptionSettings/getOptions") |
|
|
|
public JsonData getOptions() { |
|
|
|
ArrayList<Option> options = new ArrayList<>(); |
|
|
|
options.add(new Option("吃饭","0")); |
|
|
|
options.add(new Option("睡觉","1")); |
|
|
|
options.add(new Option("打豆豆","2")); |
|
|
|
return JsonData.buildSuccess(options); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|