1var xt=Object.defineProperty,It=Object.defineProperties;var kt=Object.getOwnPropertyDescriptors;var ze=Object.getOwnPropertySymbols;var $t=Object.prototype.hasOwnProperty,Rt=Object.prototype.propertyIsEnumerable;var Ee=(v,l,x)=>l in v?xt(v,l,{enumerable:!0,configurable:!0,writable:!0,value:x}):v[l]=x,Q=(v,l)=>{for(var x in l||(l={}))$t.call(l,x)&&Ee(v,x,l[x]);if(ze)for(var x of ze(l))Rt.call(l,x)&&Ee(v,x,l[x]);return v},X=(v,l)=>It(v,kt(l));import{a6 as Z,a8 as C,bY as Bt,aa as ve,ab as Pe,fZ as Dt,f_ as zt,d as ke,ag as Et,ah as Ye,f$ as Pt,H as be,al as xe,am as Mt,b_ as Nt,b$ as Ot,P as $,f7 as Ut,g0 as Tt,_ as Yt,G as jt,a as Lt,K as Vt,a0 as Wt,bw as Me,B as S,L as Ne,aP as ie,b3 as Gt,at as ce,N as R,y as Oe,d9 as qt,ay as Kt,S as Ht,k as Zt,o as h,m as P,b as a,w as t,e as A,t as s,c as L,g as r,f as i,A as B,bl as Jt,x as Qt,q as Xt,F as ee,s as eo,I as de,p as to,h as oo,dK as ao,z as lo,bh as io,aR as no,i as ro,az as so,O as co,a3 as uo,aA as po,Z as fo,aI as vo,j as mo,Y as yo,aO as ho}from"./index.944d26b9.js";import{a as bo,b as go,e as _o,d as So,f as Ao,h as Co,i as Ue,u as wo,s as Fo,j as xo,g as Io}from"./permission.c98fb2e3.js";import{P as ko}from"./Pagination.35de6c07.js";import{S as $o}from"./Search16Regular.664a76c4.js";import{_ as b}from"./text.80f8bebe.js";import{_ as Ro}from"./Alert.2a606c14.js";import{_ as Bo}from"./Cascader.94644182.js";import{_ as Do}from"./DatePicker.09237d92.js";import{_ as zo}from"./Upload.c41396e5.js";function Te(v,l="default",x=[]){const{children:T}=v;if(T!==null&&typeof T=="object"&&!Array.isArray(T)){const m=T[l];if(typeof m=="function")return m()}return x}const je="DESCRIPTION_ITEM_FLAG";function Eo(v){return typeof v=="object"&&v&&!Array.isArray(v)?v.type&&v.type[je]:!1}var Po=Z([C("descriptions",{fontSize:"var(--n-font-size)"},[C("descriptions-separator",` 2 display: inline-block; 3 margin: 0 8px 0 2px; 4 `),C("descriptions-table-wrapper",[C("descriptions-table",[C("descriptions-table-row",[C("descriptions-table-header",{padding:"var(--n-th-padding)"}),C("descriptions-table-content",{padding:"var(--n-td-padding)"})])])]),Bt("bordered",[C("descriptions-table-wrapper",[C("descriptions-table",[C("descriptions-table-row",[Z("&:last-child",[C("descriptions-table-content",{paddingBottom:0})])])])])]),ve("left-label-placement",[C("descriptions-table-content",[Z("> *",{verticalAlign:"top"})])]),ve("left-label-align",[Z("th",{textAlign:"left"})]),ve("center-label-align",[Z("th",{textAlign:"center"})]),ve("right-label-align",[Z("th",{textAlign:"right"})]),ve("bordered",[C("descriptions-table-wrapper",` 5 border-radius: var(--n-border-radius); 6 overflow: hidden; 7 background: var(--n-merged-td-color); 8 border: 1px solid var(--n-merged-border-color); 9 `,[C("descriptions-table",[C("descriptions-table-row",[Z("&:not(:last-child)",[C("descriptions-table-content",{borderBottom:"1px solid var(--n-merged-border-color)"}),C("descriptions-table-header",{borderBottom:"1px solid var(--n-merged-border-color)"})]),C("descriptions-table-header",` 10 font-weight: 400; 11 background-clip: padding-box; 12 background-color: var(--n-merged-th-color); 13 `,[Z("&:not(:last-child)",{borderRight:"1px solid var(--n-merged-border-color)"})]),C("descriptions-table-content",[Z("&:not(:last-child)",{borderRight:"1px solid var(--n-merged-border-color)"})])])])])]),C("descriptions-header",` 14 font-weight: var(--n-th-font-weight); 15 font-size: 18px; 16 transition: color .3s var(--n-bezier); 17 line-height: var(--n-line-height); 18 margin-bottom: 16px; 19 color: var(--n-title-text-color); 20 `),C("descriptions-table-wrapper",` 21 transition: 22 background-color .3s var(--n-bezier), 23 border-color .3s var(--n-bezier); 24 `,[C("descriptions-table",` 25 width: 100%; 26 border-collapse: separate; 27 border-spacing: 0; 28 box-sizing: border-box; 29 `,[C("descriptions-table-row",` 30 box-sizing: border-box; 31 transition: border-color .3s var(--n-bezier); 32 `,[C("descriptions-table-header",` 33 font-weight: var(--n-th-font-weight); 34 line-height: var(--n-line-height); 35 display: table-cell; 36 box-sizing: border-box; 37 color: var(--n-th-text-color); 38 transition: 39 color .3s var(--n-bezier), 40 background-color .3s var(--n-bezier), 41 border-color .3s var(--n-bezier); 42 `),C("descriptions-table-content",` 43 vertical-align: top; 44 line-height: var(--n-line-height); 45 display: table-cell; 46 box-sizing: border-box; 47 color: var(--n-td-text-color); 48 transition: 49 color .3s var(--n-bezier), 50 background-color .3s var(--n-bezier), 51 border-color .3s var(--n-bezier); 52 `,[Pe("content",` 53 transition: color .3s var(--n-bezier); 54 display: inline-block; 55 color: var(--n-td-text-color); 56 `)]),Pe("label",` 57 font-weight: var(--n-th-font-weight); 58 transition: color .3s var(--n-bezier); 59 display: inline-block; 60 margin-right: 14px; 61 color: var(--n-th-text-color); 62 `)])])])]),C("descriptions-table-wrapper",` 63 --n-merged-th-color: var(--n-th-color); 64 --n-merged-td-color: var(--n-td-color); 65 --n-merged-border-color: var(--n-border-color); 66 `),Dt(C("descriptions-table-wrapper",` 67 --n-merged-th-color: var(--n-th-color-modal); 68 --n-merged-td-color: var(--n-td-color-modal); 69 --n-merged-border-color: var(--n-border-color-modal); 70 `)),zt(C("descriptions-table-wrapper",` 71 --n-merged-th-color: var(--n-th-color-popover); 72 --n-merged-td-color: var(--n-td-color-popover); 73 --n-merged-border-color: var(--n-border-color-popover); 74 `))]);const Mo=Object.assign(Object.assign({},Ye.props),{title:String,column:{type:Number,default:3},columns:Number,labelPlacement:{type:String,default:"top"},labelAlign:{type:String,default:"left"},separator:{type:String,default:":"},size:{type:String,default:"medium"},bordered:Boolean,labelStyle:[Object,String],contentStyle:[Object,String]});var No=ke({name:"Descriptions",props:Mo,setup(v){const{mergedClsPrefixRef:l,inlineThemeDisabled:x}=Et(v),T=Ye("Descriptions","-descriptions",Po,Pt,v,l),m=be(()=>{const{size:z,bordered:O}=v,{common:{cubicBezierEaseInOut:E},self:{titleTextColor:g,thColor:n,thColorModal:te,thColorPopover:V,thTextColor:ue,thFontWeight:me,tdTextColor:pe,tdColor:y,tdColorModal:M,tdColorPopover:Y,borderColor:I,borderColorMod
74al:K,borderColorPopover:oe,borderRadius:ae,lineHeight:W,[xe("fontSize",z)]:G,[xe(O?"thPaddingBordered":"thPadding",z)]:ne,[xe(O?"tdPaddingBordered":"tdPadding",z)]:_}}=T.value;return{"--n-title-text-color":g,"--n-th-padding":ne,"--n-td-padding":_,"--n-font-size":G,"--n-bezier":E,"--n-th-font-weight":me,"--n-line-height":W,"--n-th-text-color":ue,"--n-td-text-color":pe,"--n-th-color":n,"--n-th-color-modal":te,"--n-th-color-popover":V,"--n-td-color":y,"--n-td-color-modal":M,"--n-td-color-popover":Y,"--n-border-radius":ae,"--n-border-color":I,"--n-border-color-modal":K,"--n-border-color-popover":oe}}),D=x?Mt("descriptions",be(()=>{let z="";const{size:O,bordered:E}=v;return E&&(z+="a"),z+=O[0],z}),m,v):void 0;return{mergedClsPrefix:l,cssVars:x?void 0:m,themeClass:D==null?void 0:D.themeClass,onRender:D==null?void 0:D.onRender,compitableColumn:Nt(v,["columns","column"]),inlineThemeDisabled:x}},render(){const v=this.$slots.default,l=v?Ot(v()):[];l.length;const{compitableColumn:x,labelPlacement:T,labelAlign:m,size:D,bordered:z,title:O,cssVars:E,mergedClsPrefix:g,separator:n,onRender:te}=this;te==null||te();const V=l.filter(y=>Eo(y)),ue={span:0,row:[],secondRow:[],rows:[]},pe=V.reduce((y,M,Y)=>{const I=M.props||{},K=V.length-1===Y,oe=["label"in I?I.label:Te(M,"label")],ae=[Te(M)],W=I.span||1,G=y.span;y.span+=W;const ne=I.labelStyle||I["label-style"]||this.labelStyle,_=I.contentStyle||I["content-style"]||this.contentStyle;if(T==="left")z?y.row.push($("th",{class:`${g}-descriptions-table-header`,colspan:1,style:ne},oe),$("td",{class:`${g}-descriptions-table-content`,colspan:K?(x-G)*2+1:W*2-1,style:_},ae)):y.row.push($("td",{class:`${g}-descriptions-table-content`,colspan:K?(x-G)*2:W*2},$("span",{class:`${g}-descriptions-table-content__label`,style:ne},[...oe,n&&$("span",{class:`${g}-descriptions-separator`},n)]),$("span",{class:`${g}-descriptions-table-content__content`,style:_},ae)));else{const re=K?(x-G)*2:W*2;y.row.push($("th",{class:`${g}-descriptions-table-header`,colspan:re,style:ne},oe)),y.secondRow.push($("td",{class:`${g}-descriptions-table-content`,colspan:re,style:_},ae))}return(y.span>=x||K)&&(y.span=0,y.row.length&&(y.rows.push(y.row),y.row=[]),T!=="left"&&y.secondRow.length&&(y.rows.push(y.secondRow),y.secondRow=[])),y},ue).rows.map(y=>$("tr",{class:`${g}-descriptions-table-row`},y));return $("div",{style:E,class:[`${g}-descriptions`,this.themeClass,`${g}-descriptions--${T}-label-placement`,`${g}-descriptions--${m}-label-align`,`${g}-descriptions--${D}-size`,z&&`${g}-descriptions--bordered`]},O||this.$slots.header?$("div",{class:`${g}-descriptions-header`},O||Tt(this,"header")):null,$("div",{class:`${g}-descriptions-table-wrapper`},$("table",{class:`${g}-descriptions-table`},$("tbody",null,T==="top"&&$("tr",{class:`${g}-descriptions-table-row`,style:{visibility:"collapse"}},Ut(x*2,$("td",null))),pe))))}});const Oo={label:String,span:{type:Number,default:1},labelStyle:[Object,String],contentStyle:[Object,String]};var Ie=ke({name:"DescriptionsItem",[je]:!0,props:Oo,render(){return null}});const Le=v=>(to("data-v-f451bfd2"),v=v(),oo(),v),Uo={class:"card-header"},To={class:"card-title"},Yo=r(" \u904E\u53BB\u30C7\u30FC\u30BF\u53D6\u5F97 "),jo={class:"search"},Lo={style:{padding:"20px"}},Vo={style:{"margin-top":"16px","margin-bottom":"16px"}},Wo=r("*"),Go={key:0,style:{"margin-top":"12px",padding:"12px",color:"#d03050","font-size":"14px",background:"#fff2f0","border-radius":"4px"}},qo={key:0,style:{"margin-bottom":"16px"}},Ko={style:{color:"#333639","font-size":"14px"}},Ho={key:1,style:{"margin-bottom":"16px","font-size":"14px","font-weight":"500"}},Zo={style:{"margin-bottom":"16px"}},Jo=r("\u30FB"),Qo={key:2,style:{"margin-bottom":"16px"}},Xo=r("*"),ea={style:{"margin-bottom":"16px"}},ta={key:0,style:{"font-size":"12px",color:"#999999","padding-left":"2em"}},oa=r("*"),aa={key:1,style:{"font-size":"12px",color:"#999999","padding-left":"2em"}},la=r("*"),ia={key:2,style:{"font-size":"12px",color:"#999999","padding-left":"2em"}},na=r("*"),ra={style:{"margin-bottom":"14px","font-size":"14px"}},sa=r("\u30FB"),ca={style:{"margin-bottom":"14px"}},da={style:{margin:"0","padding-left":"20px"}},ua={key:0,style:{"margin-bottom":"16px, padding-left: 2em"}},pa={style:{color:"#333639","font-size":"14px"}},fa={style:{"margin-bottom":"16px","font-size":"14px","font-weight":"500, padding-left: 2em"}},va={style:{"margin-bottom":"14px"}},ma=r("\u30FB"),ya={style:{"margin-bottom":"14px"}},ha={style:{"font-size":"12px","padding-left":"2em"}},ba=r("*"),ga={style:{"margin-bottom":"14px"}},_a=r("\u30FB"),Sa={style:{"margin-bottom":"14px"}},Aa={style:{"font-size":"12px",color:"#999999","padding-left":"2em"}},Ca=r("*"),wa={style:{"margin-bottom":"14px"}},Fa=r("\u30FB"),xa={key:0,style:{"margin-bottom":"14px"}},Ia={style:{"font-size":"12px",color:"#999999","padding-left":"2em"}},ka=r("*"),$a={key:1,style:{"margin-bottom":"14px"}},Ra={style:{"font-size":"12px",color:"#999999","padding-left":"2em"}},Ba={style:{"margin-bottom":"14px"}},Da=r("\u30FB"),za={style:{"margin-bottom":"14px"}},Ea={style:{padding:"20px"}},Pa={style:{"white-space":"pre-wrap"}},Ma={style:{padding:"16px"}},Na=r(" \u904E\u53BB\u30C7\u30FC\u30BF\u53D6\u5F97\uFF1A "),Oa=Le(()=>A("br",null,null,-1)),Ua=r(" \u65B0\u898F\u7533\u8ACB\u304C\u6210\u529F\u3057\u305F\u65E5\u3088\u308A\u524D\u306E\u30C7\u30FC\u30BF\u3092\u53D6\u5F97\u3057\u307E\u3059\u3002 "),Ta=Le(()=>A("br",null,null,-1)),Ya=r(" \u203BCS\u5411\u3051\u306E\u6A5F\u80FD\u3067\u3059\u3002\u6D3B\u52D5\u91CF\u306E\u81EA\u52D5\u767B\u9332\u306F\u884C\u3044\u307E\u305B\u3093\u3002 "),ja=r(" \u904E\u53BB\u30C7\u30FC\u30BF\u53D6\u5F97\u3092\u5B9F\u884C "),La=ke({name:"index",setup(v){const{t:l}
74=jt(),x=Lt(),T=Vt(),m=Wt(),D=Me(),z=Me(),O=S({errorType:"",errorReason:"",detail:"",showErrorReason:!0}),E=S(1),g=()=>({mode:null,spplyRcvngPwrPntSpcfcNo:null,activityItemId:null,baseId:null}),n=S(g()),te=S(null),V=S(""),ue=S(null),me=S(null),pe=S(null),y=S(!1),M=S([]),Y=S([]),I=S([]),K=S([]),oe=S(null),ae=S(null),W=S(!1),G=S([]),_=Ne((()=>({companyId:ie().companyId.value,baseId:null,contractStatus:null,prevVerificationYearMonth:null,keyword:null}))()),re=S([]),ge=S([]),$e=Ne({contractStatus:{}}),se=S(bo()),_e=S(!1),Se=S(!1),Ae=S(!1),Ce=S(!1);S(!1);const fe=S(!1),Ve=S(null),We=S(null);S(!1);const we=S(!1);async function Ge(){var e,o,d,c,u,w,U;we.value=!0;try{const f=await _o();((e=f==null?void 0:f.code)==null?void 0:e.value)===200||((o=f==null?void 0:f.code)==null?void 0:o.value)===201?(m.success("\u516C\u958B\u30C7\u30FC\u30BF\u904E\u53BB\u30C7\u30FC\u30BF\u53D6\u5F97\u30D0\u30C3\u30C1\u306E\u5B9F\u884C\u3092\u958B\u59CB\u3057\u307E\u3057\u305F"),fe.value=!1,Ve.value=null,We.value=null):m.error((u=(c=f==null?void 0:f.body)!=null?c:(d=f==null?void 0:f.code)==null?void 0:d.describe)!=null?u:"\u5B9F\u884C\u306B\u5931\u6557\u3057\u307E\u3057\u305F",{closable:!0,duration:0})}catch(f){m.error((U=(w=f==null?void 0:f.message)!=null?w:f==null?void 0:f.body)!=null?U:"\u30EA\u30AF\u30A8\u30B9\u30C8\u5931\u6557",{closable:!0,duration:0}),console.error(f)}finally{we.value=!1}}const{pagination:le,pageParams:qe}=ko(_),{orderBy:Ke,sorterChange:He}=Gt(),Re=()=>{_.companyId&&ao({companyId:_.companyId,language:lo()}).then(e=>{re.value=e})},Ze=()=>{io({dict:["electricity_contract_status"]}).then(e=>{var c,u;const o=e[0],d=((c=o[0])==null?void 0:c.electricity_contract_status)||((u=o[0])==null?void 0:u.electricityContractStatus);console.log("statusData",d),d&&Array.isArray(d)&&(ge.value=d,Object.assign($e,no({contractStatus:ge.value})))})};function Je(e){if(e==null||e==="")return null;if(typeof e=="number")return ce(e).format("YYYY-MM");if(typeof e=="string"){const o=e.trim();if(/^\d{4}-\d{2}$/.test(o))return o;const d=ce(o);return d.isValid()?d.format("YYYY-MM"):null}return e instanceof Date?ce(e).format("YYYY-MM"):null}const q=async e=>{var o,d,c,u;e&&(le.page=1),W.value=!0;try{let w=null;if(_.baseId)if(Array.isArray(_.baseId)&&_.baseId.length>0){const N=_.baseId[_.baseId.length-1];w=typeof N=="string"?N.split(".").pop():N}else typeof _.baseId=="string"?w=_.baseId.split(".").pop():w=_.baseId;const U=X(Q(X(Q({},_),{baseId:w,prevVerificationYearMonth:Je(_.prevVerificationYearMonth)}),qe()),{sort:Ke.value||"applicationSubmitDate:desc"}),f=await So(U);((o=f==null?void 0:f.code)==null?void 0:o.value)===200?(G.value=((d=f.body)==null?void 0:d.list)||[],le.itemCount=((c=f.body)==null?void 0:c.total)||0):(G.value=[],le.itemCount=0);const j=_.companyId;if(j!=null)try{const N=await Ao(j),F=N==null?void 0:N.body;((u=N==null?void 0:N.code)==null?void 0:u.value)===200&&F?(_e.value=!!F.showNewApplication,Se.value=!!F.showAddApplication,Ae.value=!!F.showReApplication,Ce.value=!!F.showCancel):Fe()}catch{Fe()}else Fe()}catch(w){console.error("\u30AF\u30A8\u30EA\u5931\u6557:",w),G.value=[]}finally{W.value=!1}};function Fe(){_e.value=!0,Se.value=!1,Ae.value=!1,Ce.value=!1}const Qe=be(()=>[{title:l("data.electricityServiceApplication.table.baseGroupName"),key:"baseGroupName",align:"left",width:150,ellipsis:{tooltip:!0},sorter:"default"},{title:l("data.electricityServiceApplication.table.areaName"),key:"areaName",align:"left",width:150,ellipsis:{tooltip:!0},sorter:"default"},{title:l("data.electricityServiceApplication.table.baseName"),key:"baseName",align:"left",width:150,ellipsis:{tooltip:!0},sorter:"default"},{title:l("data.electricityServiceApplication.table.activityItem"),key:"activityItem",align:"left",width:200,ellipsis:{tooltip:!0},sorter:"default"},{title:l("data.electricityServiceApplication.table.spplyRcvngPwrPntSpcfcNo"),key:"spplyRcvngPwrPntSpcfcNo",align:"left",width:200,ellipsis:{tooltip:!0},sorter:"default"},{title:l("data.electricityServiceApplication.table.contractStatus"),key:"contractStatus",align:"center",width:120,sorter:"default",render:e=>{const o=$e.contractStatus[e.contractStatus]||"";return e.contractStatus===4?$("a",{style:{color:"#2080f0",textDecoration:"underline",cursor:"pointer"},onClick:()=>Ct(e)},o):o}},{title:l("data.electricityServiceApplication.table.applicationSubmitDate"),key:"applicationSubmitDate",align:"center",width:150,sorter:"default",render:e=>e.applicationSubmitDate?ce(e.applicationSubmitDate).format("YYYY/MM/DD"):"-"},{title:l("data.electricityServiceApplication.table.prevMeterReadingDate"),key:"prevMeterReadingDate",align:"center",width:130,sorter:"default",render:e=>e.prevMeterReadingDate?ce(e.prevMeterReadingDate).format("YYYY/MM/DD"):"-"},{title:l("data.electricityServiceApplication.table.nextMeterReadingDate"),key:"nextMeterReadingDate",align:"center",width:150,sorter:"default",render:e=>e.nextMeterReadingDate?ce(e.nextMeterReadingDate).format("YYYY/MM/DD"):"-"},{title:l("common.action"),key:"action",align:"center",width:100,fixed:"right",render:e=>se.value?$(Kt,{},{trigger:()=>$(R,{style:{marginRight:"10px"},circle:!0,size:"small",color:"#004386",type:"warning",disabled:e.contractStatus!==1,onClick:()=>ft(e)},{icon:()=>$(Oe,null,()=>$(qt))}),default:()=>l("common.editBtn")}
74):null}]),Xe=()=>{q(!0)},et=()=>{q(!0)},tt=()=>{q(!0)},ye=()=>{q(!0)};function ot(e){(e===null||e==="")&&ye()}const at=e=>{le.page=e,q(!1)},lt=e=>{le.pageSize=e,le.page=1,q(!1)},it=e=>{Promise.all([He(e)]).then(()=>{q(!1)})},nt=be(()=>n.value.mode==="edit"?l("data.electricityServiceApplication.ediTitle"):n.value.mode==="1"?l("data.electricityServiceApplication.newApplication"):n.value.mode==="2"?l("data.electricityServiceApplication.addApplication"):n.value.mode==="3"?l("data.electricityServiceApplication.reApplication"):n.value.mode==="9"?l("data.electricityServiceApplication.cancellationApplication"):""),rt=()=>{n.value=X(Q({},g()),{mode:"1"}),E.value=1,M.value=[],Y.value=[],I.value=[],D.open()},st=()=>{n.value=X(Q({},g()),{mode:"2"}),E.value=1,M.value=[],Y.value=[],I.value=[],D.open()},ct=()=>{n.value=X(Q({},g()),{mode:"3"}),E.value=1,M.value=[],Y.value=[],I.value=[],D.open()},dt=()=>{n.value=X(Q({},g()),{mode:"9"}),E.value=1,M.value=[],Y.value=[],I.value=[],D.open()},ut=async()=>{var e,o,d,c,u;if(M.value.length===0){m.error(l("data.electricityServiceApplication.selectExcelFile"));return}try{y.value=!0;const w=M.value[0].file,U=ie().companyId.value,f=parseInt(n.value.mode),j=await Co(w,U,f);((e=j==null?void 0:j.code)==null?void 0:e.value)===200&&((o=j.body)==null?void 0:o.success)?E.value=2:(I.value=((d=j.body)==null?void 0:d.errors)||[],m.error(l("data.electricityServiceApplication.checkFailed")))}catch(w){console.error("Excel\u30C1\u30A7\u30C3\u30AF\u5931\u6557:",w);const U=(u=(c=w==null?void 0:w.response)==null?void 0:c.data)==null?void 0:u.body;m.error((U==null?void 0:U.message)||l("data.electricityServiceApplication.checkFailed"))}finally{y.value=!1}},pt=()=>{E.value=1},ft=e=>{V.value="",gt();let o=e.baseId;o&&(o=`2.${o}`),n.value=X(Q({},g()),{mode:"edit",spplyRcvngPwrPntSpcfcNo:e.spplyRcvngPwrPntSpcfcNo,activityItemId:e.activityItemId,baseId:o}),D.open()},vt=async()=>{try{const e=n.value.mode?parseInt(n.value.mode):void 0,o=await Ue(1,e),d=new Blob([o],{type:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"}),c=window.URL.createObjectURL(d),u=document.createElement("a");u.href=c,u.download=e===9?"\u540C\u610F\u7533\u8FBC\u5730\u70B9\u4E00\u89A7\u8868\uFF08\u89E3\u7D04\u7528-MieCO2\u5C02\u7528\uFF09.xlsx":"\u540C\u610F\u7533\u8FBC\u5730\u70B9\u4E00\u89A7\u8868\uFF08MieCO2\u5C02\u7528\uFF09.xlsx",document.body.appendChild(u),u.click(),window.URL.revokeObjectURL(c),document.body.removeChild(u),m.success(l("message.downloadSuccess"))}catch(e){console.error("\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u5931\u6557:",e),m.error(l("message.downloadFail"))}},Be=async()=>{try{const e=await Ue(2),o=new Blob([e],{type:"application/vnd.openxmlformats-officedocument.wordprocessingml.document"}),d=window.URL.createObjectURL(o),c=document.createElement("a");c.href=d,c.download="\u540C\u610F\u66F8\uFF08\u6CD5\u4EBA\u7528\uFF09\u7B2C1.1\u7248_\u5927\u91CF\u7533\u8FBC\u7528.docx",document.body.appendChild(c),c.click(),window.URL.revokeObjectURL(d),document.body.removeChild(c),m.success(l("message.downloadSuccess"))}catch(e){console.error("\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u5931\u6557:",e),m.error(l("message.downloadFail"))}},mt=e=>{var c;const o=((c=e==null?void 0:e.file)==null?void 0:c.name)||(e==null?void 0:e.name)||"";return!o||!(o.endsWith(".xlsx")||o.endsWith(".xls"))?(m.error(l("data.electricityServiceApplication.excelFileOnly")),!1):!0},yt=e=>{var c;const o=((c=e==null?void 0:e.file)==null?void 0:c.name)||(e==null?void 0:e.name)||"";return!o||!o.endsWith(".pdf")?(m.error(l("data.electricityServiceApplication.pdfFileOnly")),!1):!0},ht=()=>{I.value=[]},bt=()=>{I.value=[]},gt=()=>{const e=ie().companyId.value;go(e).then(o=>{const d=(o==null?void 0:o.body)||[];K.value=d.map(c=>({label:c.activityItem,value:c.activityItemId}))})},De=async()=>{var e,o,d,c,u,w,U,f,j,N;if(n.value.mode==="edit"){if(!n.value.activityItemId){m.error(l("data.electricityServiceApplication.fillRequiredFields"));return}let F=n.value.baseId;if(F){if(typeof F=="string")F=F.split(".").pop();else if(Array.isArray(F)&&F.length>0){const k=F[F.length-1];F=typeof k=="string"?k.split(".").pop():k}}else F=null;y.value=!0;try{const k=await wo(n.value.spplyRcvngPwrPntSpcfcNo,n.value.activityItemId,F);((e=k==null?void 0:k.code)==null?void 0:e.value)===200&&((o=k.body)==null?void 0:o.success)?(V.value="",m.success(l("data.electricityServiceApplication.updateSuccess")),D.close(),Object.assign(n.value,g()),q(!0)):V.value=((d=k.body)==null?void 0:d.message)||l("data.electricityServiceApplication.updateFail")}catch(k){console.error("\u66F4\u65B0\u5931\u6557:",k),m.error(l("data.electricityServiceApplication.updateFail"))}finally{y.value=!1}}else{if(M.value.length===0){m.error(l("data.electricityServiceApplication.selectExcelFile"));return}if(n.value.mode!=="9"&&Y.value.length===0){m.error(l("data.electricityServiceApplication.selectConsentFile"));return}y.value=!0,I.value=[];try{const F=ie().companyId.value,k=parseInt(n.value.mode),H=M.value[0].file,he=n.value.mode!=="9"?(c=Y.value[0])==null?void 0:c.file:null,J=await Fo(H,he,F,k);if(((u=J==null?void 0:J.code)==null?void 0:u.value)===200&&((w=J.body)==null?void 0:w.success))m.success(l("data.electricityServiceApplication.submitSuccess")),_t();else{const p=(U=J.body)==null?void 0:U.errors;Array.isArray(p)&&p.length>0&&(I.value=p),m.error(((f=J.body)==null?void 0:f.message)||l("data.electricityServiceApplication.submitFail"))}}catch(F){console.error("\u9001\u4FE1\u5931\u6557:",F);const k=(N=(j=F==null?void 0:F.response)==null?void 0:j.data)==null?void 0:N.body,H=k==null?void 0:k.errors;Array.isArray(H)&&H.length>0&&(I.value=H),m.error((k==null?void 0:k.message)||l("data.electricityServiceApplication.submitFail"))}finally{y.value=!1}}},_t=()=>{D.close(),Object.assign(n.value,g()),E.value=1,M.value=[],Y.value=[],I.value=[],q(!1)},St=()=>{V.value="",D.close(),Object.assign(n.value,g()),E.value=1,M.value=[],Y.value=[],I.value=[]},At=async()=>{try{const e=ie().companyId.value,o=await xo(e),d=new Blob([o],{type:"application/pdf"}),c=window.URL.createObjectURL(d),u=document.createElement("a");u.href=c,u.download="\u540C\u610F\u66F8\uFF08\u6CD5\u4EBA\u7528\uFF09\u7B2C1.1\u7248_\u5927\u91CF\u7533\u8FBC\u7528.pdf",document.body.appendChild(u),u.click(),window.URL.revokeObjectURL(c),document.body.removeChild(u),m.success(l("message.downloadSuccess"))}catch(e){console.error("\u65E2\u5B58\u540C\u610F\u66F8\u30C0\u30A6\u30F3\u30ED\u30FC\u30C9\u5931\u6557:",e),m.error(l("message.downloadFail"))}},Ct=e=>{const o=e.contractStatus,d=e.identificationResult,c=e.pointConfirmationResult,u=e.contractMatchingResult;if(d==="NG"||d==="02"||d==="2"){O.value={errorType:l("data.electricityServiceApplication.abnormalInfo.serviceApplicationFailure"),errorReason:l("data.electricityServiceApplication.abnormalInfo.identificationIncomplete"),detail:e.identificationIncompleteContent||"",showErrorReason:!0},z.open();return}if(c==="NG"||c==="02"||c==="2"){O.value={errorType:l("data.electricityServiceApplication.abnormalInfo.serviceApplicationFailure"),errorReason:l("data.electricityServiceApplication.abnormalInfo.pointConfirmationIncomplete"),detail:e.pointConfirmationIncompleteContent||"",showErrorReason:!0},z.open();return}if(u==="NG"||u==="02"||u==="2"){O.value={errorType:l("data.electricityServiceApplication.abnormalInfo.serviceApplicationFailure"),errorReason:l("data.electricityServiceApplication.abnormalInfo.contractMatchingIncomplete"),detail:e.contractMatchingIncompleteContent||"",showErrorReason:!0},z.open();return}if(o===4){O.value={errorType:l("data.electricityServiceApplication.abnormalInfo.powerDataAcquisitionFailure"),errorReason:"",detail:l("data.electricityServiceApplication.abnormalInfo.contractChangeMessage"),showErrorReason:!1},z.open();return}O.value={errorType:l("data.electricityServiceApplication.abnormalInfo.serviceApplicationFailure"),errorReason:"",detail:"",showErrorReason:!0},z.open()};Ht(()=>_.companyId,()=>{Re()},{immediate:!0});const wt=async()=>{var c;const e=Number(ie().roleId.value),o=[2,3].includes(e),d=()=>{T.error({title:l("message.errorTitle"),content:l(o?"data.electricityServiceApplication.contractInfoNotExistReadOnly":"data.electricityServiceApplication.contractInfoNotExist"),positiveText:"OK",closeOnEsc:!1,maskClosable:!1,onPositiveClick:async()=>{T.destroyAll(),o||x.push({name:"electricityContractorInformation"})},onClose:()=>{o||x.push({name:"electricityContractorInformation"})}})};try{const u=ie().companyId.value,w=await Io(u);return((c=w==null?void 0:w.code)==null?void 0:c.value)===200&&w.body?!0:(d(),!1)}catch(u){return console.error("\u5951\u7D04\u60C5\u5831\u30C1\u30A7\u30C3\u30AF\u5931\u6557:",u),d(),!1}};return Zt(async()=>{!await wt()||(Re(),Ze(),q(!0))}),(e,o)=>{const d=ro,c=Bo,u=so,w=co,U=Do,f=uo,j=po,N=fo,F=vo,k=mo,H=yo,he=zo,J=ho;return h(),P(ee,null,[a(k,{class:"fixed-main-container"},{header:t(()=>[A("div",Uo,[A("span",To,s(e.$t("data.electricityServiceApplication.title")),1)])]),"header-extra":t(()=>[a(d,{justify:"end"},{default:t(()=>
74[_e.value&&se.value?(h(),L(i(R),{key:0,type:"primary",onClick:rt},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.newApplication")),1)]),_:1})):B("",!0),Se.value&&se.value?(h(),L(i(R),{key:1,type:"primary",onClick:st},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.addApplication")),1)]),_:1})):B("",!0),Ae.value&&se.value?(h(),L(i(R),{key:2,type:"primary",onClick:ct},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.reApplication")),1)]),_:1})):B("",!0),Ce.value&&se.value?(h(),L(i(R),{key:3,type:"primary",onClick:dt},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.cancel")),1)]),_:1})):B("",!0),se.value?(h(),L(i(R),{key:4,type:"tertiary",onClick:o[0]||(o[0]=p=>fe.value=!0)},{default:t(()=>[Yo]),_:1})):B("",!0)]),_:1})]),default:t(()=>[A("div",jo,[a(N,{ref_key:"searchFormRef",ref:oe,model:_},{default:t(()=>[a(j,{"x-gap":30,cols:"12 1024:24"},{default:t(()=>[a(u,{span:6},{default:t(()=>[a(c,{value:_.baseId,"onUpdate:value":[o[1]||(o[1]=p=>_.baseId=p),Xe],options:re.value,clearable:"","check-strategy":"child","show-path":!1,placeholder:e.$t("data.electricityServiceApplication.basePlaceholder")},null,8,["value","options","placeholder"])]),_:1}),a(u,{span:6},{default:t(()=>[a(w,{value:_.contractStatus,"onUpdate:value":[o[2]||(o[2]=p=>_.contractStatus=p),et],options:ge.value,clearable:"",placeholder:e.$t("data.electricityServiceApplication.contractStatusPlaceholder")},null,8,["value","options","placeholder"])]),_:1}),a(u,{span:6},{default:t(()=>[a(U,{value:_.prevVerificationYearMonth,"onUpdate:value":[o[3]||(o[3]=p=>_.prevVerificationYearMonth=p),tt],type:"month","value-format":"yyyy-MM",clearable:"",placeholder:e.$t("data.electricityServiceApplication.prevVerificationYearMonth"),style:{width:"100%"}},null,8,["value","placeholder"])]),_:1}),a(u,{span:6},{default:t(()=>[a(f,{value:_.keyword,"onUpdate:value":[o[4]||(o[4]=p=>_.keyword=p),ot],clearable:"",placeholder:e.$t("common.search"),maxlength:"255",onKeyup:Jt(ye,["enter"]),onBlur:ye},{suffix:t(()=>[a(i(Oe),{size:"16",class:"search-suffix",onClick:Qt(ye,["stop"])},{default:t(()=>[a(i($o))]),_:1},8,["onClick"])]),_:1},8,["value","placeholder","onKeyup"])]),_:1})]),_:1})]),_:1},8,["model"])]),a(F,{ref_key:"dataTableRef",ref:ae,remote:"",columns:i(Qe),data:G.value,loading:W.value,pagination:i(le),bordered:!1,"scroll-x":1500,"flex-height":"",style:{height:"100vh"},"onUpdate:page":at,"onUpdate:pageSize":lt,"onUpdate:sorter":it},null,8,["columns","data","loading","pagination"])]),_:1}),a(de,{id:de.uuid(),show:i(D).visibleRef.value,"onUpdate:show":o[10]||(o[10]=p=>i(D).visibleRef.value=p),preset:"card",title:i(nt),style:{width:"900px"},class:"fixed-dialog-container",bordered:!1,size:"huge","mask-closable":!1},{footer:t(()=>[a(d,{justify:n.value.mode==="edit"?"center":"end"},{default:t(()=>[a(i(R),{type:"primary",ghost:"",onClick:St},{default:t(()=>[r(s(e.$t("common.cancel")),1)]),_:1}),n.value.mode!=="edit"&&n.value.mode!=="9"&&E.value===2?(h(),L(i(R),{key:0,type:"primary",ghost:"",onClick:pt},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.previous")),1)]),_:1})):B("",!0),n.value.mode!=="edit"&&n.value.mode!=="9"&&E.value===1?(h(),L(i(R),{key:1,type:"primary",onClick:ut},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.next")),1)]),_:1})):B("",!0),n.value.mode==="edit"?(h(),L(i(R),{key:2,type:"primary",loading:y.value,onClick:De},{default:t(()=>[r(s(e.$t("common.ok")),1)]),_:1},8,["loading"])):B("",!0),n.value.mode!=="edit"&&(n.value.mode!=="9"&&E.value===2||n.value.mode==="9")?(h(),L(i(R),{key:3,type:"primary",loading:y.value,onClick:De},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.submitApplication")),1)]),_:1},8,["loading"])):B("",!0)]),_:1},8,["justify"])]),default:t(()=>[A("div",Lo,[n.value.mode==="edit"?(h(),L(N,{key:0,ref_key:"editFormRef",ref:te,model:n.value,"label-placement":"left","label-width":180,class:"req-mark-as-pill",style:Xt({"--req-text":JSON.stringify(e.$t("common.requiredMark"))})},{default:t(()=>[a(H,{label:e.$t("data.electricityServiceApplication.spplyRcvngPwrPntSpcfcNo")},{default:t(()=>[a(f,{value:n.value.spplyRcvngPwrPntSpcfcNo,"onUpdate:value":o[5]||(o[5]=p=>n.value.spplyRcvngPwrPntSpcfcNo=p),disabled:"",style:{width:"100%"}},null,8,["value"])]),_:1},8,["label"]),a(H,{label:e.$t("data.electricityServiceApplication.activityItem"),required:!0},{default:t(()=>[a(w,{value:n.value.activityItemId,"onUpdate:value":o[6]||(o[6]=p=>n.value.activityItemId=p),options:K.value,filterable:"",placeholder:e.$t("data.electricityServiceApplication.selectActivityItem"),style:{width:"100%"}}
74,null,8,["value","options","placeholder"])]),_:1},8,["label"]),a(H,{label:e.$t("data.electricityServiceApplication.base")},{default:t(()=>[a(c,{value:n.value.baseId,"onUpdate:value":o[7]||(o[7]=p=>n.value.baseId=p),options:re.value,clearable:"","check-strategy":"child","show-path":!1,placeholder:e.$t("data.electricityServiceApplication.selectBase"),style:{width:"100%"}},null,8,["value","options","placeholder"])]),_:1},8,["label"]),A("div",Vo,[a(i(b),{style:{"font-size":"14px",color:"#2080f0"}},{default:t(()=>[Wo]),_:1}),a(i(b),{style:{"font-size":"14px",color:"#2080f0"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.editActivityLinkageNotice")),1)]),_:1})]),V.value?(h(),P("div",Go,s(V.value),1)):B("",!0)]),_:1},8,["model","style"])):(h(),L(N,{key:1,ref_key:"applicationFormRef",ref:ue,model:n.value},{default:t(()=>[E.value===1?(h(),P(ee,{key:0},[n.value.mode==="3"?(h(),P("div",qo,[A("span",Ko,s(e.$t("data.electricityServiceApplication.reApplicationStep1Description")),1)])):B("",!0),n.value.mode!=="9"?(h(),P("div",Ho,s(e.$t("data.electricityServiceApplication.step1Title")),1)):B("",!0),A("div",Zo,[a(i(b),{style:{"margin-right":"8px"}},{default:t(()=>[Jo]),_:1}),a(i(R),{text:"",type:"primary",style:{padding:"0","font-size":"14px"},onClick:vt},{default:t(()=>[r(s(n.value.mode==="9"?e.$t("data.electricityServiceApplication.downloadCancellationExcel"):e.$t("data.electricityServiceApplication.downloadApplicationExcel")),1)]),_:1})]),n.value.mode==="3"?(h(),P("div",Qo,[a(i(b),{style:{"font-size":"14px",color:"#d03050"}},{default:t(()=>[Xo]),_:1}),a(i(b),{style:{"font-size":"14px",color:"#d03050"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.reApplicationStep1RedDescription")),1)]),_:1})])):B("",!0),A("div",ea,[n.value.mode==="9"?(h(),P("div",ta,[a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[oa]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.cancellationStep1Description")),1)]),_:1})])):n.value.mode==="1"||!n.value.mode?(h(),P("div",aa,[a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[la]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.step1Description")),1)]),_:1})])):n.value.mode==="2"?(h(),P("div",ia,[a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[na]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.addApplicationStep1Description")),1)]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$i18n.locale==="ja"?"\uFF08":" ("),1)]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#d03050"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.addApplicationWarning")),1)]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$i18n.locale==="ja"?"\uFF09\u3002":")."),1)]),_:1})])):B("",!0)]),A("div",ra,[a(i(b),null,{default:t(()=>[sa]),_:1}),a(i(b),null,{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.selectFilledFile")),1)]),_:1})]),A("div",ca,[a(he,{ref_key:"excelUploadRef",ref:me,"file-list":M.value,"onUpdate:file-list":o[8]||(o[8]=p=>M.value=p),"default-upload":!1,accept:".xlsx,.xls",max:1,onBeforeUpload:mt,onChange:ht},{default:t(()=>[a(i(R),{type:"primary",ghost:""},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.uploadButton")),1)]),_:1})]),_:1},8,["file-list"])]),I.value.length>0?(h(),L(i(Ro),{key:3,type:"error",title:e.$t("data.electricityServiceApplication.checkFailed"),style:{"margin-top":"14px"}},{default:t(()=>[a(J,{style:{"max-height":"200px"}},{default:t(()=>[A("ul",da,[(h(!0),P(ee,null,eo(I.value,(p,Ft)=>(h(),P("li",{key:Ft},[p.rowNumber!=null?(h(),P(ee,{key:0},[r(s(e.$t("data.electricityServiceApplication.rowLabel",[p.rowNumber]))+": "+s(p.message),1)],64)):(h(),P(ee,{key:1},[r(s(p.message),1)],64))]))),128))])]),_:1})]),_:1},8,["title"])):B("",!0)],64)):E.value===2&&n.value.mode!=="9"?(h(),P(ee,{key:1},[n.value.mode==="3"?(h(),P("div",ua,[A("span",pa,s(e.$t("data.electricityServiceApplication.reApplicationStep1Description")),1)])):B("",!0),A("div",fa,s(e.$t("data.electricityServiceApplication.step2Title")),1),n.value.mode==="3"?(h(),P(ee,{key:1},[A("div",va,[a(i(b),{style:{"margin-right":"8px"}},{default:t(()=>[ma]),_:1}),a(i(R),{text:"",type:"primary",style:{padding:"0"},onClick:Be},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.downloadConsentFormat")),1)]),_:1})]),A("div",ya,[A("div",ha,[a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[ba]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.reApplicationStep2DescriptionWithExportPart1")),1)]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#d03050"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.reApplicationStep2DescriptionWithExportPart2")),1)]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.reApplicationStep2DescriptionWithExportPart3")),1)]),_:1})])]),A("div",ga,[a(i(b),{style:{"margin-right":"8px"}},{default:t(()=>[_a]),_:1}),a(i(R),{text:"",type:"primary",style:{padding:"0"},onClick:At},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.downloadPreviousConsent")),1)]),_:1})]),A("div",Sa,[A("div",Aa,[a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>
74[Ca]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.reApplicationStep2NoDeficiency")),1)]),_:1})])])],64)):(h(),P(ee,{key:2},[A("div",wa,[a(i(b),{style:{"margin-right":"8px"}},{default:t(()=>[Fa]),_:1}),a(i(R),{text:"",type:"primary",style:{padding:"0"},onClick:Be},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.downloadConsentWord")),1)]),_:1})]),n.value.mode==="1"?(h(),P("div",xa,[A("div",Ia,[a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[ka]),_:1}),a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.step2ConsentDescriptionNew")),1)]),_:1})])])):B("",!0),n.value.mode==="2"?(h(),P("div",$a,[A("div",Ra,[a(i(b),{style:{"font-size":"12px",color:"#999999"}},{default:t(()=>[r(" *"+s(e.$t("data.electricityServiceApplication.step2ConsentDescriptionAdd"))+s(e.$i18n.locale==="ja"?"\u3002":".")+s(e.$i18n.locale==="ja"?"\uFF08":" (")+s(e.$t("data.electricityServiceApplication.step2ConsentDescriptionAddWarning"))+s(e.$i18n.locale==="ja"?"\uFF09":")"),1)]),_:1})])])):B("",!0)],64)),A("div",Ba,[a(i(b),null,{default:t(()=>[Da]),_:1}),a(i(b),null,{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.selectConsentPdfFile")),1)]),_:1})]),A("div",za,[a(he,{ref_key:"consentUploadRef",ref:pe,"file-list":Y.value,"onUpdate:file-list":o[9]||(o[9]=p=>Y.value=p),"default-upload":!1,accept:".pdf",max:1,onBeforeUpload:yt,onChange:bt},{default:t(()=>[a(i(R),{type:"primary",ghost:""},{default:t(()=>[r(s(e.$t("data.electricityServiceApplication.uploadButton")),1)]),_:1})]),_:1},8,["file-list"])])],64)):B("",!0)]),_:1},8,["model"]))])]),_:1},8,["id","show","title"]),a(de,{id:de.uuid(),show:i(z).visibleRef.value,"onUpdate:show":o[12]||(o[12]=p=>i(z).visibleRef.value=p),preset:"card",title:e.$t("data.electricityServiceApplication.abnormalInfo.title"),style:{width:"600px"},class:"fixed-dialog-container",bordered:!1,size:"huge","mask-closable":!1},{footer:t(()=>[a(d,{justify:"end"},{default:t(()=>[a(i(R),{type:"primary",ghost:"",onClick:o[11]||(o[11]=p=>i(z).close())},{default:t(()=>[r(s(e.$t("common.cancel")),1)]),_:1})]),_:1})]),default:t(()=>[A("div",Ea,[a(i(No),{column:1,bordered:""},{default:t(()=>[a(i(Ie),{label:e.$t("data.electricityServiceApplication.abnormalInfo.errorType")},{default:t(()=>[r(s(O.value.errorType),1)]),_:1},8,["label"]),O.value.showErrorReason?(h(),L(i(Ie),{key:0,label:e.$t("data.electricityServiceApplication.abnormalInfo.errorReason")},{default:t(()=>[r(s(O.value.errorReason),1)]),_:1},8,["label"])):B("",!0),a(i(Ie),{label:e.$t("data.electricityServiceApplication.abnormalInfo.detail")},{default:t(()=>[A("div",Pa,s(O.value.detail),1)]),_:1},8,["label"])]),_:1})])]),_:1},8,["id","show","title"]),a(de,{id:de.uuid(),show:fe.value,"onUpdate:show":o[14]||(o[14]=p=>fe.value=p),preset:"card",title:"\u904E\u53BB\u30C7\u30FC\u30BF\u53D6\u5F97",style:{width:"420px"},"mask-closable":!1},{default:t(()=>[A("div",Ma,[a(i(b),{depth:"3",style:{"font-size":"12px",display:"block","margin-bottom":"12px"}},{default:t(()=>[Na,Oa,Ua,Ta,Ya]),_:1}),a(d,{justify:"end",style:{"margin-top":"16px"}},{default:t(()=>[a(i(R),{onClick:o[13]||(o[13]=p=>fe.value=!1)},{default:t(()=>[r(s(e.$t("common.cancel")),1)]),_:1}),a(i(R),{type:"primary",loading:we.value,onClick:Ge},{default:t(()=>[ja]),_:1},8,["loading"])]),_:1})])]),_:1},8,["id","show"])],64)}}});var el=Yt(La,[["__scopeId","data-v-f451bfd2"]]);export{el as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.