PageSourceSearch

https://92glory.ai/assets/js/index-B15wEvwa.js

js 92glory.ai collected 2026-10-05 15:18:58 UTC 8,086 bytes, 1 lines download raw bytes

1import{a0 as P,j as v,aB as Q,b as F,aX as X,r as Z,e as G,db as J,dg as z,eu as W,ev as j,o as b,bm as Y,_ as M,P as y,H as x,I as B,T as a,ax as h,U as r,Q as c,ae as S,a3 as R,ad as E,a7 as O,a8 as q,l as $,C as ee,b7 as oe,bk as se,bD as ae,eD as te,s as le,ai as ie}from"./index-Vr4RTydK.js";import{P as ne,u as de,a as re,v as ce}from"./index-Pxer6hG7.js";import{u as H,V as me}from"./vsImgVideo-BGQ1L6b1.js";const ue="/assets/png/video1-C-ZKyBiu.png",ge=P({__name:"uploadImage",props:{fileListImg:{type:null,required:!0},fileListVideo:{type:null,required:!0},readonly:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!0,default:!1}},emits:["update:fileListImg","update:fileListVideo"],setup(s,{expose:o,emit:n}){o();const e=s,{goMerchant:w}=H(),m=v(!1),u=v(""),{localStore:l}=J(),{fileListImg:d,fileListVideo:t}=Q(e,n),{t:V}=F(),L=X(),_=Z({baseUrl:"",signedUrl:""}),C=()=>{m.value=!1,_.baseUrl="",t.value=[],u.value=""},k=v(!1),g=v(!1),I=async(f,A)=>{const U=z({message:V("upLoaderL"),forbidClick:!0,duration:0,overlay:!0}),N=W()+"."+j(f.file.type);try{const D=l.get("ar_p_t")||"",T=await ne({token:D,objectName:N,contentType:f.file.type});T.code==="1"&&(_.baseUrl=T.data.baseUrl,_.signedUrl=T.data.signedUrl,await de(f,T.data.signedUrl)?(f.file.objectName=N,f.file.objectSuffix=j(f.file.type),A?.name===2&&(u.value=N,m.value=!0)):(b(T.msg),setTimeout(()=>{w()},1500)))}catch{}finally{U.close()}},i=G(()=>[ce,`${L.getOSSUrl}/vsvideo/vsVideo.mp4`]),p={goMerchant:w,props:e,emit:n,uploadV:m,VideoName:u,localStore:l,fileListImg:d,fileListVideo:t,t:V,setting:L,page:_,clearVideo:C,showVsImg:k,showVsVideo:g,afterRead:I,getVsImgVideo:i,get updateImgIcon(){return re},get videoIcon(){return ue},get showToast(){return Y},VsImgVideo:me};return Object.defineProperty(p,"__isScriptSetup",{enumerable:!1,value:!0}),p}}),pe=s=>(O("data-v-d588317f"),s=s(),q(),s),fe={class:"updaloadImage"},ve={class:"img"},Ve={class:"title mb12 x-row x-row-between x-row-middle"},_e=pe(()=>a("span",{style:{color:"#ee4d4d"}},"*",-1)),he={class:"uploadImg x-row x-column x-row-middle-center"},we={class:"tip-p mt5 pb10"},Ie={class:"img video"},be={class:"title mb12 x-row x-row-between x-row-middle"},ye={class:"uploadImg x-row x-column x-row-middle-center"},Le={key:0,class:"videoBox"},Ue=["src"],Te=["src"],xe={controls:""},ke=["src"],Se=["src"],Ce=["src"];function Ae(s,o,n,e,w,m){const u=y("van-image"),l=y("van-uploader"),d=y("van-icon");return x(),B("div",fe,[a("div",ve,[a("div",Ve,[a("h1",null,[_e,h(r(s.$t("sellTip13",[e.fileListImg.length])),1)]),a("div",{class:"right",onClick:o[0]||(o[0]=()=>e.showVsImg=!0)},r(s.$t("vsImg")),1)]),c(l,{disabled:n.disabled,"after-read":e.afterRead,modelValue:e.fileListImg,"onUpdate:modelValue":o[1]||(o[1]=t=>e.fileListImg=t),"max-count":3,"max-size":5e3*1024,onOversize:o[2]||(o[2]=()=>e.showToast(s.$t("sellTip14"))),accept:"image/*",readonly:n.readonly,name:1},{default:S(()=>[a("div",he,[c(u,{width:"25",height:"25",fit:"cover",src:e.updateImgIcon},null,8,["src"]),h(" "+r(s.$t("uploadImage")),1)])]),_:1},8,["disabled","modelValue","readonly"]),a("div",we,[c(d,{name:"warning",color:"#F63E3E",class:"img"}),h(" "+r(s.$t("sellTip15")),1)])]),a("div",Ie,[a("div",be,[a("h1",null,r(s.$t("sellTip16",[e.fileListVideo.length])),1),a("div",{class:"right",onClick:o[3]||(o[3]=()=>e.showVsVideo=!0)},r(s.$t("vsVideo")),1)]),h(" "+r(e.VideoName)+" ",1),c(l,{disabled:n.disabled,"after-read":e.afterRead,modelValue:e.fileListVideo,"onUpdate:modelValue":o[4]||(o[4]=t=>e.fileListVideo=t),"max-count":1,"max-size":5e4*1024,onOversize:o[5]||(o[5]=()=>e.showToast(s.$t("sellTip17"))),accept:"video/*",readonly:n.readonly,name:2,"preview-image":!1},{default:S(()=>[a("div",ye,[c(u,{width:"25",height:"25",fit:"contain",src:e.videoIcon},null,8,["src"]),h(" "+r(s.$t("UploadVideo")),1)])]),_:1},8,["disabled","modelValue","readonly"]),e.uploadV||e.fileListVideo.length>0?(x(),B("div",Le,[a("div",{class:"del",onClick:e.clearVideo},[c(d,{class:"icon",name:"cross"})]),a("video",{class:"v",controls:"",src:e.fileListVideo[0].url?e.fileListVideo[0].url:e.page?.baseUrl+e.VideoName},null,8,Ue)])):R("v-if",!0)]),e.showVsImg?(x(),E(e.VsImgVideo,{key:0,show:e.showVsImg,"onUpdate:show":o[6]||(o[6]=t=>e.showVsImg=t)},{default:S(()=>[a("img",{src:e.getVsImgVideo[0]},null,8,Te)]),_:1},8,["show"])):R("v-if",!0),e.showVsVideo?(x(),E(e.VsImgVideo,{key:1,show:e.showVsVideo,"onUpdate:show":o[7]||(o[7]=t=>e.showVsVideo=t)},{default:S(()=>[a("video",xe,[a("source",{src:e.getVsImgVideo[1],type:"video/ogg"},null,8,ke),a("source",{src:e.getVsImgVideo[1],type:"video/mp4"},null,8,Se),a("source",{src:e.getVsImgVideo[1],type:"video/webm"},null,8,Ce)])]),_:1},8,["show"])):R("v-if",!0)])}const Ne=M(ge,[["render",Ae],["__scopeId","data-v-d588317f"],["__file","/home/jenkins/agent/workspace/AR087-Pages-pakistan-92glory/src/components/ArUPI/uploadImage.vue"]]),Re=P({__name:"index",setup(s,{expose:o}){o();const{goMerchant:n}=H(),{t:e}=F(),w=$(),m=v("");function u(){w.push({name:"kycAppeal"})}const l=v([]),d=v([]);ee(()=>{L()});const t=v(!1),V=v(),L=async()=>{const g=await se({});if(g.code==="1"){const{existAppeal:I,appealReason:i,images:p,video:f,url:A}=g.data;t.value=I,m.value=i,V.value=A,l.value=p?p.split(",").map(U=>({url:U})):[],d.value=f?f.split(",").map(U=>({url:U})):[]}else b(g.msg),setTimeout(()=>{n()},1500)},_=g=>g.map(i=>{if(i.url)return i.url.split("/").pop();if(i.file&&i.file.objectName)return i.file.objectName}),C=oe(async()=>
1{if(t.value)return;if(!V.value||V.value.length<12)return b(e("formatIncorrect"));if(!m.value)return b(e("sellTip3"));if(l.value.length<1)return b(e("sellTip15"));await ae({title:e("notice"),message:e("appealTip")});const g=z({message:e("submitting"),forbidClick:!0,duration:0,overlay:!0});let I=[],i=[];l.value.length>0&&(I=_(l.value)),d.value.length>0&&(i=_(d.value));try{const p=await te({appealReason:m.value,video:i?i[0]:"",images:I.join(","),utr:V.value});setTimeout(()=>{g.close()},2e3),p.code==="1"?le({message:e("SubmittedS"),wordBreak:"break-word"}):b(p.msg),setTimeout(()=>{n()},1500)}catch{g.close()}},1e3),k={goMerchant:n,t:e,router:w,message:m,onClick:u,fileListImg:l,fileListVideo:d,existAppeal:t,utrVal:V,getDetail:L,getFileNameUUID:_,onSubmit:C,UploadImage:Ne};return Object.defineProperty(k,"__isScriptSetup",{enumerable:!1,value:!0}),k}}),K=s=>(O("data-v-a2909dfe"),s=s(),q(),s),Be={class:"appeal"},De={class:"appealTip"},je={class:"title"},Ee=K(()=>a("h1",null,[a("span",{style:{color:"#EE4D4D"}},"*"),h(" UTR(UPI Ref.ID)")],-1)),Pe=K(()=>a("span",{style:{color:"#EE4D4D"}},"*",-1));function Fe(s,o,n,e,w,m){const u=y("NavBar"),l=y("van-icon"),d=y("van-field");return x(),B("div",Be,[c(u,{title:s.$t("Appeal"),placeholder:!1,"left-arrow":"",onClickLeft:e.onClick},null,8,["title"]),a("div",De,[a("div",je,[c(l,{name:"warning",class:"img",size:"14"}),h(r(s.$t("notice")),1)]),a("p",null,r(s.$t("appealTip")),1)]),Ee,c(d,{disabled:e.existAppeal,modelValue:e.utrVal,"onUpdate:modelValue":o[0]||(o[0]=t=>e.utrVal=t),modelModifiers:{trim:!0},label:"",type:"text",maxlength:"12",placeholder:s.$t("enterUtr")},null,8,["disabled","modelValue","placeholder"]),a("h1",null,[Pe,h(" "+r(s.$t("ReasonFAppeal")),1)]),c(d,{disabled:e.existAppeal,modelValue:e.message,"onUpdate:modelValue":o[1]||(o[1]=t=>e.message=t),modelModifiers:{trim:!0},rows:"2",label:"",type:"textarea",maxlength:"60","show-word-limit":"",placeholder:s.$t("sellTip3")},null,8,["disabled","modelValue","placeholder"]),c(e.UploadImage,{disabled:e.existAppeal,fileListImg:e.fileListImg,"onUpdate:fileListImg":o[2]||(o[2]=t=>e.fileListImg=t),fileListVideo:e.fileListVideo,"onUpdate:fileListVideo":o[3]||(o[3]=t=>e.fileListVideo=t)},null,8,["disabled","fileListImg","fileListVideo"]),a("div",{class:ie(["cmdBth mt16 x-row x-row-middle-center",e.existAppeal?"":"active"]),onClick:o[4]||(o[4]=(...t)=>e.onSubmit&&e.onSubmit(...t))},r(s.$t("selltip4")),3)])}const He=M(Re,[["render",Fe],["__scopeId","data-v-a2909dfe"],["__file","/home/jenkins/agent/workspace/AR087-Pages-pakistan-92glory/src/views/arupi/Appeal/index.vue"]]);export{He 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.