0xV3NOMx
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.144.116.34


Current Path : /var/www/egov/build/static/js/
Upload File :
Current File : /var/www/egov/build/static/js/289.130b6b13.chunk.js.map

{"version":3,"sources":["pages/QP_Setter/selectQP.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","selectQP","_Component","_getPrototypeOf2","_this","_classCallCheck","_len","arguments","args","Array","_key","_possibleConstructorReturn","_getPrototypeOf","apply","concat","state","exam","board","statu","data","teach","check","emailcheck","formSubmit","teachMob","frmdate","todate","searchQP","componentDidMount","props","loadYearAndMode","submitQPDet","_asyncToGenerator","_callee","error","_error","arr","_context","header","content","showError","undefined","loadtab","map","el","obj","fteachcode","label","fteachname","fqpcode","subname","fset","fqpcodeno","flastdate","fstatus","fboard","fvalmax","setState","loadteach","handleSelectChange","_ref2","_callee2","index","newData","_context2","onChangeDone","_toConsumableArray","_x","_x2","handleAllSentEmail","target","checked","allEmailCheck","handleCheckBox","handleSave","_this$state","qpcode","findata","formdata","FormData","append","user","JSON","stringify","saveAssignTeach","changeFrmDate","item","_inherits","_createClass","key","_this2","examOptions","year","text","fdesexam","fexamyear","all","boardOpt","loadBoard","fboardname","fboardcode","boardOptions","teachOpt","teachOptions","statuopt","React","createElement","Card","fluid","Content","Header","style","display","className","Button","basic","color","icon","onClick","Link","to","Divider","Description","Form","Group","Field","width","Dropdown","search","selection","options","allowAdditions","placeholder","onChange","getBoardDet","position","bottom","height","overflowY","border","backgroundColor","top","zIndex","colSpan","padding","margin","borderRadius","borderRight","borderCollapse","textAlign","filter","toLowerCase","includes","align","paddingLeft","Select","isSearchable","emailstatus","Component","connect","fmobileno","qpdata","res","boaddet","loadQp","boardsubj","modDet","assignModeratorDet","mod","teachDet","saveAssignModerator"],"mappings":"gTACAA,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,EAAArB,EAAAD,EAAAE,EAAAG,GAAA,IAAAK,EAAAV,KAAAI,qBAAAmB,EAAAvB,EAAAuB,EAAAX,EAAAT,OAAAqB,OAAAd,EAAAN,WAAAU,EAAA,IAAAW,EAAApB,GAAA,WAAAE,EAAAK,EAAA,WAAAH,MAAAiB,EAAAzB,EAAAC,EAAAY,KAAAF,EAAA,SAAAe,EAAA1B,EAAAD,EAAAE,GAAA,WAAA0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S,eAAgB,aAGE,MAAnBxG,EAAGiH,YACFpD,IAAAC,cAAA,SACEpL,KAAK,WACLiJ,SAAS,EACT8D,SAAU,SAAC3O,GAAC,OAAKgM,EAAKjB,eAAe/K,EAAGU,MAG1CqM,IAAAC,cAAA,SACEpL,KAAK,WACLiJ,SAAS,EACT8D,SAAU,SAAC3O,GAAC,OAAKgM,EAAKjB,eAAe/K,EAAGU,OAI9CqM,IAAAC,cAAA,MACE+C,MAAM,SACN1C,MAAO,CACL4B,OAAQ,iBACRS,eAAgB,aAGlB3C,IAAAC,cAAA,SACEpL,KAAK,OACLnB,MAAOyI,EAAGS,UACVgF,SAAU,SAAC3O,GAAC,OACVgM,EAAKL,cAAc3L,EAAGU,EAAGwI,EAAGK,gBAQ1CwD,IAAAC,cAAA,UACED,IAAAC,cAAA,MACEqC,QAAS,GACThC,MAAO,CAAEsC,UAAW,SAAUZ,OAAQ,SACvC,4BAatBxI,EA1lBW,CAAS6J,aA0mBRC,sBAbS,SAAChJ,GACvB,MAAO,CACLkE,KAAMlE,EAAMkE,KAAK+E,UACjBpE,KAAM7E,EAAMe,gBACZY,QAAS3B,EAAMkJ,OAAOC,IACtBxG,UAAW3C,EAAMkJ,OAAO7I,MACxB8E,UAAWnF,EAAMoJ,QACjBC,OAAQrJ,EAAMsJ,UACdC,OAAQvJ,EAAMwJ,mBAAmBC,IACjCC,SAAU1J,EAAMwJ,mBAAmBnJ,QAIC,CACtCoB,cACAV,oBACAwG,gBACAiC,uBACAG,wBACAtF,oBACArD,iBAPagI,CAQZ9J","file":"static/js/289.130b6b13.chunk.js","sourcesContent":["import React, { Component } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport { Card, Divider, Button, Form, Dropdown } from \"semantic-ui-react\";\r\nimport { showError } from \"../../actions\";\r\nimport {\r\n  loadYearAndMode,\r\n  assignModeratorDet,\r\n  saveAssignModerator,\r\n  saveAssignTeach,\r\n} from \"../../actions/teacher/teacherentry\";\r\nimport { getBoardDet, submitQPDet } from \"../../actions/QP_Setter\";\r\nimport Select from \"react-select\";\r\nimport { all } from \"core-js/library/es6/promise\";\r\n\r\nclass selectQP extends Component {\r\n  state = {\r\n    exam: \"\",\r\n    board: \"All\",\r\n    statu: \"Not Assiged\",\r\n    data: [],\r\n    teach: [],\r\n    check: \"F\",\r\n    emailcheck: \"F\",\r\n    formSubmit: false,\r\n    teachMob: \"\",\r\n    frmdate: \"\",\r\n    todate: \"\",\r\n    searchQP: \"\",\r\n  };\r\n\r\n  componentDidMount = () => {\r\n    this.props.loadYearAndMode();\r\n  };\r\n\r\n  submitQPDet = async () => {\r\n    if (this.state.exam === \"\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Select Exam Type\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    } else if (this.state.board === \"\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Select Board\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n\r\n    await this.props.submitQPDet(\r\n      this.state.board,\r\n      this.state.exam,\r\n      this.state.statu\r\n    );\r\n\r\n    const arr = [];\r\n    if (this.props.loadtab !== undefined) {\r\n      var datalen = this.props.loadtab.length;\r\n    } else {\r\n      var datalen = 0;\r\n    }\r\n    if (datalen > 0) {\r\n      this.props.loadtab.map((el, i) => {\r\n        let obj = {};\r\n        if (el.fteachcode !== null || el.fteachcode !== \"\") {\r\n          obj.data = {};\r\n          obj.data.value = el.fteachcode;\r\n          obj.data.label = el.fteachcode + \" - \" + el.fteachname;\r\n        }\r\n        obj.fqpcode = el.fqpcode;\r\n        obj.subname = el.subname;\r\n        obj.fset = el.fset;\r\n        obj.fqpcodeno = el.fqpcodeno;\r\n        obj.fteachcode = el.fteachcode;\r\n        obj.flastdate = el.flastdate;\r\n        obj.fstatus = el.fstatus;\r\n        obj.fboard = el.fboard;\r\n        obj.fvalmax = el.fvalmax;\r\n        arr.push(obj);\r\n      });\r\n      this.setState({ data: arr });\r\n      this.setState({ teach: this.props.loadteach });\r\n    } else {\r\n      this.setState({ data: [] });\r\n    }\r\n    this.setState({ formSubmit: true });\r\n  };\r\n\r\n  handleSelectChange = async (e, index) => {\r\n    const newData = this.state.data.map((el, i) => {\r\n      if (i === index) {\r\n        el.data = e;\r\n        el.fteachcode = e.value;\r\n        el.onChangeDone = \"T\";\r\n      }\r\n      return el;\r\n    });\r\n    this.setState({ data: [...newData] });\r\n  };\r\n\r\n  handleAllSentEmail = (e) => {\r\n    if (e.target.checked) {\r\n      this.setState({ emailcheck: \"T\" });\r\n    } else {\r\n      this.setState({ emailcheck: \"F\" });\r\n    }\r\n\r\n    let allEmailCheck = this.state.data.map((el, i) => {\r\n      if (e.target.checked === true) {\r\n        el[\"emailstatus\"] = \"T\";\r\n        el.onChangeDone = \"T\";\r\n      } else if (e.target.checked === false) {\r\n        el[\"emailstatus\"] = \"F\";\r\n        el.onChangeDone = \"T\";\r\n      }\r\n      return el;\r\n    });\r\n    this.setState({ data: allEmailCheck });\r\n  };\r\n\r\n  handleCheckBox = (e, index) => {\r\n    let newData = this.state.data.map((el, i) => {\r\n      if (i === index) {\r\n        if (e.target.checked) {\r\n          el[\"emailstatus\"] = \"T\";\r\n          el.onChangeDone = \"T\";\r\n        } else {\r\n          el[\"emailstatus\"] = \"F\";\r\n          el.onChangeDone = \"T\";\r\n        }\r\n        return el;\r\n      }\r\n      return el;\r\n    });\r\n    this.setState({ data: [...newData] });\r\n  };\r\n\r\n  handleSave = () => {\r\n    if (this.state.exam === \"\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Pick Exam\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    } else if (this.state.board === \"\") {\r\n      const error = {\r\n        header: \"Error\",\r\n        content: \"Pick Board\",\r\n      };\r\n      this.props.showError(error);\r\n      return;\r\n    }\r\n    const { exam, board, qpcode, data } = this.state;\r\n    const findata = [];\r\n\r\n    data.map((el, i) => {\r\n      if (el.onChangeDone == \"T\") {\r\n        findata.push(el);\r\n      }\r\n    });\r\n\r\n    const arr = [];\r\n    findata.map((el, i) => {\r\n      if (\r\n        el.fstatus !== \"\" &&\r\n        el.fteachcode !== null &&\r\n        el.fteachcode !== \"Select\" &&\r\n        el.fteachcode !== \"\"\r\n      ) {\r\n        arr.push(el);\r\n      }\r\n    });\r\n\r\n    const formdata = new FormData();\r\n    formdata.append(\"user\", this.props.user);\r\n    formdata.append(\"exam\", exam);\r\n    formdata.append(\"board\", board);\r\n    formdata.append(\"qpcode\", qpcode);\r\n    formdata.append(\"data\", JSON.stringify(arr));\r\n    this.props.saveAssignTeach(formdata);\r\n  };\r\n\r\n  changeFrmDate = (e, i, fqpcode) => {\r\n    const frmdate = this.state.data.map((item, index) => {\r\n      if (i === index) {\r\n        if (item.fqpcode === fqpcode) {\r\n          item.flastdate = e.target.value;\r\n          item.onChangeDone = \"T\";\r\n        }\r\n        return item;\r\n      }\r\n      return item;\r\n    });\r\n    this.setState({ data: [...frmdate] });\r\n  };\r\n\r\n  render() {\r\n    const examOptions = this.props.year.map((el, i) => {\r\n      return { key: i, text: el.fdesexam, value: el.fexamyear };\r\n    });\r\n\r\n    const all = [{ key: \"All\", text: \"All\", value: \"All\" }];\r\n\r\n    const boardOpt = this.props.loadBoard.map((el, i) => {\r\n      return { key: i, text: el.fboardname, value: el.fboardcode };\r\n    });\r\n\r\n    const boardOptions = [...all, ...boardOpt];\r\n\r\n    const select = [{ value: \"Select\", label: \"Select\" }];\r\n\r\n    const teachOpt = this.state.teach.map((el, i) => {\r\n      return {\r\n        value: el.fteachcode,\r\n        label: el.fteachcode + \" - \" + el.fteachname,\r\n      };\r\n    });\r\n    const teachOptions = [...select, ...teachOpt];\r\n\r\n    const statu = [\r\n      { key: \"Assiged\", value: \"Assiged\", text: \"Assiged\" },\r\n      { key: \"Not Assiged\", value: \"Not Assiged\", text: \"Not Assiged\" },\r\n    ];\r\n\r\n    const statuopt = [...all, ...statu];\r\n\r\n    return (\r\n      <Card fluid>\r\n        <Card.Content>\r\n          <Card.Header style={{ display: \"flex\" }}>\r\n            <h4>Select QP Setter</h4>\r\n            <div className=\"ml-auto\">\r\n              <Button\r\n                basic\r\n                color=\"green\"\r\n                icon=\"save\"\r\n                onClick={this.handleSave}\r\n                content=\"Save\"\r\n              />\r\n              <Button\r\n                basic\r\n                color=\"black\"\r\n                icon=\"ban\"\r\n                content=\"Clear\"\r\n                onClick={() => {\r\n                  this.setState({ exam: \"\" });\r\n                  this.setState({ board: \"\" });\r\n                  this.setState({ statu: \"All\" });\r\n                  this.setState({ data: [] });\r\n                  this.setState({ teach: [] });\r\n                  this.setState({ check: \"F\" });\r\n                  this.setState({ formSubmit: false });\r\n                }}\r\n              />\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>\r\n            <Form>\r\n              <Form.Group>\r\n                <Form.Field width={4}>\r\n                  <label>Exam</label>\r\n                  <Dropdown\r\n                    fluid\r\n                    search\r\n                    selection\r\n                    value={this.state.exam}\r\n                    options={examOptions}\r\n                    allowAdditions\r\n                    placeholder=\"Exam\"\r\n                    onChange={(e, data) => {\r\n                      this.setState({ exam: data.value });\r\n                      this.props.getBoardDet(data.value);\r\n                      this.setState({ formSubmit: false });\r\n                      this.setState({ board: \"All\" });\r\n                      this.setState({ statu: \"Not Assiged\" });\r\n                    }}\r\n                  />\r\n                </Form.Field>\r\n                <Form.Field width={4}>\r\n                  <label>Board</label>\r\n                  <Dropdown\r\n                    fluid\r\n                    search\r\n                    selection\r\n                    value={this.state.board}\r\n                    options={boardOptions}\r\n                    allowAdditions\r\n                    placeholder=\"Board\"\r\n                    onChange={(e, data) => {\r\n                      this.setState({ board: data.value });\r\n                      this.setState({ statu: \"Not Assiged\" });\r\n                    }}\r\n                  />\r\n                </Form.Field>\r\n                <Form.Field>\r\n                  <label>Status</label>\r\n                  <Dropdown\r\n                    fluid\r\n                    search\r\n                    selection\r\n                    value={this.state.statu}\r\n                    options={statuopt}\r\n                    allowAdditions\r\n                    placeholder=\"Status\"\r\n                    style={{ width: \"200px\" }}\r\n                    onChange={(e, data) => {\r\n                      this.setState({ statu: data.value });\r\n                      this.setState({ formSubmit: false });\r\n                    }}\r\n                  />\r\n                </Form.Field>\r\n\r\n                <Form.Field width={4}>\r\n                  <Button\r\n                    style={{\r\n                      position: \"absolute\",\r\n                      bottom: \"3px\",\r\n                    }}\r\n                    basic\r\n                    content=\"Submit\"\r\n                    color=\"blue\"\r\n                    onClick={() => this.submitQPDet()}\r\n                  />\r\n                </Form.Field>\r\n              </Form.Group>\r\n            </Form>\r\n            {this.state.formSubmit && (\r\n              <div\r\n                style={{\r\n                  height: \"550px\",\r\n                  overflowY: \"auto\",\r\n                  border: \"1px solid grey\",\r\n                }}\r\n              >\r\n                <table style={{ width: \"100%\", border: \"1px solid\" }}>\r\n                  <thead\r\n                    style={{\r\n                      backgroundColor: \"#1e7f91\",\r\n                      color: \"white\",\r\n                      height: \"40px\",\r\n                      position: \"sticky\",\r\n                      top: 0,\r\n                      zIndex: 2,\r\n                    }}\r\n                  >\r\n                    <tr>\r\n                      <td colSpan={10}>\r\n                        <input\r\n                          placeholder=\"Search...\"\r\n                          onChange={(e) => {\r\n                            this.setState({ searchQP: e.target.value });\r\n                          }}\r\n                          value={this.state.searchQP}\r\n                          style={{\r\n                            width: \"100%\",\r\n                            padding: \"5px\",\r\n                            margin: \"10px 0\",\r\n                            borderRadius: \"15px\",\r\n                          }}\r\n                        />\r\n                      </td>\r\n                    </tr>\r\n                    <tr>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"5%\",\r\n                        }}\r\n                      >\r\n                        Sl. No.\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"30%\",\r\n                        }}\r\n                      >\r\n                        Subject Name\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"5%\",\r\n                        }}\r\n                      >\r\n                        Max Marks\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"8%\",\r\n                          textAlign: \"center\",\r\n                        }}\r\n                      >\r\n                        QP Code\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"5%\",\r\n                        }}\r\n                      >\r\n                        Board Name\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"5%\",\r\n                        }}\r\n                      >\r\n                        Set No.\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"5%\",\r\n                        }}\r\n                      >\r\n                        Section No.\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"20%\",\r\n                        }}\r\n                      >\r\n                        Teacher\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"5%\",\r\n                        }}\r\n                      >\r\n                        Email Send <br />\r\n                        <input\r\n                          type=\"checkbox\"\r\n                          checked={this.state.emailcheck === \"T\" ? true : false}\r\n                          onChange={(e) => this.handleAllSentEmail(e)}\r\n                        />\r\n                      </th>\r\n                      <th\r\n                        style={{\r\n                          borderRight: \"1px solid grey\",\r\n                          borderCollapse: \"collapse\",\r\n                          width: \"13%\",\r\n                        }}\r\n                      >\r\n                        On or Before\r\n                      </th>\r\n                    </tr>\r\n                  </thead>\r\n                  <tbody>\r\n                    {this.state.data.length > 0 ? (\r\n                      this.state.data\r\n                        .filter((item) =>\r\n                          item.fqpcode\r\n                            .toLowerCase()\r\n                            .includes(this.state.searchQP.toLowerCase())\r\n                        )\r\n                        .map((el, i) => {\r\n                          return (\r\n                            <tr key={i}>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                {i + 1}\r\n                              </td>\r\n                              <td\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                  paddingLeft: \"10px\",\r\n                                }}\r\n                              >\r\n                                {el.subname}\r\n                              </td>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                {el.fvalmax}\r\n                              </td>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                {el.fqpcode}\r\n                              </td>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                {el.fboard}\r\n                              </td>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                {el.fset}\r\n                              </td>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                {el.fqpcodeno}\r\n                              </td>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                <Select\r\n                                  isSearchable={true}\r\n                                  placeholder=\"Search...\"\r\n                                  value={el.data}\r\n                                  options={teachOptions}\r\n                                  onChange={(e) =>\r\n                                    this.handleSelectChange(e, i)\r\n                                  }\r\n                                />\r\n                              </td>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                {el.emailstatus === \"T\" ? (\r\n                                  <input\r\n                                    type=\"checkbox\"\r\n                                    checked={true}\r\n                                    onChange={(e) => this.handleCheckBox(e, i)}\r\n                                  />\r\n                                ) : (\r\n                                  <input\r\n                                    type=\"checkbox\"\r\n                                    checked={false}\r\n                                    onChange={(e) => this.handleCheckBox(e, i)}\r\n                                  />\r\n                                )}\r\n                              </td>\r\n                              <td\r\n                                align=\"center\"\r\n                                style={{\r\n                                  border: \"1px solid grey\",\r\n                                  borderCollapse: \"collapse\",\r\n                                }}\r\n                              >\r\n                                <input\r\n                                  type=\"date\"\r\n                                  value={el.flastdate}\r\n                                  onChange={(e) =>\r\n                                    this.changeFrmDate(e, i, el.fqpcode)\r\n                                  }\r\n                                ></input>\r\n                              </td>\r\n                            </tr>\r\n                          );\r\n                        })\r\n                    ) : (\r\n                      <tr>\r\n                        <td\r\n                          colSpan={10}\r\n                          style={{ textAlign: \"center\", height: \"30px\" }}\r\n                        >\r\n                          No Data Found\r\n                        </td>\r\n                      </tr>\r\n                    )}\r\n                  </tbody>\r\n                </table>\r\n              </div>\r\n            )}\r\n          </Card.Description>\r\n        </Card.Content>\r\n      </Card>\r\n    );\r\n  }\r\n}\r\n\r\nconst mapStateToProps = (state) => {\r\n  return {\r\n    user: state.user.fmobileno,\r\n    year: state.loadYearAndMode,\r\n    loadtab: state.qpdata.res,\r\n    loadteach: state.qpdata.teach,\r\n    loadBoard: state.boaddet,\r\n    loadQp: state.boardsubj,\r\n    modDet: state.assignModeratorDet.mod,\r\n    teachDet: state.assignModeratorDet.teach,\r\n  };\r\n};\r\n\r\nexport default connect(mapStateToProps, {\r\n  showError,\r\n  loadYearAndMode,\r\n  getBoardDet,\r\n  assignModeratorDet,\r\n  saveAssignModerator,\r\n  saveAssignTeach,\r\n  submitQPDet,\r\n})(selectQP);\r\n"],"sourceRoot":""}