moreShopAdmin/build/admin/assets/index.69c8fc87.js

2 lines
5.2 KiB
JavaScript

import{C as P,D as z,w as M,F as T,L as j,M as I,N as q,O as K}from"./element-plus.7e347b00.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang.af250dfd.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang.5c2bc014.js";import{u as Z}from"./usePaging.6a6670f9.js";import{u as G}from"./useDictOptions.1aadc464.js";import{d as B,e as H}from"./store_extract.847d2a29.js";import"./lodash.4e6d2a38.js";import"./index.9f7dd589.js";import{_ as J}from"./edit.vue_vue_type_script_setup_true_name_storeExtractEdit_lang.4d5acf37.js";import{d as h,s as W,r as v,Z as X,i as Y,ap as ee,o as d,c as te,U as e,L as l,u as t,R as _,M as E,K as f,a as F,Q as C,j as oe}from"./@vue.18505fe0.js";import"./lodash-es.f52bd8b1.js";import"./async-validator.fb49d0f5.js";import"./@vueuse.fbc6a400.js";import"./@element-plus.edbd5a83.js";import"./dayjs.0112e2c7.js";import"./@babel.80d29b7b.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.b7edee13.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.js";import"./axios.cffda5ac.js";import"./jspdf.6c61b9d3.js";import"./fflate.0418c72f.js";import"./vue-router.101084e3.js";import"./pinia.a969beab.js";import"./css-color-function.bb8c34b2.js";import"./color.fbd63fe8.js";import"./clone.31a3aa2c.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.b0c09b66.js";const ae={class:"mt-4"},le={class:"flex mt-4 justify-end"},se=h({name:"storeExtractLists"}),Je=h({...se,setup(re){const x=W(),w=v(!1),s=X({store_id:"",extract_type:"",status:"",pay_status:"",create_time:""}),y=v([]),V=n=>{y.value=n.map(({id:o})=>o)},{dictData:g}=G(""),{pager:u,getLists:i,resetParams:D,resetPage:k}=Z({fetchFun:B,params:s}),A=n=>{H({id:n}).then(()=>{i()})};return Y(()=>{i()}),(n,o)=>{const m=P,p=z,c=M,L=Q,S=T,b=j,r=I,U=q,N=O,R=ee("perms"),$=K;return d(),te("div",null,[e(b,{class:"!border-none mb-4",shadow:"never"},{default:l(()=>[e(S,{class:"mb-[-16px]",model:t(s),inline:""},{default:l(()=>[e(p,{label:"\u95E8\u5E97",prop:"store_id"},{default:l(()=>[e(m,{class:"w-[280px]",modelValue:t(s).store_id,"onUpdate:modelValue":o[0]||(o[0]=a=>t(s).store_id=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u95E8\u5E97"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u6536\u6B3E\u65B9\u5F0F",prop:"extract_type"},{default:l(()=>[e(m,{class:"w-[280px]",modelValue:t(s).extract_type,"onUpdate:modelValue":o[1]||(o[1]=a=>t(s).extract_type=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6536\u6B3E\u65B9\u5F0F"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u5BA1\u6838\u72B6\u6001",prop:"status"},{default:l(()=>[e(m,{class:"w-[280px]",modelValue:t(s).status,"onUpdate:modelValue":o[2]||(o[2]=a=>t(s).status=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u5BA1\u6838\u72B6\u6001"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u8F6C\u8D26\u72B6\u6001",prop:"pay_status"},{default:l(()=>[e(m,{class:"w-[280px]",modelValue:t(s).pay_status,"onUpdate:modelValue":o[3]||(o[3]=a=>t(s).pay_status=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8F6C\u8D26\u72B6\u6001"},null,8,["modelValue"])]),_:1}),e(p,null,{default:l(()=>[e(c,{type:"primary",onClick:t(k)},{default:l(()=>[_("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(c,{onClick:t(D)},{default:l(()=>[_("\u91CD\u7F6E")]),_:1},8,["onClick"]),e(L,{class:"ml-2.5","fetch-fun":t(B),params:t(s),"page-size":t(u).size},null,8,["fetch-fun","params","page-size"])]),_:1})]),_:1},8,["model"])]),_:1}),E((d(),f(b,{class:"!border-none",shadow:"never"},{default:l(()=>[F("div",ae,[e(U,{data:t(u).lists,onSelectionChange:V},{default:l(()=>[e(r,{type:"selection",width:"55"}),e(r,{label:"id",prop:"id","show-overflow-tooltip":""}),e(r,{label:"\u540D\u79F0",prop:"nickname","show-overflow-tooltip":""}),e(r,{label:"\u63D0\u73B0\u91D1\u989D",prop:"extract_price","show-overflow-tooltip":""}),e(r,{label:"openid",prop:"openid","show-overflow-tooltip":""}),e(r,{label:"\u5907\u6CE8",prop:"mark","show-overflow-tooltip":""}),e(r,{label:"\u5BA1\u6838\u72B6\u6001",prop:"status_name","show-overflow-tooltip":""}),e(r,{label:"\u8F6C\u8D26\u72B6\u6001",prop:"pay_status_name","show-overflow-tooltip":""}),e(r,{label:"\u7BA1\u7406\u5458",prop:"admin_id","show-overflow-tooltip":""}),e(r,{label:"\u521B\u5EFA\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),e(r,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:l(({row:a})=>[a.pay_status==0?E((d(),f(c,{key:0,type:"primary",link:"",onClick:ue=>A(a.id)},{default:l(()=>[_(" \u786E\u8BA4 ")]),_:2},1032,["onClick"])),[[R,["store_extract.store_extract/enter"]]]):C("",!0)]),_:1})]),_:1},8,["data"])]),F("div",le,[e(N,{modelValue:t(u),"onUpdate:modelValue":o[4]||(o[4]=a=>oe(u)?u.value=a:null),onChange:t(i)},null,8,["modelValue","onChange"])])]),_:1})),[[$,t(u).loading]]),t(w)?(d(),f(J,{key:0,ref_key:"editRef",ref:x,"dict-data":t(g),onSuccess:t(i),onClose:o[5]||(o[5]=a=>w.value=!1)},null,8,["dict-data","onSuccess"])):C("",!0)])}}});export{Je as default};