123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484 |
- define([ "require", "backbone", "hbs!tmpl/detail_page/DetailPageLayoutView_tmpl", "utils/Utils", "utils/CommonViewFunction", "utils/Globals", "utils/Enums", "utils/Messages", "utils/UrlLinks", "collection/VEntityList" ], function(require, Backbone, DetailPageLayoutViewTmpl, Utils, CommonViewFunction, Globals, Enums, Messages, UrlLinks, VEntityList) {
- "use strict";
- var DetailPageLayoutView = Backbone.Marionette.LayoutView.extend({
- _viewName: "DetailPageLayoutView",
- template: DetailPageLayoutViewTmpl,
- regions: {
- REntityDetailTableLayoutView: "#r_entityDetailTableLayoutView",
- RSchemaTableLayoutView: "#r_schemaTableLayoutView",
- RTagTableLayoutView: "#r_tagTableLayoutView",
- RLineageLayoutView: "#r_lineageLayoutView",
- RAuditTableLayoutView: "#r_auditTableLayoutView",
- RPendingTaskTableLayoutView: "#r_pendingTaskTableLayoutView",
- RReplicationAuditTableLayoutView: "#r_replicationAuditTableLayoutView",
- RProfileLayoutView: "#r_profileLayoutView",
- RRelationshipLayoutView: "#r_relationshipLayoutView",
- REntityUserDefineView: "#r_entityUserDefineView",
- REntityLabelDefineView: "#r_entityLabelDefineView",
- REntityBusinessMetadataView: "#r_entityBusinessMetadataView"
- },
- ui: {
- tagClick: '[data-id="tagClick"]',
- pTagCountClick: '[data-id="pTagCountClick"]',
- termClick: '[data-id="termClick"]',
- propagatedTagDiv: '[data-id="propagatedTagDiv"]',
- title: '[data-id="title"]',
- description: '[data-id="description"]',
- editBox: '[data-id="editBox"]',
- deleteTag: '[data-id="deleteTag"]',
- deleteTerm: '[data-id="deleteTerm"]',
- addTag: '[data-id="addTag"]',
- addTerm: '[data-id="addTerm"]',
- tagList: '[data-id="tagList"]',
- termList: '[data-id="termList"]',
- propagatedTagList: '[data-id="propagatedTagList"]',
- tablist: '[data-id="tab-list"] li',
- entityIcon: '[data-id="entityIcon"]'
- },
- templateHelpers: function() {
- return {
- entityUpdate: Globals.entityUpdate,
- isTasksEnabled: Globals.isTasksEnabled
- };
- },
- events: function() {
- var events = {};
- return events["click " + this.ui.tagClick] = function(e) {
- "i" != e.target.nodeName.toLocaleLowerCase() && Utils.setUrl({
- url: "#!/tag/tagAttribute/" + e.currentTarget.textContent,
- mergeBrowserUrl: !1,
- trigger: !0
- });
- }, events["click " + this.ui.pTagCountClick] = function(e) {
- var tag = $(e.currentTarget).parent().children().first().text();
- Utils.setUrl({
- url: "#!/detailPage/" + this.id + "?tabActive=classification&filter=" + tag,
- mergeBrowserUrl: !1,
- trigger: !0
- });
- }, events["click " + this.ui.termClick] = function(e) {
- "i" != e.target.nodeName.toLocaleLowerCase() && Utils.setUrl({
- url: "#!/glossary/" + $(e.currentTarget).find("i").data("guid"),
- mergeBrowserUrl: !1,
- urlParams: {
- gType: "term",
- viewType: "term",
- fromView: "entity"
- },
- trigger: !0
- });
- }, events["click " + this.ui.addTerm] = "onClickAddTermBtn", events["click " + this.ui.deleteTag] = "onClickTagCross",
- events["click " + this.ui.deleteTerm] = "onClickTermCross", events["click " + this.ui.addTag] = "onClickAddTagBtn",
- events["click " + this.ui.tablist] = function(e) {
- var tabValue = $(e.currentTarget).attr("role");
- Utils.setUrl({
- url: Utils.getUrlState.getQueryUrl().queyParams[0],
- urlParams: {
- tabActive: tabValue || "properties"
- },
- mergeBrowserUrl: !1,
- trigger: !1,
- updateTabState: !0
- });
- }, events;
- },
- initialize: function(options) {
- _.extend(this, _.pick(options, "value", "collection", "id", "entityDefCollection", "typeHeaders", "enumDefCollection", "classificationDefCollection", "glossaryCollection", "businessMetadataDefCollection", "searchVent")),
- $("body").addClass("detail-page"), this.collection = new VEntityList([], {}), this.collection.url = UrlLinks.entitiesApiUrl({
- guid: this.id,
- minExtInfo: !0
- }), this.fetchCollection();
- },
- bindEvents: function() {
- var that = this;
- this.listenTo(this.collection, "reset", function() {
- this.entityObject = this.collection.first().toJSON();
- var collectionJSON = this.entityObject.entity;
- if (this.activeEntityDef = this.entityDefCollection.fullCollection.find({
- name: collectionJSON.typeName
- }), !this.activeEntityDef) return Utils.backButtonClick(), Utils.notifyError({
- content: "Unknown Entity-Type"
- }), !0;
- collectionJSON && _.startsWith(collectionJSON.typeName, "AtlasGlossary") && this.$(".termBox").hide(),
- Utils.findAndMergeRefEntity({
- attributeObject: collectionJSON.attributes,
- referredEntities: this.entityObject.referredEntities
- }), Utils.findAndMergeRefEntity({
- attributeObject: collectionJSON.relationshipAttributes,
- referredEntities: this.entityObject.referredEntities
- }), Utils.findAndMergeRelationShipEntity({
- attributeObject: collectionJSON.attributes,
- relationshipAttributes: collectionJSON.relationshipAttributes
- });
- var isProcess = !1, typeName = Utils.getName(collectionJSON, "typeName"), superTypes = Utils.getNestedSuperTypes({
- data: this.activeEntityDef.toJSON(),
- collection: this.entityDefCollection
- }), isLineageRender = _.find(superTypes, function(type) {
- if ("DataSet" === type || "Process" === type) return "Process" === type && (isProcess = !0),
- !0;
- });
- if (isLineageRender || (isLineageRender = "DataSet" === typeName || "Process" === typeName || null),
- collectionJSON && collectionJSON.guid) {
- collectionJSON.guid;
- this.readOnly = Enums.entityStateReadOnly[collectionJSON.status];
- } else {
- this.id;
- }
- if (this.readOnly ? this.$el.addClass("readOnly") : this.$el.removeClass("readOnly"),
- collectionJSON) {
- if (this.name = Utils.getName(collectionJSON), collectionJSON.attributes) {
- if (collectionJSON.typeName && (collectionJSON.attributes.typeName = _.escape(collectionJSON.typeName)),
- this.name && collectionJSON.typeName && (this.name = this.name + " (" + _.escape(collectionJSON.typeName) + ")"),
- !this.name && collectionJSON.typeName && (this.name = _.escape(collectionJSON.typeName)),
- this.description = collectionJSON.attributes.description, this.name) {
- this.ui.title.show();
- var titleName = "<span>" + this.name + "</span>";
- this.readOnly && (titleName += '<button title="Deleted" class="btn btn-action btn-md deleteBtn"><i class="fa fa-trash"></i> Deleted</button>'),
- this.ui.title.html(titleName), void 0 === collectionJSON.attributes.serviceType ? void 0 === Globals.serviceTypeMap[collectionJSON.typeName] && this.activeEntityDef && (Globals.serviceTypeMap[collectionJSON.typeName] = this.activeEntityDef.get("serviceType")) : void 0 === Globals.serviceTypeMap[collectionJSON.typeName] && (Globals.serviceTypeMap[collectionJSON.typeName] = collectionJSON.attributes.serviceType);
- var entityData = _.extend({
- serviceType: Globals.serviceTypeMap[collectionJSON.typeName],
- isProcess: isProcess
- }, collectionJSON);
- this.readOnly ? this.ui.entityIcon.addClass("disabled") : this.ui.entityIcon.removeClass("disabled"),
- this.ui.entityIcon.attr("title", _.escape(collectionJSON.typeName)).html('<img src="' + Utils.getEntityIconPath({
- entityData: entityData
- }) + '"/>').find("img").on("error", function() {
- this.src = Utils.getEntityIconPath({
- entityData: entityData,
- errorUrl: this.src
- });
- });
- } else this.ui.title.hide();
- this.description ? (this.ui.description.show(), this.ui.description.html("<span>" + _.escape(this.description) + "</span>")) : this.ui.description.hide();
- }
- var tags = {
- self: [],
- propagated: [],
- propagatedMap: {},
- combineMap: {}
- };
- if (collectionJSON.classifications) {
- var tagObject = collectionJSON.classifications;
- _.each(tagObject, function(val) {
- var typeName = val.typeName;
- val.entityGuid === that.id ? tags.self.push(val) : (tags.propagated.push(val), tags.propagatedMap[typeName] ? tags.propagatedMap[typeName].count++ : (tags.propagatedMap[typeName] = val,
- tags.propagatedMap[typeName].count = 1)), void 0 === tags.combineMap[typeName] && (tags.combineMap[typeName] = val);
- }), tags.self = _.sortBy(tags.self, "typeName"), tags.propagated = _.sortBy(tags.propagated, "typeName"),
- this.generateTag(tags);
- } else this.generateTag([]);
- if (collectionJSON.relationshipAttributes && collectionJSON.relationshipAttributes.meanings && this.generateTerm(collectionJSON.relationshipAttributes.meanings),
- Globals.entityTypeConfList && _.isEmptyArray(Globals.entityTypeConfList) ? this.editEntity = !0 : _.contains(Globals.entityTypeConfList, collectionJSON.typeName) && (this.editEntity = !0),
- collectionJSON.attributes && collectionJSON.attributes.columns) {
- var valueSorted = _.sortBy(collectionJSON.attributes.columns, function(val) {
- return val.attributes && val.attributes.position;
- });
- collectionJSON.attributes.columns = valueSorted;
- }
- }
- this.hideLoader();
- var obj = {
- entity: collectionJSON,
- guid: this.id,
- entityName: this.name,
- typeHeaders: this.typeHeaders,
- tags: tags,
- entityDefCollection: this.entityDefCollection,
- fetchCollection: this.fetchCollection.bind(that),
- enumDefCollection: this.enumDefCollection,
- classificationDefCollection: this.classificationDefCollection,
- glossaryCollection: this.glossaryCollection,
- businessMetadataCollection: this.activeEntityDef.get("businessAttributeDefs"),
- searchVent: this.searchVent,
- attributeDefs: function() {
- return that.getEntityDef(collectionJSON);
- }(),
- editEntity: this.editEntity || !1
- };
- if (obj.renderAuditTableLayoutView = function() {
- that.renderAuditTableLayoutView(obj);
- }, this.renderEntityDetailTableLayoutView(obj), this.renderEntityUserDefineView(obj),
- this.renderEntityLabelDefineView(obj), obj.businessMetadataCollection && this.renderEntityBusinessMetadataView(obj),
- this.renderRelationshipLayoutView(obj), this.renderAuditTableLayoutView(obj), this.renderTagTableLayoutView(obj),
- Globals.isTasksEnabled && this.renderPendingTaskTableLayoutView(), !collectionJSON || _.isUndefined(collectionJSON.attributes.profileData) && "hive_db" !== collectionJSON.typeName && "hbase_namespace" !== collectionJSON.typeName ? (this.$(".profileTab").hide(),
- this.redirectToDefaultTab("profile")) : ("hive_db" !== collectionJSON.typeName && "hbase_namespace" !== collectionJSON.typeName || this.$(".profileTab a").text("Tables"),
- this.$(".profileTab").show(), this.renderProfileLayoutView(_.extend({}, obj, {
- entityDetail: collectionJSON.attributes,
- profileData: collectionJSON.attributes.profileData,
- typeName: collectionJSON.typeName,
- value: that.value
- }))), this.activeEntityDef) {
- collectionJSON && "AtlasServer" === collectionJSON.typeName ? (this.$(".replicationTab").show(),
- this.renderReplicationAuditTableLayoutView(obj)) : (this.$(".replicationTab").hide(),
- this.redirectToDefaultTab("raudits"));
- var schemaOptions = this.activeEntityDef.get("options"), schemaElementsAttribute = schemaOptions && schemaOptions.schemaElementsAttribute;
- _.isEmpty(schemaElementsAttribute) ? (this.$(".schemaTable").hide(), this.redirectToDefaultTab("schema")) : (this.$(".schemaTable").show(),
- this.renderSchemaLayoutView(_.extend({}, obj, {
- attribute: collectionJSON.relationshipAttributes[schemaElementsAttribute] || collectionJSON.attributes[schemaElementsAttribute]
- }))), isLineageRender ? (this.$(".lineageGraph").show(), this.renderLineageLayoutView(_.extend(obj, {
- processCheck: isProcess,
- fetchCollection: this.fetchCollection.bind(this)
- }))) : (this.$(".lineageGraph").hide(), this.redirectToDefaultTab("lineage"));
- }
- }, this), this.listenTo(this.collection, "error", function(model, response) {
- this.$(".fontLoader-relative").removeClass("show"), response.responseJSON && Utils.notifyError({
- content: response.responseJSON.errorMessage || response.responseJSON.error
- });
- }, this);
- },
- onRender: function() {
- this.bindEvents(), Utils.showTitleLoader(this.$(".page-title .fontLoader"), this.$(".entityDetail")),
- this.$(".fontLoader-relative").addClass("show");
- },
- redirectToDefaultTab: function(tabName) {
- var regionRef = null;
- switch (tabName) {
- case "schema":
- regionRef = this.RSchemaTableLayoutView;
- break;
- case "lineage":
- regionRef = this.RLineageLayoutView;
- break;
- case "raudits":
- regionRef = this.RReplicationAuditTableLayoutView;
- break;
- case "profile":
- regionRef = this.RProfileLayoutView;
- }
- regionRef && (regionRef.destroy(), regionRef.$el.empty()), (this.value && this.value.tabActive == tabName || this.$(".tab-content .tab-pane.active").attr("role") === tabName) && Utils.setUrl({
- url: Utils.getUrlState.getQueryUrl().queyParams[0],
- urlParams: {
- tabActive: "properties"
- },
- mergeBrowserUrl: !1,
- trigger: !0,
- updateTabState: !0
- });
- },
- manualRender: function(options) {
- if (options) {
- var oldId = this.id;
- _.extend(this, _.pick(options, "value", "id")), this.id !== oldId && (this.collection.url = UrlLinks.entitiesApiUrl({
- guid: this.id,
- minExtInfo: !0
- }), this.fetchCollection()), this.updateTab();
- }
- },
- updateTab: function() {
- this.value && this.value.tabActive && (this.$(".nav.nav-tabs").find('[role="' + this.value.tabActive + '"]').addClass("active").siblings().removeClass("active"),
- this.$(".tab-content").find('[role="' + this.value.tabActive + '"]').addClass("active").siblings().removeClass("active"),
- $("html, body").animate({
- scrollTop: this.$(".tab-content").offset().top + 1200
- }, 1e3));
- },
- onShow: function() {
- this.updateTab();
- },
- onDestroy: function() {
- Utils.getUrlState.isDetailPage() || $("body").removeClass("detail-page");
- },
- fetchCollection: function() {
- this.collection.fetch({
- reset: !0
- }), this.searchVent && this.searchVent.trigger("entityList:refresh");
- },
- getEntityDef: function(entityObj) {
- if (this.activeEntityDef) {
- var data = this.activeEntityDef.toJSON(), attributeDefs = Utils.getNestedSuperTypeObj({
- data: data,
- attrMerge: !0,
- collection: this.entityDefCollection
- });
- return attributeDefs;
- }
- return [];
- },
- onClickTagCross: function(e) {
- var that = this, tagName = $(e.currentTarget).parent().text(), entityGuid = $(e.currentTarget).data("entityguid");
- CommonViewFunction.deleteTag(_.extend({}, {
- guid: that.id,
- associatedGuid: that.id != entityGuid ? entityGuid : null,
- msg: "<div class='ellipsis-with-margin'>确认删除<b>" + _.escape(tagName) + "</b> 与 <b>" + this.name + "的关联?</b></div>",
- titleMessage: Messages.removeTag,
- okText: "移除",
- showLoader: that.showLoader.bind(that),
- hideLoader: that.hideLoader.bind(that),
- tagName: tagName,
- callback: function() {
- that.fetchCollection();
- }
- }));
- },
- onClickTermCross: function(e) {
- var $el = $(e.currentTarget), termGuid = $el.data("guid"), termName = $el.text(), that = this, termObj = _.find(this.collection.first().get("entity").relationshipAttributes.meanings, {
- guid: termGuid
- });
- CommonViewFunction.removeCategoryTermAssociation({
- termGuid: termGuid,
- model: {
- guid: that.id,
- relationshipGuid: termObj.relationshipGuid
- },
- collection: that.glossaryCollection,
- msg: "<div class='ellipsis-with-margin'>Remove: <b>" + _.escape(termName) + "</b> assignment from <b>" + this.name + "?</b></div>",
- titleMessage: Messages.glossary.removeTermfromEntity,
- isEntityView: !0,
- buttonText: "移除",
- showLoader: that.showLoader.bind(that),
- hideLoader: that.hideLoader.bind(that),
- callback: function() {
- that.fetchCollection();
- }
- });
- },
- generateTag: function(tagObject) {
- var tagData = "", propagatedTagListData = "";
- _.each(tagObject.self, function(val) {
- tagData += '<span class="btn btn-action btn-sm btn-icon btn-blue" data-id="tagClick"><span>' + val.typeName + '</span><i class="fa fa-close" data-id="deleteTag" data-type="tag" title="Remove Classification"></i></span>';
- }), _.each(tagObject.propagatedMap, function(val, key) {
- propagatedTagListData += '<span class="btn btn-action btn-sm btn-icon btn-blue"><span data-id="tagClick">' + val.typeName + "</span>" + (val.count > 1 ? '<span class="active" data-id="pTagCountClick">(' + val.count + ")</span>" : "") + "</span>";
- }), "" !== propagatedTagListData ? this.ui.propagatedTagDiv.show() : this.ui.propagatedTagDiv.hide(),
- this.ui.tagList.find("span.btn").remove(), this.ui.propagatedTagList.find("span.btn").remove(),
- this.ui.tagList.prepend(tagData), this.ui.propagatedTagList.html(propagatedTagListData);
- },
- generateTerm: function(data) {
- var termData = "";
- _.each(data, function(val) {
- termData += '<span class="btn btn-action btn-sm btn-icon btn-blue" data-id="termClick"><span>' + _.escape(val.displayText) + '</span><i class="' + ("ACTIVE" == val.relationshipStatus ? "fa fa-close" : "") + '" data-id="deleteTerm" data-guid="' + val.guid + '" data-type="term" title="Remove Term"></i></span>';
- }), this.ui.termList.find("span.btn").remove(), this.ui.termList.prepend(termData);
- },
- hideLoader: function() {
- Utils.hideTitleLoader(this.$(".page-title .fontLoader"), this.$(".entityDetail"));
- },
- showLoader: function() {
- Utils.showTitleLoader(this.$(".page-title .fontLoader"), this.$(".entityDetail"));
- },
- onClickAddTagBtn: function(e) {
- var that = this;
- require([ "views/tag/AddTagModalView" ], function(AddTagModalView) {
- var tagList = [];
- _.map(that.entityObject.entity.classifications, function(obj) {
- obj.entityGuid === that.id && tagList.push(obj.typeName);
- });
- var view = new AddTagModalView({
- guid: that.id,
- tagList: tagList,
- callback: function() {
- that.fetchCollection();
- },
- showLoader: that.showLoader.bind(that),
- hideLoader: that.hideLoader.bind(that),
- collection: that.classificationDefCollection,
- enumDefCollection: that.enumDefCollection
- });
- view.modal.on("ok", function() {
- Utils.showTitleLoader(that.$(".page-title .fontLoader"), that.$(".entityDetail"));
- });
- });
- },
- assignTermModalView: function(glossaryCollection, obj) {
- var that = this, terms = 0;
- _.each(glossaryCollection.fullCollection.models, function(model) {
- model.get("terms") && (terms += model.get("terms").length);
- }), terms ? require([ "views/glossary/AssignTermLayoutView" ], function(AssignTermLayoutView) {
- var view = new AssignTermLayoutView({
- guid: obj.guid,
- callback: function() {
- that.fetchCollection();
- },
- associatedTerms: obj.associatedTerms,
- showLoader: that.showLoader.bind(that),
- hideLoader: that.hideLoader.bind(that),
- glossaryCollection: glossaryCollection
- });
- view.modal.on("ok", function() {
- Utils.showTitleLoader(that.$(".page-title .fontLoader"), that.$(".entityDetail"));
- });
- }) : Utils.notifyInfo({
- content: "There are no available terms that can be associated with this entity"
- });
- },
- onClickAddTermBtn: function(e) {
- var entityObj = this.collection.first().get("entity"), obj = {
- guid: this.id,
- associatedTerms: []
- };
- this.assignTermModalView(this.glossaryCollection, obj), entityObj && entityObj.relationshipAttributes && entityObj.relationshipAttributes.meanings && (obj.associatedTerms = entityObj.relationshipAttributes.meanings);
- },
- renderEntityDetailTableLayoutView: function(obj) {
- var that = this;
- require([ "views/entity/EntityDetailTableLayoutView" ], function(EntityDetailTableLayoutView) {
- that.REntityDetailTableLayoutView.show(new EntityDetailTableLayoutView(obj));
- });
- },
- renderEntityUserDefineView: function(obj) {
- var that = this;
- require([ "views/entity/EntityUserDefineView" ], function(EntityUserDefineView) {
- that.REntityUserDefineView.show(new EntityUserDefineView(obj));
- });
- },
- renderEntityLabelDefineView: function(obj) {
- var that = this;
- require([ "views/entity/EntityLabelDefineView" ], function(EntityLabelDefineView) {
- that.REntityLabelDefineView.show(new EntityLabelDefineView(obj));
- });
- },
- renderEntityBusinessMetadataView: function(obj) {
- var that = this;
- require([ "views/entity/EntityBusinessMetaDataView" ], function(EntityBusinessMetaDataView) {
- that.REntityBusinessMetadataView.show(new EntityBusinessMetaDataView(obj));
- });
- },
- renderTagTableLayoutView: function(obj) {
- var that = this;
- require([ "views/tag/TagDetailTableLayoutView" ], function(TagDetailTableLayoutView) {
- that.RTagTableLayoutView.show(new TagDetailTableLayoutView(obj));
- });
- },
- renderPendingTaskTableLayoutView: function() {
- var that = this;
- require([ "views/detail_page/PendingTaskTableLayoutView" ], function(PendingTaskTableLayoutView) {
- that.RPendingTaskTableLayoutView.show(new PendingTaskTableLayoutView());
- });
- },
- renderLineageLayoutView: function(obj) {
- var that = this;
- require([ "views/graph/LineageLayoutView" ], function(LineageLayoutView) {
- that.RLineageLayoutView.show(new LineageLayoutView(obj));
- });
- },
- renderRelationshipLayoutView: function(obj) {
- var that = this;
- require([ "views/graph/RelationshipLayoutView" ], function(RelationshipLayoutView) {
- that.RRelationshipLayoutView.show(new RelationshipLayoutView(obj));
- });
- },
- renderSchemaLayoutView: function(obj) {
- var that = this;
- require([ "views/schema/SchemaLayoutView" ], function(SchemaLayoutView) {
- that.RSchemaTableLayoutView.show(new SchemaLayoutView(obj));
- });
- },
- renderAuditTableLayoutView: function(obj) {
- var that = this;
- require([ "views/audit/AuditTableLayoutView" ], function(AuditTableLayoutView) {
- that.RAuditTableLayoutView.show(new AuditTableLayoutView(obj));
- });
- },
- renderReplicationAuditTableLayoutView: function(obj) {
- var that = this;
- require([ "views/audit/ReplicationAuditTableLayoutView" ], function(ReplicationAuditTableLayoutView) {
- that.RReplicationAuditTableLayoutView.show(new ReplicationAuditTableLayoutView(obj));
- });
- },
- renderProfileLayoutView: function(obj) {
- var that = this;
- require([ "views/profile/ProfileLayoutView" ], function(ProfileLayoutView) {
- that.RProfileLayoutView.show(new ProfileLayoutView(obj));
- });
- }
- });
- return DetailPageLayoutView;
- });
|