WokerTask/public/admin/assets/index.1f068fbc.js

2 lines
5.7 KiB
JavaScript

import{B as Q,C as j,M as K,N as z,w as G,D as H,O as J,P as W,I as X,Q as Y}from"./element-plus.10e48c93.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.579ca8f7.js";import{u as ee}from"./usePaging.60d02673.js";import{u as oe}from"./useDictOptions.d46d4fb9.js";import{a as te}from"./informationg.5b21caf4.js";import{k as ae}from"./index.5a613cc5.js";import{_ as le}from"./editCate.vue_vue_type_script_setup_true_name_flowTypeEdit_lang.3b076848.js";import{d as B,s as ne,r as h,$ as ue,a4 as ie,af as re,o as r,c as _,M as b,u as a,K as c,L as t,U as o,T as D,a7 as k,R as s,a as E,S as f,Q as V,k as se}from"./@vue.51d7f2d8.js";import"./@vueuse.ec90c285.js";import"./@element-plus.c80b8015.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.08438971.js";import"./axios.105476b3.js";import"./vue-router.9f65afb1.js";import"./pinia.56356cb7.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.7ac6f233.js";import"./color.44a05936.js";import"./clone.0afcbf90.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.86067895.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.cfb3fa32.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./examined.c3f417a7.js";const me={class:"mt-4"},pe={class:"flex mt-4 justify-end"},de=B({name:"flowTypeLists"}),to=B({...de,setup(_e){console.log(ae);const x=ne(),v=h(!1),n=ue({name:"",company_name:"",nickname:"",brigade:""}),S=h([]),P=y=>{S.value=y.map(({id:l})=>l)},{dictData:R}=oe(""),{pager:m,getLists:F,resetParams:U,resetPage:L}=ee({fetchFun:te,params:n});return F(),(y,l)=>{const g=Q,p=j,N=K,T=z,d=G,$=H,u=J,C=ie("router-link"),q=W,A=Z,I=X,w=re("perms"),M=Y;return r(),_("div",null,[b((r(),c(I,{class:"!border-none",shadow:"never"},{default:t(()=>[o($,{class:"mb-[-16px]",inline:""},{default:t(()=>[o(p,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_id"},{default:t(()=>[o(g,{class:"w-[280px]",modelValue:a(n).company_name,"onUpdate:modelValue":l[0]||(l[0]=e=>a(n).company_name=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8"},null,8,["modelValue"])]),_:1}),o(p,{label:"\u961F\u957F\u59D3\u540D",prop:"company_id"},{default:t(()=>[o(g,{class:"w-[280px]",modelValue:a(n).nickname,"onUpdate:modelValue":l[1]||(l[1]=e=>a(n).nickname=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u961F\u957F\u59D3\u540D"},null,8,["modelValue"])]),_:1}),o(p,{label:"\u6863\u6848\u540D\u79F0",prop:"company_id"},{default:t(()=>[o(g,{class:"w-[280px]",modelValue:a(n).name,"onUpdate:modelValue":l[2]||(l[2]=e=>a(n).name=e),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u6863\u6848\u59D3\u540D"},null,8,["modelValue"])]),_:1}),o(p,{label:"\u5C0F\u961F",prop:"company_id"},{default:t(()=>[o(T,{modelValue:a(n).brigade,"onUpdate:modelValue":l[3]||(l[3]=e=>a(n).brigade=e),placeholder:"\u8BF7\u9009\u62E9\u5C0F\u961F",clearable:"",style:{width:"100%"}},{default:t(()=>[(r(),_(D,null,k([{brigade_name:"1\u961F",id:"1"},{brigade_name:"2\u961F",id:"2"}],(e,i)=>o(N,{key:i,label:e.brigade_name,value:e.id},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),o(p,null,{default:t(()=>[o(d,{type:"primary",onClick:a(L)},{default:t(()=>[s("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(d,{onClick:a(U)},{default:t(()=>[s("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1}),E("div",me,[o(q,{data:a(m).lists,onSelectionChange:P},{default:t(()=>[o(u,{label:"\u7F16\u53F7",prop:"id","show-overflow-tooltip":""}),o(u,{label:"\u9547\u516C\u53F8","show-overflow-tooltip":""},{default:t(({row:e})=>{var i;return[s(f((i=e.extend)==null?void 0:i.company_name),1)]}),_:1}),o(u,{width:"260px",label:"\u6240\u5C5E\u5730\u533A","show-overflow-tooltip":""},{default:t(({row:e})=>[s(f(e.area_name+e.street_name+e.village_name)+" ",1),(r(!0),_(D,null,k(e.brigade_name,(i,O)=>(r(),_("text",{key:O},f(i.brigade_name),1))),128))]),_:1}),o(u,{label:"\u961F\u957F\u59D3\u540D",prop:"phone","show-overflow-tooltip":""},{default:t(({row:e})=>{var i;return[s(f((i=e.extend)==null?void 0:i.nickname),1)]}),_:1}),o(u,{label:"\u6863\u6848\u540D\u79F0",prop:"name","show-overflow-tooltip":""}),o(u,{label:"\u8054\u7CFB\u7535\u8BDD",prop:"phone","show-overflow-tooltip":""}),o(u,{label:"\u66F4\u65B0\u65F6\u95F4",prop:"update_time","show-overflow-tooltip":""}),o(u,{label:"\u5EFA\u6863\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),o(u,{label:"\u64CD\u4F5C",align:"center",width:"auto",fixed:"right"},{default:t(({row:e})=>[e.aianalyse_status==1?b((r(),c(d,{key:0,type:"primary",link:""},{default:t(()=>[o(C,{to:{path:"user_informationg/details",query:{id:e.id}}},{default:t(()=>[s(" \u67E5\u770B\u5546\u673A ")]),_:2},1032,["to"])]),_:2},1024)),[[w,["user_informationg.user_informationg/details"]]]):V("",!0),b((r(),c(d,{type:"primary",link:""},{default:t(()=>[o(C,{to:{path:"user_informationg/details",query:{id:e.id}}},{default:t(()=>[s(" \u8BE6\u60C5 ")]),_:2},1032,["to"])]),_:2},1024)),[[w,["user_informationg.user_informationg/details"]]])]),_:1})]),_:1},8,["data"])]),E("div",pe,[o(A,{modelValue:a(m),"onUpdate:modelValue":l[4]||(l[4]=e=>se(m)?m.value=e:null),onChange:a(F)},null,8,["modelValue","onChange"])])]),_:1})),[[M,a(m).loading]]),a(v)?(r(),c(le,{key:0,ref_key:"editRef",ref:x,"dict-data":a(R),onSuccess:a(F),onClose:l[5]||(l[5]=e=>v.value=!1)},null,8,["dict-data","onSuccess"])):V("",!0)])}}});export{to as default};