Files
aiot-platform-ui/apps/web-antd/dist/js/data-C4dxcdcy.js
lzh 2deb263bf9
All checks were successful
Web UI CI/CD / build-and-deploy (push) Successful in 8s
chore: build and deploy web-antd
2026-03-08 00:18:15 +08:00

2 lines
3.0 KiB
JavaScript

var f=Object.defineProperty,s=Object.defineProperties;var c=Object.getOwnPropertyDescriptors;var r=Object.getOwnPropertySymbols;var p=Object.prototype.hasOwnProperty,u=Object.prototype.propertyIsEnumerable;var d=(t,e,i)=>e in t?f(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,l=(t,e)=>{for(var i in e||(e={}))p.call(e,i)&&d(t,i,e[i]);if(r)for(var i of r(e))u.call(e,i)&&d(t,i,e[i]);return t},n=(t,e)=>s(t,c(e));import{g as a}from"./index-4P5A2KmZ.js";import{g as m}from"./rangePickerProps-B_jPQzKn.js";import{D as h}from"./dict-enum-CaHgMaDZ.js";let o=[];a().then(t=>o=t);function x(){return[{fieldName:"userId",label:"用户编号",component:"Input",componentProps:{placeholder:"请输入用户编号",allowClear:!0}},{fieldName:"title",label:"聊天标题",component:"Input",componentProps:{placeholder:"请输入聊天标题",allowClear:!0}},{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:n(l({},m()),{allowClear:!0})}]}function N(){return[{field:"id",title:"对话编号",fixed:"left",minWidth:180},{field:"title",title:"对话标题",minWidth:180,fixed:"left"},{title:"用户",minWidth:180,field:"userId",formatter:({cellValue:t})=>{var e;return t===0?"系统":((e=o.find(i=>i.id===t))==null?void 0:e.nickname)||"-"}},{field:"roleName",title:"角色",minWidth:180},{field:"model",title:"模型标识",minWidth:180},{field:"messageCount",title:"消息数",minWidth:180},{field:"createTime",title:"创建时间",minWidth:180,formatter:"formatDateTime"},{field:"temperature",title:"温度参数",minWidth:80},{title:"回复数 Token 数",field:"maxTokens",minWidth:120},{title:"上下文数量",field:"maxContexts",minWidth:120},{title:"操作",width:130,fixed:"right",slots:{default:"actions"}}]}function P(){return[{fieldName:"conversationId",label:"对话编号",component:"Input",componentProps:{placeholder:"请输入对话编号",allowClear:!0}},{fieldName:"userId",label:"用户编号",component:"ApiSelect",componentProps:{api:a,labelField:"nickname",valueField:"id",placeholder:"请选择用户编号",allowClear:!0}},{fieldName:"createTime",label:"创建时间",component:"RangePicker",componentProps:n(l({},m()),{allowClear:!0})}]}function T(){return[{field:"id",title:"消息编号",fixed:"left",minWidth:180},{field:"conversationId",title:"对话编号",minWidth:180,fixed:"left"},{title:"用户",minWidth:180,field:"userId",formatter:({cellValue:t})=>{var e;return((e=o.find(i=>i.id===t))==null?void 0:e.nickname)||"-"}},{field:"roleName",title:"角色",minWidth:180},{field:"type",title:"消息类型",minWidth:100},{field:"model",title:"模型标识",minWidth:180},{field:"content",title:"消息内容",minWidth:300},{field:"createTime",title:"创建时间",minWidth:180,formatter:"formatDateTime"},{field:"replyId",title:"回复消息编号",minWidth:180},{title:"携带上下文",field:"useContext",cellRender:{name:"CellDict",props:{type:h.INFRA_BOOLEAN_STRING}},minWidth:100},{title:"操作",width:130,fixed:"right",slots:{default:"actions"}}]}export{x as a,T as b,P as c,N as u};