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