import{d as g,ag as x,ah as z,r as P,ai as s,$ as I,c as a,aj as E,q as c,F as Z,f as j,B as U,P as y,a_ as D,m,o as i}from"./index.332c7f08.js";import{O as B}from"./index.d7c1b6ac.js";import{O as d}from"./index.8a425810.js";import{O as R}from"./index.a8f5f4b5.js";import{C as h}from"./index.324108a5.js";import{F as A}from"./index.1ed6273e.js";import{C as u}from"./index.91135ff9.js";import{R as S,a as M}from"./index.a4155be3.js";import{D as V}from"./index.1361b221.js";import{P as O}from"./index.656e257f.js";import"./oss-file-upload.e630303f.js";import"./index.ee7951f5.js";import"./ImagePreview.e5b44a77.js";import"./index.1e2dfe6e.js";import"./index.96a8db5e.js";import"./function-call.3db51140.js";import"./Checker.1af5496e.js";import"./utils.4b86e8c9.js";import"./Picker.e56f94bd.js";import"./index.7c580591.js";import"./use-tab-status.9d769af8.js";import"./index.4aa8e076.js";const k="_cellGroup_1l4vh_1",N="_title_1l4vh_17",q="_nums_1l4vh_22",F="_orchestraName_1l4vh_36",L="_uploader_1l4vh_39";var o={cellGroup:k,title:N,nums:q,orchestraName:F,uploader:L},w="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMwAAAC8CAMAAAAD3rEBAAABWVBMVEUAAADZ2dna2tra2trZ2dna2trZ2dnb29va2trZ2dnc3Nz5+fn5+fn4+Pj4+Pj5+fnb29v////Z2dn29vbi4uLa2trj4+Pq6ur4+Pjg4OD4+PjZ2dk9PT13d3ff39/29vbj4+Px8fHc3Nzu7u6CgoLs7OzX19fq6url5eW8vLypqan09PTPz8+vr6/w8PDLy8u9vb2ZmZn/o3zHx8eJiYnAwMD/pn98fHz/kGiOjo7/qoJ5eXn/jWWLi4v/oHj/iWGjo6P/mXFGRkbz8/NRUVFBQUHY2NjR0dH61sampqacnJz/kmqurq6WlpaSkpL9p4h/f3//nXX/lWyGhobh4eG0tLRxcXG4uLifn5//lm5ZWVmysrL+tZVdXV3ExMT9uJr47OfJycn9rI9bW1v6z776zbz/rYbn5+f55Nv639PGxs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Wc9adY4SxU4yHbU03LQxXwnSNTljv0kEiHX/Y1mbLb1vpXst7jj+A8eezaPpfL2tB2T6R3Af8pXcHJS5x1PGtFrkwlLFyJi1bLRfO4vv2DXl9Z390vliv88A68Y/Zkk1wfmQAAAABJRU5ErkJggg==",Ae=g({name:"story-operation",setup(){const p=x(),f=z(),e=P({id:f.query.id||null,orchestraId:f.query.orchestraId||null,content:"",orchestraStatus:!1,orchestraList:[],selectOrchestra:{},createTime:s(s().format("YYYY-MM-DD")).toDate(),createTimeStatus:!1,currentDate:[s().format("YYYY"),s().format("MM"),s().format("DD")],storyType:"IMAGE",attachments:[],video:[],videoCover:[],delStatus:!1}),T=async()=>{try{const{data:t}=await m.post("/api-school/orchestra/page",{data:{page:1,rows:100,status:"DONE"}}),r=t.rows||[],l=[];if(r.forEach(n=>{l.push({text:n.name,value:n.id})}),e.orchestraList=[...l],l.length>0)if(e.orchestraId){const n=l.find(G=>G.value===e.orchestraId);e.selectOrchestra=n||l[0]}else e.selectOrchestra=l[0]}catch{}},Y=async()=>{try{if(!e.id)return;const{data:t}=await m.get("/api-school/orchestraStory/detail/"+e.id);if(console.log(t),e.content=t.content,e.createTime=t.createTime,e.storyType=t.type,e.orchestraList.forEach(r=>{r.value===r.orchestraId&&(e.selectOrchestra=r)}),t.type==="IMAGE")t.attachments&&t.attachments.forEach(r=>{e.attachments.push(r.url)});else{const r=t.attachments?t.attachments[0]:[];e.video.push(r.url),e.videoCover.push(r.coverImage)}}catch{}},v=async()=>{try{if(!e.selectOrchestra.value){i("\u8BF7\u9009\u62E9\u4E50\u56E2");return}if(!e.createTime){i("\u8BF7\u9009\u62E9\u4E8B\u8FF9\u65E5\u671F");return}if(!e.content){i("\u8BF7\u8F93\u5165\u4E8B\u8FF9\u5185\u5BB9");return}if(e.storyType==="IMAGE"&&e.attachments.length<=0){i("\u8BF7\u4E0A\u4F20\u7167\u7247");return}if(e.storyType==="VIDEO"){if(e.video.length<=0){i("\u8BF7\u4E0A\u4F20\u89C6\u9891");return}if(e.videoCover.length<=0){i("\u8BF7\u4E0A\u4F20\u89C6\u9891\u5C01\u9762");return}}const t=[];e.storyType==="IMAGE"?e.attachments.forEach(l=>{const n={attachmentType:e.storyType,url:l};t.push(n)}):t.push({attachmentType:e.storyType,url:e.video[0],coverImage:e.videoCover[0]}),console.log({createTime:s(e.createTime).format("YYYY-MM-DD HH:mm:ss"),orchestraId:e.selectOrchestra.value,content:e.content,type:e.storyType,attachments:t});const r={createTime:s(e.createTime).format("YYYY-MM-DD HH:mm:ss"),orchestraId:e.selectOrchestra.value,content:e.content,type:e.storyType,attachments:t};e.id?(await m.post("/api-school/orchestraStory/update",{hideLoading:!1,data:{...r,id:e.id}}),p.back()):(await m.post("/api-school/orchestraStory/save",{hideLoading:!1,data:r}),p.back())}catch{}},b=async()=>{try{await m.post("/api-school/orchestraStory/remove",{requestType:"form",data:{id:e.id}}),p.back()}catch{}};return I(async()=>{e.id&&(document.title="\u4FEE\u6539\u4E8B\u8FF9"),await T(),await Y()}),()=>a("div",{class:o.storyOperation},[a(E,{title:e.id?"\u4FEE\u6539\u4E8B\u8FF9":"\u6DFB\u52A0\u4E8B\u8FF9"},{right:()=>e.id&&a("span",{style:{color:"#777777"},onClick:()=>{e.delStatus=!0}},[c("\u5220\u9664")])}),a(h,{inset:!0,class:o.cellGroup},{default:()=>[a(A,{inputAlign:"right",label:"\u6240\u5C5E\u4E50\u56E2",onClick:()=>{e.orchestraStatus=!0},readonly:!0,isLink:!0},{input:()=>e.selectOrchestra.text?a("div",{class:[o.orchestraName,"van-ellipsis"]},[e.selectOrchestra.text]):a("div",{style:{color:"#c8c9cc"}},[c("\u8BF7\u9009\u62E9\u6240\u5C5E\u4E50\u56E2")])}),a(A,{inputAlign:"right",label:"\u4E8B\u8FF9\u65E5\u671F",modelValue:e.createTime?s(e.createTime).format("YYYY-MM-DD"):"",placeholder:"\u8BF7\u9009\u62E9\u4E8B\u8FF9\u65E5\u671F",onClick:()=>{e.createTimeStatus=!0},readonly:!0,isLink:!0,class:o.inputForm},null)]}),a(h,{inset:!0,class:o.cellGroup},{default:()=>[a(u,{title:"\u4E8B\u8FF9\u5185\u5BB9"},{title:()=>a("div",{class:o.title},[a("div",{class:o.name},[c("\u4E8B\u8FF9\u5185\u5BB9")]),a("div",{class:o.nums},[e.content.length||0,c("/200")])]),label:()=>a(A,{style:{padding:"0",marginTop:"12px"},placeholder:"\u8BF7\u8F93\u5165\u4E50\u56E2\u4E8B\u8FF9\u5185\u5BB9",type:"textarea",rows:3,modelValue:e.content,"onUpdate:modelValue":t=>e.content=t,maxlength:200},null)})]}),a(h,{inset:!0,class:o.cellGroup},{default:()=>[a(u,{title:"\u4E8B\u8FF9\u8D44\u6599\u7C7B\u578B",center:!0},{value:()=>a(S,{"checked-color":"#FF8057",modelValue:e.storyType,"onUpdate:modelValue":t=>e.storyType=t,direction:"horizontal"},{default:()=>[a(M,{class:o.radioItem,name:"IMAGE"},{default:()=>[c("\u56FE\u7247")]}),a(M,{class:o.radioItem,name:"VIDEO"},{default:()=>[c("\u89C6\u9891")]})]})}),e.storyType==="IMAGE"&&a(u,{center:!0},{title:()=>a(d,{style:{marginBottom:"12px"},modelValue:e.attachments,"onUpdate:modelValue":t=>e.attachments=t,maxCount:9,bucket:"gyt",path:"/orchestra",uploadIcon:w},null)}),e.storyType==="VIDEO"&&a(u,{center:!0,titleStyle:{display:"flex"}},{title:()=>a(Z,null,[a(d,{style:{marginBottom:"12px"},modelValue:e.video,"onUpdate:modelValue":t=>e.video=t,accept:"video/*",native:j().isApp,uploadType:"VIDEO",uploadIcon:X,deletable:!1,bucket:"gyt",path:"/orchestra"},null),a(d,{deletable:!1,style:{marginBottom:"12px"},modelValue:e.videoCover,"onUpdate:modelValue":t=>e.videoCover=t,uploadIcon:W,bucket:"gyt",path:"/orchestra"},null)])})]}),a(B,{position:"bottom"},{default:()=>[a("div",{class:"btnGroup"},[a(U,{round:!0,block:!0,type:"primary",onClick:v},{default:()=>[c("\u4FDD\u5B58")]})])]}),a(y,{show:e.createTimeStatus,"onUpdate:show":t=>e.createTimeStatus=t,position:"bottom",round:!0,class:"popupBottomSearch"},{default:()=>[a(V,{maxDate:new Date,modelValue:e.currentDate,"onUpdate:modelValue":t=>e.currentDate=t,onCancel:()=>e.createTimeStatus=!1,formatter:D,onConfirm:t=>{const r=t.selectedValues.join("-");e.createTime=s(r).toDate(),e.createTimeStatus=!1}},null)]}),a(y,{show:e.orchestraStatus,"onUpdate:show":t=>e.orchestraStatus=t,position:"bottom",round:!0,class:"popupBottomSearch"},{default:()=>[a(O,{columns:e.orchestraList,onCancel:()=>e.orchestraStatus=!1,onConfirm:t=>{e.selectOrchestra=t.selectedOptions[0],e.orchestraStatus=!1}},null)]}),a(R,{show:e.delStatus,"onUpdate:show":t=>e.delStatus=t,title:"\u5220\u9664\u4E8B\u8FF9",messageAlign:"left",message:"\u5220\u9664\u540E\u5B66\u5458\u5C06\u65E0\u6CD5\u518D\u770B\u5230\u672C\u6761\u4E8B\u8FF9\u786E\u8BA4\u8981\u5220\u9664\u5417\uFF1F",showCancelButton:!0,onConfirm:b},null)])}});export{Ae as default};