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 j,d as pe,ag as T,e as f,o as m,c as V,g as l,a5 as fe,S as B,w as a,h as n,f as $,m as u,R as me,z as U,D as E,K as ce,A as z,L,i as O,t as ye}from"./index-9b4667b6.js";import{u as ve}from"./useAvueTable-780cbd26.js";import"./trading_partner-798a55a7.js";function ge(s){return k({url:"/dc/otherInformation/list",method:"get",params:s})}function _e(s){return k({url:"/dc/otherInformation/listFile",method:"get",params:s})}function be(s){return k({url:"/dc/otherInformation/"+s,method:"delete"})}function Ce(s){return k({url:"/dc/otherInformation/updateBatch",method:"put",data:s})}const he={class:"flex-items-center"},ke={key:0,class:"ml12px"},Ie=ie({name:"otherInformation"}),Pe=Object.assign(Ie,{props:{options:{type:Object,default:()=>({})}},setup(s){const q=s,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"])),c=ue(),p=de(),{sideTheme:I,crud:F,loading:Q,option:y,dataList:w,selectionList:v,pages:g,dialogFileVisible:_,resetPage:R,getFilterParams:G,loadData:J,sortChange:X,getRowStyle:Y,getCellStyle:Z,handleDelete:ee,filterTags:S,delFilterTags:te,resetFilter:ne,changePage:oe}=ve(),{proxy:x}=ye(),r=async(o={})=>{let e=_e;if(p.path==="/searchCenter/data-query-center"){if(Object.keys(c.dataQueryCenterForm).length===0)return w.value=[];o=c.dataQueryCenterForm,e=ge}p.path==="/analysisCenter/analysis_result_details"&&(o=c.analysisResultParams);const i=G(o);J(i,e)},D=j(),b=j(!1),ae=(o,e)=>{D.value=e,b.value=!0},P=o=>{if(o==="\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 o=="object"&&x.$download.oss(o.ossId)};return pe(()=>{["/searchCenter/data-query-center","/analysisCenter/analysis_result_details"].includes(p.path)&&(T.on("loadTableData",o=>{const{currentComponent:e,count:i}=o;if(e==="otherInformation"){if(i===0)return w.value=[];r()}}),T.on("handleExport",o=>{o==="otherInformation"&&P()}),T.on("clearSelection",o=>{o==="otherInformation"&&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}]},(o,e)=>{var N;const i=f("el-button"),le=f("el-tag"),se=f("filterHeader"),A=f("el-link"),re=f("avue-crud");return m(),V("div",{class:L([[Object.keys(s.options).length!==0?"":"pa-20-0-10"],"pl16px! pr16px!"])},[l(re,{class:L({"crud-dark":n(I)}),ref_key:"crud",ref:F,"table-loading":n(Q),onOnLoad:e[6]||(e[6]=()=>r()),data:n(w),option:n(y),page:n(g),"onUpdate:page":e[7]||(e[7]=t=>O(g)?g.value=t:null),onSortChange:e[8]||(e[8]=t=>n(X)(t,r)),onSelectionChange:e[9]||(e[9]=t=>v.value=t),"row-style":({row:t})=>n(Y)(t),"cell-style":({row:t,column:d})=>n(Z)(t,d),rowKey:t=>t.id},fe({"menu-left":a(({})=>[$("div",he,[l(i,{type:"primary",onClick:e[0]||(e[0]=t=>_.value=!0)},{default:a(()=>[u("\u5BFC\u5165")]),_:1}),l(i,{type:"primary",onClick:e[1]||(e[1]=t=>P("\u6279\u91CF"))},{default:a(()=>[u("\u6279\u91CF\u5BFC\u51FA")]),_:1}),l(i,{type:"primary",onClick:e[2]||(e[2]=t=>n(ee)({key:"ossId",fn:n(be),cb:r,delAllParams:{index:"dc_other_information"}}))},{default:a(()=>[u("\u5220\u9664")]),_:1}),n(S).length!==0?(m(),V("div",ke,[l(i,{class:"cus-btn mr6px",onClick:e[3]||(e[3]=t=>n(n