Commit 5bbc55b7 by 宋祥

1.前端页面增加辅机页面号输入框

parent 0af99b0d
...@@ -53,9 +53,8 @@ public class ServiceHPSC002A extends ServiceEPBase { ...@@ -53,9 +53,8 @@ public class ServiceHPSC002A extends ServiceEPBase {
if (CollectionUtils.isNotEmpty(dbSc002s) || CollectionUtils.isNotEmpty(HPSC006)) { if (CollectionUtils.isNotEmpty(dbSc002s) || CollectionUtils.isNotEmpty(HPSC006)) {
inInfo.set("inqu_status-0-bizType", queryMap.get("bizType")); inInfo.set("inqu_status-0-bizType", queryMap.get("bizType"));
inInfo.set("inqu_status-0-matId", queryMap.get("id")); inInfo.set("inqu_status-0-matId", queryMap.get("id"));
inInfo.addBlock(EiConstant.resultBlock).addBlockMeta(new HPSC002A().eiMetadata);
} }
inInfo.addBlock(EiConstant.resultBlock).addBlockMeta(new HPSC002A().eiMetadata);
} catch (PlatException e) { } catch (PlatException e) {
LogUtils.setDetailMsg(inInfo, e, "初始化失败"); LogUtils.setDetailMsg(inInfo, e, "初始化失败");
} }
......
...@@ -201,7 +201,7 @@ public class SqlMapDaoLogProxy extends SqlMapDao { ...@@ -201,7 +201,7 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
*/ */
private void setDataAuth(String name, Object parameters) { private void setDataAuth(String name, Object parameters) {
// 需要过滤部分sql name,否则会形成死循环 // 需要过滤部分sql name,否则会形成死循环
String[] serviceFilter = {"HPXSUser", "HPXSOrg", "HPPZ010.query"}; String[] serviceFilter = {"HPXSUser", "HPXSOrg", "HPPZ009.query", "HPPZ010.query"};
if (StringUtils.startsWithAny(name, serviceFilter)) { if (StringUtils.startsWithAny(name, serviceFilter)) {
return; return;
} }
...@@ -261,7 +261,7 @@ public class SqlMapDaoLogProxy extends SqlMapDao { ...@@ -261,7 +261,7 @@ public class SqlMapDaoLogProxy extends SqlMapDao {
} }
String depAuth = dbPz010.getDepAuth(); String depAuth = dbPz010.getDepAuth();
// 看全部 // 看全部
if (AuthTypeEnum.ALL.getCode().equals(customAuth)) { if (AuthTypeEnum.ONLY_COMPANY.getCode().equals(customAuth)) {
return Arrays.asList(AuthTypeEnum.ALL.getCode()); return Arrays.asList(AuthTypeEnum.ALL.getCode());
} else if (AuthTypeEnum.ONLY_FACTORY.getCode().equals(customAuth)) { } else if (AuthTypeEnum.ONLY_FACTORY.getCode().equals(customAuth)) {
// 查询当前部门所在的厂及子集 // 查询当前部门所在的厂及子集
......
...@@ -23,3 +23,4 @@ ...@@ -23,3 +23,4 @@
</script> </script>
<script src="${ctx}/common/js/common.js"></script> <script src="${ctx}/common/js/common.js"></script>
<script src="${ctx}/common/js/jsUtils.js"></script> <script src="${ctx}/common/js/jsUtils.js"></script>
<EF:EFInput cname="parentFormEname" ename="efParentFormEname" type="hidden"/>
...@@ -684,7 +684,7 @@ function openUploadFile(id) { ...@@ -684,7 +684,7 @@ function openUploadFile(id) {
*/ */
function showUploadFile(id) { function showUploadFile(id) {
JSColorbox.open({ JSColorbox.open({
href: "HPSC002A?methodName=initLoad&efParentFormEname=HPSC002&inqu_status-0-bizType=WL&inqu_status-0-id=" + id, href: "HPSC002A?methodName=initLoad&inqu_status-0-bizType=WL&inqu_status-0-id=" + id,
title: "<div style='text-align: center;'>附件清单</div>", title: "<div style='text-align: center;'>附件清单</div>",
width: "80%", width: "80%",
height: "80%", height: "80%",
......
...@@ -38,6 +38,7 @@ $(window).load(function () { ...@@ -38,6 +38,7 @@ $(window).load(function () {
* 查询 * 查询
*/ */
var query = function (e) { var query = function (e) {
console.log( __eiInfo);
resultGrid.dataSource.page(1); resultGrid.dataSource.page(1);
} }
......
...@@ -190,8 +190,10 @@ ...@@ -190,8 +190,10 @@
href = replacePos(href, (inx + 1), "?"); href = replacePos(href, (inx + 1), "?");
} }
} else { } else {
} }
// 当前页面号
let efFormEname = __eiInfo.extAttr[EiConstant.EF_FORM_ENAME];
href = href + (href.indexOf("?") == -1 ? '?' : '&') + "efParentFormEname=" + efFormEname;
parameter["href"] = href; parameter["href"] = href;
popWindow = divhtml.data("kendoWindow"); popWindow = divhtml.data("kendoWindow");
popWindow.setOptions({ popWindow.setOptions({
......
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