1 line
7.3 KiB
JSON
1 line
7.3 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\\equipmentManage\\five-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\\five-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\nimport qs from 'qs'\nexport default {\n\tdata() {\n\t\treturn {\n\t\t\tdialogVisible: false,\n\t\t\tloading: false,\n\t\t\tdataList: [],\n\t\t\tid: \"\",\n\t\t\troomName: \"\",\n\t\t\tformData:{name:''}\n\t\t};\n\t},\n\tmethods: {\n\t\tinit(id) {\n\t\t\tthis.formData.name='';\n\t\t\tthis.id = id\n\t\t\tthis.dialogVisible = true;\n\t\t\tthis.getDataList();\n\n\t\t},\n\t\t// 查询\n\t\tgetDataList() {\n\t\t\tthis.$http.get(`/system/fvscdevice/${this.id}/${this.formData.name}`).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.$message.error(res.msg)\n\t\t\t\t}\n\t\t\t\tthis.dataList = res.data.personList\n\t\t\t\tthis.roomName = res.data.fname\n\t\t\t}).catch(err => {\n\n\t\t\t})\n\t\t},\n\t\t// 删除\n\t\tdeleteHandle(obj) {\n\t\t\tthis.$confirm(this.$t('prompt.info', {\n\t\t\t\t'handle': this.$t('delete')\n\t\t\t}), this.$t('prompt.title'), {\n\t\t\t\tconfirmButtonText: this.$t('confirm'),\n\t\t\t\tcancelButtonText: this.$t('cancel'),\n\t\t\t\ttype: 'warning'\n\t\t\t}).then(() => {\n\t\t\t\tvar params = qs.stringify({\n\t\t\t\t\timgId: obj.imgId,\n\t\t\t\t\tpassword: obj.password,\n\t\t\t\t\tserial: obj.serial\n\t\t\t\t})\n\t\t\t\tthis.$http.post(`/system/fvscdevice/deleteFace`, params).then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\tif (res.code !== 0) {\n\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\tthis.$message({\n\t\t\t\t\t\tmessage: this.$t('prompt.success'),\n\t\t\t\t\t\ttype: 'success',\n\t\t\t\t\t\tduration: 500,\n\t\t\t\t\t\tonClose: () => {\n\t\t\t\t\t\t\tthis.getDataList()\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t}).catch(() => {}).finally(res => {\n\t\t\t\t\tthis.loading = false\n\t\t\t\t})\n\t\t\t}).catch(() => {})\n\t\t}\n\t}\n};\n",{"version":3,"sources":["five-access-person-list.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA;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;;AAEA;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":"five-access-person-list.vue","sourceRoot":"src/views/modules/equipmentManage","sourcesContent":["<template>\n\t<el-dialog :title=\"'('+roomName+')已下发人员'\" width=\"900px\" :visible.sync=\"dialogVisible\" :close-on-click-modal=\"false\">\n\t\t<el-form ref=\"ruleForm\" :model=\"formData\" label-width=\"80px\" inline @keyup.enter.native=\"getDataList\">\n\t\t\t<el-form-item label=\"姓名\" prop=\"name\">\n\t\t\t\t<el-input v-model=\"formData.name\" placeholder=\"请输入\" clearable></el-input>\n\t\t\t</el-form-item>\n\n\t\t\t<el-form-item>\n\t\t\t\t<el-button @click=\"getDataList()\">查询</el-button>\n\t\t\t</el-form-item>\n\t\t</el-form>\n\t\t<el-table :data=\"dataList\" v-loading=\"loading\" height=\"50vh\">\n\t\t\t<el-table-column type=\"index\" label=\"序号\" align=\"center\" width=\"60\"></el-table-column>\n\t\t\t<el-table-column prop=\"photoimg\" label=\"照片\" align=\"center\" width=\"100\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-image class=\"student-img\" :src=\"$ImgServerUrl+scope.row.photoimg\" :preview-src-list=\"previewList\">\n\t\t\t\t\t\t<div slot=\"error\" class=\"image-slot\">\n\t\t\t\t\t\t\t<img class=\"student-img\" src=\"../../../assets/img/person.jpg\">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</el-image>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t\t<el-table-column prop=\"username\" label=\"姓名\" align=\"center\" width=\"70\"></el-table-column>\n\t\t\t<el-table-column prop=\"statusNote\" label=\"下发状态\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"downfaceTime\" label=\"下发时间\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column prop=\"completeTime\" label=\"完成时间\" align=\"center\"></el-table-column>\n\t\t\t<el-table-column :label=\"$t('handle')\" align=\"center\" fixed=\"right\" width=\"80\">\n\t\t\t\t<template slot-scope=\"scope\">\n\t\t\t\t\t<el-button type=\"text\" @click=\"deleteHandle(scope.row)\">{{$t('delete')}}</el-button>\n\t\t\t\t</template>\n\t\t\t</el-table-column>\n\t\t</el-table>\n\t</el-dialog>\n</template>\n<script>\n\timport qs from 'qs'\n\texport default {\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tdialogVisible: false,\n\t\t\t\tloading: false,\n\t\t\t\tdataList: [],\n\t\t\t\tid: \"\",\n\t\t\t\troomName: \"\",\n\t\t\t\tformData:{name:''}\n\t\t\t};\n\t\t},\n\t\tmethods: {\n\t\t\tinit(id) {\n\t\t\t\tthis.formData.name='';\n\t\t\t\tthis.id = id\n\t\t\t\tthis.dialogVisible = true;\n\t\t\t\tthis.getDataList();\n\n\t\t\t},\n\t\t\t// 查询\n\t\t\tgetDataList() {\n\t\t\t\tthis.$http.get(`/system/fvscdevice/${this.id}/${this.formData.name}`).then(({\n\t\t\t\t\tdata: res\n\t\t\t\t}) => {\n\t\t\t\t\tif (res.code !== 0) {\n\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t}\n\t\t\t\t\tthis.dataList = res.data.personList\n\t\t\t\t\tthis.roomName = res.data.fname\n\t\t\t\t}).catch(err => {\n\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 删除\n\t\t\tdeleteHandle(obj) {\n\t\t\t\tthis.$confirm(this.$t('prompt.info', {\n\t\t\t\t\t'handle': this.$t('delete')\n\t\t\t\t}), this.$t('prompt.title'), {\n\t\t\t\t\tconfirmButtonText: this.$t('confirm'),\n\t\t\t\t\tcancelButtonText: this.$t('cancel'),\n\t\t\t\t\ttype: 'warning'\n\t\t\t\t}).then(() => {\n\t\t\t\t\tvar params = qs.stringify({\n\t\t\t\t\t\timgId: obj.imgId,\n\t\t\t\t\t\tpassword: obj.password,\n\t\t\t\t\t\tserial: obj.serial\n\t\t\t\t\t})\n\t\t\t\t\tthis.$http.post(`/system/fvscdevice/deleteFace`, params).then(({\n\t\t\t\t\t\tdata: res\n\t\t\t\t\t}) => {\n\t\t\t\t\t\tif (res.code !== 0) {\n\t\t\t\t\t\t\treturn this.$message.error(res.msg)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.$message({\n\t\t\t\t\t\t\tmessage: this.$t('prompt.success'),\n\t\t\t\t\t\t\ttype: 'success',\n\t\t\t\t\t\t\tduration: 500,\n\t\t\t\t\t\t\tonClose: () => {\n\t\t\t\t\t\t\t\tthis.getDataList()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t}).catch(() => {}).finally(res => {\n\t\t\t\t\t\tthis.loading = false\n\t\t\t\t\t})\n\t\t\t\t}).catch(() => {})\n\t\t\t}\n\t\t}\n\t};\n</script>\n<style lang=\"scss\" scoped>\n\t.el-table {\n\t\t.student-img {\n\t\t\tvertical-align: top;\n\t\t\twidth: 53px;\n\t\t\theight: 70px;\n\t\t}\n\t}\n</style>\n"]}]} |