jw项目windows环境软件安装
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
5.7 KiB

1 year ago
  1. import{M as k,G as ie,$ as C,a0 as h,a3 as ue,a as de,r as N,d as pe,ag as P,e as c,o as f,c as T,g as o,a5 as ce,S as j,w as n,h as s,f as V,m as u,R as fe,z as B,D as $,K as me,A as U,L as z,i as E,t as ye}from"./index-9b4667b6.js";import{u as ve}from"./useAvueTable-780cbd26.js";import"./trading_partner-798a55a7.js";function _e(a){return k({url:"/dc/otherAssets/list",method:"get",params:a})}function ge(a){return k({url:"/dc/otherAssets/listFile",method:"get",params:a})}function be(a){return k({url:"/dc/otherAssets/"+a,method:"delete"})}function Ce(a){return k({url:"/dc/otherAssets/updateBatch",method:"put",data:a})}const he={class:"pl16px pr16px"},ke={class:"flex-items-center"},Ae={key:0,class:"ml12px"},Fe=ie({name:"otherAssetInformation"}),Pe=Object.assign(Fe,{props:{options:{type:Object,default:()=>({})}},setup(a){const q=a,H=C(()=>h(()=>import("./index-6643d5a2.js"),["static/js/index-6643d5a2.js","static/js/index-9b4667b6.js","static/css/index-03655e05.css","static/js/bank_statement-2db2088f.js","static/js/useAvueTable-780cbd26.js","static/js/trading_partner-798a55a7.js","static/css/index-36cb5856.css"])),K=C(()=>h(()=>import("./index-28c0ae8e.js"),["static/js/index-28c0ae8e.js","static/js/index-9b4667b6.js","static/css/index-03655e05.css","static/js/analysis_results-1bd8be45.js"])),W=C(()=>h(()=>import("./index-12fefdae.js"),["static/js/index-12fefdae.js","static/js/index-9b4667b6.js","static/css/index-03655e05.css"])),M=C(()=>h(()=>import("./index-d01c7006.js"),["static/js/index-d01c7006.js","static/js/index-9b4667b6.js","static/css/index-03655e05.css","static/css/index-97466c05.css"])),m=ue(),p=de(),{sideTheme:A,crud:F,loading:Q,option:y,dataList:w,selectionList:v,pages:_,dialogFileVisible:g,resetPage:L,getFilterParams:G,loadData:J,sortChange:X,getRowStyle:Y,getCellStyle:Z,handleDelete:ee,filterTags:R,delFilterTags:te,resetFilter:se,changePage:le}=ve(),{proxy:x}=ye(),r=async(l={})=>{let e=ge;if(p.path==="/searchCenter/data-query-center"){if(Object.keys(m.dataQueryCenterForm).length===0)return w.value=[];l=m.dataQueryCenterForm,e=_e}p.path==="/analysisCenter/analysis_result_details"&&(l=m.analysisResultParams);const i=G(l);J(i,e)},S=N(),b=N(!1),ne=(l,e)=>{S.value=e,b.value=!0},I=l=>{if(l==="\u6279\u91CF"){if(v.value.length===0)return x.$modal.msgWarning("\u8BF7\u52FE\u9009\u9700\u8981\u4E0B\u8F7D\u7684\u6587\u4EF6\uFF01");v.value.forEach(e=>{x.$download.oss(e.ossId)})}typeof l=="object"&&x.$download.oss(l.ossId)};return pe(()=>{["/searchCenter/data-query-center","/analysisCenter/analysis_result_details"].includes(p.path)&&(P.on("loadTableData",l=>{const{currentComponent:e,count:i}=l;if(e==="otherAssetInformation"){if(i===0)return w.value=[];r()}}),P.on("handleExport",l=>{l==="otherAssetInformation"&&I()}),P.on("clearSelection",l=>{l==="otherAssetInformation"&&F.value.clearSelection()}))}),y.value={...y.value,selection:!0,...q.options,column:[{label:"\u6587\u4EF6\u540D\u79F0",prop:"originalName",unWidth:!0},{label:"\u4E0A\u4F20\u65F6\u95F4",prop:"createTime",type:"date_range",unWidth:!0}]},(l,e)=>{var D;const i=c("el-button"),oe=c("el-tag"),ae=c("filterHeader"),O=c("el-link"),re=c("avue-crud");return f(),T("div",he,[o(re,{class:z({"crud-dark":s(A)}),ref_key:"crud",ref:F,"table-loading":s(Q),onOnLoad:e[6]||(e[6]=()=>r()),data:s(w),option:s(y),page:s(_),"onUpdate:page":e[7]||(e[7]=t=>E(_)?_.value=t:null),onSortChange:e[8]||(e[8]=t=>s(X)(t,r)),onSelectionChange:e[9]||(e[9]=t=>v.value=t),"row-style":({row:t})=>s(Y)(t),"cell-style":({row:t,column:d})=>s(Z)(t,d),rowKey:t=>t.id},ce({"menu-left":n(({})=>[V("div",ke,[o(i,{type:"primary",onClick:e[0]||(e[0]=t=>g.value=!0)},{default:n(()=>[u("\u5BFC\u5165")]),_:1}),o(i,{type:"primary",onClick:e[1]||(e[1]=t=>I("\u6279\u91CF"))},{default:n(()=>[u("\u6279\u91CF\u5BFC\u51FA")]),_:1}),o(i,{type:"primary",onClick:e[2]||(e[2]=t=>s(ee)({key:"ossId",fn:s(be),cb:r,delAllParams:{index:"dc_other_assets"}}))},{default:n(()=>[u("\u5220\u9664")]),_:1}),s(R).length!==0?(f(),T("div",Ae,[o(i,{class:"cus-btn mr6px",onClick:e[3]||(e[3]=t=>s(se)({cb:r}))},{default:n(()=>[u("\u91CD\u7F6E\u7B5B\u9