PageSourceSearch

https://investment.jitojiif.com/static/js/28622.1e29f196.chunk.js

js jitojiif.com collected 2026-09-26 01:04:27 UTC 4,321 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkscip_react=self.webpackChunkscip_react||[]).push([[28622],{28622(e,i,a){a.r(i),a.d(i,{default:()=>j});var t=a(89379),r=a(5544),s=a(9950),l=a(59335),n=a(97176),c=a(46114),d=a(83452),o=a(84084),u=a(88156),h=a(87537),v=a(91646),m=a(48029),w=a(745),b=a(9449),A=a(35887),x=a(98455),g=a(28429),f=a(44414);const j=()=>{const e=(0,b.mN)(),i=e.handleSubmit,a=(e.control,e.watch,e.reset);e.register,e.formState.errors;document.title="SCIP | View Review";const j=(0,s.useState)([]),p=(0,r.A)(j,2),I=p[0],N=p[1],k=window.location.search,S=new URLSearchParams(k).get("wtId"),_=(0,s.useState)([]),y=(0,r.A)(_,2),P=y[0],q=y[1],C=(0,g.Zp)();(0,s.useEffect)(()=>{U(),D()},[]);const U=()=>{let e={code:"notes"};w.A.getAPI({action:"/module-access",body:e}).then(e=>{q(e.result)}).catch(e=>{})},D=()=>{var e={};e.workflowTaskId=S,e.comefrom="view",w.A.getAPI({action:"/assigned-review-question",body:e}).then(e=>{e.data.question_data.is_Show_error=!0,N(e.data.question_data)}).catch(e=>{})};return(0,f.jsx)(s.Fragment,{children:(0,f.jsx)("div",{className:"page-content",children:(0,f.jsxs)(l.A,{fluid:!0,children:[(0,f.jsx)(m.A,{title:"View Review",pageTitle:"Dashboard"}),(0,f.jsx)(n.A,{children:(0,f.jsxs)(c.A,{lg:12,children:[(0,f.jsxs)(o.A,{className:"mb-2",children:[(0,f.jsx)(h.A,{className:"align-items-center card-header",children:(0,f.jsx)("h4",{className:"card-title card-title mb-0 me-2",children:P.label})}),(0,f.jsxs)(u.A,{children:[(0,f.jsx)("p",{className:"text-muted mb-1 f-16",children:(0,f.jsx)("b",{children:null===I||void 0===I?void 0:I.question_title})}),(0,f.jsxs)("p",{className:"text-muted mb-0",children:[(0,f.jsx)("b",{children:"Note:"})," You have been requested to add the following note about this deal."]})]})]}),(0,f.jsx)("form",{onSubmit:i(()=>{var e=0;for(var i in null===I||void 0===I?void 0:I.criteria)null!==I&&void 0!==I&&I.criteria[i].answer||e++;if(e>0)return void A.Ay.error("Please fill all fields");var r={};let s=[];for(var i in I.criteria){var l,n,c,d;s.push({criteria_id:null!==(l=null===(n=I.criteria[i])||void 0===n?void 0:n.criteriaId)&&void 0!==l?l:"",answer:null!==(c=null===(d=I.criteria[i])||void 0===d?void 0:d.answer)&&void 0!==c?c:""})}r.data=s,r.workflowTaskId=S,r.cnt=I.criteria.length,N((0,t.A)({},I)),w.A.postAPI({action:"/save-question-review",body:r}).then(e=>{a({}),A.Ay.success(e.message),D()}).catch(e=>{})}),children:(0,f.jsx)(o.A,{className:"mb-2",children:(0,f.jsxs)(u.A,{children:[(0,f.jsx)(n.A,{children:(0,f.jsx)(c.A,{lg:12,sm:12,children:I&&I.criteria&&I.criteria.length>0&&I.criteria.map(e=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("div",{className:"mb-3",children:[(0,f.jsxs)(v.A,{htmlFor:"VertimeassageInput",className:"form-label",children:[x.A.getTitleCase(e.criteria_title),(0,f.jsx)("i",{className:"ri-information-line align-bottom fs-16 ms-1"})]}),(0,f.jsx)("textarea",{className:"form-control",rows:3,value:e.answer?e.answer:"",placeholder:"Enter your message",disabled:"PENDING"!=I.task_status||I.asignUserId!=I.ASUID,onChange:i=>{e.answer=i.target.value,N((0,t.A)({},I))}})]}),null==e.answer&&(0,f.jsxs)("span",{className:"text-danger ms-1",children:["Please fill ",e.criteria_title]})]}))})}),("PENDING"==I.task_status||I.asignUserId==I.ASUID)&&(0,f.jsx)(n.A,{children:(0,f.jsxs)("div",{className:"hstack gap-2 justify-content-end",children:[(0,f.jsx)("button",{type:"submit",className:"btn btn-light",children:"Save"}),(0,f.jsx)(d.A,{className:"btn btn-brand-theme-save",onClick:()=>{(()=>{var e=0;for(var i in null===I||void 0===I?void 0:I.criteria)null!==I&&void 0!==I&&I.criteria[i].answer||e++;if(e>0)return void A.Ay.error("Please fill all fields");var r={};let s=[];for(var i in I.criteria){var l,n,c,d;s.push({criteria_id:null!==(l=null===(n=I.criteria[i])||void 0===n?void 0:n.criteriaId)&&void 0!==l?l:"",answer:null!==(c=null===(d=I.criteria[i])||void 0===d?void 0:d.answer)&&void 0!==c?c:""})}r.data=s,r.workflowTaskId=S,r.cnt=I.criteria.length,N((0,t.A)({},I)),w.A.postAPI({action:"/submit-question-review",body:r}).then(e=>{var i,t;a({}),A.Ay.success(e.message),C("/evaluation/review?UId="+window.btoa(null===(i=e.entrepreneurId)||void 0===i?void 0:i.toString())+"&CId="+window.btoa(null===(t=e.campaignId)||void 0===t?void 0:t.toString()))}).catch(e=>{})})()},children:"Submit"})]})})]})})})]})})]})})})}}}]);

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.