提交 e0575404 编写于 作者: NoSubject's avatar NoSubject

立即路由在一个活动中只允许一条路由选“是”

上级 59fcc8d8
......@@ -107,7 +107,7 @@
</tr>
<tr>
<td class="editTableTitle">{{$.lp.routeNow}}:</td>
<td class="editTableValue" id="text{$.id}sole" >
<td class="editTableValue" id="text{$.id}soleDirect" >
<input class="editTableRadio" name="soleDirect" text{($.soleDirect===true)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
<input class="editTableRadio" name="soleDirect" text{($.soleDirect!==true)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
<br><div style="color: #999999">{{$.lp.routeNowInfo}}</div>
......
......@@ -14,6 +14,7 @@
"activity": "",
"createTime": "",
"sole": false
"sole": false,
"soleDirect": false
}
}
\ No newline at end of file
}
......@@ -992,7 +992,7 @@ MWF.xApplication.process.ProcessDesigner.Route = new Class({
},
_setEditProperty: function (name, input, oldValue) {
debugger;
if (name === "passExpired" || name === "passSameTarget" || name === "sole") {
if (name === "passExpired" || name === "passSameTarget" || name === "sole" || name === "soleDirect") {
if (this.data[name]) {
if (this.fromActivity) {
this.fromActivity.routes.each(function(route){
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册