ENDRPrint_12CRelease/web/js/service/commonService.js
2024-08-14 10:58:03 +07:00

21 lines
572 B
JavaScript

scotchApp.service('commonService', function($rootScope) {
var sharedService = {};
sharedService.dv = '';
sharedService.urlPath = "";
sharedService.setUrlPath = function(urlPath){
//this.jobStepList = [];
this.urlPath = urlPath;
// $rootScope.$broadcast("hdlBroadcastReceivedDate",new Date().getTime());
};
sharedService.setDv = function(dv){
this.dv=dv;
//for(var i=0;i<lstData.length;i++){
// this.mstMsgList[lstData[i].key] = lstData[i].value;
//}
};
return sharedService;
});