WokerTask/public/admin/assets/index.cc9333c2.js

2 lines
5.5 KiB
JavaScript

import{B as O,C as Q,M as j,N as K,w as z,D as G,O as H,P as J,I as W,Q as X}from"./element-plus.9816852d.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.f99137a4.js";import{u as Z}from"./usePaging.2ad8e1e6.js";import{u as ee}from"./useDictOptions.a2448547.js";import{a as oe}from"./informationg.61bdf640.js";import{k as te}from"./index.4eaf9bd5.js";import{_ as ae}from"./editCate.vue_vue_type_script_setup_true_name_flowTypeEdit_lang.7c4279df.js";import{d as k,s as le,r as C,$ as ne,a4 as ue,af as re,o as i,c as d,M as w,u as t,K as b,L as a,U as e,T as D,a7 as h,R as m,a as y,S as _,k as ie,Q as me}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.a074d1f6.js";import"./lodash-es.29c53eac.js";import"./dayjs.576af3ba.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.b082b0c1.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.675f209e.js";import"./axios.54f807ba.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.0a5c0f85.js";import"./color.e5eb3bba.js";import"./clone.546d9b81.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.aee266dc.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.ac57a99a.js";import"./zrender.d54ce080.js";import"./tslib.60310f1a.js";import"./highlight.js.dba6fa1b.js";import"./@highlightjs.40d5feba.js";import"./index.2d3a3dd9.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./examined.6dd89177.js";const se={class:"mt-4"},pe={class:"flex mt-4 justify-end"},de=k({name:"flowTypeLists"}),ao=k({...de,setup(_e){console.log(te);const E=le(),g=C(!1),n=ne({name:"",company_name:"",nickname:"",brigade:""}),V=C([]),B=v=>{V.value=v.map(({id:l})=>l)},{dictData:x}=ee(""),{pager:s,getLists:c,resetParams:S,resetPage:P}=Z({fetchFun:oe,params:n});return c(),(v,l)=>{const f=O,p=Q,R=j,U=K,F=z,L=G,u=H,N=ue("router-link"),T=J,$=Y,I=W,M=re("perms"),q=X;return i(),d("div",null,[w((i(),b(I,{class:"!border-none",shadow:"never"},{default:a(()=>[e(L,{class:"mb-[-16px]",inline:""},{default:a(()=>[e(p,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_id"},{default:a(()=>[e(f,{class:"w-[280px]",modelValue:t(n).company_name,"onUpdate:modelValue":l[0]||(l[0]=o=>t(n).company_name=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u961F\u957F\u59D3\u540D",prop:"company_id"},{default:a(()=>[e(f,{class:"w-[280px]",modelValue:t(n).nickname,"onUpdate:modelValue":l[1]||(l[1]=o=>t(n).nickname=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u961F\u957F\u59D3\u540D"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u6863\u6848\u540D\u79F0",prop:"company_id"},{default:a(()=>[e(f,{class:"w-[280px]",modelValue:t(n).name,"onUpdate:modelValue":l[2]||(l[2]=o=>t(n).name=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6863\u6848\u59D3\u540D"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u5C0F\u961F",prop:"company_id"},{default:a(()=>[e(U,{modelValue:t(n).brigade,"onUpdate:modelValue":l[3]||(l[3]=o=>t(n).brigade=o),placeholder:"\u8BF7\u9009\u62E9\u5C0F\u961F",clearable:"",style:{width:"100%"}},{default:a(()=>[(i(),d(D,null,h([{brigade_name:"1\u961F",id:"1"},{brigade_name:"2\u961F",id:"2"}],(o,r)=>e(R,{key:r,label:o.brigade_name,value:o.id},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e(p,null,{default:a(()=>[e(F,{type:"primary",onClick:t(P)},{default:a(()=>[m("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(F,{onClick:t(S)},{default:a(()=>[m("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1}),y("div",se,[e(T,{data:t(s).lists,onSelectionChange:B},{default:a(()=>[e(u,{label:"\u7F16\u53F7",prop:"id","show-overflow-tooltip":""}),e(u,{label:"\u9547\u516C\u53F8","show-overflow-tooltip":""},{default:a(({row:o})=>{var r;return[m(_((r=o.extend)==null?void 0:r.company_name),1)]}),_:1}),e(u,{width:"260px",label:"\u6240\u5C5E\u5730\u533A","show-overflow-tooltip":""},{default:a(({row:o})=>[m(_(o.area_name+o.street_name+o.village_name)+" ",1),(i(!0),d(D,null,h(o.brigade_name,(r,A)=>(i(),d("text",{key:A},_(r.brigade_name),1))),128))]),_:1}),e(u,{label:"\u961F\u957F\u59D3\u540D",prop:"phone","show-overflow-tooltip":""},{default:a(({row:o})=>{var r;return[m(_((r=o.extend)==null?void 0:r.nickname),1)]}),_:1}),e(u,{label:"\u6863\u6848\u540D\u79F0",prop:"name","show-overflow-tooltip":""}),e(u,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"phone","show-overflow-tooltip":""}),e(u,{label:"\u66F4\u65B0\u65F6\u95F4",prop:"update_time","show-overflow-tooltip":""}),e(u,{label:"\u5EFA\u6863\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),e(u,{label:"\u64CD\u4F5C",align:"center",width:"auto",fixed:"right"},{default:a(({row:o})=>[w((i(),b(F,{type:"primary",link:""},{default:a(()=>[e(N,{to:{path:"user_informationg/details",query:{id:o.id}}},{default:a(()=>[m(" \u8BE6\u60C5 ")]),_:2},1032,["to"])]),_:2},1024)),[[M,["user_informationg.user_informationg/details"]]])]),_:1})]),_:1},8,["data"])]),y("div",pe,[e($,{modelValue:t(s),"onUpdate:modelValue":l[4]||(l[4]=o=>ie(s)?s.value=o:null),onChange:t(c)},null,8,["modelValue","onChange"])])]),_:1})),[[q,t(s).loading]]),t(g)?(i(),b(ae,{key:0,ref_key:"editRef",ref:E,"dict-data":t(x),onSuccess:t(c),onClose:l[5]||(l[5]=o=>g.value=!1)},null,8,["dict-data","onSuccess"])):me("",!0)])}}});export{ao as default};