sigesp 0.8.55-220105 → 0.8.56-220107
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/sigesp.umd.js +1 -9
- package/bundles/sigesp.umd.js.map +1 -1
- package/bundles/sigesp.umd.min.js +1 -1
- package/bundles/sigesp.umd.min.js.map +1 -1
- package/esm2015/lib/sigesp.service.js +2 -10
- package/fesm2015/sigesp.js +1 -9
- package/fesm2015/sigesp.js.map +1 -1
- package/package.json +1 -1
package/bundles/sigesp.umd.js
CHANGED
|
@@ -6238,15 +6238,7 @@
|
|
|
6238
6238
|
SigespService.prototype.getJsonMenu = function (id_usuario, sistema) {
|
|
6239
6239
|
var _this = this;
|
|
6240
6240
|
return this.http.get(this.URL + "/dao/sss/menu_dao.php?id_usuario=" + id_usuario + "&sistema=" + sistema, { headers: this.getHttpHeaders() }).pipe(operators.map(function (res) {
|
|
6241
|
-
|
|
6242
|
-
var stringifiedData = JSON.stringify(menuJson);
|
|
6243
|
-
stringifiedData = stringifiedData.substring(9, (stringifiedData.length - 2));
|
|
6244
|
-
stringifiedData = stringifiedData.substring(0, stringifiedData.length - 1);
|
|
6245
|
-
//console.log('stringJson : ',this.stringifiedData );
|
|
6246
|
-
var string_menu = "[" + stringifiedData + "\"]";
|
|
6247
|
-
var menu = string_menu;
|
|
6248
|
-
menu = JSON.parse(menu);
|
|
6249
|
-
_this.userMenu = menu;
|
|
6241
|
+
_this.userMenu = res.data;
|
|
6250
6242
|
return _this.userMenu;
|
|
6251
6243
|
}));
|
|
6252
6244
|
};
|