WokerTask/public/admin/assets/index.37acbabe.js

2 lines
4.9 KiB
JavaScript

import{B as j,C as Q,M as q,N as K,w as z,D as G,I as H,O as J,P 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.60d02673.js";import{u as ee}from"./useDictOptions.cfa45100.js";import{b as te}from"./shareholdingReview.dbfedeaa.js";import{k as oe}from"./dict.746407b2.js";import"./index.5b774352.js";import ae from"./audit_other.59e90d3e.js";import le from"./audit_town_market.612aac8b.js";import{d as D,s as F,r as k,$ as ne,e as se,af as ue,o as n,c as B,U as t,L as a,u as e,T as re,a7 as ie,K as p,R as v,M as g,a as A,k as pe,Q as me,n as ce}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.1f170085.js";import"./index.vue_vue_type_style_index_0_scoped_95d1884e_lang.0fc4c9f8.js";const de={class:"mt-4"},_e={class:"flex justify-end mt-4"},fe=D({name:"flowLists"}),st=D({...fe,setup(ke){const V=F(),C=F(),m=k(!1),w=k(1),s=ne({name:"",check_status:"",type:"10"});oe().then(u=>{s.type=u.join(","),d()});const T=k([{id:1,name:"\u5F85\u5BA1\u6838"},{id:2,name:"\u5DF2\u901A\u8FC7"},{id:3,name:"\u672A\u901A\u8FC7"}]),x=k([1,5,6]),L=se(()=>x.value.includes(w.value)),{dictData:y}=ee(""),{pager:c,getLists:d,resetParams:P,resetPage:R}=Z({fetchFun:te,params:s}),b=async(u,l="edit")=>{var _,r;console.log(u.type),w.value=u.type,m.value=!0,await ce(),(_=C.value)==null||_.open(l),(r=C.value)==null||r.setFormData(u)};return(u,l)=>{const _=j,r=Q,S=q,M=K,f=z,O=G,E=H,i=J,$=W,N=Y,I=ue("perms"),U=X;return n(),B("div",null,[t(E,{class:"!border-none mb-4",shadow:"never"},{default:a(()=>[t(O,{class:"mb-[-16px]",model:e(s),inline:""},{default:a(()=>[t(r,{label:"\u4EFB\u52A1\u540D\u79F0",prop:"name"},{default:a(()=>[t(_,{class:"w-[280px]",modelValue:e(s).name,"onUpdate:modelValue":l[0]||(l[0]=o=>e(s).name=o),clearable:"",placeholder:"\u8BF7\u8F93\u5165\u4EFB\u52A1\u540D\u79F0"},null,8,["modelValue"])]),_:1}),t(r,{label:"\u5BA1\u6838\u72B6\u6001",prop:"name"},{default:a(()=>[t(M,{modelValue:e(s).check_status,"onUpdate:modelValue":l[1]||(l[1]=o=>e(s).check_status=o),placeholder:"\u8BF7\u9009\u62E9\u5BA1\u6838\u72B6\u6001",clearable:"",class:"w-[280px]"},{default:a(()=>[(n(!0),B(re,null,ie(e(T),(o,h)=>(n(),p(S,{key:h,label:o.name,value:o.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(r,null,{default:a(()=>[t(f,{type:"primary",onClick:e(R)},{default:a(()=>[v("\u67E5\u8BE2")]),_:1},8,["onClick"]),t(f,{onClick:e(P)},{default:a(()=>[v("\u91CD\u7F6E")]),_:1},8,["onClick"])]),_:1})]),_:1},8,["model"])]),_:1}),g((n(),p(E,{class:"!border-none",shadow:"never"},{default:a(()=>[A("div",de,[t($,{data:e(c).lists},{default:a(()=>[t(i,{label:"ID",width:"100",prop:"id"}),t(i,{label:"\u53C2\u80A1\u516C\u53F8",prop:"company_b_name",width:"500","show-overflow-tooltip":"",align:"center"}),t(i,{label:"\u88AB\u53C2\u80A1\u516C\u53F8",prop:"company_a_name","show-overflow-tooltip":"",width:"500",align:"center"}),t(i,{label:"\u53C2\u80A1\u91D1\u989D",prop:"amount","show-overflow-tooltip":""}),t(i,{label:"\u5907\u6CE8",prop:"remark","show-overflow-tooltip":""}),t(i,{label:"\u64CD\u4F5C",width:"120",fixed:"right"},{default:a(({row:o})=>[o.check_status<=1?g((n(),p(f,{key:0,type:"primary",link:"",onClick:h=>b(o,"edit")},{default:a(()=>[v(" \u5BA1\u6838 ")]),_:2},1032,["onClick"])),[[I,["flow/edit"]]]):(n(),p(f,{key:1,type:"primary",link:"",onClick:h=>b(o,"details")},{default:a(()=>[v(" \u8BE6\u60C5 ")]),_:2},1032,["onClick"]))]),_:1})]),_:1},8,["data"])]),A("div",_e,[t(N,{modelValue:e(c),"onUpdate:modelValue":l[2]||(l[2]=o=>pe(c)?c.value=o:null),onChange:e(d)},null,8,["modelValue","onChange"])])]),_:1})),[[U,e(c).loading]]),e(m)&&e(L)?(n(),p(ae,{key:0,ref_key:"auditOtherRef",ref:V,"dict-data":e(y),onSuccess:e(d),onClose:l[3]||(l[3]=o=>m.value=!1)},null,8,["dict-data","onSuccess"])):e(m)?(n(),p(le,{key:1,ref_key:"auditTownMarketRef",ref:C,"dict-data":e(y),onSuccess:e(d),onClose:l[4]||(l[4]=o=>m.value=!1)},null,8,["dict-data","onSuccess"])):me("",!0)])}}});export{st as default};