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 : 18.226.163.23
{"version":3,"sources":["pages/uplcorrdoc/index.js","../node_modules/semantic-ui-react/dist/es/elements/Divider/Divider.js","actions/uploadCorrDoc/index.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","uploadCorrDoc","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","remarks","submit","file","size","filenm","fileinfo","fileInputRef","React","createRef","handleChangeType","data","setState","handleChangeRemarks","corrFileChange","undefined","target","files","file_extn","split","toLowerCase","props","uploadCorr","formatBytes","showError","header","content","handleSubmitDoc","_asyncToGenerator","_callee","error","_error","_context","saveuplcorrdoc","handleDocUpload","_callee2","_context2","uploadDocData","_inherits","_createClass","key","_this2","_this$state","createElement","Fragment","Card","fluid","Content","Header","style","display","className","Link","to","Button","basic","color","icon","Divider","Description","overflowY","Form","height","Field","width","Dropdown","search","selection","id","options","text","onChange","placeholder","TextArea","onClick","uploaddoccorr","Table","celled","padded","Row","HeaderCell","singleLine","textAlign","Body","Cell","fid","ftype","fremarks","ref","hidden","primary","current","click","Component","connect","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default","classnames__WEBPACK_IMPORTED_MODULE_1__","classnames__WEBPACK_IMPORTED_MODULE_1___default","react__WEBPACK_IMPORTED_MODULE_2__","react__WEBPACK_IMPORTED_MODULE_2___default","_lib__WEBPACK_IMPORTED_MODULE_3__","_lib__WEBPACK_IMPORTED_MODULE_4__","_lib__WEBPACK_IMPORTED_MODULE_5__","_lib__WEBPACK_IMPORTED_MODULE_6__","children","clearing","fitted","horizontal","inverted","section","vertical","classes","rest","ElementType","isNil","handledProps","propTypes","__webpack_exports__","_ref","dispatch","getState","response","univadmin","get","params","univcode","user","fcuruniv","error_code","msg","payload","_x","_x2","_ref2","formData","FormData","set","post","headers","Content-type","_x3","_x4","doc","_ref3","_callee3","_error2","_error3","_context3","gfilename","upload","fqpfilenm","univ","funivcode","_x5","_x6","viewuplcorrdoc","_ref4","_callee4","_error4","_context4","viewType","_x7","_x8"],"mappings":"sTACAA,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EAAAK,eAAA,kBAAAC,EAAAN,EAAAO,aAAA,yBAAAC,EAAAjB,EAAAD,EAAAE,GAAA,OAAAC,OAAAK,eAAAP,EAAAD,EAAA,CAAAS,MAAAP,EAAAiB,YAAA,EAAAC,cAAA,EAAAC,UAAA,IAAApB,EAAAD,GAAA,IAAAkB,EAAA,aAAAjB,GAAAiB,EAAA,SAAAjB,EAAAD,EAAAE,GAAA,OAAAD,EAAAD,GAAAE,GAAA,SAAAoB,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EAEoB+K,IAAUC,IAAI,WAAY,CAC/CC,OAAQ,CACNvO,EAAG,iBACHgB,KAAMA,EAAK2P,SACXnC,SAAU/H,EAAMgI,KAAKC,YAEvB,OANIN,EAAQsC,EAAA3N,KAOdmL,EAAS,CACPlN,KAAM,iBAGqB,kBAAlBoN,EAAShH,MACZmB,EAAQ,CACZL,OAAQ,QACRC,QAAS,wBAEX+F,EAASjG,YAAUM,MACoB,IAA9B6F,EAAShH,KAAKuH,YACjBpG,EAAQ,CAAEL,OAAQ,QAASC,QAASiG,EAAShH,KAAKA,KAAKwH,KAC7DV,EAASjG,YAAUM,KAEnB2F,EAAS,CACPlN,KAAM,sBACN6N,QAAST,EAAShH,OAErB,wBAAAsJ,EAAAtL,SAAAoL,MACF,gBAAAI,EAAAC,GAAA,OAAAN,EAAAhK,MAAA5E,KAAAsE,YAtCD","file":"static/js/78.1fe2e128.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport {\r\n Card,\r\n Button,\r\n Dropdown,\r\n Divider,\r\n Form,\r\n TextArea,\r\n Table,\r\n} from \"semantic-ui-react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport { showError } from \"../../actions\";\r\nimport {\r\n saveuplcorrdoc,\r\n uploadCorr,\r\n uploadDocData,\r\n} from \"../../actions/uploadCorrDoc\";\r\nimport { wHeight, formatBytes } from \"../parms\";\r\n\r\nimport \"react-checkbox-tree/lib/react-checkbox-tree.css\";\r\n\r\nclass uploadCorrDoc extends Component {\r\n state = {\r\n type: \"\",\r\n remarks: \"\",\r\n submit: false,\r\n file: null,\r\n size: null,\r\n filenm: null,\r\n fileinfo: false,\r\n };\r\n\r\n fileInputRef = React.createRef();\r\n\r\n handleChangeType = (e, data) => {\r\n this.setState({\r\n type: data.value,\r\n });\r\n };\r\n\r\n handleChangeRemarks = (e, data) => {\r\n this.setState({\r\n remarks: data.value,\r\n });\r\n };\r\n\r\n corrFileChange = (e) => {\r\n if (e.target.files[0] === undefined) return;\r\n\r\n var file_size = e.target.files[0].size;\r\n var file_extn = e.target.files[0].name.split(\".\").pop();\r\n file_extn = file_extn.toLowerCase();\r\n\r\n if (file_extn == \"pdf\" || file_extn == \"jpeg\" || file_extn == \"jpg\") {\r\n } else {\r\n const error = {\r\n header: \"Error\",\r\n content: \"pdf ,jpeg and jpg files are allowed!\",\r\n };\r\n this.props.showError(error);\r\n return;\r\n }\r\n\r\n // if (file_extn !== \"pdf\" || file_extn !== \"jpeg\" || file_extn !== \"jpg\") {\r\n // const error = {\r\n // header: \"Error\",\r\n // content: \"pdf ,jpeg and jpg files are allowed!\",\r\n // };\r\n // this.props.showError(error);\r\n // return;\r\n // }\r\n\r\n // if (file_size >= 2000000) {\r\n // const error = {\r\n // header: \"Error\",\r\n // content: \"Upload files with size less then 2MB!\",\r\n // };\r\n // this.props.showError(error);\r\n // return;\r\n // }\r\n this.props.uploadCorr(e.target.files[0]);\r\n this.setState({\r\n file: e.target.files[0],\r\n size: formatBytes(e.target.files[0].size),\r\n filenm: e.target.files[0].name,\r\n });\r\n };\r\n\r\n handleSubmitDoc = async () => {\r\n if (this.state.type === \"\") {\r\n const error = { header: \"Error\", content: \"Select Type\" };\r\n this.props.showError(error);\r\n return;\r\n }\r\n if (this.state.remarks === \"\") {\r\n const error = { header: \"Error\", content: \"Enter Remarks\" };\r\n this.props.showError(error);\r\n return;\r\n }\r\n await this.props.saveuplcorrdoc(this.state);\r\n };\r\n\r\n handleDocUpload = async () => {\r\n if (this.state.file === null) {\r\n const error = { header: \"Error\", content: \"Add File to upload\" };\r\n this.props.showError(error);\r\n return;\r\n }\r\n await this.props.uploadDocData(this.state);\r\n };\r\n\r\n render() {\r\n const { type, remarks } = this.state;\r\n const type_options = [\r\n {\r\n key: 1,\r\n value: \"MM\",\r\n text: \"Marks Modification\",\r\n },\r\n {\r\n key: 2,\r\n value: \"Withheld Result\",\r\n text: \"Withheld Result\",\r\n },\r\n {\r\n key: 3,\r\n value: \"Exam Notifications\",\r\n text: \"Exam Notifications\",\r\n },\r\n {\r\n key: 4,\r\n value: \"Time table\",\r\n text: \"Time table\",\r\n },\r\n {\r\n key: 5,\r\n value: \"Results / RV / RT Notifications\",\r\n text: \"Results / RV / RT Notifications\",\r\n },\r\n {\r\n key: 6,\r\n value: \"Letters\",\r\n text: \"Letters (from Logisys / Uniclare to University or From University to Logisys / Uniclare)\",\r\n },\r\n {\r\n key: 7,\r\n value: \"Agreements / Work Orders\",\r\n text: \"Agreements / Work Orders\",\r\n },\r\n ];\r\n return (\r\n <>\r\n <Card fluid>\r\n <Card.Content>\r\n <Card.Header style={{ display: \"flex\" }}>\r\n <h3>Upload Correction Document</h3>\r\n <div className=\"ml-auto\">\r\n <Link to=\"/viewcorrectondoc\">\r\n <Button basic color=\"blue\" content=\"View\" icon=\"eye\" />\r\n </Link>\r\n <Link to=\"/dashboard\">\r\n <Button basic color=\"red\" content=\"Exit\" icon=\"home\" />\r\n </Link>\r\n </div>\r\n </Card.Header>\r\n <Divider />\r\n <Card.Description style={{ overflowY: \"auto\" }}>\r\n <Form style={{ height: \"350px\" }}>\r\n <Form.Field width={8}>\r\n <label>Type</label>\r\n <Dropdown\r\n search\r\n selection\r\n id=\"ftype\"\r\n name=\"ftype\"\r\n options={type_options}\r\n onChange={this.handleChangeType}\r\n value={type}\r\n placeholder=\"Type\"\r\n />\r\n </Form.Field>\r\n <Form.Field width={8}>\r\n <label>Remarks</label>\r\n <TextArea\r\n name=\"remarks\"\r\n onChange={this.handleChangeRemarks}\r\n value={remarks}\r\n />\r\n </Form.Field>\r\n <Form.Field>\r\n <Button\r\n content=\"Get No.\"\r\n color=\"blue\"\r\n onClick={this.handleSubmitDoc}\r\n />\r\n </Form.Field>\r\n </Form>\r\n {Object.keys(this.props.uploaddoccorr).length > 0 ? (\r\n <Table celled padded>\r\n <Table.Header>\r\n <Table.Row>\r\n <Table.HeaderCell\r\n singleLine\r\n style={{ textAlign: \"center\" }}\r\n >\r\n ID\r\n </Table.HeaderCell>\r\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\r\n Type\r\n </Table.HeaderCell>\r\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\r\n Remarks\r\n </Table.HeaderCell>\r\n <Table.HeaderCell style={{ textAlign: \"center\" }}>\r\n File Upload\r\n </Table.HeaderCell>\r\n <Table.HeaderCell\r\n style={{ width: \"0px\", textAlign: \"center\" }}\r\n >\r\n Action\r\n </Table.HeaderCell>\r\n </Table.Row>\r\n </Table.Header>\r\n\r\n <Table.Body>\r\n <Table.Row>\r\n <Table.Cell style={{ textAlign: \"center\" }}>\r\n {this.props.uploaddoccorr.fid}\r\n </Table.Cell>\r\n <Table.Cell singleLine>\r\n {this.props.uploaddoccorr.ftype}\r\n </Table.Cell>\r\n <Table.Cell>\r\n {this.props.uploaddoccorr.fremarks}\r\n </Table.Cell>\r\n <Table.Cell>\r\n <input\r\n ref={this.fileInputRef}\r\n type=\"file\"\r\n hidden\r\n onChange={this.corrFileChange}\r\n />\r\n\r\n <Button\r\n primary\r\n onClick={() => this.fileInputRef.current.click()}\r\n >\r\n Select Document\r\n </Button>\r\n </Table.Cell>\r\n <Table.Cell>\r\n <Button primary onClick={this.handleDocUpload}>\r\n Upload\r\n </Button>\r\n </Table.Cell>\r\n </Table.Row>\r\n </Table.Body>\r\n </Table>\r\n ) : null}\r\n </Card.Description>\r\n </Card.Content>\r\n </Card>\r\n </>\r\n );\r\n }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n uploaddoccorr: state.uploaddoccorr,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n showError,\r\n saveuplcorrdoc,\r\n uploadCorr,\r\n uploadDocData,\r\n})(uploadCorrDoc);\r\n","import _extends from \"@babel/runtime/helpers/extends\";\nimport cx from 'classnames';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { childrenUtils, customPropTypes, getElementType, getUnhandledProps, useKeyOnly } from '../../lib';\n/**\n * A divider visually segments content into groups.\n */\n\nfunction Divider(props) {\n var children = props.children,\n className = props.className,\n clearing = props.clearing,\n content = props.content,\n fitted = props.fitted,\n hidden = props.hidden,\n horizontal = props.horizontal,\n inverted = props.inverted,\n section = props.section,\n vertical = props.vertical;\n var classes = cx('ui', useKeyOnly(clearing, 'clearing'), useKeyOnly(fitted, 'fitted'), useKeyOnly(hidden, 'hidden'), useKeyOnly(horizontal, 'horizontal'), useKeyOnly(inverted, 'inverted'), useKeyOnly(section, 'section'), useKeyOnly(vertical, 'vertical'), 'divider', className);\n var rest = getUnhandledProps(Divider, props);\n var ElementType = getElementType(Divider, props);\n return React.createElement(ElementType, _extends({}, rest, {\n className: classes\n }), childrenUtils.isNil(children) ? content : children);\n}\nDivider.handledProps = [\"as\", \"children\", \"className\", \"clearing\", \"content\", \"fitted\", \"hidden\", \"horizontal\", \"inverted\", \"section\", \"vertical\"];\nDivider.propTypes = process.env.NODE_ENV !== \"production\" ? {\n /** An element type to render as (string or function). */\n as: customPropTypes.as,\n /** Primary content. */\n children: PropTypes.node,\n /** Additional classes. */\n className: PropTypes.string,\n /** Divider can clear the content above it. */\n clearing: PropTypes.bool,\n /** Shorthand for primary content. */\n content: customPropTypes.contentShorthand,\n /** Divider can be fitted without any space above or below it. */\n fitted: PropTypes.bool,\n /** Divider can divide content without creating a dividing line. */\n hidden: PropTypes.bool,\n /** Divider can segment content horizontally. */\n horizontal: PropTypes.bool,\n /** Divider can have its colours inverted. */\n inverted: PropTypes.bool,\n /** Divider can provide greater margins to divide sections of content. */\n section: PropTypes.bool,\n /** Divider can segment content vertically. */\n vertical: PropTypes.bool\n} : {};\nexport default Divider;","import univadmin from \"../../apis/univadmin\";\r\nimport { showError } from \"../index\";\r\n\r\nexport const saveuplcorrdoc = (data) => {\r\n return async function (dispatch, getState) {\r\n const state = getState();\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n dispatch({\r\n type: \"DELETE_QPSTATS\",\r\n });\r\n dispatch({\r\n type: \"CLEAR_TEACHER_ID\",\r\n });\r\n\r\n const response = await univadmin.get(\"/app.php\", {\r\n params: {\r\n a: \"saveuplcorrdoc\",\r\n type: data.type,\r\n univcode: state.user.fcuruniv,\r\n remarks: data.remarks,\r\n },\r\n });\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = {\r\n header: \"Error\",\r\n content: \"Something went wrong\",\r\n };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"UPLOAD_CORR_DOC\",\r\n payload: response.data,\r\n });\r\n }\r\n };\r\n};\r\n\r\nexport const uploadCorr = (file) => {\r\n return async function (dispatch, getState) {\r\n const state = getState();\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const formData = new FormData();\r\n formData.set(\"file\", file, file.name);\r\n const response = await univadmin.post(\"upload_file.php\", formData, {\r\n headers: {\r\n \"Content-type\": \"multipart/form-data\",\r\n },\r\n });\r\n\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n dispatch({\r\n type: \"SET_QPNAME\",\r\n payload: response.data,\r\n });\r\n };\r\n};\r\n\r\nexport const uploadDocData = (doc) => {\r\n return async (dispatch, getState) => {\r\n const state = getState();\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n\r\n const response = await univadmin.get(\"/app.php\", {\r\n params: {\r\n a: \"uploadcorrdoc\",\r\n gfilename: state.upload.fqpfilenm,\r\n univcode: state.univ.funivcode,\r\n remarks: doc.remarks,\r\n type: doc.type,\r\n fid: state.uploaddoccorr.fid,\r\n },\r\n });\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n if (typeof response.data !== \"object\") {\r\n const error = {\r\n header: \"Error\",\r\n content: \"Something went wrong\",\r\n };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === 0) {\r\n const error = { header: \"Success\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n }\r\n };\r\n};\r\n\r\nexport const viewuplcorrdoc = (type) => {\r\n return async function (dispatch, getState) {\r\n const state = getState();\r\n dispatch({\r\n type: \"SET_LOADER\",\r\n });\r\n dispatch({\r\n type: \"DELETE_QPSTATS\",\r\n });\r\n dispatch({\r\n type: \"CLEAR_TEACHER_ID\",\r\n });\r\n\r\n const response = await univadmin.get(\"/app.php\", {\r\n params: {\r\n a: \"viewuplcorrdoc\",\r\n type: type.viewType,\r\n univcode: state.user.fcuruniv,\r\n },\r\n });\r\n dispatch({\r\n type: \"UNSET_LOADER\",\r\n });\r\n\r\n if (typeof response.data !== \"object\") {\r\n const error = {\r\n header: \"Error\",\r\n content: \"Something went wrong\",\r\n };\r\n dispatch(showError(error));\r\n } else if (response.data.error_code === -1) {\r\n const error = { header: \"Error\", content: response.data.data.msg };\r\n dispatch(showError(error));\r\n } else {\r\n dispatch({\r\n type: \"VIEW_CORRECTION_DOC\",\r\n payload: response.data,\r\n });\r\n }\r\n };\r\n};\r\n"],"sourceRoot":""}
|