2 lines
5.7 KiB
JavaScript
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.df4cc64d.js";import{a as te}from"./informationg.f129cfca.js";import{k as ae}from"./index.c35b5194.js";import{_ as le}from"./editCate.vue_vue_type_script_setup_true_name_flowTypeEdit_lang.2e4d165d.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.e02c2f77.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";import"./examined.7efd62f7.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_nam
|