moreShopAdmin/dist/admin/assets/index.e3c05e8b.js

2 lines
5.3 KiB
JavaScript
Raw Normal View History

2025-01-15 17:07:27 +08:00
import{k as O,N as G,O as H,D as Q,C as J,w as W,F as X,K as Y,G as ee,H as te,I as oe}from"./element-plus.8e273e86.js";import{_ as ae}from"./index.vue_vue_type_script_setup_true_lang.d6032bc4.js";import{f as le,b as ne}from"./index.9f3afc43.js";import{u as ie}from"./usePaging.f8c888e4.js";import{u as se}from"./useDictOptions.f2f66ee7.js";import{_ as re,a as ue,b as pe,c as me}from"./edit.vue_vue_type_script_setup_true_name_categoryEdit_lang.ef063359.js";import{d as h,r as v,s as de,Z as ce,af as _e,ap as fe,o as n,c as _,U as t,L as o,u as a,T as g,a9 as D,K as p,R as m,M as y,a as x,S as ve,Q as V,j as ye,n as Ce}from"./@vue.76ce7aa3.js";import"./lodash.41b9567d.js";import"./productPop.vue_vue_type_script_setup_true_name_systemStoreLists_lang.d8de5ca0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.9ffef7f8.js";import"./@element-plus.73235148.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./axios.b4cbdbc9.js";import"./jspdf.75308076.js";import"./fflate.0418c72f.js";import"./vue-router.10bd5b90.js";import"./pinia.f3529286.js";import"./css-color-function.f23177ae.js";import"./color.a6ad6672.js";import"./clone.954ba32c.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./ms.564e106c.js";import"./nprogress.b502f541.js";import"./vue-clipboard3.e775fc74.js";import"./clipboard.6417898a.js";import"./echarts.5016c48c.js";import"./zrender.58d022a1.js";import"./tslib.60310f1a.js";import"./highlight.js.31cd7941.js";import"./@highlightjs.8d65305c.js";import"./index.2f78c10c.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.cf0d972e.js";import"./store_category.25c02651.js";import"./store_product.cbb903af.js";const ke={class:"mt-4"},be={key:0},Fe={class:"flex mt-4 justify-end"},we=h({name:"activityZoneLists"}),_t=h({...we,setup(Ee){v(!1);const z=v(!1),C=v(!1),w=de(),s=ce({type:"",title:""}),A=v([]),S=i=>{A.value=i.map(({id:e})=>e)},{dictData:k}=se("activity_zone"),{pager:d,getLists:f,resetParams:L,resetPage:R}=ie({fetchFun:me,params:s}),$=async()=>{var i;C.value=!0,await Ce(),(i=w.value)==null||i.open("add")},N=async i=>{await le.confirm("\u786E\u5B9A\u8981\u5220\u9664\uFF1F"),await ue({id:i}),f()},P=i=>{z.value=!1,pe({id:i.id}).then(e=>{window.open(e.url,"_blank"),O.success("\u5BFC\u51FA\u6210\u529F")})};return f(),(i,e)=>{const E=G,T=H,b=Q,Z=J,c=W,I=X,B=Y,U=ne,r=ee,j=_e("router-link"),q=te,K=ae,F=fe("perms"),M=oe;return n(),_("div",null,[t(B,{class:"!border-none mb-4",shadow:"never"},{default:o(()=>[t(I,{class:"mb-[-16px]",model:a(s),inline:""},{default:o(()=>[t(b,{class:"w-[180px]",label:"\u7C7B\u578B",prop:"type"},{default:o(()=>[t(T,{modelValue:a(s).type,"onUpdate:modelValue":e[0]||(e[0]=l=>a(s).type=l),clearable:"",placeholder:"\u8BF7\u9009\u62E9\u7C7B\u578B"},{default:o(()=>[t(E,{label:"\u5168\u90E8",value:""}),(n(!0),_(g,null,D(a(k).activity_zone,(l,u)=>(n(),p(E,{key:u,label:l.remark,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(b,{label:"\u8868\u5355\u540D\u79F0",prop:"title"},{default:o(()=>[t(Z,{class:"w-[280px]",modelValue:a(s).title,"onUpdate:modelValue":e[1]||(e[1]=l=>a(s).title=l),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8868\u5355\u540D\u79F0"},null,8,["modelValue"])]),_:1}),t(b,null,{default:o(()=>[t(c,{type:"primary",onClick:a(R)},{default:o(()=>e[4]||(e[4]=[m("\u67E5\u8BE2")])),_:1},8,["onClick"]),t(c,{onClick:a(L)},{default:o(()=>e[5]||(e[5]=[m("\u91CD\u7F6E")])),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),y((n(),p(B,{class:"!border-none",shadow:"never"},{default:o(()=>[y((n(),p(c,{type:"primary",onClick:$},{icon:o(()=>[t(U,{name:"el-icon-Plus"})]),default:o(()=>[e[6]||(e[6]=m(" \u65B0\u589E "))]),_:1})),[[F,["activity_zone/add"]]]),x("div",ke,[t(q,{data:a(d).lists,onSelectionChange:S},{default:o(()=>[t(r,{label:"ID",prop:"id","show-overflow-tooltip":""}),t(r,{label:"\u7C7B\u578B",