{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\src\\views\\cjglMenu\\myCjMenu.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\views\\cjglMenu\\myCjMenu.vue","mtime":1672113883904},{"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\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport kscjMenu from '@/api/examination/kscjMenu.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\tquerys: [{\n\t\t\t\t\tgroup: 'main',\n\t\t\t\t\toperation: 'LIKE',\n\t\t\t\t\tparentGroup: '',\n\t\t\t\t\tproperty: 'b.name_',\n\t\t\t\t\trelation: 'AND',\n\t\t\t\t\tvalue: ''\n\t\t\t\t}, {\n\t\t\t\t\tgroup: 'main',\n\t\t\t\t\toperation: 'LIKE',\n\t\t\t\t\tparentGroup: '',\n\t\t\t\t\tproperty: 'b.subject_id_',\n\t\t\t\t\trelation: 'AND',\n\t\t\t\t\tvalue: ''\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tgroup: 'main',\n\t\t\t\t\toperation: 'LIKE',\n\t\t\t\t\tparentGroup: '',\n\t\t\t\t\tproperty: 's.status_',\n\t\t\t\t\trelation: 'AND',\n\t\t\t\t\tvalue: ''\n\t\t\t\t}, {\n\t\t\t\t\tgroup: 'main',\n\t\t\t\t\toperation: 'LIKE',\n\t\t\t\t\tparentGroup: '',\n\t\t\t\t\tproperty: 'b.paper_type_',\n\t\t\t\t\trelation: 'AND',\n\t\t\t\t\tvalue: '1'\n\t\t\t\t}\n\t\t\t],\n\t\t\tksztList: [],\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.khlxList = dictUtils.getDictItemsFromCache('khlx')\n\t},\n\tmounted() {},\n\tmethods: {\n\t\thandleTab() {\n\t\t\tthis.loadData(1)\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\tloadData(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\tkscjMenu.myResultsQuery(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(e => {\n\t\t\t\t\tthis.ksztList.forEach(k => {\n\t\t\t\t\t\tif (e.status == k.value) {\n\t\t\t\t\t\t\te.statusName = 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 (e.paperType == k.value) {\n\t\t\t\t\t\t\te.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\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\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",null]}