data_center/public/admin/assets/index.936cf502.js

2 lines
4.8 KiB
JavaScript

import{B as I,C as U,w as M,D as Q,O as j,P as K,I as O,Q as z}from"./element-plus.9c2fdfa8.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang.261df48b.js";import{u as H}from"./usePaging.c22e2b6f.js";import{u as J}from"./useDictOptions.773276bb.js";import{a as W}from"./informationg.17899c7e.js";import{k as X}from"./index.b57b84f0.js";import{_ as Y}from"./editCate.vue_vue_type_script_setup_true_name_flowTypeEdit_lang.3ca66e3c.js";import{d as D,s as Z,r as w,$ as ee,a4 as te,af as oe,o as r,c as f,M as g,u as a,K as p,L as o,Q as y,U as e,R as s,a as k,S as _,T as ae,a7 as le,k as ne}from"./@vue.53f8d7c3.js";import"./@vueuse.038954e7.js";import"./@element-plus.37f92579.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.5512e984.js";import"./axios.92474d72.js";import"./vue-router.e2f4a118.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.ee641d3d.js";import"./color.cbc2f3a9.js";import"./clone.7fddbad2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a7d78d4d.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.9cf3e967.js";import"./index.3fc23cf2.js";import"./index.vue_vue_type_style_index_0_scoped_187b1ead_lang.33043b78.js";import"./examined.451b6d37.js";const ie={class:"mt-4"},re={class:"flex mt-4 justify-end"},se=D({name:"flowTypeLists"}),Ze=D({...se,setup(ue){console.log(X);const E=Z(),h=w(!1),d=ee({name:"",company_name:"",nickname:"",brigade:""}),x=w([]),B=v=>{x.value=v.map(({id:n})=>n)},{dictData:V}=J(""),{pager:u,getLists:c,resetParams:P,resetPage:R}=H({fetchFun:W,params:d});return c(),(v,n)=>{const S=I,C=U,m=M,L=Q,l=j,F=te("router-link"),T=K,N=G,$=O,b=oe("perms"),q=z;return r(),f("div",null,[g((r(),p($,{class:"!border-none",shadow:"never"},{default:o(()=>[e(L,{class:"mb-[-16px]",inline:""},{default:o(()=>[e(C,{label:"\u6863\u6848\u540D\u79F0",prop:"company_id"},{default:o(()=>[e(S,{class:"w-[280px]",modelValue:a(d).name,"onUpdate:modelValue":n[0]||(n[0]=t=>a(d).name=t),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6863\u6848\u59D3\u540D"},null,8,["modelValue"])]),_:1}),e(C,null,{default:o(()=>[e(m,{type:"primary",onClick:a(R)},{default:o(()=>[s("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(m,{onClick:a(P)},{default:o(()=>[s("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1}),k("div",ie,[e(T,{data:a(u).lists,onSelectionChange:B},{default:o(()=>[e(l,{label:"\u7F16\u53F7",prop:"id","show-overflow-tooltip":""}),e(l,{label:"\u9547\u516C\u53F8","show-overflow-tooltip":""},{default:o(({row:t})=>{var i;return[s(_((i=t.extend)==null?void 0:i.company_name),1)]}),_:1}),e(l,{width:"260px",label:"\u6240\u5C5E\u5730\u533A","show-overflow-tooltip":""},{default:o(({row:t})=>[s(_(t.area_name+t.street_name+t.village_name)+" ",1),(r(!0),f(ae,null,le(t.brigade_name,(i,A)=>(r(),f("text",{key:A},_(i.brigade_name),1))),128))]),_:1}),e(l,{label:"\u961F\u957F\u59D3\u540D",prop:"phone","show-overflow-tooltip":""},{default:o(({row:t})=>{var i;return[s(_((i=t.extend)==null?void 0:i.nickname),1)]}),_:1}),e(l,{label:"\u6863\u6848\u540D\u79F0",prop:"name","show-overflow-tooltip":""}),e(l,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"phone","show-overflow-tooltip":""}),e(l,{label:"\u66F4\u65B0\u65F6\u95F4",prop:"update_time","show-overflow-tooltip":""}),e(l,{label:"\u5EFA\u6863\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),e(l,{label:"\u64CD\u4F5C",align:"center",width:"auto",fixed:"right"},{default:o(({row:t})=>[t.aianalyse_status==1?g((r(),p(m,{key:0,type:"primary",link:""},{default:o(()=>[e(F,{to:{path:"user_informationg/details",query:{id:t.id}}},{default:o(()=>[s(" \u5546\u673A\u5206\u6790 ")]),_:2},1032,["to"])]),_:2},1024)),[[b,["user_informationg.user_informationg/details"]]]):y("",!0),g((r(),p(m,{type:"primary",link:""},{default:o(()=>[e(F,{to:{path:"user_informationg/details",query:{id:t.id}}},{default:o(()=>[s(" \u8BE6\u60C5 ")]),_:2},1032,["to"])]),_:2},1024)),[[b,["user_informationg.user_informationg/details"]]])]),_:1})]),_:1},8,["data"])]),k("div",re,[e(N,{modelValue:a(u),"onUpdate:modelValue":n[1]||(n[1]=t=>ne(u)?u.value=t:null),onChange:a(c)},null,8,["modelValue","onChange"])])]),_:1})),[[q,a(u).loading]]),a(h)?(r(),p(Y,{key:0,ref_key:"editRef",ref:E,"dict-data":a(V),onSuccess:a(c),onClose:n[2]||(n[2]=t=>h.value=!1)},null,8,["dict-data","onSuccess"])):y("",!0)])}}});export{Ze as default};