Browse Source

大模型优化,增加分页查询聊天信息

master
xueyinfei 3 weeks ago
parent
commit
16b2976a78
  1. 8
      vue-fastapi-frontend/src/views/meta/metaInfo/index.vue

8
vue-fastapi-frontend/src/views/meta/metaInfo/index.vue

@ -348,12 +348,12 @@
<template v-for="item in columnList"> <template v-for="item in columnList">
<el-table-column :label="(item.fldCnName && item.fldCnName.length>0)?item.fldCnName:((item.fldCrrctName && item.fldCrrctName.length>0)?item.fldCrrctName:item.fldEngName)" width="100" align="center"> <el-table-column :label="(item.fldCnName && item.fldCnName.length>0)?item.fldCnName:((item.fldCrrctName && item.fldCrrctName.length>0)?item.fldCrrctName:item.fldEngName)" width="100" align="center">
<template #default="scope"> <template #default="scope">
<span v-if="scope.row.fldEngName && scope.row.fldEngName.length < 10">{{scope.row.fldEngName}}</span> <template v-if="scope.row[item.fldEngName] && typeof(scope.row[item.fldEngName]) === 'string' && scope.row[item.fldEngName].length >= 10">
<template v-if="scope.row.fldEngName && scope.row.fldEngName.length >= 10"> <el-tooltip effect="dark" :content="scope.row[item.fldEngName]" placement="top" popper-class="operate-tooltip">
<el-tooltip effect="dark" :content="scope.row.fldEngName" placement="top" popper-class="operate-tooltip"> <span>{{scope.row[item.fldEngName].substring(0, 10) + '...'}}</span>
<span>{{scope.row.fldEngName.substring(0, 10) + '...'}}</span>
</el-tooltip> </el-tooltip>
</template> </template>
<span v-else>{{scope.row[item.fldEngName]}}</span>
</template> </template>
</el-table-column> </el-table-column>
</template> </template>

Loading…
Cancel
Save