{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\personData\\staff.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\personData\\staff.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\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//\nimport mixinViewModule from '@/mixins/view-module';\nimport addOrUpdate from \"./staff/staff-add-or-update\";\nimport viewStaff from \"./staff/staff-view\";\nimport { getDictLabel } from '@/utils';\nimport upload from '@/components/public/upload-excel-or-img';\nexport default {\n mixins: [mixinViewModule],\n components: {\n addOrUpdate: addOrUpdate,\n viewStaff: viewStaff,\n upload: upload\n },\n data: function data() {\n return {\n mixinViewModuleOptions: {\n getDataListURL: '/system/scworkersarchives/page',\n deleteURL: '/system/scworkersarchives',\n getDataListIsPage: true\n },\n limit: 6,\n dataForm: {\n scWaname: '',\n scEmpno: ''\n },\n dataList: [],\n checkList: [],\n loading: false\n };\n },\n computed: {\n previewList: function previewList() {\n var _this = this;\n\n return this.dataList.map(function (item) {\n return _this.$ImgServerUrl + item.scPhotoimg;\n });\n }\n },\n methods: {\n // 选择需要导出的人员\n checkListHandle: function checkListHandle(param) {\n this.checkList = param.map(function (item) {\n return item.scWaid;\n });\n },\n // 导出\n exportHandle: function exportHandle() {\n var _this2 = this;\n\n if (this.checkList.length === 0) {\n return this.$message.warning(\"\\u8BF7\\u52FE\\u9009\\u9700\\u8981\\u5BFC\\u51FA\\u7684\\u6570\\u636E\");\n }\n\n this.loading = true;\n this.$http.post(\"/system/scworkersarchives/pageExport\", this.checkList, {\n responseType: \"blob\"\n }).then(function (res) {\n var content = res.data;\n var blob = new Blob([content], {\n type: \"application/vnd.ms-excel;charset=utf-8\"\n });\n var fileName = \"职工信息\";\n\n if (\"download\" in document.createElement(\"a\")) {\n var elink = document.createElement(\"a\");\n elink.download = fileName;\n elink.style.display = \"none\";\n elink.href = URL.createObjectURL(blob);\n document.body.appendChild(elink);\n elink.click();\n URL.revokeObjectURL(elink.href);\n document.body.removeChild(elink);\n } else {\n navigator.msSaveBlob(blob, fileName);\n }\n }).catch(function () {}).finally(function () {\n _this2.loading = false;\n });\n },\n addStaff: function addStaff() {\n this.$refs['addOrUpdate'].init();\n },\n search: function search() {\n this.page = 1;\n this.query();\n },\n resetQuery: function resetQuery() {\n this.page = 1;\n this.dataForm = {\n scWaname: '',\n scEmpno: ''\n };\n this.query();\n },\n viewHandle: function viewHandle(row) {\n this.$refs['viewStaff'].init(row);\n },\n editHandle: function editHandle(row) {\n this.$refs['addOrUpdate'].init(row);\n },\n uploadExcel: function uploadExcel() {\n this.$refs['staffUploadExcel'].init();\n },\n uploadImg: function uploadImg() {\n this.$refs['staffUploadImg'].init();\n },\n trackHandle: function trackHandle(row) {\n this.$router.push({\n path: \"/xwyl-track\",\n query: {\n tid: row.scUwbid\n }\n });\n },\n formatterType: function formatterType(row) {\n return getDictLabel('employType', row.scEmptype);\n },\n formatterSex: function formatterSex(row) {\n return getDictLabel('gender', row.scWasex);\n }\n }\n};",{"version":3,"sources":["staff.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8DA,OAAA,eAAA,MAAA,sBAAA;AACA,OAAA,WAAA;AACA,OAAA,SAAA;AACA,SACA,YADA,QAEA,SAFA;AAGA,OAAA,MAAA,MAAA,yCAAA;AACA,eAAA;AACA,EAAA,MAAA,EAAA,CAAA,eAAA,CADA;AAEA,EAAA,UAAA,EAAA;AACA,IAAA,WAAA,EAAA,WADA;AAEA,IAAA,SAAA,EAAA,SAFA;AAGA,IAAA,MAAA,EAAA;AAHA,GAFA;AAOA,EAAA,IAPA,kBAOA;AACA,WAAA;AACA,MAAA,sBAAA,EAAA;AACA,QAAA,cAAA,EAAA,gCADA;AAEA,QAAA,SAAA,EAAA,2BAFA;AAGA,QAAA,iBAAA,EAAA;AAHA,OADA;AAMA,MAAA,KAAA,EAAA,CANA;AAOA,MAAA,QAAA,EAAA;AACA,QAAA,QAAA,EAAA,EADA;AAEA,QAAA,OAAA,EAAA;AAFA,OAPA;AAWA,MAAA,QAAA,EAAA,EAXA;AAYA,MAAA,SAAA,EAAA,EAZA;AAaA,MAAA,OAAA,EAAA;AAbA,KAAA;AAeA,GAvBA;AAwBA,EAAA,QAAA,EAAA;AACA,IAAA,WADA,yBACA;AAAA;;AACA,aAAA,KAAA,QAAA,CAAA,GAAA,CAAA,UAAA,IAAA,EAAA;AACA,eAAA,KAAA,CAAA,aAAA,GAAA,IAAA,CAAA,UAAA;AACA,OAFA,CAAA;AAGA;AALA,GAxBA;AA+BA,EAAA,OAAA,EAAA;AACA;AACA,IAA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