{"remainingRequest":"D:\\jenkins\\workspace\\examine-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\examine-fvue\\src\\views\\mainDataMenu\\userTypeMenu.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\examine-fvue\\src\\views\\mainDataMenu\\userTypeMenu.vue","mtime":1669791942544},{"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\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport userTypeMenuDialog from './components/userTypeMenuDialog.vue'\nimport userTypeMenu from '@/api/examination/userTypeMenu.js'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nexport default {\n\tmixins: [TableMixin],\n\tname: 'userTypeMenu',\n\tcomponents: {\n\t\tuserTypeMenuDialog,\n\t},\n\tdata() {\n\t\treturn {\n\t\t\turl: {\n\t\t\t\tdelete: '/api/job/v1/job/deleteJobByIds'\n\t\t\t},\n\t\t\ttableData: [],\n\t\t\tmultipleSelection: [],\n\t\t\ttotal: 0,\n\t\t\tsortList: {},\n\t\t\tquerys: [{\n\t\t\t\tgroup: 'main',\n\t\t\t\toperation: 'EQUAL',\n\t\t\t\tparentGroup: '',\n\t\t\t\tproperty: 'name',\n\t\t\t\trelation: 'AND',\n\t\t\t\tvalue: ''\n\t\t\t}],\n\t\t\ttypeList: [],\n\t\t\troomList: []\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.typeList = dictUtils.getDictItemsFromCache('sblx')\n\t},\n\tmethods: {\n\t\tasync loadData(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\n\t\t\tawait userTypeMenu.getJobPage(this.queryParam, res => {\n\t\t\t\tthis.total = res.total\n\t\t\t\tthis.tableData = res.rows\n\t\t\t\tthis.$set(this.tableData)\n\t\t\t\tthis.loading = false\n\t\t\t})\n\t\t},\n\t\tinsort(val) {\n\t\t\tlet id = val.id\n\t\t\tlet value = val.sn\n\t\t\tthis.sortList[id] = value\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\n\t}\n}\n",null]}