{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\babel-loader\\lib\\index.js!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\src\\views\\bbtjMenu\\components\\resultsDialog.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\views\\bbtjMenu\\components\\resultsDialog.vue","mtime":1670579919359},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\thread-loader\\dist\\cjs.js","mtime":499162500000},{"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":["import \"core-js/modules/es6.function.name\";\nimport \"core-js/modules/web.dom.iterable\";\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\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 { TableMixin } from '@/mixins/tableMixin';\nimport dictUtils from '@/components/dict/DictSelectUtils.js';\nimport ndbbMenu from '@/api/examination/ndbbMenu.js';\nexport default {\n name: 'resultsDialog',\n data: function data() {\n return {\n loading: false,\n visible: false,\n tableData: [],\n total: 0,\n queryParam: {\n pageBean: {\n page: 1,\n pageSize: 10\n },\n querys: [{\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'e.id_',\n relation: 'AND',\n value: ''\n }, {\n group: 'main',\n operation: 'LIKE',\n parentGroup: '',\n property: 'b.subject_id_',\n relation: 'AND',\n value: ''\n }]\n },\n yearId: ''\n };\n },\n created: function created() {},\n mounted: function mounted() {\n this.ksztList = dictUtils.getDictItemsFromCache('kszt');\n this.khlxList = dictUtils.getDictItemsFromCache('khlx');\n },\n methods: {\n add: function add(val, subjectId) {\n this.visible = true;\n this.yearId = val;\n this.queryParam.querys[0].value = this.yearId;\n this.queryParam.querys[1].value = subjectId;\n this.loadData(1);\n },\n searchName: function searchName() {},\n // 获取列表\n loadData: function loadData(page) {\n var _this = this;\n\n if (page) {\n this.queryParam.pageBean.page = page;\n }\n\n this.loading = true;\n this.tableData = [];\n ndbbMenu.detailPage(this.queryParam, function (res) {\n _this.total = res.total;\n _this.tableData = res.rows;\n\n _this.tableData.forEach(function (e) {\n _this.ksztList.forEach(function (k) {\n if (e.status == k.value) {\n e.statusName = k.name;\n }\n });\n\n _this.khlxList.forEach(function (k) {\n if (e.paperType == k.value) {\n e.paperTypeName = k.name;\n }\n });\n });\n\n _this.$set(_this.tableData);\n\n _this.loading = false;\n });\n },\n handleSizeChange: function handleSizeChange(val) {\n this.queryParam.pageBean.pageSize = val;\n this.loadData();\n },\n handleCurrentChange: function handleCurrentChange(val) {\n this.queryParam.pageBean.page = val;\n this.loadData();\n },\n //设置最终成绩\n handleClick: function handleClick(val) {\n var _this2 = this;\n\n var params = {\n id: this.yearId,\n recordId: val.id\n };\n ndbbMenu.settingYear(params, function (res) {\n if (res.state) {\n _this2.$message.success('设置成功');\n\n _this2.visible = false;\n\n _this2.$emit('loadData');\n }\n });\n },\n // 关闭新增人员窗口\n handleClose: function handleClose() {\n this.visible = false;\n }\n }\n};",null]}