Commit 98cc486a authored by leonelrosano's avatar leonelrosano

arreglo de enmuerados

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