字段信息管理

This commit is contained in:
shidongli 2024-07-05 11:54:56 +08:00
parent 04fbe47b8a
commit 453d37c0d7

View File

@ -27,16 +27,14 @@
> >
<el-table-column prop="" label=""> <el-table-column prop="" label="">
<template slot-scope="scope"> <template slot-scope="scope">
<!-- <div
class="zljcard"
v-for="(aitem, aindex) in scope.row.items"
:key="aindex"
> -->
<div <div
@click="clickitem(scope.row)" @click="clickitem(scope.row)"
:class="itemid == scope.row.id ? 'allactive' : 'collitem'" :class="itemid == scope.row.id ? 'allactive' : 'collitem'"
> >
{{ scope.row.taskPartitionName }} {{ scope.row.taskPartitionName }}
<span class="count" v-if="scope.row.taskPartitionRemark">{{scope.row.taskPartitionRemark}}</span>
</div> </div>
<!-- </div> --> <!-- </div> -->
</template> </template>
@ -151,14 +149,15 @@
@selection-change="handleSelectionChange" @selection-change="handleSelectionChange"
> >
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="字段名称" align="center" prop="fieldName" />
<el-table-column label="字段编码" align="center" prop="fieldCode" />
<el-table-column <el-table-column
label="任务细分" label="任务细分"
align="center" align="center"
prop="taskPartitionDictName" prop="taskPartitionDictName"
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
/> />
<el-table-column label="字段名称" align="center" prop="fieldName" />
<el-table-column label="字段编码" align="center" prop="fieldCode" />
<el-table-column label="字段类型" align="center" prop="fieldType"> <el-table-column label="字段类型" align="center" prop="fieldType">
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.row.fieldType == "STRING" ? "默认字符串" : "" }} {{ scope.row.fieldType == "STRING" ? "默认字符串" : "" }}
@ -1385,6 +1384,12 @@ export default {
padding-bottom: 0px; padding-bottom: 0px;
} }
.count {
float: right;
margin-right: 50px;
color: #a4a6aa;
font-size: 13px;
}
::v-deep table td.el-table__cell:last-child { ::v-deep table td.el-table__cell:last-child {
// border-bottom: 1px solid #dfe6ec; // border-bottom: 1px solid #dfe6ec;
// border-bottom: none; // border-bottom: none;