PageSourceSearch

https://infotecs.ru/local/assets-cabinet/assets/CkoidsgT.js

js infotecs.ru collected 2026-10-02 04:26:59 UTC 5,360 bytes, 1 lines download raw bytes

1import{bW as e,cB as t,bJ as a,a_ as o,aM as s,v as r,J as l,bK as i,t as m,bl as n,u as p,i as u,av as c,aV as f,d0 as b,cR as d,dw as j}from"./rPzCxgu2.js";import{u as v}from"./CwP8bcUW.js";import{f as y}from"./DLFLO9hm.js";import{f as k}from"./BRiGfuMI.js";import{A as g}from"./B1iOZVx-.js";import w from"./BdDx9hpI.js";import x from"./CkEA8YZA.js";import{_ as h}from"./BeuCtFje.js";import{T as C}from"./BQj39_4F.js";import{u as T}from"./2nveb-EW.js";import{e as R}from"./C8QyuuN7.js";import"./KgtIwDoS.js";import"./DiaHg6OO.js";import"./BGdkP2tZ.js";import"./D_8At7Qg.js";import"./DRJczjAW.js";import"./BCo6x5W8.js";import"./CflUcBGO.js";import"./CdfE0Y9Q.js";import"./BiVzHQPq.js";import"./BvIBVZyP.js";import"./B6ZI0tfh.js";/* empty css        *//* empty css        */import"./DAhM8zI8.js";import"./pTAra9j1.js";import"./B2ngeV_0.js";import"./z1uGv1XI.js";import"./BZFqKOVV.js";import"./B9HCdCam.js";import"./BP0Qtch8.js";import"./DH8wk0CJ.js";import"./DyA0rmCF.js";import"./CdFh0n3O.js";import"./CUlxn__V.js";import"./D1DH0B25.js";import"./Cigs5uJq.js";import"./CMqbmjDo.js";import"./XSGnpf5l.js";import"./YuzqTGE4.js";import"./CmalZX-0.js";import"./DKpIrpRZ.js";/* empty css        */import"./WnJqaMM1.js";import"./BmVwLxyz.js";/* empty css        */import"./xqdr7bjs.js";import"./BZhIKqNW.js";import"./BNRBXPsD.js";import"./BRdKMUQE.js";const P=Object.assign({name:"RefundPrList"},{async setup(P){let _,B,E=null;const{$bFactory:O,$bemStringFactory:S}=e("b-refund-pr"),{setTitlePage:D}=T(),N=v(),L=S(),M=O("b-refund-pr"),U=f(null),$=f(!1),A=f(!1),F=f("Заявки на возмещение маркетингового фонда на PR"),V=f(null),G=f("У вас пока нет заявок на возмещение по PR активностям"),I=f("Ошибка, попробуйте еще раз через несколько минут"),J=f("Загрузка..."),q=[["Договор на совместный PR","/cabinet/template/pr-deal/",{classString:""},"doc"],["Памятка для совместного PR","/cabinet/template/pr-memo/",{classString:""},"pdf"]],z=e=>N.push({name:"RefundPrNew"});return document.addEventListener("modal-manager-ready",e=>A.value=!0),D(F.value),E=globalThis[t]?.ModalManager,!1===E?.isLoaded&&([_,B]=a(()=>(async({trigger:e=null})=>await b({onCheck:e=>A.value,onComplit:t=>e&&e(),maxCount:50}))({})),await _,B()),[_,B]=a(()=>(async()=>{let e=!1;const{csrfToken:t=null}=await d("info"),a=await R("list",{csrf:t}).catch(t=>{e=!0,U.value=!1,$.value=!0}),{items:o=[]}=a||{};if(e)return null;U.value=!0;let s=V.value=new C({header:C.makeRow(C.makeCell.bind(C,"Дата заявки",{col:2,align:"center",isTitle:!0,type:"date",isOverflow:!1}),C.makeCell.bind(C,"Номер заявки",{col:2,align:"center",isTitle:!0,dataType:"html",isOverflow:!1}),C.makeCell.bind(C,"Название СМИ",{col:3,isTitle:!0}),C.makeCell.bind(C,"Общая стоимость",{col:2,align:"right",isTitle:!0,dataType:"html",type:"number",isOverflow:!1}),C.makeCell.bind(C,"Сумма возмещения",{col:2,align:"right",isTitle:!0,dataType:"html",type:"number",isOverflow:!1}),C.makeCell.bind(C,"Статус",{col:3,isTitle:!0,isOverflow:!1}))({})});o.sort((e,t)=>e.createDate>t.createDate?-1:1).forEach(e=>{const{cost:t,createDate:a,mediumName:o,refund:r,status:l,ticketNumber:i}=e;s.addBodyRow(e=>{return C.makeRow(C.makeCell.bind(C,j(a).format(y)),C.makeCell.bind(C,`<a class="b-table__link" href="${s=i}">${s}</a>`,{onClick:e=>((e,t)=>{t&&t.stopPropagation(),t&&t.preventDefault();const{value:a=null}=e;N.push({name:"RefundPrExist",params:{id:a}})})({value:i},e)}),C.makeCell.bind(C,o),C.makeCell.bind(C,k(t,{modBase:"b-table__text--currency:",type:"RUR",spfix:" "})),C.makeCell.bind(C,k(r,{modBase:"b-table__text--currency:",type:"RUR",spfix:" "})),C.makeCell.bind(C,l))({});var s})}),s.setupBody(),V.value=s,$.value=!0})()),await _,B(),(e,t)=>{const a=o("StdButton");return s(),r("div",{class:c(n(M)`b-form-component,view,list`)},[l(u,{name:"fade",appear:""},{default:i(()=>[U.value?(s(),m(x,{key:0,listToShowProps:["marketingFundValue"],classes:{"certificate-box":n(M)`b-form-component,certificate-box`},isShowCertificate:!1},{certificate:i(()=>[l(a,{BEMBlockProp:"b-button",params:{fieldParams:{hasIcon:!0},classes:{root:n(L)([n(M)`b-form-component,button`,n(M)`b-button,,primary`,n(M)`b-button,,icon-plus-left`]),icon:n(M)`b-form-component,button-icon`},texts:{text:"Добавить заявку"}},onAction:z},null,8,["params"])]),info:i(()=>[l(g,{links:q})]),_:1},8,["classes"])):p("",!0)]),_:1}),l(u,{name:"fade",mode:"out-in",appear:""},{default:i(()=>[$.value&&U.value&&V.value&&n(C).hasBody(V.value)?(s(),m(h,{key:"table",table:V.value,classes:{root:n(M)`b-form-component,table-component`,table:n(M)`b-form-component,table`,body:n(M)`b-form-component,body`,footer:n(M)`b-form-component,footer`}},null,8,["table","classes"])):$.value?$.value&&!V.value?(s(),m(w,{key:"statusError",text:I.value,enumType:"error"},null,8,["text"])):$.value&&U.value&&V.value&&!n(C).hasBody(V.value)?(s(),m(w,{class:c(n(M)`b-form-component,notification`),key:"statusEmpty",text:G.value,enumType:"success"},null,8,["class","text"])):p("",!0):(s(),m(w,{key:"statusLoading",class:c(n(M)`b-form-component,spinner`),text:J.value,enumType:"loading"},null,8,["class","text"]))]),_:1})],2)}}}
vendor: 24 bytes, line 1
1);export{P 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.