Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64
Your IP : 3.17.76.163
{"version":3,"sources":["pages/sel_qp_setter/uploadedQPDet.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","l","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","this","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","UploadedQPData","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","data","props","fset","setno","fqpcodeno","section","uploadQPMODFIle","_ref","_asyncToGenerator","_callee","qpcode","set","teachcode","fyear","fexamtype","formdata","_context","FormData","append","univcode","target","files","window","confirm","alert","_x","_x2","_x3","_x4","_x5","_x6","_x7","uploadAnsMODFIle","_ref2","_callee2","_context2","_x8","_x9","_x10","_x11","_x12","_x13","_x14","uploadMODFormFIle","_ref3","_callee3","_context3","_x15","_x16","_x17","_x18","_x19","_x20","_x21","_inherits","_createClass","key","_this2","React","createElement","style","width","border","background","height","textAlign","paddingLeft","subname","href","url","rel","paddingTop","map","el","qpUrl","fqpfilepath","ansKeyUrl","fanskeypath","padding","onChange","fteachcode","fmodqpupd","fmodanskey","fmodform","Component","connect","modUpdData","getModU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ACED,IAAAC,cAAA,KAAGvC,OAAO,SAASgD,KAxFzB,iGAwF0C,4BAItCV,IAAAC,cAAA,WACAD,IAAAC,cAAA,WACAD,IAAAC,cAAA,SACErJ,KAAK,OACLyK,SAAU,SAACrM,GAAC,OACV+K,EAAKd,kBACHjK,EACA+K,EAAKxD,MAAMS,OACX+D,EAAGvE,KACHuE,EAAGO,WACHP,EAAGrE,UACHqE,EAAG5D,MACH4D,EAAG3D,cAIQ,KAAhB2D,EAAGU,UACFzB,IAAAC,cAAA,KACES,KAAMC,EAAMI,EAAGU,SACf/D,OAAO,SACPkD,IAAI,uBACL,oBAatBrF,EAlViB,CAASmG,aAwVdC,sBAJS,SAACtF,GACvB,MAAO,CAAEuF,WAAYvF,EAAMwF,gBAGW,CACtCC,cACAlF,oBACA0B,qBACAW,sBACA4C,mBALaF,CAMZpG","file":"static/js/302.d459810e.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport {\r\n Item,\r\n Table,\r\n Card,\r\n Button,\r\n Form,\r\n Dropdown,\r\n Divider,\r\n Icon,\r\n input,\r\n Input,\r\n} from \"semantic-ui-react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport {\r\n uploadQPMODFIle,\r\n uploadAnsMODFIle,\r\n uploadMODFormFIle,\r\n getModUpdData,\r\n} from \"../../actions/teacher/teacherentry\";\r\nimport { showError } from \"../../actions\";\r\n\r\nclass UploadedQPData extends Component {\r\n state = {\r\n data: this.props.data,\r\n fset: this.props.setno,\r\n fqpcodeno: this.props.section,\r\n };\r\n\r\n uploadQPMODFIle = async (\r\n e,\r\n qpcode,\r\n set,\r\n teachcode,\r\n fqpcodeno,\r\n fyear,\r\n fexamtype\r\n ) => {\r\n // let filename = e.target.files[0].name;\r\n // let splitext = filename.split(\".\");\r\n // let extendfile = splitext[1];\r\n // if (extendfile != \"docx\" && extendfile != \"doc\") {\r\n // const error = {\r\n // header: \"Error\",\r\n // content: `Upload Only Word file`,\r\n // };\r\n // this.props.showError(error);\r\n // return;\r\n // }\r\n const formdata = new FormData();\r\n formdata.append(\"univcode\", this.props.univcode);\r\n formdata.append(\"qpmodfile\", e.target.files[0]);\r\n formdata.append(\"qpcode\", qpcode);\r\n formdata.append(\"set\", set);\r\n formdata.append(\"fqpcodeno\", fqpcodeno);\r\n formdata.append(\"teachcode\", teachcode);\r\n formdata.append(\"fyear\", fyear);\r\n formdata.append(\"fexamtype\", fexamtype);\r\n if (window.confirm(\"Do You Want to Upload\")) {\r\n await this.props.uploadQPMODFIle(formdata);\r\n // await this.props.getModUpdData(\r\n // this.props.univcode,\r\n // this.props.qpcode,\r\n // this.props.teachcode,\r\n // this.props.userid,\r\n // this.props.set\r\n // );\r\n // await this.setState({\r\n // data: this.props.modUpdData,\r\n // fset: this.props.setno,\r\n // });\r\n } else {\r\n alert(\"You Pressed Cancelled\");\r\n }\r\n };\r\n\r\n uploadAnsMODFIle = async (\r\n e,\r\n qpcode,\r\n set,\r\n teachcode,\r\n fqpcodeno,\r\n fyear,\r\n fexamtype\r\n ) => {\r\n // let filename = e.target.files[0].name;\r\n // let splitext = filename.split(\".\");\r\n // let extendfile = splitext[1];\r\n // if (extendfile != \"docx\" && extendfile != \"doc\") {\r\n // const error = {\r\n // header: \"Error\",\r\n // content: `Upload Only Word file`,\r\n // };\r\n // this.props.showError(error);\r\n // return;\r\n // }\r\n const formdata = new FormData();\r\n formdata.append(\"univcode\", this.props.univcode);\r\n formdata.append(\"ansmodfile\", e.target.files[0]);\r\n formdata.append(\"qpcode\", qpcode);\r\n formdata.append(\"set\", set);\r\n formdata.append(\"fqpcodeno\", fqpcodeno);\r\n formdata.append(\"teachcode\", teachcode);\r\n formdata.append(\"fyear\", fyear);\r\n formdata.append(\"fexamtype\", fexamtype);\r\n if (window.confirm(\"Do You Want to Upload\")) {\r\n await this.props.uploadAnsMODFIle(formdata);\r\n // await this.props.getModUpdData(\r\n // this.props.univcode,\r\n // this.props.qpcode,\r\n // this.props.teachcode,\r\n // this.props.userid,\r\n // this.props.set\r\n // );\r\n // await this.setState({\r\n // data: this.props.modUpdData,\r\n // fset: this.props.setno,\r\n // });\r\n } else {\r\n alert(\"You Pressed Cancelled\");\r\n }\r\n };\r\n\r\n uploadMODFormFIle = async (\r\n e,\r\n qpcode,\r\n set,\r\n teachcode,\r\n fqpcodeno,\r\n fyear,\r\n fexamtype\r\n ) => {\r\n // let filename = e.target.files[0].name;\r\n // let splitext = filename.split(\".\");\r\n // let extendfile = splitext[1];\r\n // if (extendfile != \"docx\" && extendfile != \"doc\") {\r\n // const error = {\r\n // header: \"Error\",\r\n // content: `Upload Only Word file`,\r\n // };\r\n // this.props.showError(error);\r\n // return;\r\n // }\r\n const formdata = new FormData();\r\n formdata.append(\"univcode\", this.props.univcode);\r\n formdata.append(\"modfile\", e.target.files[0]);\r\n formdata.append(\"qpcode\", qpcode);\r\n formdata.append(\"set\", set);\r\n formdata.append(\"fqpcodeno\", fqpcodeno);\r\n formdata.append(\"teachcode\", teachcode);\r\n formdata.append(\"fyear\", fyear);\r\n formdata.append(\"fexamtype\", fexamtype);\r\n if (window.confirm(\"Do You Want to Upload\")) {\r\n await this.props.uploadMODFormFIle(formdata);\r\n // await this.props.getModUpdData(\r\n // this.props.univcode,\r\n // this.props.qpcode,\r\n // this.props.teachcode,\r\n // this.props.userid,\r\n // this.props.set\r\n // );\r\n // await this.setState({\r\n // data: this.props.modUpdData,\r\n // fset: this.props.setno,\r\n // });\r\n } else {\r\n alert(\"You Pressed Cancelled\");\r\n }\r\n };\r\n\r\n render() {\r\n return (\r\n <div>\r\n <table style={{ width: \"100%\", border: \"1px Solid\" }}>\r\n <thead\r\n style={{ background: \"tan\", height: \"40px\", textAlign: \"center\" }}\r\n >\r\n <tr>\r\n <th style={{ border: \"1px Solid\" }}>Sl. No.</th>\r\n <th style={{ border: \"1px Solid\" }}>QP Code </th>\r\n <th style={{ border: \"1px Solid\" }}>Course Name</th>\r\n <th style={{ border: \"1px Solid\" }}>Syllabus</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr style={{ height: \"30px\" }}>\r\n <td style={{ border: \"1px Solid\", textAlign: \"center\" }}>\r\n {this.props.setno}\r\n </td>\r\n <td style={{ border: \"1px Solid\", textAlign: \"center\" }}>\r\n {this.props.qpcode}\r\n </td>\r\n <td style={{ border: \"1px Solid\", paddingLeft: \"10px\" }}>\r\n {this.props.subname}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px Solid\",\r\n textAlign: \"center\",\r\n }}\r\n >\r\n <a\r\n href={this.props.url}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n >\r\n View\r\n </a>\r\n </td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n <div style={{ paddingTop: \"20px\" }}>\r\n <table style={{ width: \"100%\", border: \"1px Solid\" }}>\r\n <thead\r\n style={{ background: \"tan\", height: \"40px\", textAlign: \"center\" }}\r\n >\r\n <tr>\r\n <th style={{ border: \"1px Solid\" }}>Sl No. </th>\r\n {/* <th style={{ border: \"1px Solid\" }}>Teacher Code </th> */}\r\n <th style={{ border: \"1px Solid\" }}>QP FILE</th>\r\n <th style={{ border: \"1px Solid\" }}>ANS KEY FILE</th>\r\n <th style={{ border: \"1px Solid\" }}>QPMOD FORM</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n {this.state.data.map((el, i) => {\r\n let url = \"https://moderator-upd.s3.ap-south-1.amazonaws.com/\";\r\n\r\n const qpUrl =\r\n \"https://universitysolutions.in/univadmin/\" + el.fqpfilepath;\r\n const ansKeyUrl =\r\n \"https://universitysolutions.in/univadmin/\" + el.fanskeypath;\r\n const modqpform =\r\n \"https://universitysolutions.in/univadmin/QP_Details/051/Q.P.moderation_format_14.03.2023.docx\";\r\n\r\n return (\r\n <tr style={{ height: \"30px\" }} key={i}>\r\n <td style={{ border: \"1px Solid\", textAlign: \"center\" }}>\r\n <b>{this.props.setno}</b>\r\n </td>\r\n {/* <td style={{ border: \"1px Solid\", textAlign: \"center\" }}>\r\n <b>{el.fteachcode}</b>\r\n </td> */}\r\n <td\r\n style={{\r\n border: \"1px Solid\",\r\n textAlign: \"center\",\r\n padding: \"10px\",\r\n }}\r\n >\r\n <b>\r\n <a target=\"_blank\" href={qpUrl}>\r\n DOWNLOAD QP FILE\r\n </a>\r\n </b>\r\n <br />\r\n <br />\r\n <input\r\n type=\"file\"\r\n onChange={(e) =>\r\n this.uploadQPMODFIle(\r\n e,\r\n this.props.qpcode,\r\n el.fset,\r\n el.fteachcode,\r\n el.fqpcodeno,\r\n el.fyear,\r\n el.fexamtype\r\n )\r\n }\r\n />\r\n {el.fmodqpupd !== \"\" && (\r\n <a\r\n href={url + el.fmodqpupd}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n >\r\n View\r\n </a>\r\n )}\r\n </td>\r\n <td\r\n style={{\r\n border: \"1px Solid\",\r\n textAlign: \"center\",\r\n padding: \"10px\",\r\n }}\r\n >\r\n <b>\r\n <a target=\"_blank\" href={ansKeyUrl}>\r\n DOWNLOAD ANS KEY\r\n </a>\r\n </b>\r\n <br />\r\n <br />\r\n <input\r\n type=\"file\"\r\n onChange={(e) =>\r\n this.uploadAnsMODFIle(\r\n e,\r\n this.props.qpcode,\r\n el.fset,\r\n el.fteachcode,\r\n el.fqpcodeno,\r\n el.fyear,\r\n el.fexamtype\r\n )\r\n }\r\n />\r\n {el.fmodanskey !== \"\" && (\r\n <a\r\n href={url + el.fmodanskey}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n >\r\n View\r\n </a>\r\n )}\r\n </td>\r\n <td style={{ border: \"1px Solid\", textAlign: \"center\" }}>\r\n <b>\r\n <a target=\"_blank\" href={modqpform}>\r\n DOWNLOAD MODERATOR FORM\r\n </a>\r\n </b>\r\n <br />\r\n <br />\r\n <input\r\n type=\"file\"\r\n onChange={(e) =>\r\n this.uploadMODFormFIle(\r\n e,\r\n this.props.qpcode,\r\n el.fset,\r\n el.fteachcode,\r\n el.fqpcodeno,\r\n el.fyear,\r\n el.fexamtype\r\n )\r\n }\r\n />\r\n {el.fmodform !== \"\" && (\r\n <a\r\n href={url + el.fmodform}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n >\r\n View\r\n </a>\r\n )}\r\n </td>\r\n </tr>\r\n );\r\n })}\r\n </tbody>\r\n </table>\r\n </div>\r\n </div>\r\n );\r\n }\r\n}\r\nconst mapStateToProps = (state) => {\r\n return { modUpdData: state.getModUpdData };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n showError,\r\n uploadQPMODFIle,\r\n uploadAnsMODFIle,\r\n uploadMODFormFIle,\r\n getModUpdData,\r\n})(UploadedQPData);\r\n"],"sourceRoot":""}
|