Commit b215d7f4 by lixinyi

解决手工拟报退回编辑默认没有展开的问题

parent 80149aa5
......@@ -573,8 +573,13 @@ export default {
this.treeModel.treeNodeArry = jsonArry;
//解决选择checked的但依旧置灰的错误
this.changeTreeNodeStatus(this.treeModel.treeNodeArry);
this.$nextTick(()=>{
console.log("-----初始化展开-----");
this.open();
});
console.log("cips2Json done");
});
console.log("cips2Json done");
},
parentNodeData(node) {
return node.parent.data;
......@@ -971,7 +976,7 @@ export default {
this.buildMsgStruct();
// 在nextTick回调函数中执行渲染完毕后的函数
this.$nextTick(()=>{
console.log("-----初始化展开-----")
console.log("-----初始化展开-----");
this.open();
});
},
......
......@@ -361,6 +361,15 @@ maxLength:"35",
},
],
},
{
path:"0.1.9.0.1",
name:"中介机构2名称",
label:"Name",
tag:"Nm",
type:"TextInput",
status:"O",
maxLength:"140",
},
],
},
],
......
......@@ -78,16 +78,23 @@ public class CipsTransfer {
if (rescipsEndToEndId.get("EndToEndId") != null)
gsonMaps.put("cipsEndToEndId",rescipsEndToEndId.get("EndToEndId"));
//新增MesgRefID
List<String> list = new ArrayList<>(Arrays.asList("GrpHdr"));
Map res = gsonMaps;
for(String s: list) {
if (res.get(s) != null)
res = (Map) res.get(s);
}
if("cips.112.001.02".equals(gsonMaps.get("MesgType"))) {
List<String> list = new ArrayList<>(Arrays.asList("GrpHdr"));
Map res = gsonMaps;
for(String s: list) {
if (res.get(s) != null)
res = (Map) res.get(s);
}
if (res.get("MsgId") != null)
gsonMaps.put("MesgRefID", res.get("MsgId"));
}else if ("cips.111.001.02".equals(gsonMaps.get("MesgType"))){
List<String> list = new ArrayList<>(Arrays.asList("CdtTrfTxInf","PmtId"));
Map res = gsonMaps;
for(String s: list) {
if (res.get(s) != null)
res = (Map) res.get(s);
}
if (res.get("EndToEndId") != null)
gsonMaps.put("MesgRefID", res.get("EndToEndId"));
}
......
<!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="favicon.ico"/><title>ISO手工拟报</title><script defer="defer" src="js/chunk-vendors.e88189ab.js"></script><script defer="defer" src="js/app.364b900e.js"></script><link href="css/chunk-vendors.7c88cb4c.css" rel="stylesheet"><link href="css/app.8d1e3241.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but swiftiso-editor doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
\ No newline at end of file
<!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="favicon.ico"/><title>ISO手工拟报</title><script defer="defer" src="js/chunk-vendors.e88189ab.js"></script><script defer="defer" src="js/app.79ddbfdc.js"></script><link href="css/chunk-vendors.7c88cb4c.css" rel="stylesheet"><link href="css/app.b6f65ab8.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but swiftiso-editor doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
\ No newline at end of file
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