1
0
Fork 0
management/front/dkha-web-sz-main/node_modules/.cache/babel-loader/34f47d8915b56c014b5835d2ff5...

1 line
9.3 KiB
JSON

{"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\\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":["import \"core-js/modules/es6.function.name\";\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 data: function data() {\n return {\n dialogVisible: false,\n loading: false,\n dataList: [],\n id: \"\",\n roomName: \"\",\n formData: {\n name: ''\n }\n };\n },\n methods: {\n init: function init(id) {\n this.formData.name = '';\n this.id = id;\n this.dialogVisible = true;\n this.getDataList();\n },\n // 查询\n getDataList: function getDataList() {\n var _this = this;\n\n this.$http.get(\"/system/fvscdevice/\".concat(this.id, \"/\").concat(this.formData.name)).then(function (_ref) {\n var res = _ref.data;\n\n if (res.code !== 0) {\n return _this.$message.error(res.msg);\n }\n\n _this.dataList = res.data.personList;\n _this.roomName = res.data.fname;\n }).catch(function (err) {});\n },\n // 删除\n deleteHandle: function deleteHandle(obj) {\n var _this2 = this;\n\n this.$confirm(this.$t('prompt.info', {\n 'handle': this.$t('delete')\n }), this.$t('prompt.title'), {\n confirmButtonText: this.$t('confirm'),\n cancelButtonText: this.$t('cancel'),\n type: 'warning'\n }).then(function () {\n var params = qs.stringify({\n imgId: obj.imgId,\n password: obj.password,\n serial: obj.serial\n });\n\n _this2.$http.post(\"/system/fvscdevice/deleteFace\", params).then(function (_ref2) {\n var res = _ref2.data;\n\n if (res.code !== 0) {\n return _this2.$message.error(res.msg);\n }\n\n _this2.$message({\n message: _this2.$t('prompt.success'),\n type: 'success',\n duration: 500,\n onClose: function onClose() {\n _this2.getDataList();\n }\n });\n }).catch(function () {}).finally(function (res) {\n _this2.loading = false;\n });\n }).catch(function () {});\n }\n }\n};",{"version":3,"sources":["five-access-person-list.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmCA,OAAA,EAAA,MAAA,IAAA;AACA,eAAA;AACA,EAAA,IADA,kBACA;AACA,WAAA;AACA,MAAA,aAAA,EAAA,KADA;AAEA,MAAA,OAAA,EAAA,KAFA;AAGA,MAAA,QAAA,EAAA,EAHA;AAIA,MAAA,EAAA,EAAA,EAJA;AAKA,MAAA,QAAA,EAAA,EALA;AAMA,MAAA,QAAA,EAAA;AAAA,QAAA,IAAA,EAAA;AAAA;AANA,KAAA;AAQA,GAVA;AAWA,EAAA,OAAA,EAAA;AACA,IAAA,IADA,gBACA,EADA,EACA;AACA,WAAA,QAAA,CAAA,IAAA,GAAA,EAAA;AACA,WAAA,EAAA,GAAA,EAAA;AACA,WAAA,aAAA,G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AAA;AACA,mBAAA,MAAA,CAAA,QAAA,CAAA,KAAA,CAAA,GAAA,CAAA,GAAA,CAAA;AACA;;AACA,UAAA,MAAA,CAAA,QAAA,CAAA;AACA,YAAA,OAAA,EAAA,MAAA,CAAA,EAAA,CAAA,gBAAA,CADA;AAEA,YAAA,IAAA,EAAA,SAFA;AAGA,YAAA,QAAA,EAAA,GAHA;AAIA,YAAA,OAAA,EAAA,mBAAA;AACA,cAAA,MAAA,CAAA,WAAA;AACA;AANA,WAAA;AAQA,SAdA,EAcA,KAdA,CAcA,YAAA,CAAA,CAdA,EAcA,OAdA,CAcA,UAAA,GAAA,EAAA;AACA,UAAA,MAAA,CAAA,OAAA,GAAA,KAAA;AACA,SAhBA;AAiBA,OA7BA,EA6BA,KA7BA,CA6BA,YAAA,CAAA,CA7BA;AA8BA;AAtDA;AAXA,CAAA","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"],"sourceRoot":"src/views/modules/equipmentManage"}]}