Revert "文件存储恢复表格存储类型列的显示,修复字典标签组件无法取值数字类型的问题"

This reverts commit 9022d1d85e06a1407ce96c2919edbf39b6e5d65f.
This commit is contained in:
文永达 2023-06-12 09:06:19 +08:00
parent d98940b5fa
commit 959e8976e0
2 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<template>
<template v-for="(item, index) in props.options">
<template v-if="values.includes(item.dictValue.toString())">
<template v-if="values.includes(item.dictValue)">
<span v-if="item.listClass == 'default' || item.listClass == ''" :key="item.dictValue" :index="index" :class="item.cssClass">
{{ item.dictLabel }} <i v-if="showValue">#{{ item.dictValue }}</i>
</span>
@ -23,11 +23,11 @@ const props = defineProps({
//
options: {
type: Array,
default: null
default: null,
},
//
value: [Number, String, Array, Boolean],
showValue: false
showValue: false,
})
const values = computed(() => {

View File

@ -66,11 +66,11 @@
</el-table-column>
<el-table-column prop="fileSize" label="文件大小" align="center" :show-overflow-tooltip="true" />
<el-table-column prop="fileExt" label="扩展名" align="center" :show-overflow-tooltip="true" width="80px" />
<el-table-column prop="storeType" label="存储类型" align="center">
<!-- <el-table-column prop="storeType" label="存储类型" align="center">
<template #default="scope">
<dict-tag :options="storeTypeOptions" :value="parseInt(scope.row.storeType)" />
</template>
</el-table-column>
</el-table-column> -->
<el-table-column prop="storePath" label="存储目录"></el-table-column>
<el-table-column prop="create_by" label="操作人" align="center" />
<el-table-column prop="create_time" label="创建日期" align="center" width="150" />