Built files from Bizgaze WebServer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

taskstartdate.js 2.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. var Bizgaze;
  2. (function (Bizgaze) {
  3. let Apps;
  4. (function (Apps) {
  5. let PM;
  6. (function (PM) {
  7. let Components;
  8. (function (Components) {
  9. class TaskStartdate extends Unibase.Platform.Core.BaseComponent {
  10. constructor() {
  11. super();
  12. }
  13. cssFiles() {
  14. return [];
  15. }
  16. jsFiles() {
  17. return [''];
  18. }
  19. html(id, containerid) {
  20. return "";
  21. }
  22. init(containerid) {
  23. }
  24. load(id, containerid, callback) {
  25. }
  26. milestoneStartdate(mileStoneid) {
  27. var instance = this;
  28. var jsfiles = ['apps/pm/managers/taskmanager.js'];
  29. instance.fileCacheHelper.loadJsFiles(jsfiles, function (response) {
  30. Bizgaze.Apps.PM.Managers.TaskManager.Instance().getMilestonedetails(mileStoneid).then(function (response) {
  31. var data = response.result[0];
  32. let startdate = data.startdate;
  33. startdate = moment(startdate, "YYYY/MM/DD HH:mm").format("DD/MM/YYYY HH:mm");
  34. $(".date_startdate").val(startdate);
  35. });
  36. });
  37. }
  38. static Instance() {
  39. if (this._instance === undefined)
  40. this._instance = new TaskStartdate();
  41. return this._instance;
  42. }
  43. }
  44. Components.TaskStartdate = TaskStartdate;
  45. })(Components = PM.Components || (PM.Components = {}));
  46. })(PM = Apps.PM || (Apps.PM = {}));
  47. })(Apps = Bizgaze.Apps || (Bizgaze.Apps = {}));
  48. })(Bizgaze || (Bizgaze = {}));