2 lines
5.7 KiB
JavaScript
2 lines
5.7 KiB
JavaScript
import{M as q,N as K,C as z,w as G,D as H,I as W,O as X,P as Y,Q as Z}from"./element-plus.9c2fdfa8.js";import{_ as ee}from"./index.vue_vue_type_script_setup_true_lang.261df48b.js";import{u as te}from"./usePaging.c22e2b6f.js";import{u as oe}from"./useDictOptions.773276bb.js";import{j as ae}from"./examined.451b6d37.js";import{d as V,s as E,r as i,$ as le,e as ue,o as l,c as n,U as o,L as a,M as se,u as t,K as d,Q as h,T as g,a7 as S,R as _,a as D,S as m,k as ne}from"./@vue.53f8d7c3.js";import"./lodash.5512e984.js";import"./index.b57b84f0.js";import re from"./audit_other.6ddaea7e.js";import pe from"./audit_town_market.9aa87de8.js";import"./@vueuse.038954e7.js";import"./@element-plus.37f92579.js";import"./lodash-es.29c53eac.js";import"./dayjs.e873ead7.js";import"./@amap.8a62addd.js";import"./async-validator.fb49d0f5.js";import"./@ctrl.82a509e0.js";import"./@popperjs.36402333.js";import"./escape-html.e5dfadb9.js";import"./normalize-wheel-es.8aeb3683.js";import"./axios.92474d72.js";import"./vue-router.e2f4a118.js";import"./pinia.bd103f5d.js";import"./vue-demi.ebc8116b.js";import"./css-color-function.ee641d3d.js";import"./color.cbc2f3a9.js";import"./clone.7fddbad2.js";import"./color-convert.755d189f.js";import"./color-name.e7a4e1d3.js";import"./color-string.e356f5de.js";import"./balanced-match.d2a36341.js";import"./debug.a7d78d4d.js";import"./ms.a9ae1d6d.js";import"./nprogress.f73355d0.js";import"./vue-clipboard3.dca5bca3.js";import"./clipboard.16e4491b.js";import"./echarts.8d7a50ae.js";import"./zrender.1084fa23.js";import"./tslib.60310f1a.js";import"./highlight.js.4ebdf9a4.js";import"./@highlightjs.9cf3e967.js";import"./index.3fc23cf2.js";import"./index.vue_vue_type_style_index_0_scoped_187b1ead_lang.33043b78.js";const ie={class:"mt-4"},me={key:0,style:{color:"#4a5dff"}},ce={key:1,style:{color:"#67c23a"}},de={key:2},_e={key:0,style:{color:"#f56c6c"}},fe={key:1,style:{color:"#67c23a"}},he={key:2,style:{color:"#e6a23c"}},ye={class:"flex mt-4 justify-end"},ke=V({name:"flowLists"}),pt=V({...ke,setup(ve){const x=E(),L=E(),f=i(!1),v=i(1),r=le({name:"",check_status:"",type:"2,3"}),O=i([{id:"2,3",name:"\u5168\u90E8"},{id:"2",name:"\u5546\u6237\u5165\u9A7B\u5BA1\u6279"},{id:"3",name:"\u5F00\u901A\u4EA4\u6613\u5BA1\u6279"}]),T=i([{id:1,name:"\u5F85\u5BA1\u6838"},{id:2,name:"\u5DF2\u901A\u8FC7"},{id:3,name:"\u672A\u901A\u8FC7"}]),N=i([1,5,6]),P=ue(()=>N.value.includes(v.value)),R=i([]),M=C=>{R.value=C.map(({id:u})=>u)},{dictData:B}=oe(""),{pager:c,getLists:p,resetParams:U,resetPage:$}=te({fetchFun:ae,params:r,json:"extend"});return p(),(C,u)=>{const b=q,w=K,y=z,F=G,j=H,A=W,s=X,I=Y,J=ee,Q=Z;return l(),n("div",null,[o(A,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[o(j,{class:"mb-[-16px]",model:t(r),inline:""},{default:a(()=>[o(y,{label:"\u5BA1\u6279\u7C7B\u578B",prop:"name"},{default:a(()=>[o(w,{modelValue:t(r).type,"onUpdate:modelValue":u[0]||(u[0]=e=>t(r).type=e),placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6279\u7C7B\u578B",clearable:"",class:"w-[280px]",onSelect:t(p)},{default:a(()=>[(l(!0),n(g,null,S(t(O),(e,k)=>(l(),d(b,{key:k,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onSelect"])]),_:1}),o(y,{label:"\u5BA1\u6838\u72B6\u6001",prop:"name"},{default:a(()=>[o(w,{modelValue:t(r).check_status,"onUpdate:modelValue":u[1]||(u[1]=e=>t(r).check_status=e),placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",clearable:"",class:"w-[280px]",onSelect:t(p)},{default:a(()=>[(l(!0),n(g,null,S(t(T),(e,k)=>(l(),d(b,{key:k,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue","onSelect"])]),_:1}),o(y,null,{default:a(()=>[o(F,{type:"primary",onClick:t($)},{default:a(()=>[_("\u67E5\u8BE2")]),_:1},8,["onClick"]),o(F,{onClick:t(U)},{default:a(()=>[_("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),se((l(),d(A,{class:"!border-none",shadow:"never"},{default:a(()=>[D("div",ie,[o(I,{data:t(c).lists,onSelectionChange:M},{default:a(()=>[o(s,{label:"ID",prop:"id"}),o(s,{label:"\u5E97\u94FA\u540D\u79F0","show-overflow-tooltip":""},{default:a(({row:e})=>[_(m(JSON.parse(e.extend).company_name),1)]),_:1}),o(s,{label:"\u5E97\u94FA\u7C7B\u578B","show-overflow-tooltip":""},{default:a(({row:e})=>[_(m(JSON.parse(e.extend).type_name),1)]),_:1}),o(s,{label:"\u5546\u6237\u5206\u7C7B","show-overflow-tooltip":""},{default:a(({row:e})=>[_(m(JSON.parse(e.extend).category_name),1)]),_:1}),o(s,{label:"\u7C7B\u578B","show-overflow-tooltip":""},{default:a(({row:e})=>[e.type==2?(l(),n("span",me,m(e.name),1)):e.type==3?(l(),n("span",ce,m(e.name),1)):(l(),n("span",de,m(e.name),1))]),_:1}),o(s,{label:"\u7533\u8BF7\u65F6\u95F4",prop:"create_time","show-overflow-tooltip":""}),o(s,{label:"\u516C\u53F8\u540D\u79F0",prop:"company_name","show-overflow-tooltip":""}),o(s,{label:"\u7247\u533A\u7ECF\u7406",prop:"area_manager","show-overflow-tooltip":""}),o(s,{label:"\u5BA1\u6838\u72B6\u6001",prop:"check_status","show-overflow-tooltip":""},{default:a(({row:e})=>[e.check_status==3?(l(),n("span",_e,"\u672A\u901A\u8FC7")):h("",!0),e.check_status==2?(l(),n("span",fe,"\u5DF2\u901A\u8FC7")):h("",!0),e.check_status==1?(l(),n("span",he,"\u5F85\u5BA1\u6838")):h("",!0)]),_:1}),o(s,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""})]),_:1},8,["data"])]),D("div",ye,[o(J,{modelValue:t(c),"onUpdate:modelValue":u[2]||(u[2]=e=>ne(c)?c.value=e:null),onChange:t(p)},null,8,["modelValue","onChange"])])]),_:1})),[[Q,t(c).loading]]),t(f)&&t(P)?(l(),d(re,{key:0,ref_key:"auditOtherRef",ref:x,"dict-data":t(B),onSuccess:t(p),onClose:u[3]||(u[3]=e=>f.value=!1)},null,8,["dict-data","onSuccess"])):t(f)&&t(v)==4?(l(),d(pe,{key:1,ref_key:"auditTownMarketRef",ref:L,"dict-data":t(B),onSuccess:t(p),onClose:u[4]||(u[4]=e=>f.value=!1)},null,8,["dict-data","onSuccess"])):h("",!0)])}}});export{pt as default};
|