Commit dc8a4353 by 史敦盼

修改

1 parent 0c63842e
......@@ -125,7 +125,7 @@ const initAttributePanel = function(that) {
if(propertyList.length > 0) {
if(urlParams.page === 'metaModelListDetails') {
let propertyTitleDom = document.createElement('div');
propertyTitleDom.style.cssText = 'font-weight: bold;padding-left: 10px;padding-top: 10px;';
propertyTitleDom.style.cssText = 'font-weight: bold;padding-left: 10px;padding-top: 10px;margin-bottom: 10px;';
propertyTitleDom.innerHTML = '属性信息';
that.container.appendChild(propertyTitleDom);
......@@ -136,7 +136,7 @@ const initAttributePanel = function(that) {
for (var i = 0; i < propertyList.length; i++) {
var row = document.createElement("tr");
row.style.border = '1px solid black'; // 设置行边框
console.log('propertyList[i]', propertyList[i])
// console.log('propertyList[i]', propertyList[i])
// 创建表格单元格
for (var j = 0; j < tableColumn.length; j++) {
var cellT = document.createElement("td");
......
......@@ -374,6 +374,13 @@ Format.prototype.immediateRefresh = function()
label3.style.backgroundColor = Format.inactiveTabBackgroundColor;
label4.style.backgroundColor = Format.inactiveTabBackgroundColor;//二次开发,自己写的属性面板
var attributePanel = div.cloneNode(false);//二次开发,自己写的属性面板
attributePanel.style.display = 'none';//二次开发,自己写的属性面板
this.panels.push(new AttributePanel(this, ui, attributePanel));
this.container.appendChild(attributePanel);//二次开发,自己写的属性面板
mxUtils.write(label4, mxResources.get('attribute'));//二次开发,自己写的属性面板
div.appendChild(label4);//二次开发,自己写的属性面板
addClickHandler(label4, attributePanel, idx++);//二次开发,自己写的属性面板
// Style
if (containsLabel)
{
......@@ -392,7 +399,7 @@ Format.prototype.immediateRefresh = function()
addClickHandler(label, stylePanel, idx++);
}
// Text
mxUtils.write(label2, mxResources.get('text'));//解释,点击具体图形时候的drawio自带的文本面板
div.appendChild(label2);
......@@ -412,12 +419,11 @@ Format.prototype.immediateRefresh = function()
this.container.appendChild(arrangePanel);
mxUtils.write(label4, mxResources.get('attribute'));//二次开发,自己写的属性面板
div.appendChild(label4);//二次开发,自己写的属性面板
var attributePanel = div.cloneNode(false);//二次开发,自己写的属性面板
attributePanel.style.display = 'none';//二次开发,自己写的属性面板
this.panels.push(new AttributePanel(this, ui, attributePanel));
this.container.appendChild(attributePanel);//二次开发,自己写的属性面板
// var attributePanel = div.cloneNode(false);//二次开发,自己写的属性面板
// attributePanel.style.display = 'none';//二次开发,自己写的属性面板
// this.panels.push(new AttributePanel(this, ui, attributePanel));
// this.container.appendChild(attributePanel);//二次开发,自己写的属性面板
if (ss.cells.length > 0)
{
......
......@@ -225,7 +225,8 @@ export const routes = [
{
path: '/main/currentAssetsList', //现状架构资产管理
name: 'currentAssetsList',
component: () => import('@/views/current-assets-list/index.vue'),
// component: () => import('@/views/current-assets-list/index.vue'),
component: () => import('@/views/busi-assets-list/index.vue'),
meta: {
title: '现状架构资产管理',
},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!