2 lines
5.5 KiB
JavaScript
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.10e48c93.js";import{_ as Y}from"./index.vue_vue_type_script_setup_true_lang.579ca8f7.js";import{u as Z}from"./usePaging.2ad8e1e6.js";import{u as ee}from"./useDictOptions.29c13eb8.js";import{a as oe}from"./informationg.099fde7b.js";import{k as te}from"./index.f095bcc5.js";import{_ as ae}from"./editCate.vue_vue_type_script_setup_true_name_flowTypeEdit_lang.fcfaddd0.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.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.c570839a.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./examined.564cdff7.js";const se={class:"mt-4"},pe={class:"flex mt-4 justify-end"},de=k({name:"flowTypeLists"}),to=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
|