Commit 83f3d719 by lixinyi

单选框模板展示逻辑修改

parent bd1b3e6b
......@@ -275,6 +275,7 @@ export default {
if(this.judgeArrayNone(children[i]) != null){
//当前节点不为空
//修改当前节点的checked状态
this.judgeArrayNone(children[i]);
this.changeChildsStatus(children[i],false,true,true);
this.UpdateChoiceNode(children[i]);
}else{
......@@ -304,7 +305,7 @@ export default {
this.changeChildsStatus(children2[0],false,true,true);
}
}
continue;
//continue;
}
if(children != undefined && children != null){
this.changeTreeNodeStatus(children);
......@@ -409,11 +410,12 @@ export default {
*/
changeChildsStatus:function(nodeData, sta, checked, parentIsChoice){
//父节点是“Choice”,并且要将disable置为false(表现在web页面上为可以输入)
if(parentIsChoice && !sta){
if(nodeData.checked === undefined)
if(nodeData.checked === undefined)
this.$set(nodeData, "checked", checked);
else
nodeData.checked = checked;
if(parentIsChoice && !sta){
//当前节点及其后代节点disable的值要继承
//若当前节checked === true,disable的值要固定为false(可用)
......
<!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.23ee7bd5.js"></script><script defer="defer" src="js/app.7af1ce20.js"></script><script defer="defer" src="js/main.59945214.js"></script><link href="css/chunk-vendors.77489a8d.css" rel="stylesheet"><link href="css/app.d2831041.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.23ee7bd5.js"></script><script defer="defer" src="js/app.1e07cfbd.js"></script><script defer="defer" src="js/main.59945214.js"></script><link href="css/chunk-vendors.77489a8d.css" rel="stylesheet"><link href="css/app.bafa1db8.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
......@@ -60,6 +60,7 @@ fiToFICstmrCdtTrf.cdtTrfTxInf*.cdtr=cdtr
fiToFICstmrCdtTrf.cdtTrfTxInf*.cdtrAcct=cdtrAcct
fiToFICstmrCdtTrf.cdtTrfTxInf*.purp=purp
fiToFICstmrCdtTrf.cdtTrfTxInf*.rmtInf.ustrd=ustrd
fiToFICstmrCdtTrf.cdtTrfTxInf*.rmtInf.strd=strd
fiToFICstmrCdtTrf.cdtTrfTxInf*.rgltryRptg*.dtls*.inf=inf
fiToFICstmrCdtTrf.cdtTrfTxInf*.instgAgt=instgAgt
fiToFICstmrCdtTrf.cdtTrfTxInf*.instrForCdtrAgt=instrForCdtrAgt
......
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