PageSourceSearch

https://neighbourexpress.com/js/index.D0oR462t.js

js neighbourexpress.com collected 2026-10-07 23:45:01 UTC 2,517 bytes, 1 lines download raw bytes

1import{l as E,Z as w,aK as k,Q as B,q as L,x as M,y as A,E as p,h as m,r as f,af as n,aj as R}from"./index.Bp9SQj6I.js";import{useConfig as F,useBtnConfig as I}from"./index.config.BvSCzBAi.js";import{f as V,i as j,d as q}from"./index.BjP2YVH4.js";import D from"./add-modal.CHek2hpB.js";import{V as Q}from"./index.DtOV1ZBb.js";import{_ as T}from"./importExcel.vue_vue_type_script_setup_true_name_upload-excel_lang.M5zChqEH.js";import"./authFunction.xxKGly-F.js";import"./index.vue_vue_type_script_setup_true_name_pagination_lang.DgPiAIX_.js";import"./el-pagination.CeHKYrbg.js";/* empty css                  */import"./el-dropdown-item.BraY-Fsd.js";import"./dom.DBEcu6aj.js";import"./index.v9053oDF.js";import"./table.D4TPTelc.js";import"./directive.CqC6LDHb.js";import"./el-table-column.BxNs332c.js";const oe=E({__name:"index",setup(U){const a=f(),c=f(),i=f(),{t:o}=w(),{userInfo:l}=k(),d=e=>{var t;return(t=a==null?void 0:a.value)==null?void 0:t.getDataList(e)},_=B({queryForm:{userId:(l==null?void 0:l.userId)||""},pageList:V,beforeQuery:e=>{const{region:t,...s}=e;return["country","province","city"].forEach((v,u)=>{!t||!t[u]||(s[v]=t[u])}),s}}),g={addAction(){var e;(e=c.value)==null||e.open()},importAction(){var e;(e=i.value)==null||e.show()}},h=async(e,t)=>{var s;try{(await j(e)).code===0&&(n.success(o("common.success")),d(!0))}catch(r){n.error((r==null?void 0:r.msg)??o("common.failed"))}finally{(s=i.value)==null||s.stopLoading()}},b={view:e=>{var t;(t=c.value)==null||t.openView(e)},edit:e=>{var t;(t=c.value)==null||t.openEdit(e)},delete:e=>{R.confirm(o("address_info.delete_confirm_message"),o("address_info.delete_confirm_title"),{confirmButtonText:o("address_info.delete_confirm_button"),cancelButtonText:o("address_info.delete_cancel_button"),type:"warning"}).then(async()=>{try{const t=await q(e.id);t.code===0?(n.success(o("address_info.delete_success")),d(!0)):n.error(t.msg||o("address_info.delete_failed"))}catch{n.error(o("address_info.delete_failed"))}})}},{searchColumns:y,tableColumns:x}=F({tableHandle:b}),C=I(g);return(e,t)=>(L(),M(Q,{ref_key:"vPageContentRef",ref:a,state:_,"search-columns":m(y),"table-columns":m(x),"button-group":m(C),"is-show-checkbox":!0,"table-config":{frozenColCount:0}},{other:A(()=>[p(D,{ref_key:"addModalRef",ref:c,onRefresh:d},null,512),p(T,{ref_key:"importExcelRef",ref:i,method:"post","temp-http-url":"/tms/tmsStoreAddressBook/template",onUploadExcel:h},null,512)]),_:1},8,["state","search-columns","table-columns","button-group"]))}});export{oe 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.