2024-10-31 11:13:15 +08:00
|
|
|
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.4a7d92a3.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang.5d4e738c.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang.9832ee8f.js";import{u as Z}from"./usePaging.6a6670f9.js";import{u as G}from"./useDictOptions.af86febd.js";import{d as B,e as H}from"./store_extract.3e4c5d61.js";import"./lodash.9dc701ad.js";import"./index.e818b50a.js";import{_ as J}from"./edit.vue_vue_type_script_setup_true_name_storeExtractEdit_lang.58530ac0.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.7347fedc.js";import"./axios.4607972f.js";import"./@ctrl.b082b0c1.js";import"./normalize-wheel-es.8aeb3683.js";import"./@popperjs.36402333.js";import"./index.ed3a83c4.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.d9a16ced.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.0d2736b7.js";import"./vue-clipboard3.7d5a7a5d.js";import"./clipboard.860a1cea.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"}),Ze=h({...se,setup(re){const x=W(),w=v(!1),s=X({store_id:"",extract_type:"",status:"",pay_status:"",create_time:""}),y=v([]),V=i=>{y.value=i.map(({id:o})=>o)},{dictData:g}=G(""),{pager:u,getLists:n,resetParams:D,resetPage:k}=Z({fetchFun:B,params:s}),A=i=>{H({id:i}).then(()=>{n()})};return Y(()=>{n()}),(i,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-overflo
|