productContant-8IVozI8T.js 1.5 KB

1
  1. import f from"./customIcons-DP9WTDY0.js";import _ from"./productNote-B3SWBa9P.js";import{aa as a}from"./antd-BQ3qV6bI.js";import{d as v,f as l,r as h,a7 as s,_ as N,a8 as I,a9 as S,a0 as t,k as r,a3 as k,a4 as b}from"./vue-BNCny8i2.js";import{_ as g}from"./entry/index-BR4aaozk-1722999832476.js";import"./plugin-DCXEoXS2.js";import"./plugin-D-qFqa60.js";import"./onMountedOrActivated-DUkWHYas.js";const y=v({name:"ProductContant",components:{"a-form":a,"a-form-item":a.Item,CustomIcons:f,ProductNote:_},setup(){const e=l(!1),o=l(null);return{taskForm:h({taskType:"sendMessage",sendType:"immediate",scheduledTime:null,messageContent:"",fileContent:""}),handleOpenNote:()=>{e.value=!0},handleNoteClose:()=>{e.value=!1},isNoteVisible:e,handleSaveContent:n=>{o.value=n},noteContent:o}}}),P=e=>(k("data-v-9480522c"),e=e(),b(),e),T={style:{display:"flex","justify-content":"space-around",width:"750px",cursor:"pointer"}},O=["innerHTML"],V=P(()=>t("div",{class:"image"},null,-1));function $(e,o,c,d,i,m){const n=s("CustomIcons"),p=s("ProductNote"),u=s("a-form-item");return N(),I(u,{label:"",name:"messageContent",class:"message-content"},{default:S(()=>[t("div",T,[t("div",{class:"product-note-contant",onClick:o[0]||(o[0]=(...C)=>e.handleOpenNote&&e.handleOpenNote(...C))},[t("div",{class:"note-data",innerHTML:e.noteContent},null,8,O),V]),r(n)]),r(p,{visible:e.isNoteVisible,onClose:e.handleNoteClose,onSaveContent:e.handleSaveContent},null,8,["visible","onClose","onSaveContent"])]),_:1})}const x=g(y,[["render",$],["__scopeId","data-v-9480522c"]]);export{x as default};