53b7bbcff7
**项目级文件**: - configs/mkdocs.yml mkdocs 站点配置 - jumpserver-webcli/ANALYSIS.md webcli 调试分析报告 - jumpserver-webcli/CHANGELOG.md webcli 变更日志 - jumpserver-webcli/deploy_0802_*.txt 0802 部署调试输出(4 个) - jumpserver-webcli/diag_0802_*.txt 0802 诊断输出(3 个) - jumpserver-webcli/diag_184715.txt 18:47:15 诊断输出 - tests/test_quick_rules.py quick_rules API 测试 - temp/ 临时调试脚本目录(5 个:check_tables + 调试 + rename_dzpc + ts-check + inspect_batch) **交付报告**: - overview.md 「结束会话失败」修复交付报告(2026-07-30,ChatPanel.vue 三件套修复) **会话调试上下文**: - dedup_context.txt / dedup2.txt 去重调试上下文 - pattern_check.txt / pattern_context.txt 模式检查 - option_button_context.txt / option_select_context.txt 选项按钮/选择上下文 - qid.txt 会话 ID 记录 - yixuan_context.txt 艺璇任务上下文 - final_check.txt 最终检查 **部署脚本输出**: - deploy_v11.txt / deploy_h5_v11.txt v11 部署命令输出 合计 27 文件(含 1 项目文档 + 22 调试上下文 + 4 jumpserver webcli 调试 + 1 mkdocs 配置 + 1 测试 + 1 temp/ + 2 部署输出)
1 line
3.0 KiB
Plaintext
1 line
3.0 KiB
Plaintext
,O("div",{key:H.id,class:ge(["invite-cell",{"invite-cell--disabled":E(H.id)}]),onClick:ue=>T(H)},[C(ce,{"model-value":y(H.id),disabled:E(H.id),shape:"square"},null,8,["model-value","disabled"]),_("div",IC,F(g(H.name)),1),_("div",$C,[_("span",OC,F(H.name),1),H.department?(k(),O("span",PC,F(H.department),1)):ie("",!0)]),E(H.id)?(k(),O("span",DC,"已在会话中")):ie("",!0)],10,RC))),128))]))])]),_:1}),C(Re,{title:"组织架构"},{default:rt(()=>[_("div",BC,[d.value?(k(),O("div",LC,[C(re,{type:"spinner",size:"24px"},{default:rt(()=>[...se[6]||(se[6]=[Ue("加载中...",-1)])]),_:1})])):c.value.length===0?(k(),mt(ke,{key:1,description:"暂无组织架构数据",image:"search"})):(k(),O("div",NC,[(k(!0),O(be,null,nt(m.value,H=>(k(),O("div",{key:H.id,class:ge(["org-tree-node",{"org-tree-node--dept":!H.isLeaf,"org-tree-node--emp":H.isLeaf,"invite-cell--disabled":H.isLeaf&&E(H.id)}]),style:zt({paddingLeft:`${H.depth*16+12}px`}),onClick:ue=>H.isLeaf?b(H):R(H.id)},[H.isLeaf?(k(),O(be,{key:1},[C(ce,{"model-value":y(H.id),disabled:E(H.id),shape:"square"},null,8,["model-value","disabled"]),_("div",jC,F(g(H.label)),1),_("div",UC,[_("span",zC,F(H.label),1),H.department?(k(),O("span",HC,F(H.department),1)):ie("",!0)]),E(H.id)?(k(),O("span",qC,"已在会话中")):ie("",!0)],64)):(k(),O(be,{key:0},[C(oe,{name:$(H.id)?"arrow-down":"arrow",class:"org-tree-node__arrow"},null,8,["name"]),_("span",FC,F(H.label),1),_("span",VC,F(H.childCount)+"人",1)],64))],14,MC))),128))]))])]),_:1})]),_:1},8,["active"]),_("div",WC,[_("span",KC,[se[7]||(se[7]=Ue(" 已选 ",-1)),_("strong",null,F(p.value),1),se[8]||(se[8]=Ue(" 人 ",-1))]),C(fe,{type:"success",size:"small",round:"",loading:f.value,disabled:p.value===0||!e.conversationId,onClick:Z},{default:rt(()=>[...se[9]||(se[9]=[Ue(" 确认邀请 ",-1)])]),_:1},8,["loading","disabled"])])])]),_:1},8,["show"])}}}),eh=ot(GC,[["__scopeId","data-v-61086f47"]]),JC={class:"participant-strip__count"},YC={class:"participant-strip__avatars"},XC=["onMouseenter"],QC=["src","alt","onError"],ZC={key:1,class:"participant-strip__avatar-letter"},eE={key:0,class:"participant-strip__overflow"},tE={key:1,class:"participant-strip__badge-dot"},nE={class:"participant-strip__tooltip-name"},sE={key:0,class:"participant-strip__tooltip-dept"},qc=4,oE=we({__name:"ParticipantStrip",setup(e){const t=Ot(),n=Rt(),s=M({}),o=M(null),i=M(!1),{normalizedParticipants:r,totalCount:a,hasPending:c}=Zf(),d=V(()=>r.value.slice(0,qc)),l=V(()=>Math.max(0,r.value.length-qc)),u=V(()=>{const y=t.currentConversation;return y?y.employee_id===n.employeeId?!0:r.value.some(E=>E.id===n.employeeId):!1});function f(y){return y.role==="primary_agent"?"主责坐席":y.role==="collaborator"?"协作坐席":y.role==="owner"?"发起人":y.joined?"已加入":"待加入"}const h=V(()=>r.value.map(y=>y.id).filter(Boolean));async function p(){i.value=!1,await t.fetchCurrentConversation()}function m(y){return(y||"?").charAt(0)}function g(){t.participantPanelVisible=!0}return(y,E)=>{var I;return k(),O("div",{class:ge(["participant-strip",{"participant-strip--has-pending":Ce(c)}]),onClick:g},[_(" |