Commit c82209a3 by 宋祥

1.下拉框禁用

parent 408b7c82
...@@ -6,7 +6,6 @@ import com.baosight.hggp.core.constant.CommonConstant; ...@@ -6,7 +6,6 @@ import com.baosight.hggp.core.constant.CommonConstant;
import com.baosight.hggp.core.dao.DaoBase; import com.baosight.hggp.core.dao.DaoBase;
import com.baosight.hggp.core.dao.DaoUtils; import com.baosight.hggp.core.dao.DaoUtils;
import com.baosight.hggp.core.security.UserSessionUtils; import com.baosight.hggp.core.security.UserSessionUtils;
import com.baosight.hggp.hg.cw.domain.HGCW002;
import com.baosight.hggp.hg.pz.domain.HGPZ001; import com.baosight.hggp.hg.pz.domain.HGPZ001;
import com.baosight.hggp.hg.pz.enums.DynamicTableEnum; import com.baosight.hggp.hg.pz.enums.DynamicTableEnum;
import com.baosight.hggp.hg.pz.utils.HGPZUtils; import com.baosight.hggp.hg.pz.utils.HGPZUtils;
...@@ -18,18 +17,22 @@ import com.baosight.hggp.hg.xs.domain.Company; ...@@ -18,18 +17,22 @@ import com.baosight.hggp.hg.xs.domain.Company;
import com.baosight.hggp.hg.xs.domain.Dept; import com.baosight.hggp.hg.xs.domain.Dept;
import com.baosight.hggp.hg.xs.domain.User; import com.baosight.hggp.hg.xs.domain.User;
import com.baosight.hggp.hg.xs.tools.HGXSTools; import com.baosight.hggp.hg.xs.tools.HGXSTools;
import com.baosight.hggp.hg.xs.utils.HGXSUtils;
import com.baosight.hggp.util.AssertUtils; import com.baosight.hggp.util.AssertUtils;
import com.baosight.hggp.util.CommonMethod; import com.baosight.hggp.util.CommonMethod;
import com.baosight.hggp.util.DateUtil; import com.baosight.hggp.util.DateUtil;
import com.baosight.hggp.util.EiInfoUtils; import com.baosight.hggp.util.EiInfoUtils;
import com.baosight.hggp.util.ExcelUtils;
import com.baosight.hggp.util.LogUtils; import com.baosight.hggp.util.LogUtils;
import com.baosight.hggp.util.MapUtils; import com.baosight.hggp.util.MapUtils;
import com.baosight.hggp.util.ObjectUtils; import com.baosight.hggp.util.ObjectUtils;
import com.baosight.hggp.util.contants.ACConstants;
import com.baosight.iplat4j.core.ei.EiConstant; import com.baosight.iplat4j.core.ei.EiConstant;
import com.baosight.iplat4j.core.ei.EiInfo; import com.baosight.iplat4j.core.ei.EiInfo;
import com.baosight.iplat4j.core.exception.PlatException; import com.baosight.iplat4j.core.exception.PlatException;
import com.baosight.iplat4j.core.service.impl.ServiceBase; import com.baosight.iplat4j.core.service.impl.ServiceBase;
import java.util.ArrayList;
import java.util.Arrays; import java.util.Arrays;
import java.util.HashMap; import java.util.HashMap;
import java.util.List; import java.util.List;
...@@ -276,7 +279,7 @@ public class ServiceHGSC001 extends ServiceBase { ...@@ -276,7 +279,7 @@ public class ServiceHGSC001 extends ServiceBase {
@OperationLogAnnotation(operModul = "项目立项", operType = "导出", operDesc = "导出记录") @OperationLogAnnotation(operModul = "项目立项", operType = "导出", operDesc = "导出记录")
public EiInfo export(EiInfo inEiInfo) { public EiInfo export(EiInfo inEiInfo) {
Map params = HGXSUtils.setAuthParam("HGSC001."+ACConstants.SQL_EXPORT, EiInfoUtils.getFirstRow(inEiInfo)); Map params = HGXSUtils.setAuthParam("HGSC001."+ ACConstants.SQL_EXPORT, EiInfoUtils.getFirstRow(inEiInfo));
final List<String> list = new ArrayList<>( final List<String> list = new ArrayList<>(
Arrays.asList( "companyName","projCode","projName","subcontract_name","genral_contract_name","branchUnit", Arrays.asList( "companyName","projCode","projName","subcontract_name","genral_contract_name","branchUnit",
"projType","permissStartDate","startDate","endDate","projStatus","approvalStatus" "projType","permissStartDate","startDate","endDate","projStatus","approvalStatus"
......
...@@ -48,7 +48,7 @@ $(window).load(function () { ...@@ -48,7 +48,7 @@ $(window).load(function () {
let modifyEnableInput = function () { let modifyEnableInput = function () {
let id = $("#result-0-id").val(); let id = $("#result-0-id").val();
if (!CommonUtils.isBlank(id)) { if (!CommonUtils.isBlank(id)) {
$("#result-0-tableCode").data("kendoDropDownList").attr("readonly", true); $("#result-0-tableCode").data("kendoDropDownList").readonly(true);
$("#result-0-fieldCode").attr("readonly", true); $("#result-0-fieldCode").attr("readonly", true);
} }
} }
......
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