Commit 60e1db46 by xiehao

fix:修复了显示问题

1 parent 22de08a7
Showing with 37 additions and 50 deletions
...@@ -111,73 +111,60 @@ ...@@ -111,73 +111,60 @@
border border
> >
<el-table-column <el-table-column
type="selection" type="selection"
width="55" width="55"
:selectable="selectable" :selectable="selectable"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
type="index" type="index"
label="序号" label="序号"
width="80" width="50"
align="center" align="center"
:index="indexMethod" :index="indexMethod"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
prop="elementName" prop="elementName"
label="元素名称" label="元素名称"
align="center" align="center"
width="120" width="160"
show-overflow-tooltip
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
prop="archiLevelName" prop="archiLevelName"
label="架构层次" label="架构层次"
align="center" align="center"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
prop="archiBelongName" prop="archiBelongName"
label="架构归属" label="架构归属"
align="center" align="center"
></el-table-column> ></el-table-column>
<!-- <el-table-column-->
<!-- prop="eaLevel"-->
<!-- label="元素层级"-->
<!-- align="center"-->
<!-- ></el-table-column>-->
<!-- <el-table-column
prop="content"
label="描述"
align="center"
width="200"
:show-overflow-tooltip="true"
></el-table-column> -->
<el-table-column <el-table-column
prop="definition" prop="definition"
label="定义" label="定义"
align="center" align="center"
width="200" width="150"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
prop="referenceRelationship" prop="referenceRelationship"
label="引用关系" label="引用关系"
align="center" align="center"
width="200" width="150"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
prop="example" prop="example"
label="示例" label="示例"
align="center" align="center"
width="200" width="150"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
></el-table-column> ></el-table-column>
<el-table-column width="100" label="图标" align="center"> <el-table-column width="100" label="图标" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<img <img
:src="scope.row.icon" :src="scope.row.icon"
alt="" alt=""
:style="{ width: scope.row.width, height: scope.row.height }" :style="{ width: scope.row.width, height: scope.row.height }"
/> />
<!-- <div v-html="scope.row.icon" style="display: flex;justify-content: center;"></div> --> <!-- <div v-html="scope.row.icon" style="display: flex;justify-content: center;"></div> -->
</template> </template>
...@@ -815,7 +802,7 @@ import { ...@@ -815,7 +802,7 @@ import {
} from '@/api/index.js' } from '@/api/index.js'
import { MessageBox, Message } from 'element-ui' import { MessageBox, Message } from 'element-ui'
import $ from 'jquery' import $ from 'jquery'
import { getDictTypeOptions, svgToBase64 } from '@/utils' import { getDictTypuueOptions, svgToBase64 } from '@/utils'
import { archiEleColor } from '@/config' import { archiEleColor } from '@/config'
export default { export default {
name: 'ArchiEleList', name: 'ArchiEleList',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!