{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\src\\views\\examMenu\\components\\ypDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\views\\examMenu\\components\\ypDialog.vue","mtime":1673859187418},{"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\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport ypMenu from '@/api/examination/ypMenu.js'\nimport subMenu from '@/api/examination/subMenu.js'\nexport default {\n\tname: 'ypMenu',\n\tcomponents: {},\n\tmixins: [TableMixin],\n\tdata() {\n\t\treturn {\n\t\t\t// 模拟数据\n\t\t\ttableData: [],\n\t\t\tshowMore: false,\n\t\t\tvisible: 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: 's.end_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: 'LIKE',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 's.user_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: '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: 'LIKE',\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: '1'\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.paper_id_',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}],\n\t\t\tksztList: [], //考试状态\n\t\t\tsjztList: [], //试卷状态\n\t\t\tkhlxList: [], //考核类型\n\t\t\tsubjectsList: [],\n\t\t\tid: ''\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\tadd(val) {\n\t\t\tthis.querys[7].value = val\n\t\t\tthis.visible = true\n\t\t\tthis.getData(1)\n\t\t},\n\t\tloadData() {\n\n\t\t},\n\t\t// 关闭新增人员窗口\n\t\thandleClose() {\n\t\t\tthis.visible = false\n\t\t\tthis.params = {\n\t\t\t\tyear: ''\n\t\t\t}\n\t\t},\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.getData(1)\n\t\t},\n\t\t// 获取list\n\t\tgetData(page) {\n\n\t\t\tif (page) {\n\t\t\t\tthis.queryParam.pageBean.page = page\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\tthis.tableData = []\n\t\t\tthis.queryParam.querys = []\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\tif (this.querys[6].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[6])\n\t\t\t}\n\t\t\tif (this.querys[7].value) {\n\t\t\t\tthis.queryParam.querys.push(this.querys[7])\n\t\t\t}\n\t\t\typMenu.paperQuery(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\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\thandleTab() {\n\t\t\tconsole.log(this.querys[6].value);\n\t\t\tthis.getData(1)\n\t\t},\n\t\tpreview(command, val) {\n\t\t\tthis.$confirm('是否将此考生设为作弊?', '提示', {\n\t\t\t\tconfirmButtonText: '确定',\n\t\t\t\tcancelButtonText: '取消',\n\t\t\t\ttype: 'warning'\n\t\t\t}).then(() => {\n\t\t\t\typMenu.updateStatus(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\ttype: 'success',\n\t\t\t\t\t\t\tmessage: '成功'\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}).catch(() => {\n\t\t\t\tthis.$message({\n\t\t\t\t\ttype: 'info',\n\t\t\t\t\tmessage: '已取消'\n\t\t\t\t});\n\t\t\t});\n\n\t\t},\n\t\thandleClick(val) {\n\t\t\tthis.$router.push({\n\t\t\t\tname: 'lookPaper',\n\t\t\t\tparams: val\n\n\t\t\t})\n\t\t},\n\t\t// 导入\n\t\thandleAvatarSuccess() {},\n\t\tbeforeAvatarUpload() {}\n\t}\n}\n",null]}