1 |
- import{d as A,r as i,p as F,x as J,a3 as K,o as f,c as B,f as t,A as l,a,a1 as P,D as p,k as S,C as z,F as E,U as G,V as H,_ as L,K as O,a9 as W,J as X,aa as Q,__tla as R}from"./index-1f518666.js";import{_ as Y,__tla as Z}from"./index.vue_vue_type_script_setup_true_lang-cf2a6735.js";import{_ as $,__tla as aa}from"./ContentWrap.vue_vue_type_script_setup_true_lang-a4de6de9.js";import{_ as ta,__tla as ea}from"./main.vue_vue_type_script_setup_true_lang-e07aa127.js";import la,{__tla as ra}from"./ImageTable-5f8a64df.js";import{_ as _a,__tla as oa}from"./VoiceTable.vue_vue_type_script_setup_true_lang-325d5c2e.js";import{_ as na,__tla as ia}from"./VideoTable.vue_vue_type_script_setup_true_lang-1f3124c9.js";import x,{__tla as pa}from"./UploadFile-0a929dc8.js";import{_ as ma,__tla as ua}from"./UploadVideo.vue_vue_type_script_setup_true_lang-12250ab7.js";import{__tla as sa}from"./upload-917819f7.js";import{g as ca,d as da,__tla as ga}from"./index-c117fbd5.js";import{u as fa,__tla as ya}from"./useMessage-633c11d2.js";import{U as m,__tla as ha}from"./useUpload-bb0cdd8b.js";import{__tla as va}from"./index-a37b14c7.js";import{__tla as Ua}from"./el-card-955661ed.js";import{__tla as Va}from"./index-9d4bf520.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as Na}from"./main-6c366489.js";import{__tla as ba}from"./formatTime-a4909bb5.js";import{__tla as Sa}from"./main.vue_vue_type_script_setup_true_lang-9e9d0fbc.js";let C,za=Promise.all([(()=>{try{return R}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ga}catch{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return ha}catch{}})(),(()=>{try{return va}catch{}})(),(()=>{try{return Ua}catch{}})(),(()=>{try{return Va}catch{}})(),(()=>{try{return Na}catch{}})(),(()=>{try{return ba}catch{}})(),(()=>{try{return Sa}catch{}})()]).then(async()=>{C=A({__name:"index",setup(Ia){const I=fa(),d=i(m.Image),u=i(!1),s=i([]),c=i(0),y=i(-1);F("accountId",y);const r=J({pageNo:1,pageSize:10,accountId:y,permanent:!0}),g=i(!1),k=o=>{y.value=o,r.accountId=o,r.pageNo=1,n()},n=async()=>{u.value=!0;try{const o=await ca({...r,type:d.value});s.value=o.list,c.value=o.total}finally{u.value=!1}},D=()=>{s.value=[],c.value=0,r.pageNo=1,n()},h=async o=>{await I.confirm("\u6B64\u64CD\u4F5C\u5C06\u6C38\u4E45\u5220\u9664\u8BE5\u6587\u4EF6, \u662F\u5426\u7EE7\u7EED?"),await da(o),I.alertSuccess("\u5220\u9664\u6210\u529F")};return(o,e)=>{const j=G,M=H,w=$,v=L,U=O,V=Y,N=W,T=X,q=Q,b=K("hasPermi");return f(),B(E,null,[t(w,null,{default:l(()=>[t(M,{class:"-mb-15px",inline:!0,"label-width":"68px"},{default:l(()=>[t(j,{label:"\u516C\u4F17\u53F7",prop:"accountId"},{default:l(()=>[t(a(ta),{onChange:k})]),_:1})]),_:1})]),_:1}),t(w,null,{default:l(()=>[t(q,{modelValue:a(d),"onUpdate:modelValue":e[8]||(e[8]=_=>P(d)?d.value=_:null),onTabChange:D},{default:l(()=>[t(N,{name:a(m).Image},{label:l(()=>[t(U,{align:"middle"},{default:l(()=>[t(v,{icon:"ep:picture"}),p("\u56FE\u7247 ")]),_:1})]),default:l(()=>[S((f(),z(x,{type:a(m).Image,onUploaded:n},{default:l(()=>[p(" \u652F\u6301 bmp/png/jpeg/jpg/gif \u683C\u5F0F\uFF0C\u5927\u5C0F\u4E0D\u8D85\u8FC7 2M ")]),_:1},8,["type"])),[[b,["mp:material:upload-permanent"]]]),t(la,{loading:a(u),list:a(s),onDelete:h},null,8,["loading","list"]),t(V,{total:a(c),page:a(r).pageNo,"onUpdate:page":e[0]||(e[0]=_=>a(r).pageNo=_),limit:a(r).pageSize,"onUpdate:limit":e[1]||(e[1]=_=>a(r).pageSize=_),onPagination:n},null,8,["total","page","limit"])]),_:1},8,["name"]),t(N,{name:a(m).Voice},{label:l(()=>[t(U,{align:"middle"},{default:l(()=>[t(v,{icon:"ep:microphone"}),p("\u8BED\u97F3 ")]),_:1})]),default:l(()=>[S((f(),z(x,{type:a(m).Voice,onUploaded:n},{default:l(()=>[p(" \u683C\u5F0F\u652F\u6301 mp3/wma/wav/amr\uFF0C\u6587\u4EF6\u5927\u5C0F\u4E0D\u8D85\u8FC7 2M\uFF0C\u64AD\u653E\u957F\u5EA6\u4E0D\u8D85\u8FC7 60s ")]),_:1},8,["type"])),[[b,["mp:material:upload-permanent"]]]),t(_a,{list:a(s),loading:a(u),onDelete:h},null,8,["list","loading"]),t(V,{total:a(c),page:a(r).pageNo,"onUpdate:page":e[2]||(e[2]=_=>a(r).pageNo=_),limit:a(r).pageSize,"onUpdate:limit":e[3]||(e[3]=_=>a(r).pageSize=_),onPagination:n},null,8,["total","page","limit"])]),_:1},8,["name"]),t(N,{name:a(m).Video},{label:l(()=>[t(U,{align:"middle"},{default:l(()=>[t(v,{icon:"ep:video-play"}),p(" \u89C6\u9891 ")]),_:1})]),default:l(()=>[S((f(),z(T,{type:"primary",plain:"",onClick:e[4]||(e[4]=_=>g.value=!0)},{default:l(()=>[p("\u65B0\u5EFA\u89C6\u9891")]),_:1})),[[b,["mp:material:upload-permanent"]]]),t(ma,{modelValue:a(g),"onUpdate:modelValue":e[5]||(e[5]=_=>P(g)?g.value=_:null)},null,8,["modelValue"]),t(na,{list:a(s),loading:a(u),onDelete:h},null,8,["list","loading"]),t(V,{total:a(c),page:a(r).pageNo,"onUpdate:page":e[6]||(e[6]=_=>a(r).pageNo=_),limit:a(r).pageSize,"onUpdate:limit":e[7]||(e[7]=_=>a(r).pageSize=_),onPagination:n},null,8,["total","page","limit"])]),_:1},8,["name"])]),_:1},8,["modelValue"])]),_:1})],64)}}})});export{za as __tla,C as default};
|