jie před 1 rokem
rodič
revize
d357a17169

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

@@ -16,9 +16,9 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
             }, events;
         },
         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 = {
                 collection: this.pendingTaskCollection,
                 includeFilter: !1,
@@ -44,7 +44,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
             this.fetchPendingTaskCollection();
         },
         fetchPendingTaskCollection: function() {
-            this.commonTableOptions.atlasPaginationOpts = this.getPaginationOptions(), this.fetchCollection(), 
+            this.commonTableOptions.atlasPaginationOpts = this.getPaginationOptions(), this.fetchCollection(),
             this.pendingTaskCollection.comparator = function(model) {
                 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);
                 },
                 complete: function() {
-                    that.$(".fontLoader").hide(), that.$(".tableOverlay").hide(), that.$(".auditTable").show(), 
+                    that.$(".fontLoader").hide(), that.$(".tableOverlay").hide(), that.$(".auditTable").show(),
                     that.renderTableLayoutView();
                 },
                 silent: !0
@@ -142,7 +142,7 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
                     })
                 },
                 updatedTime: {
-                    label: "Updated Time",
+                    label: "更新时间",
                     cell: "html",
                     editable: !1,
                     sortable: !1,
@@ -158,4 +158,4 @@ define([ "require", "backbone", "hbs!tmpl/detail_page/PendingTaskTableLayoutView
         }
     });
     return PendingTaskTableLayoutView;
-});
+});