资产结构展示
parent
efb4e62701
commit
fddc3a350d
|
@ -35,7 +35,7 @@
|
|||
</el-descriptions-item>
|
||||
<el-descriptions-item>
|
||||
<template slot="label">是否核心</template>
|
||||
<dict-tag :options="dict.type.yes_no" :value="tableList.isCenter"/>
|
||||
<dict-tag :options="dict.type.sys_yes_no" :value="tableList.isCenter"/>
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</el-card>
|
||||
|
@ -50,7 +50,7 @@
|
|||
<el-table-column label="注释" prop="columnRemark"></el-table-column>
|
||||
<el-table-column label="是否主键" prop="isPrimary">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.yes_no" :value="scope.row.isPrimary"/>
|
||||
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.isPrimary"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="类型" prop="columnType"></el-table-column>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<el-table-column label="小数位" prop="columnDecimals"></el-table-column>
|
||||
<el-table-column label="是否为空" prop="isNull">
|
||||
<template slot-scope="scope">
|
||||
<dict-tag :options="dict.type.yes_no" :value="scope.row.isNull"/>
|
||||
<dict-tag :options="dict.type.sys_yes_no" :value="scope.row.isNull"/>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
|
@ -77,7 +77,7 @@ import {findTableInfoList, selectTableData} from "@/api/tableData/data";
|
|||
|
||||
export default {
|
||||
name: 'Type',
|
||||
dicts: ['yes_no'],
|
||||
dicts: ['sys_yes_no'],
|
||||
data() {
|
||||
return {
|
||||
tableData:[],
|
||||
|
|
Loading…
Reference in New Issue