绩效回填
This commit is contained in:
parent
b74ba2be7d
commit
e7f17b0230
@ -351,8 +351,9 @@ Model.create = function(l, h, j) {
|
||||
var i = o.dataAttributes[k];
|
||||
i.id = Utils.newId();
|
||||
if (i.attributesJsonArray) {
|
||||
var propertyInfoArray = new Array();
|
||||
|
||||
if (methodId == "control.kpi") {
|
||||
var propertyInfoArray = new Array();
|
||||
//判断如果为流程跳转绩效模型,填充相应数据
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
@ -375,6 +376,7 @@ Model.create = function(l, h, j) {
|
||||
}
|
||||
if (Model.define.localAttribute != undefined && Model.define.localAttribute[o.name] != undefined && Model.define.localAttribute[o.name] != null && Model.define.localAttribute[o.name].length > 0) {
|
||||
for (var n in Model.define.localAttribute[o.name]) {
|
||||
if (methodId == "control.kpi") {
|
||||
if(propertyInfoArray.length>0){
|
||||
if(Model.define.localAttribute[o.name][n].id=='Process_Architecture_L1'){
|
||||
Model.define.localAttribute[o.name][n].value=propertyInfoArray[0].Process_Architecture_L1;
|
||||
@ -389,6 +391,8 @@ Model.create = function(l, h, j) {
|
||||
Model.define.localAttribute[o.name][n].value=propertyInfoArray[0].Associated_process_name;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
i.attributesJsonArray.push(Utils.copy(Model.define.localAttribute[o.name][n]));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user