{"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\\other-five-face.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\modules\\equipmentManage\\other-five-face.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\nimport {\n\tgetDictDataList\n} from \"@/utils\";\nexport default {\n\tprops: {\n\t\taeids: {\n\t\t\ttype: Array,\n\t\t\tdefault: []\n\t\t},\n\t},\n\tdata() {\n\t\treturn {\n\t\t\tloading:false,\n\t\t\tdialogVisible: false,\n\t\t\tdataForm: {\n\t\t\t\ttype: 1,\n\t\t\t\tname: '',\n\t\t\t\tscStuname: '', //学生姓名\n\t\t\t\tscWaname: '', //职工信息\n\t\t\t\tvrName: '', //访客姓名\n\t\t\t},\n\t\t\ttotal: 0,\n\t\t\tpageInfo: {\n\t\t\t\tpage: 1,\n\t\t\t\tlimit: 10\n\t\t\t},\n\t\t\tcheckedList: [],\n\t\t\tdataList: [],\n\t\t\tpersonTypeList: [{\n\t\t\t\t\tdictLabel: \"学生\",\n\t\t\t\t\tdictValue: 1\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdictLabel: \"职工\",\n\t\t\t\t\tdictValue: 2\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\tdictLabel: \"访客\",\n\t\t\t\t\tdictValue: 3\n\t\t\t\t}\n\t\t\t],\n\t\t};\n\t},\n\twatch: {\n\t\t'dataForm.name'(val) {\n\t\t\tthis.dataForm.scStuname = val; //学生姓名\n\t\t\tthis.dataForm.scWaname = val; //职工信息\n\t\t\tthis.dataForm.vrName = val; //访客姓名\n\t\t}\n\t},\n\tcomputed: {\n\t\thttpUrl() {\n\t\t\tconst urlList = [\"/system/scstudents/page\", \"/system/scworkersarchives/page\", \"/system/scvisitorrecord/page\"];\n\t\t\treturn urlList[this.dataForm.type - 1]\n\t\t},\n\t\tpreviewList() {\n\t\t\treturn this.dataList.map(item => {\n\t\t\t\treturn item.imgUrl\n\t\t\t})\n\t\t},\n\t\tuserids() {\n\t\t\treturn this.checkedList.map(item => item.id)\n\t\t}\n\t},\n\tmethods: {\n\t\tinit() {\n\t\t\tthis.dialogVisible = true;\n\t\t\tthis.dataForm.name = '';\n\t\t\tthis.pageInfo.page = 1;\n\t\t\tthis.query();\n\t\t},\n\t\tsearch() {\n\t\t\tthis.pageInfo.page = 1;\n\t\t\tthis.query();\n\t\t},\n\t\tquery() {\n\t\t\tthis.$http({\n\t\t\t\turl: this.httpUrl,\n\t\t\t\tmethod: \"get\",\n\t\t\t\tparams: {\n\t\t\t\t\t// scState:1,\n\t\t\t\t\t...this.dataForm,\n\t\t\t\t\t...this.pageInfo\n\t\t\t\t}\n\t\t\t}).then(({\n\t\t\t\tdata: res\n\t\t\t}) => {\n\t\t\t\tif (res.code != 0) {\n\t\t\t\t\treturn this.$messsage.error(res.msg)\n\t\t\t\t}\n\t\t\t\tthis.total = res.data.total;\n\t\t\t\tlet baseurl = this.$ImgServerUrl;\n\t\t\t\tthis.dataList = res.data.list.map(item => {\n\t\t\t\t\treturn {\n\t\t\t\t\t\tname: item.scStuname || item.scWaname || item.vrName,\n\t\t\t\t\t\timgUrl: baseurl + (item.scPhotoimg || item.vrPhoneimg),\n\t\t\t\t\t\tid: item.scStdid || item.scWaid || item.vrId\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t})\n\t\t},\n\t\tsendFace() {\n\t\t\tif (this.checkedList.length == 0) {\n\t\t\t\treturn this.$message.warning(`请勾选需要下发人脸照片的设备`)\n\t\t\t}\n\t\t\tthis.loading = true\n\t\t\tthis.$http({\n\t\t\t\turl: \"/system/fvscdevice/saveEqToFaceTwo\",\n\t\t\t\tmethod: \"post\",\n\t\t\t\ttimeout: 0,\n\t\t\t\tdata: {\n\t\t\t\t\tfiveDoors: this.aeids,\n\t\t\t\t\tids: this.userids,\n\t\t\t\t}\n\t\t\t}).then(({\n\t\t\t\tdata: res\n\t\t\t}) => {\n\t\t\t\tthis.loading = false\n\t\t\t\tif (res.code != 0) {\n\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t}\n\n\t\t\t\tthis.$message.warning(\"正在下发中...\")\n\t\t\t\tthis.$message.success('所选人员已下发到指定设备')\n\t\t\t\tthis.$parent.$parent.query();\n\t\t\t})\n\t\t},\n\t\thandleSelectionChange(data) {\n\t\t\tthis.checkedList = data;\n\t\t},\n\t\tpageSizeChangeHandle(size) {\n\t\t\tthis.pageInfo.limit = size;\n\t\t\tthis.query()\n\t\t},\n\t\tpageCurrentChangeHandle(page) {\n\t\t\tthis.pageInfo.page = page;\n\t\t\tthis.query()\n\t\t},\n\t},\n};\n",{"version":3,"sources":["other-five-face.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCA;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;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;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"other-five-face.vue","sourceRoot":"src/views/modules/equipmentManage","sourcesContent":["\n\t\n\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t查询\n\t\t\t\t\t下发选中\n\t\t\t\t\n\n\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t\t
\n\t\t\t\n\t\t
\n\t\n\n\n\n"]}]}