WokerTask/public/admin/assets/index.9ee27047.js

2 lines
5.8 KiB
JavaScript

import{C as Q,D as J,N as M,O as W,w as z,F as G,P as H,Q as K,J as X,R as Y}from"./element-plus.74337649.js";import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang.ffdfb4a0.js";import{u as ee}from"./usePaging.bd7a7dec.js";import{u as oe}from"./useDictOptions.649aea57.js";import{a as te}from"./informationg.85b28b8b.js";import{k as ae}from"./index.59d2be02.js";import{_ as le}from"./editCate.vue_vue_type_script_setup_true_name_flowTypeEdit_lang.7ff3a21b.js";import{d as B,s as ne,r as h,$ as ue,ag as ie,aq as re,o as r,c as _,R as b,u as a,P as c,Q as t,W as o,F as D,a9 as k,U as m,a as E,V as f,T as V,j as me}from"./@vue.f8dfc830.js";import"./lodash-es.a73406b7.js";import"./@vueuse.a2e59ee9.js";import"./@element-plus.0374639c.js";import"./@popperjs.36402333.js";import"./@ctrl.b082b0c1.js";import"./dayjs.7f1be2bc.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./memoize-one.4ee5c96d.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./@floating-ui.34a21088.js";import"./lodash.3e731b89.js";import"./axios.c2babb35.js";import"./vue-router.6d4cf914.js";import"./pinia.4b196199.js";import"./vue-demi.b3a9cad9.js";import"./css-color-function.3a7f085f.js";import"./color.5ae3e2dd.js";import"./clone.7bcb5228.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.37836f15.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.79024f1a.js";import"./index.3b74a81e.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";import"./examined.18c47977.js";const se={class:"mt-4"},pe={class:"flex mt-4 justify-end"},de=B({name:"flowTypeLists"}),no=B({...de,setup(_e){console.log(ae);const x=ne(),v=h(!1),n=ue({name:"",company_name:"",nickname:"",brigade:""}),P=h([]),R=y=>{P.value=y.map(({id:l})=>l)},{dictData:S}=oe(""),{pager:s,getLists:F,resetParams:U,resetPage:N}=ee({fetchFun:te,params:n});return F(),(y,l)=>{const g=Q,p=J,T=M,q=W,d=z,L=G,u=H,C=ie("router-link"),$=K,A=Z,j=X,w=re("perms"),I=Y;return r(),_("div",null,[b((r(),c(j,{class:"!border-none",shadow:"never"},{default:t(()=>[o(L,{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(q,{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(T,{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(N)},{default:t(()=>[m("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(d,{onClick:a(U)},{default:t(()=>[m("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1}),E("div",se,[o($,{data:a(s).lists,onSelectionChange:R},{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[m(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})=>[m(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[m(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(()=>[m(" \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(()=>[m(" \u8BE6\u60C5 ")]),_:2},1032,["to"])]),_:2},1024)),[[w,["user_informationg.user_informationg/details"]]])]),_:1})]),_:1},8,["data"])]),E("div",pe,[o(A,{modelValue:a(s),"onUpdate:modelValue":l[4]||(l[4]=e=>me(s)?s.value=e:null),onChange:a(F)},null,8,["modelValue","onChange"])])]),_:1})),[[I,a(s).loading]]),a(v)?(r(),c(le,{key:0,ref_key:"editRef",ref:x,"dict-data":a(S),onSuccess:a(F),onClose:l[5]||(l[5]=e=>v.value=!1)},null,8,["dict-data","onSuccess"])):V("",!0)])}}});export{no as default};