PageSourceSearch

https://www.wenext.com/manufacture/assets/UserCoupons.041cf730.js

js wenext.com collected 2026-10-04 16:43:52 UTC 1,890 bytes, 1 lines download raw bytes

1import{d as h,r as s,c as C,b as n,t as l,a as e,w as i,u as r,cs as v,o as f,M as E}from"./index.41f7aab6.js";import{E as y}from"./el-pagination.318e07b4.js";import"./el-scrollbar.1570b4a2.js";import"./el-select.03eea893.js";import"./el-popper.bfc2b01f.js";import{E as $,a as T}from"./el-table-column.4dc9db09.js";import"./el-checkbox.313d218b.js";import"./el-tooltip.89296c46.js";import"./index.429b0b7c.js";import"./use-form-item.eafb5543.js";import"./_Uint8Array.4e9e28d0.js";import"./strings.a0df7963.js";import"./index.ded499aa.js";import"./debounce.e5229ade.js";import"./validator.5f3275f2.js";import"./focus-trap.a400ad52.js";import"./_initCloneObject.719febca.js";const k={class:"card-container"},x={class:"card__header"},z={class:"table-text--highlight"},N=["text"],w=h({__name:"UserCoupons",setup(B){const c=s([]),u=s(0),d=s(1),_=s(10),m=async()=>{const o=(await v({page:d.value,pageSize:_.value})).data;c.value=o.list,u.value=o.total};m();const p=o=>{d.value=o,m()};return(o,L)=>{const t=$,g=T,b=y;return f(),C("div",k,[n("div",x,[n("h4",null,l(o.$t("coupons.myCoupons")),1)]),e(g,{data:r(c),class:"app-table--basic border--all"},{default:i(()=>[e(t,{label:o.$t("coupons.couponCode"),prop:"code"},{default:i(({row:a})=>[n("span",z,l(a.code),1)]),_:1},8,["label"]),e(t,{label:o.$t("coupons.description"),prop:"desc"},null,8,["label"]),e(t,{label:o.$t("coupons.expiryDate"),prop:"dateEnd"},null,8,["label"]),e(t,{label:o.$t("coupons.status"),prop:"status"},{default:i(({row:a})=>[n("span",{text:a.status===1?"theme":"warning"},l(a.status===1?o.$t("coupons.active"):o.$t("coupons.inactive")),9,N)]),_:1},8,["label"])]),_:1},8,["data"]),e(b,{m:"t-8","hide-on-single-page":!0,layout:"prev, pager, next","page-size":r(_),total:r(u),onPrevClick:p,onNextClick:p,onCurrentChange:p},null,8,["page-size","total"])])}}});const R=E(w,[["__scopeId","data-v-d6da6796"]]);export{R as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.