2 lines
4.3 KiB
JavaScript
2 lines
4.3 KiB
JavaScript
import{B as D,C as x,w as A,D as L,L as N,M as T,I as U,N as P}from"./element-plus.44a1c90c.js";import{_ as S}from"./index.vue_vue_type_script_setup_true_lang.5dff64bd.js";import{u as I}from"./usePaging.160b82b8.js";import"./index.371802bc.js";import{b as R}from"./contract.c5ef88c2.js";import{d as C,r as $,$ as q,a4 as f,o as d,c as M,M as j,u,K as F,L as e,R as K,U as o,a as b,S as m,T as z,k as G}from"./@vue.e8706010.js";import"./@vueuse.1e5a6e21.js";import"./@element-plus.196c7323.js";import"./lodash-es.29c53eac.js";import"./dayjs.d871e3e1.js";import"./axios.263e335e.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./lodash.e8c2b926.js";import"./vue-router.12d45bc3.js";import"./pinia.dfca86b4.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.49c13ae5.js";import"./color.6f36a052.js";import"./clone.0bac550d.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.762f2b8b.js";import"./ms.a9ae1d6d.js";import"./nprogress.f7d60be2.js";import"./vue-clipboard3.536bdb56.js";import"./clipboard.cadf3e40.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.2cdc8407.js";const H=m("\u67E5\u8BE2"),J=m("\u91CD\u7F6E"),O={class:"mt-4"},Q=m("\u67E5\u770B"),W={class:"flex mt-4 justify-end"},X=C({name:"flowTypeLists"}),So=C({...X,setup(Y){$(0);const l=q({company_name:"",company_b_user:"",company_b_phone:""}),{pager:r,getLists:i,resetParams:B,resetPage:E}=I({fetchFun:R,params:l});return i().then(_=>{r.lists.forEach((t,p)=>{t.nums=0})}),(_,t)=>{const p=D,s=x,c=A,w=L,n=N,y=f("router-link"),h=T,g=S,v=U,V=f("edit-popup"),k=P;return d(),M("div",null,[j((d(),F(v,{class:"!border-none",shadow:"never"},{default:e(()=>[o(w,{class:"mb-[-16px]",inline:""},{default:e(()=>[o(s,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_name"},{default:e(()=>[o(p,{class:"w-[280px]",modelValue:l.company_name,"onUpdate:modelValue":t[0]||(t[0]=a=>l.company_name=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u516C\u53F8\u540D\u79F0"},null,8,["modelValue"])]),_:1}),o(s,{label:"\u8054\u7CFB\u4EBA",prop:"contract_no"},{default:e(()=>[o(p,{class:"w-[280px]",modelValue:l.company_b_user,"onUpdate:modelValue":t[1]||(t[1]=a=>l.company_b_user=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u4EBA"},null,8,["modelValue"])]),_:1}),o(s,{label:"\u8054\u7CFB\u65B9\u5F0F",prop:"status"},{default:e(()=>[o(p,{class:"w-[280px]",modelValue:l.company_b_phone,"onUpdate:modelValue":t[2]||(t[2]=a=>l.company_b_phone=a),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u8054\u7CFB\u65B9\u5F0F"},null,8,["modelValue"])]),_:1}),o(s,null,{default:e(()=>[o(c,{type:"primary",onClick:u(E)},{default:e(()=>[H]),_:1},8,["onClick"]),o(c,{onClick:u(B)},{default:e(()=>[J]),_:1},8,["onClick"])]),_:1})]),_:1}),b("div",O,[o(h,{data:u(r).lists,"default-sort":{prop:"create_time",order:"descending"}},{default:e(()=>[o(n,{label:"\u516C\u53F8\u540D\u79F0",width:250,prop:"company_b_name","show-overflow-tooltip":""}),o(n,{label:"\u793E\u4F1A\u4EE3\u7801",prop:"company_b_code","show-overflow-tooltip":""}),o(n,{label:"\u4E3B\u8981\u8054\u7CFB\u4EBA",prop:"company_b_user","show-overflow-tooltip":""}),o(n,{label:"\u8054\u7CFB\u65B9\u5F0F",prop:"company_b_phone",align:"center","show-overflow-tooltip":""}),o(n,{label:"\u79DF\u8F66\u6570\u91CF",prop:"num",align:"center","show-overflow-tooltip":""}),o(n,{label:"\u5408\u540C\u72B6\u6001",prop:"num",align:"center","show-overflow-tooltip":""},{default:e(({row:a})=>[m(z(a.status>=3?"\u5DF2\u7B7E\u7EA6":"\u672A\u7B7E\u7EA6"),1)]),_:1}),o(n,{label:"\u64CD\u4F5C",align:"center",width:"auto",fixed:"right"},{default:e(({row:a})=>[o(c,{type:"primary",link:""},{default:e(()=>[o(y,{to:{path:"/contract/detail",query:{id:a.id}}},{default:e(()=>[Q]),_:2},1032,["to"])]),_:2},1024)]),_:1})]),_:1},8,["data"])]),b("div",W,[o(g,{modelValue:u(r),"onUpdate:modelValue":t[3]||(t[3]=a=>G(r)?r.value=a:null),onChange:u(i)},null,8,["modelValue","onChange"])])]),_:1})),[[k,u(r).loading]]),_.showEdit?(d(),F(V,{key:0,ref:"editRef",onSuccess:u(i),onClose:t[4]||(t[4]=a=>_.showEdit=!1)},null,8,["onSuccess"])):K("",!0)])}}});export{So as default};
|