123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- var Bizgaze;
- (function (Bizgaze) {
- let Apps;
- (function (Apps) {
- let PM;
- (function (PM) {
- let Components;
- (function (Components) {
- class TaskStartdate extends Unibase.Platform.Core.BaseComponent {
- constructor() {
- super();
- }
- cssFiles() {
- return [];
- }
- jsFiles() {
- return [''];
- }
- html(id, containerid) {
- return "";
- }
- init(containerid) {
- }
- load(id, containerid, callback) {
- }
- milestoneStartdate(mileStoneid) {
- var instance = this;
- var jsfiles = ['apps/pm/managers/taskmanager.js'];
- instance.fileCacheHelper.loadJsFiles(jsfiles, function (response) {
- Bizgaze.Apps.PM.Managers.TaskManager.Instance().getMilestonedetails(mileStoneid).then(function (response) {
- var data = response.result[0];
- let startdate = data.startdate;
- startdate = moment(startdate, "YYYY/MM/DD HH:mm").format("DD/MM/YYYY HH:mm");
- $(".date_startdate").val(startdate);
- });
- });
- }
- static Instance() {
- if (this._instance === undefined)
- this._instance = new TaskStartdate();
- return this._instance;
- }
- }
- Components.TaskStartdate = TaskStartdate;
- })(Components = PM.Components || (PM.Components = {}));
- })(PM = Apps.PM || (Apps.PM = {}));
- })(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
- })(Bizgaze || (Bizgaze = {}));
|