Browse Source

更新时间

jie 1 year ago
parent
commit
d357a17169
1 changed files with 7 additions and 7 deletions
  1. 7 7
      atlas/js/views/detail_page/PendingTaskTableLayoutView.js

+ 7 - 7
atlas/js/views/detail_page/PendingTaskTableLayoutView.js

@@ -16,9 +16,9 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
             }, events;
             }, events;
         },
         },
         initialize: function(options) {
         initialize: function(options) {
-            _.extend(this, _.pick(options, "guid", "entity", "entityName", "attributeDefs")), 
-            this.pendingTaskCollection = new VEntityList(), this.limit = 25, this.offset = 0, 
-            this.pendingTaskCollection.url = UrlLinks.pendingTaskApiUrl(), this.entityModel = new this.pendingTaskCollection.model(), 
+            _.extend(this, _.pick(options, "guid", "entity", "entityName", "attributeDefs")),
+            this.pendingTaskCollection = new VEntityList(), this.limit = 25, this.offset = 0,
+            this.pendingTaskCollection.url = UrlLinks.pendingTaskApiUrl(), this.entityModel = new this.pendingTaskCollection.model(),
             this.pervOld = [], this.commonTableOptions = {
             this.pervOld = [], this.commonTableOptions = {
                 collection: this.pendingTaskCollection,
                 collection: this.pendingTaskCollection,
                 includeFilter: !1,
                 includeFilter: !1,
@@ -44,7 +44,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
             this.fetchPendingTaskCollection();
             this.fetchPendingTaskCollection();
         },
         },
         fetchPendingTaskCollection: function() {
         fetchPendingTaskCollection: function() {
-            this.commonTableOptions.atlasPaginationOpts = this.getPaginationOptions(), this.fetchCollection(), 
+            this.commonTableOptions.atlasPaginationOpts = this.getPaginationOptions(), this.fetchCollection(),
             this.pendingTaskCollection.comparator = function(model) {
             this.pendingTaskCollection.comparator = function(model) {
                 return -model.get("createdBy");
                 return -model.get("createdBy");
             };
             };
@@ -67,7 +67,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
                     that.pendingTaskCollection.state.pageSize = that.getPageCount(), that.pendingTaskCollection.fullCollection.reset(response);
                     that.pendingTaskCollection.state.pageSize = that.getPageCount(), that.pendingTaskCollection.fullCollection.reset(response);
                 },
                 },
                 complete: function() {
                 complete: function() {
-                    that.$(".fontLoader").hide(), that.$(".tableOverlay").hide(), that.$(".auditTable").show(), 
+                    that.$(".fontLoader").hide(), that.$(".tableOverlay").hide(), that.$(".auditTable").show(),
                     that.renderTableLayoutView();
                     that.renderTableLayoutView();
                 },
                 },
                 silent: !0
                 silent: !0
@@ -142,7 +142,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
                     })
                     })
                 },
                 },
                 updatedTime: {
                 updatedTime: {
-                    label: "Updated Time",
+                    label: "更新时间",
                     cell: "html",
                     cell: "html",
                     editable: !1,
                     editable: !1,
                     sortable: !1,
                     sortable: !1,
@@ -158,4 +158,4 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
         }
         }
     });
     });
     return PendingTaskTableLayoutView;
     return PendingTaskTableLayoutView;
-});
+});