Commit 98cc486a authored by leonelrosano's avatar leonelrosano
Browse files

arreglo de enmuerados

parent 95238988
...@@ -1607,8 +1607,8 @@ createListExp = function (exp) { ...@@ -1607,8 +1607,8 @@ createListExp = function (exp) {
} */else { } */else {
var nom1 = grf.cod; var nom1 = grf.cod;
if (Array.isArray(grf.sets[1][nom1])) { if (Array.isArray(grf.sets[0][nom1])) {
var arreglo3 = grf.sets[1][nom1]; var arreglo3 = grf.sets[0][nom1];
var arreglo4 = []; var arreglo4 = [];
for (var item of arreglo3) { for (var item of arreglo3) {
arreglo4.push("\"" + item + "\""); arreglo4.push("\"" + item + "\"");
...@@ -1677,14 +1677,14 @@ createListExp = function (exp) { ...@@ -1677,14 +1677,14 @@ createListExp = function (exp) {
recursivoCod = function (sets, nom) { recursivoCod = function (sets, nom) {
var coodo = ""; var coodo = "";
if (sets[1][nom].set == 'R') { if (sets[0][nom].set == 'R') {
coodo += "\"baseCod\": \"R\", \"cod\": \"Func\","; coodo += "\"baseCod\": \"R\", \"cod\": \"Func\",";
} else if (sets[1][nom].set == 'Z') { } else if (sets[0][nom].set == 'Z') {
coodo += "\"baseCod\": \"Z\", \"cod\": \"Func\","; coodo += "\"baseCod\": \"Z\", \"cod\": \"Func\",";
} else if (sets[1][nom].set == 'N') { } else if (sets[0][nom].set == 'N') {
coodo += "\"baseCod\": \"N\", \"cod\": \"Func\","; coodo += "\"baseCod\": \"N\", \"cod\": \"Func\",";
} else { } else {
var nombre = sets[1][nom].set; var nombre = sets[0][nom].set;
coodo += this.recursivoDom(sets, nombre); coodo += this.recursivoDom(sets, nombre);
} }
return coodo; return coodo;
......
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