management/front/dkha-web-sz-main/node_modules/.cache/vue-loader/3c9be6a6268ca87e4c66d9f43e1...

1 line
9.8 KiB
JSON
Raw Normal View History

2023-12-18 13:12:25 +08:00
{"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\\equipmentManage\\access-person-list.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\access-person-list.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\nimport { getDictLabel,getDictDataList } from \"@/utils\";\nexport default {\n data() {\n return {\n dialogVisible: false,\n dataForm: {\n name:'',\n },\n loading:false,\n dataList:[],\n checkList:[],\n pageInfo:{\n aeId:'',\n username:'',\n page:1,\n limit:10,\n },\n total:0,\n\t aeDevicename:\"\",// 设备名称\n // employTypeList:getDictDataList('employType'),\n };\n },\n computed:{\n previewList(){\n return this.dataList.map(item=>{\n return this.$ImgServerUrl+item.photoimg\n })\n },\n },\n methods: {\n init(id,aeDevicename) {\n if(!id){\n return this.$message.error(\"找不到id!\")\n }\n\t this.aeDevicename = aeDevicename\n this.dialogVisible = true;\n this.page=1;\n this.dataList=[];\n this.pageInfo.aeId=id;\n this.pageInfo.username='';\n this.query();\n },\n search(){\n this.page=1;\n this.query();\n },\n query(){\n this.loading=true;\n this.$http({\n url:\"/system/scaidooreightpersonlist/page\",\n method:\"get\",\n params:{\n ...this.pageInfo\n },\n }).then(({data:res})=>{\n if(res.code!=0){\n return this.$message.error(res.msg)\n }\n this.total=res.data.total;\n this.dataList=res.data.list;\n }).finally(()=>{\n this.loading=false\n })\n },\n pageSizeChangeHandle(size){\n this.pageInfo.limit=size;\n this.query()\n },\n pageCurrentChangeHandle(page){\n this.pageInfo.page=page;\n this.query()\n },\n selectionChangeHanlder(val){\n this.checkList=val\n },\n deletePersonHandler(id){\n let ids=id?[id]:this.checkList.map(item=>item.apId);\n this.$http({\n url:`/system/scaidooreightpersonlist`,\n method:\"delete\",\n data:ids,\n }).then(({data:res})=>{\n if(res.code!=0){\n return this.$message.error(res.msg)\n }\n this.$message.success(res.msg)\n this.query();//刷线当前\n this.$parent.$parent.query();//刷线父级\n })\n },\n deletePerson(id){\n if(!id&&this.checkList.length==0){\n return this.$message.warning(\"请选择要删除的条目\")\n }\n this.$confirm('此操作将永久删除, 是否继续?', '提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n }).then(() => {\n this.deletePersonHandler(id)\n })\n },\n formatterPersonType(row){\n return getDictLabel('employType',row.persontype)\n }\n }\n};\n",{"version":3,"sources":["access-person-list.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;