|
|
@ -51,9 +51,6 @@ |
|
|
|
:show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="typeName" header-align="center" align="center" label="类型" :show-overflow-tooltip="true"> |
|
|
|
<!-- <template slot-scope="scope"> |
|
|
|
<span>{{ scope.row.enabled === 1 ? '关闭' : '显示' }}</span> |
|
|
|
</template> --> |
|
|
|
</el-table-column> |
|
|
|
<el-table-column prop="name" header-align="center" align="center" label="名称" :show-overflow-tooltip="true"> |
|
|
|
</el-table-column> |
|
|
@ -447,13 +444,17 @@ if (code === 0) { |
|
|
|
|
|
|
|
if (Array.isArray(item1.children)) { |
|
|
|
item1.children.forEach(item2 => { |
|
|
|
|
|
|
|
if (item2.value.toString() == item.type) { |
|
|
|
item.typeName = item2.label; |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
} |
|
|
|
}); |
|
|
|
if(!item.typeName){ |
|
|
|
item.typeName = "其它"; |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
} else { |
|
|
|