{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\src\\views\\examMenu\\myTaskMenu.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\views\\examMenu\\myTaskMenu.vue","mtime":1672113883920},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport myTaskMenu from '@/api/examination/myTaskMenu.js'\nimport subMenu from '@/api/examination/subMenu.js'\nexport default {\n\tname: 'dpsjMenu',\n\tcomponents: {},\n\tmixins: [TableMixin],\n\tdata() {\n\t\treturn {\n\t\t\tshowMore: false,\n\t\t\tquerys: [{\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'LIKE',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'b.name_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}, {\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'LIKE',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'b.subject_id_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}, {\n\t\t\t\tgroup: 'time',\n\t\t\t\toperation: 'BETWEEN',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'sp.plan_start_time_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}, {\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'IN',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 's.status_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}, {\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'IN',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'paperStatus',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}, {\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'LIKE',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'b.paper_type_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}],\n\t\t\ttableData: [],\n\t\t\tCourseList: [],\n\t\t\tspaceList: [],\n\t\t\tTestStatusList: [],\n\t\t\texamineeList: [],\n\t\t\tksztList: [], //考试状态\n\t\t\tsjztList: [], //试卷状态\n\t\t\tactiveName: 'first',\n\t\t\tsubjectsList: [],\n\t\t\tkhlxList: [], //考核类型\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.getSubjects()\n\t\tthis.ksztList = dictUtils.getDictItemsFromCache('kszt')\n\t\tthis.sjztList = dictUtils.getDictItemsFromCache('sjzt')\n\t\tthis.khlxList = dictUtils.getDictItemsFromCache('khlx')\n\t},\n\tmounted() {},\n\tmethods: {\n\t\t// 打开搜索更多\n\t\topenMore() {\n\t\t\tthis.showMore = !this.showMore\n\t\t},\n\t\t// 重置\n\t\tclearQuerys() {\n\t\t\tthis.querys[0].value = ''\n\t\t\tthis.querys[1].value = ''\n\t\t},\n\t\t// 获取list\n\t\tloadData(page) {\n\t\t\tif (page) {\n\t\t\t\tthis.queryParam.pageBean.page = page\n\t\t\t}\n\t\t\tif (this.activeName == 'first') {\n\t\t\t\tthis.querys[3].value = '1,2,8'\n\t\t\t} else if (this.activeName == 'second') {\n\t\t\t\tthis.querys[3].value = '3,4'\n\t\t\t} else if (this.activeName == 'third') {\n\t\t\t\tthis.querys[3].value = '5'\n\t\t\t} else if (this.activeName == 'fourth') {\n\t\t\t\tthis.querys[3].value = '6,7,8'\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\tthis.tableData = []\n\t\t\tthis.queryParam.querys = []\n\t\t\tthis.queryParam.sorter = [{\n\t\t\t\tdirection: \"ASC\",\n\t\t\t\tproperty: \"status\"\n\t\t\t}]\n\t\t\tif (this.querys[0].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[0])\n\t\t\t}\n\t\t\tif (this.querys[1].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[1])\n\t\t\t}\n\t\t\tif (this.querys[2].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[2])\n\t\t\t}\n\t\t\tif (this.querys[3].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[3])\n\t\t\t}\n\t\t\tif (this.querys[4].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[4])\n\t\t\t}\n\t\t\tif (this.querys[5].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[5])\n\t\t\t}\n\t\t\tmyTaskMenu.myPaper(this.queryParam, res => {\n\t\t\t\tthis.total = res.total\n\t\t\t\tthis.tableData = res.rows\n\t\t\t\tthis.tableData.forEach(t => {\n\t\t\t\t\tthis.ksztList.forEach(k => {\n\t\t\t\t\t\tif (t.status == k.value) {\n\t\t\t\t\t\t\tt.statusName = k.name\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tthis.sjztList.forEach(k => {\n\t\t\t\t\t\tif (t.paperStatus == k.value) {\n\t\t\t\t\t\t\tt.paperStatusName = k.name\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tthis.khlxList.forEach(k => {\n\t\t\t\t\t\tif (t.paperType == k.value) {\n\t\t\t\t\t\t\tt.paperTypeName = k.name\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t})\n\t\t\t\tthis.$set(this.tableData)\n\t\t\t\tthis.loading = false\n\t\t\t})\n\t\t},\n\t\ttoPreview(val) {\n\t\t\tthis.$router.push({\n\t\t\t\tname: 'previewTestPaper',\n\t\t\t\tparams: {\n\t\t\t\t\tid: val.id\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\thandleClick(command, val) {\n\t\t\tconsole.log(command, val);\n\t\t\tif (command == 0) {\n\t\t\t\tmyTaskMenu.applyExamPaper(val.id, res => {\n\t\t\t\t\tif (res.state) {\n\t\t\t\t\t\tthis.$message({\n\t\t\t\t\t\t\tmessage: '申请成功',\n\t\t\t\t\t\t\ttype: 'success'\n\t\t\t\t\t\t});\n\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}\n\n\t\t},\n\t\thandleTab() {\n\t\t\tthis.loadData(1)\n\t\t},\n\t\t//获取课目\n\t\tgetSubjects() {\n\t\t\tlet params = {\n\t\t\t\tpageBean: {\n\t\t\t\t\tpageSize: -1,\n\t\t\t\t\tpage: -1\n\t\t\t\t},\n\t\t\t}\n\t\t\tsubMenu.getSubjects(params, res => {\n\t\t\t\tif (res.rows) {\n\t\t\t\t\tthis.subjectsList = res.rows\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t}\n\n}\n",null]}