{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\src\\views\\mnksMenu\\mnsjMenu.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\views\\mnksMenu\\mnsjMenu.vue","mtime":1669371001847},{"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\nimport {\n\tmapState\n} from 'vuex'\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport mnsjMenuDialog from './components/mnsjMenuDialog.vue'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport mnsjMenu from '@/api/examination/mnsjMenu.js'\nexport default {\n\tmixins: [TableMixin],\n\tname: 'mnsjMenu',\n\tcomponents: {\n\t\tmnsjMenuDialog,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\turl: {\n\t\t\t\tdelete: '/exam/paper/base/'\n\t\t\t},\n\t\t\ttableData: [],\n\t\t\ttotal: 0,\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: 'type_',\n\t\t\t\t\trelation: 'AND',\n\t\t\t\t\tvalue: '2'\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: '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{\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.way_type_',\n\t\t\t\t\trelation: 'AND',\n\t\t\t\t\tvalue: ''\n\t\t\t\t}\n\n\t\t\t],\n\t\t\tmultipleSelection: [],\n\t\t\tzjfsList: [],\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.ksztList = dictUtils.getDictItemsFromCache('kszt')\n\t\tthis.zjfsList = dictUtils.getDictItemsFromCache('zjfs')\n\t},\n\tcomputed: {\n\t\t...mapState({\n\t\t\ttoken: (state) => state.login.currentUser.token,\n\t\t}),\n\t},\n\tmethods: {\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\tthis.queryParam.sorter = [{\n\t\t\t\tdirection: \"DESC\",\n\t\t\t\tproperty: \"createTime\"\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\tmnsjMenu.getQuery(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\n\t\t\t\t\tthis.zjfsList.forEach(z => {\n\t\t\t\t\t\tif (e.wayType == z.value) {\n\t\t\t\t\t\t\te.wayTypeName = z.name\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\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\tpreview(val) {\n\t\t\tconsole.log(val);\n\t\t\tthis.$router.push({\n\t\t\t\tname: 'simulationTestPaper',\n\t\t\t\tparams: val\n\t\t\t})\n\n\t\t},\n\t\thandleClick(command, val) {\n\t\t\tthis.$refs.formModal.copy(val)\n\t\t},\n\t\ttableRowClassName({\n\t\t\trow,\n\t\t\trowIndex\n\t\t}) {\n\t\t\tconsole.log(rowIndex % 2 == 0);\n\t\t\tif (rowIndex % 2 == 0) {\n\t\t\t\treturn 'warning-row';\n\t\t\t} else {\n\t\t\t\treturn '';\n\t\t\t}\n\t\t},\n\t}\n}\n",null]}