Commit f66a40fb by wuwenlong

签证单可以选劳务合同

parent 49930265
......@@ -239,14 +239,14 @@ public class ServiceHGCW002 extends ServiceBase {
public EiInfo projectComboBox(EiInfo inInfo){
Map<String, Object> map = new HashMap<>();
List<String> contractTypArray = new ArrayList<>();
if (StringUtils.isNotEmpty(inInfo.getString("reviewStatus"))) {
map.put("reviewStatus", inInfo.getString("reviewStatus"));
if (Objects.nonNull(inInfo.getAttr().get("reviewStatus"))) {
map.put("reviewStatus", inInfo.getAttr().get("reviewStatus"));
}
if (StringUtils.isNotEmpty(inInfo.getString("contractType"))) {
map.put("contractType", inInfo.getString("contractType"));
if (Objects.nonNull(inInfo.getAttr().get("contractType"))) {
map.put("contractType", inInfo.getAttr().get("contractType"));
}
if (StringUtils.isNotEmpty(inInfo.getString("contractTyps"))) {
String[] contractTyps = inInfo.getString("contractTyps").split(",");
if (Objects.nonNull(inInfo.getAttr().get("contractTypes"))) {
String[] contractTyps = inInfo.getAttr().get("contractTypes").toString().split(",");
for (String c : contractTyps) {
contractTypArray.add(c);
}
......
......@@ -37,7 +37,7 @@ $(function() {
query: function (container, params) {
var queryInfo = new EiInfo();
// info.set("reviewStatus","3")
queryInfo.set("contractType","1")
queryInfo.set("contractTypes","1,2")
return queryInfo;
},
init: function (e, options) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment