2 lines
4.7 KiB
JavaScript
2 lines
4.7 KiB
JavaScript
|
import{C as U,D as j,N as I,O as q,w as O,F as Q,J,P as W,Q as z,R as G}from"./element-plus.ff90c99c.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang.44dbc460.js";import{u as K}from"./usePaging.bd7a7dec.js";import{u as X}from"./useDictOptions.a98c8b94.js";import{a as Y,b as Z}from"./audit_town_market.87561162.js";import{k as ee}from"./dict.12910a8a.js";import{d as g,s as te,r as _,$ as oe,b as ae,aq as le,o as s,c as F,W as e,Q as a,u as t,F as ne,a9 as se,P as m,U as f,R as E,a as B,j as re,T as ue,n as ie}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"./index.c5585224.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.b419b92b.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.af59f801.js";const pe={class:"mt-4"},me={class:"flex justify-end mt-4"},ce=g({name:"flowLists"}),lt=g({...ce,setup(de){const v=te(),k=_(!1),h=_(1),n=oe({name:"",check_status:"",type:"10"});ee().then(r=>{n.type=r.join(","),C()});const A=_([{id:1,name:"\u5F85\u5BA1\u6838"},{id:2,name:"\u5DF2\u901A\u8FC7"},{id:3,name:"\u672A\u901A\u8FC7"}]),D=_([1,5,6]);ae(()=>D.value.includes(h.value));const{dictData:V}=X(""),{pager:p,getLists:C,resetParams:T,resetPage:x}=K({fetchFun:Z,params:n}),b=async(r,l="edit")=>{var c,u;console.log(r.type),h.value=r.type,k.value=!0,await ie(),(c=v.value)==null||c.open(l),(u=v.value)==null||u.setFormData(r)};return(r,l)=>{const c=U,u=j,L=I,P=q,d=O,R=Q,y=J,i=W,N=z,S=H,$=le("perms"),M=G;return s(),F("div",null,[e(y,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[e(R,{class:"mb-[-16px]",model:t(n),inline:""},{default:a(()=>[e(u,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"},{default:a(()=>[e(c,{class:"w-[280px]",modelValue:t(n).name,"onUpdate:modelValue":l[0]||(l[0]=o=>t(n).name=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u540D\u79F0"},null,8,["modelValue"])]),_:1}),e(u,{label:"\u5BA1\u6838\u72B6\u6001",prop:"name"},{default:a(()=>[e(P,{modelValue:t(n).check_status,"onUpdate:modelValue":l[1]||(l[1]=o=>t(n).check_status=o),placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",clearable:"",class:"w-[280px]"},{default:a(()=>[(s(!0),F(ne,null,se(t(A),(o,w)=>(s(),m(L,{key:w,label:o.name,value:o.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(u,null,{default:a(()=>[e(d,{type:"primary",onClick:t(x)},{default:a(()=>[f("\u67E5\u8BE2")]),_:1},8,["onClick"]),e(d,{onClick:t(T)},{default:a(()=>[f("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),E((s(),m(y,{class:"!border-none",shadow:"never"},{default:a(()=>[B("div",pe,[e(N,{data:t(p).lists},{default:a(()=>[e(i,{label:"ID",width:"100",prop:"id"}),e(i,{label:"\u53C2\u80A1\u516C\u53F8",prop:"company_b_name",width:"500","show-overflow-tooltip":"",align:"center"}),e(i,{label:"\u88AB\u53C2\u80A1\u516C\u53F8",prop:"company_a_name","show-overflow-tooltip":"",width:"500",align:"center"}),e(i,{label:"\u53C2\u80A1\u91D1\u989D",prop:"amount","show-overflow-tooltip":""}),e(i,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""}),e(i,{label:"\u64CD\u4F5C"
|