{"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\\ksTaskDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\views\\examMenu\\components\\ksTaskDialog.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\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport ksTaskMenu from '@/api/examination/ksTaskMenu.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\ttableData: [],\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.apply_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\tsubjectsList: [],\n\t\t\tsjztList: [], //试卷状态\n\t\t\tkhlxList: [],\n\t\t\tvisible:false\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\thandleClose() {\n\t\t\tthis.visible = false\n\t\t},\n\t\tloadData(){\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.querys[1].value = ''\n\t\t},\n\t\t// 获取list\n\t\tgetData(page) {\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\tksTaskMenu.applyPaperRecord(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\tconsole.log(t.status);\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})\n\t\t\t\tthis.$set(this.tableData)\n\t\t\t\tthis.loading = false\n\t\t\t})\n\t\t},\n\t\thandleClick(val) {\n\t\t\t// console.log(command,val);\n\t\t\tlet parmas = {\n\t\t\t\tid: val.id,\n\t\t\t\tstatus: null\n\t\t\t}\n\t\t\t// let title\n\t\t\t// if (command) {\n\t\t\t// \tparmas.status = \"1\"\n\t\t\t// \ttitle = '拒绝'\n\t\t\t// } else {\n\t\t\t// \tparmas.status = \"0\"\n\t\t\t// \ttitle = '同意'\n\t\t\t// }\n\t\t\tthis.$confirm(`是否同意该考生补考?`, '提示', {\n\t\t\t\tconfirmButtonText: '同意',\n\t\t\t\tcancelButtonText: '拒绝',\n\t\t\t\tcloseOnClickModal: false,\n\t\t\t\ttype: 'warning'\n\t\t\t}).then(() => {\n\t\t\t\tparmas.status = \"0\"\n\t\t\t\tksTaskMenu.modifyStatus(parmas, 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\t\t\t\t\t\tthis.getData(1)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t}).catch(() => {\n\t\t\t\tparmas.status = \"1\"\n\t\t\t\tksTaskMenu.modifyStatus(parmas, 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\t\t\t\t\t\tthis.getData(1)\n\t\t\t\t\t}\n\t\t\t\t})\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\tthis.getData(1)\n\t\t},\n\n\t}\n}\n",null]}