1 line
9.6 KiB
JSON
1 line
9.6 KiB
JSON
|
{"remainingRequest":"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\\registerManage\\staff.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\registerManage\\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//\n//\n//\n//\n//\n//\n\nimport mixinViewModule from '@/mixins/view-module'\nimport addOrUpdate from '@/views/modules/registerManage/staff-bind'\nimport viewStaff from '@/views/modules/registerManage/staff-view'\nimport { getDictLabel} from '@/utils'\nimport upload from '@/components/public/upload-excel-or-img'\nexport default {\n mixins: [mixinViewModule],\n components:{ addOrUpdate,viewStaff,upload },\n 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 }\n },\n computed:{\n previewList(){\n return this.dataList.map(item=>{\n return this.$ImgServerUrl+item.scPhotoimg\n })\n },\n },\n methods:{\n addStaff(){\n this.$refs['addOrUpdate'].init()\n },\n search(){\n this.page=1;\n this.query();\n },\n resetQuery(){\n this.page=1;\n this.dataForm={\n scWaname:'',\n scEmpno:''\n };\n this.query();\n },\n viewHandle(row){\n this.$refs['viewStaff'].init(row)\n },\n editHandle(row){\n this.$refs['addOrUpdate'].init(row)\n },\n uploadExcel(){\n this.$refs['staffUploadExcel'].init()\n },\n trackHandle(row){},\n unbindHandle(row){\n this.$confirm('确定进行解绑操作?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n let dataForm={\n ...row,\n scUwbid:'',\n scRfcardid:'',\n };\n this.$http({\n url:\"/system/scworkersarchives\",\n method:'put',\n data:dataForm\n }).then(({data})=>{\n if(data.code!=0){\n return this.$message.error(data.msg)\n }\n this.query();\n this.$message.success(data.msg)\n })\n })\n },\n formatterSex(row){\n return getDictLabel('gender',row.scWasex)\n }\n }\n}\n",{"version":3,"sources":["staff.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"staff.vue","sourceRoot":"src/views/modules/r
|