TaskSystem/public/admin/assets/index.fac95251.js
2023-08-11 20:43:27 +08:00

2 lines
5.4 KiB
JavaScript

import{B as j,C as K,Q as O,R as Q,w as z,D as G,L as H,M as J,I as W,N as X}from"./element-plus.04fc4fca.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.381afd92.js";import{u as Z}from"./usePaging.bb77b048.js";import{a as ee}from"./useDictOptions.59deb7e2.js";import{a as oe}from"./informationg.47b19da9.js";import{k as te}from"./index.59ff4596.js";import{_ as ae}from"./editCate.vue_vue_type_script_setup_true_name_flowTypeEdit_lang.b4708fd2.js";import{d as k,s as le,r as w,$ as ne,a4 as ue,ah as re,o as i,c as d,M as C,u as r,K as b,L as t,R as ie,U as e,V as h,a7 as D,a as y,S as s,T as _,k as se}from"./@vue.dcf884dc.js";import"./@vueuse.03408fc5.js";import"./@element-plus.733ef8ed.js";import"./lodash-es.29c53eac.js";import"./dayjs.118646a2.js";import"./axios.0b1e78d2.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.504af3a3.js";import"./vue-router.ee1add75.js";import"./pinia.058b8bf5.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.67dd68f0.js";import"./color.06190f02.js";import"./clone.e839e097.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.1906b40e.js";import"./ms.a9ae1d6d.js";import"./nprogress.b16cb36e.js";import"./vue-clipboard3.157fce21.js";import"./clipboard.72350aad.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.fac609ff.js";import"./index.9acaac83.js";import"./index.vue_vue_type_style_index_0_scoped_d380c88d_lang.85953c81.js";import"./examined.8b960119.js";const me=s("\u67E5\u8BE2"),pe=s("\u91CD\u7F6E"),de={class:"mt-4"},_e=s(" \u8BE6\u60C5 "),ce={class:"flex mt-4 justify-end"},fe=k({name:"flowTypeLists"}),lo=k({...fe,setup(Fe){console.log(te);const V=le(),g=w(!1),l=ne({name:"",company_name:"",nickname:"",brigade:""}),E=w([]),B=v=>{E.value=v.map(({id:a})=>a)},{dictData:x}=ee(""),{pager:m,getLists:c,resetParams:S,resetPage:R}=Z({fetchFun:oe,params:l});return c(),(v,a)=>{const f=j,p=K,L=O,U=Q,F=z,N=G,n=H,P=ue("router-link"),T=J,$=Y,I=W,M=re("perms"),q=X;return i(),d("div",null,[C((i(),b(I,{class:"!border-none",shadow:"never"},{default:t(()=>[e(N,{class:"mb-[-16px]",inline:""},{default:t(()=>[e(p,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_id"},{default:t(()=>[e(f,{class:"w-[280px]",modelValue:l.company_name,"onUpdate:modelValue":a[0]||(a[0]=o=>l.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:t(()=>[e(f,{class:"w-[280px]",modelValue:l.nickname,"onUpdate:modelValue":a[1]||(a[1]=o=>l.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:t(()=>[e(f,{class:"w-[280px]",modelValue:l.name,"onUpdate:modelValue":a[2]||(a[2]=o=>l.name=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6863\u6848\u59D3\u540D"},null,8,["modelValue"])]),_:1}),e(p,{label:"\u5C0F\u961F",prop:"company_id"},{default:t(()=>[e(U,{modelValue:l.brigade,"onUpdate:modelValue":a[3]||(a[3]=o=>l.brigade=o),placeholder:"\u8BF7\u9009\u62E9\u5C0F\u961F",clearable:"",style:{width:"100%"}},{default:t(()=>[(i(),d(h,null,D([{brigade_name:"1\u961F",id:"1"},{brigade_name:"2\u961F",id:"2"}],(o,u)=>e(L,{key:u,label:o.brigade_name,value:o.id},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),e(p,null,{default:t(()=>[e(F,{type:"primary",onClick:r(R)},{default:t(()=>[me]),_:1},8,["onClick"]),e(F,{onClick:r(S)},{default:t(()=>[pe]),_:1},8,["onClick"])]),_:1})]),_:1}),y("div",de,[e(T,{data:r(m).lists,onSelectionChange:B},{default:t(()=>[e(n,{label:"\u7F16\u53F7",prop:"id","show-overflow-tooltip":""}),e(n,{label:"\u9547\u516C\u53F8","show-overflow-tooltip":""},{default:t(({row:o})=>{var u;return[s(_((u=o.extend)==null?void 0:u.company_name),1)]}),_:1}),e(n,{width:"260px",label:"\u6240\u5C5E\u5730\u533A","show-overflow-tooltip":""},{default:t(({row:o})=>[s(_(o.area_name+o.street_name+o.village_name)+" ",1),(i(!0),d(h,null,D(o.brigade_name,(u,A)=>(i(),d("text",{key:A},_(u.brigade_name),1))),128))]),_:1}),e(n,{label:"\u961F\u957F\u59D3\u540D",prop:"phone","show-overflow-tooltip":""},{default:t(({row:o})=>{var u;return[s(_((u=o.extend)==null?void 0:u.nickname),1)]}),_:1}),e(n,{label:"\u6863\u6848\u540D\u79F0",prop:"name","show-overflow-tooltip":""}),e(n,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"phone","show-overflow-tooltip":""}),e(n,{label:"\u66F4\u65B0\u65F6\u95F4",prop:"update_time","show-overflow-tooltip":""}),e(n,{label:"\u5EFA\u6863\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),e(n,{label:"\u64CD\u4F5C",align:"center",width:"auto",fixed:"right"},{default:t(({row:o})=>[C((i(),b(F,{type:"primary",link:""},{default:t(()=>[e(P,{to:{path:"user_informationg/details",query:{id:o.id}}},{default:t(()=>[_e]),_:2},1032,["to"])]),_:2},1024)),[[M,["flow/edit"]]])]),_:1})]),_:1},8,["data"])]),y("div",ce,[e($,{modelValue:r(m),"onUpdate:modelValue":a[4]||(a[4]=o=>se(m)?m.value=o:null),onChange:r(c)},null,8,["modelValue","onChange"])])]),_:1})),[[q,r(m).loading]]),g.value?(i(),b(ae,{key:0,ref_key:"editRef",ref:V,"dict-data":r(x),onSuccess:r(c),onClose:a[5]||(a[5]=o=>g.value=!1)},null,8,["dict-data","onSuccess"])):ie("",!0)])}}});export{lo as default};