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
7.7 KiB

1 year ago
  1. import{_ as ke,G as Re,$ as h,a0 as V,a3 as xe,b as Ie,a as $e,aa as Pe,r as u,d as he,ag as Ve,e as f,o as y,c as w,h as a,K as z,ah as H,f as g,g as l,w as o,m as p,i as D,A as j,a5 as we,S as K,R as De,z as Oe,D as E,L as Te,ac as Ae,a6 as Ee,p as Le,q as Se,t as Be}from"./index-9b4667b6.js";import{d as Fe,a as Ne,r as qe,g as Ue}from"./analysis_report-7376602a.js";import{g as We}from"./account_opening_information-dca8f6fb.js";import{a as ze}from"./analysis_results-1bd8be45.js";import{u as He}from"./useAvueTable-780cbd26.js";import"./trading_partner-798a55a7.js";const je=b=>(Le("data-v-c585bd96"),b=b(),Se(),b),Ke={class:"pb10px pl16px pr16px"},Ge={class:"flex-items-center w500px"},Me=je(()=>g("div",{class:"nowrap ml12px mr12px",style:{color:"var(--c-color)"}},"\u67E5\u8BE2\u5BF9\u8C61",-1)),Je={key:0,class:"flex-items-center"},Qe={class:"flex-items-center justify-end mt4px"},Xe=Re({name:"otherInformation"}),Ye=Object.assign(Xe,{setup(b){const G=h(()=>V(()=>import("./settingReportOutline-f86e9be5.js"),["static/js/settingReportOutline-f86e9be5.js","static/js/index-9b4667b6.js","static/css/index-03655e05.css","static/js/analysis_results-1bd8be45.js","static/js/useAvueTable-780cbd26.js","static/js/trading_partner-798a55a7.js"])),M=h(()=>V(()=>import("./index-d01c7006.js"),["static/js/index-d01c7006.js","static/js/index-9b4667b6.js","static/css/index-03655e05.css","static/css/index-97466c05.css"])),J=h(()=>V(()=>import("./userPopover-42989786.js"),["static/js/userPopover-42989786.js","static/js/useAvueTable-780cbd26.js","static/js/index-9b4667b6.js","static/css/index-03655e05.css","static/js/trading_partner-798a55a7.js"])),Q=h(()=>V(()=>import("./personnelType-0ffcf326.js"),["static/js/personnelType-0ffcf326.js","static/js/analysis_report-7376602a.js","static/js/index-9b4667b6.js","static/css/index-03655e05.css","static/js/useAvueTable-780cbd26.js","static/js/trading_partner-798a55a7.js","static/css/personnelType-88cade14.css"])),{sideTheme:C,crud:X,loading:Y,option:k,dataList:Z,selectionList:ee,pages:R,dialogVisible:x,resetPage:ae,getFilterParams:te,loadData:se,handleDeleteOne:ne,filterTags:L,delFilterTags:le,resetFilter:oe,changePage:re}=He(),v=xe(),S=Ie(),I=$e(),{proxy:r}=Be();Pe(()=>{v.clearAnalysisResultParams()});const B=u(),ie=u(),$=u(!1),d=u(""),F=u([]),N=u([]),O=u({}),P=u(!1),q=async()=>{var e;const s=await We({caseId:(e=v.currentCase)==null?void 0:e.id});F.value=s.data,N.value=s.data.map((n,i)=>({...n,name:n.label,text:n.label+n.value}))};q();const ue=s=>{const{inputValue:e,label:n,value:i,type:T}=s;d.value=e,c.value={},O.value={name:n,idCard:i,type:T}},c=u({}),de=()=>{if(!d.value)return r==null?void 0:r.$modal.msgWarning("\u8BF7\u9009\u62E9\u67E5\u8BE2\u5BF9\u8C61\uFF01");x.value=!0},pe=s=>{c.value=s},U=u(),ce=async()=>{var s,e;if(!d.value)return r==null?void 0:r.$modal.msgWarning("\u8BF7\u9009\u62E9\u67E5\u8BE2\u5BF9\u8C61\uFF01");U.value=Ae.service({text:"\u62A5\u544A\u751F\u6210\u4E2D...",background:"rgba(0, 0, 0, 0.7)",customClass:"loading-class"});try{(s=c.value)!=null&&s.resultName&&await me();const n=await Ne({...O.value,caseId:(e=v.currentCase)==null?void 0:e.id,...c.value});if(n.code!==200){r.$modal.msgError(n.msg),W();return}r.$modal.msgSuccess(n.msg),m()}finally{W()}},W=()=>{U.value.close(),c.value={},d.value=""},me=async()=>{var n,i;const s={caseId:(n=v.currentCase)==null?void 0:n.id,name:(i=c.value)==null?void 0:i.resultName},e=await ze(s);e.code===200&&(c.value.analysisResultId=e.data,await ve(e.data))},ve=async s=>{var n,i;const e=new FormData;e.append("file",(n=c.value)==null?void 0:n.resultFile.raw),e.append("analysisResultId",s),e.append("caseId",(i=v.currentCase)==null?void 0:i.id),await qe(e)},fe=()=>{if(!d.value)return r==null?void 0:r.$modal.msgWarning("\u8BF7\u9009\u62E9\u67E5\u8BE2\u5BF9\u8C61\uFF01");const{name:s,idCard:e}=O.value;S.push({path:"/analysisCenter/historical-report",query:{name:s,idCard:e}})},m=async(s={})=>{I.path==="/analysisCenter/analysis_result_details"&&(s=v.analysisResultParams);const e=te(s);se(e,Ue)},_e=(s,e)=>{S.push({path:"/analysisCenter/report_details",query:{i