You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
45 KiB

import{n as e,st as t}from"./axios-CiYFffbI.js";import{I as n,N as r,O as i,Tt as a,V as o,Y as s,_ as c,d as l,f as u,h as d,i as f,it as p,kt as m,l as h,nt as g,p as _,u as v,ut as y,v as b,y as x,z as S}from"./runtime-core.esm-bundler-CnFWH3R5.js";import{n as C}from"./http-LCi9aT1G.js";import{d as w,s as ee,u as te}from"./index-CsO7K1zc.js";import{t as ne}from"./RichEditorField-ClgJqsPy.js";import{r as re,t as ie}from"./adminMediaLimits-BMNnjSzY.js";import{t as ae}from"./listTableRowIndex-PNK2HoFW.js";import{a as oe,c as se,i as T,n as E,o as ce,r as le,s as D,t as ue}from"./mapGeo-BYJZtCg9.js";import{t as O}from"./mediaUrl-CZi-l8UA.js";var de={key:1},fe={key:0,class:`venue-audit-panel`},pe={style:{display:`flex`,gap:`16px`,width:`100%`}},me={style:{flex:`1 1 50%`,"min-width":`0`}},he={style:{flex:`1 1 50%`,"min-width":`0`}},ge=[`src`],_e={class:`venue-address-coord-row venue-audit-address-row`},ve={class:`venue-cover-carousel-wrap`},ye={class:`venue-cover-carousel-row__col`},be=[`src`],xe={class:`venue-cover-carousel-row__col`},Se=[`src`],Ce=[`src`],we={key:0,style:{"margin-left":`8px`}},Te={key:1,style:{"margin-top":`4px`,color:`var(--color-text-3)`}},Ee={key:1,style:{color:`var(--color-text-3)`}},De={style:{color:`#f53f3f`}},Oe={style:{color:`#f53f3f`}},ke={style:{color:`#f53f3f`}},Ae={style:{color:`#f53f3f`}},je={style:{color:`#f53f3f`}},Me={style:{color:`#f53f3f`}},Ne={style:{color:`#f53f3f`}},Pe={style:{color:`#f53f3f`}},Fe={style:{color:`#f53f3f`}},Ie={style:{color:`#f53f3f`}},Le={style:{color:`#f53f3f`}},Re={style:{"margin-left":`8px`,color:`var(--color-text-3)`}},ze={style:{"margin-left":`8px`,color:`var(--color-text-3)`}},Be={style:{display:`flex`,gap:`16px`,width:`100%`}},Ve={style:{flex:`1 1 50%`,"min-width":`0`}},He={style:{flex:`1 1 50%`,"min-width":`0`}},Ue={key:0,class:`venue-gallery-grid`,style:{"margin-top":`8px`}},We=[`src`,`onClick`],Ge={key:0,style:{color:`#f53f3f`}},Ke={style:{color:`#f53f3f`}},qe={class:`venue-address-coord-row`},Je={key:0,style:{color:`#f53f3f`}},Ye={class:`venue-cover-carousel-wrap`},Xe={class:`venue-cover-carousel-row__col`},Ze=[`src`],Qe={key:0,style:{color:`#f53f3f`,"margin-top":`4px`,"font-size":`12px`}},$e={class:`venue-cover-carousel-row__col`},et={style:{display:`flex`,"flex-direction":`column`,"align-items":`flex-start`,width:`100%`}},tt={style:{width:`100%`,"margin-bottom":`8px`}},nt={class:`venue-gallery-grid`},rt=[`src`,`onClick`],it=[`src`,`onClick`],at={key:0,style:{color:`#f53f3f`,"margin-top":`4px`,"font-size":`12px`}},ot={key:0,style:{color:`#f53f3f`}},st=[`src`],ct=[`src`],lt={style:{display:`flex`,gap:`12px`}},ut={style:{width:`280px`,height:`520px`,overflow:`auto`,border:`1px solid #e5e6eb`,padding:`8px`}},dt=2130,ft=te(x({__name:`VenueList`,setup(x){let te=p(!1),ft=p(!1),pt=p(!1),mt=p(!1),k=p(!1),ht=p(``),gt=p([]),_t=p(!1),A=p(null),vt=p([]),j=p([]),M=p([]),yt=p([]),N=p([]),P=p([]),F=p([]),bt=p(null),xt=p(null),St=p(0),Ct=p(!1),wt=p(`image`),Tt=p(``),I=null,L={overlay:null},R=p(null),z={lat:31.299379,lng:120.585315},Et={maxHeight:`70vh`,overflow:`auto`},Dt={height:`70vh`,overflow:`auto`},B=g({name:``,venue_types:``,district:``,unit_name:``,ticket_type:``,booking_mode:``,open_mode:``,visit_form:``,open_time:``,consultation_hours:``,contact_phone:``,address:``,lat:``,lng:``,booking_method:``,ticket_content:``,cover_image:``,gallery_media:``,detail_html:``});function Ot(){Object.keys(B).forEach(e=>{B[e]=``})}let V=g({keyword:``,district:``,venue_type:``,ticket_type:``,booking_mode:``,open_mode:``,appointment_type:``,is_active:``,is_included_in_stats:``,audit_status:``}),H=g({current:1,pageSize:10,total:0}),kt=ee(),At=p(null),jt=p(``),Mt=p(!1),U=p(!1),W=p(`view`),Nt=p(!1),G=p(null),Pt=p([]),Ft=p([]),It=h(()=>new Set(Ft.value.map(e=>e.field)));function Lt(e){return It.value.has(e)}function K(e){return W.value===`audit`&&Lt(e)}let Rt=h(()=>W.value===`audit`?`场馆审核`:`查看场馆`);function zt(e){if(e==null)return`—`;let t=String(e);return t=t.replace(/<[^>]+>/g,` `),t=t.replace(/&nbsp;/gi,` `),t=t.replace(/&amp;/g,`&`).replace(/&lt;/g,`<`).replace(/&gt