You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rcgy_xmf_qrcode/js/chunk-2d0c8460.e82d6a1c.js.map

1 line
20 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

{"version":3,"sources":["webpack:///./src/views/comprehensive/company/page/emergencyAlarm.vue","webpack:///src/views/comprehensive/company/page/emergencyAlarm.vue","webpack:///./src/views/comprehensive/company/page/emergencyAlarm.vue?39c8","webpack:///./src/views/comprehensive/company/page/emergencyAlarm.vue?4c17"],"names":["render","_vm","this","_c","_self","staticClass","_m","ref","attrs","config","on","tableCheck","slot","add_vrisible","addClose","staticStyle","_v","addForm","scopedSlots","_u","key","fn","dateTimeChange","model","value","addDate","callback","$$v","expression","proxy","$baseUrl","ImgeSuccess","imglist","handleExceed","beforeAvatarUpload","$event","addSubmit","staticRenderFns","data","ruleForm","form_item","type","label","placeholder","width","options","prop","slotName","table_row","activeName","thead","table_data","url","pageNum","size","methods","add","message","id","auditManagementReviewResult","handleClick","status","del","arr","confirmButtonText","cancelButtonText","confirmButtonClass","cancelButtonClass","then","catch","action","files","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACJ,EAAIK,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,MAAM,GAAG,CAACA,EAAG,WAAW,CAACI,IAAI,QAAQC,MAAM,CAAC,OAASP,EAAIQ,QAAQC,GAAG,CAAC,WAAaT,EAAIU,aAAa,CAACR,EAAG,WAAW,CAACS,KAAK,UAAU,CAACT,EAAG,MAAM,CAACE,YAAY,oBAAoB,IAAI,GAAGF,EAAG,SAAS,CAACK,MAAM,CAAC,YAAc,KAAK,eAAiBP,EAAIY,c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BACA,2BACA,uBACA,wBAOA,OANA,MACA,6CAEA,GACA,0CAEA,UAEAD,kBACA,sBACA,sBACAsC,qBACA,4BClTqY,I,YCOjYC,EAAY,eACd,EACAxE,EACAqC,GACA,EACA,KACA,KACA,MAIa,aAAAmC,E","file":"js/chunk-2d0c8460.e82d6a1c.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"main-content\"},[_vm._m(0),_c('div',{staticClass:\"content\"},[_c('div',{},[_c('VueTable',{ref:\"table\",attrs:{\"config\":_vm.config},on:{\"tableCheck\":_vm.tableCheck}},[_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"table-footer\"})])],2)],1),_c('Drawer',{attrs:{\"drawerTitle\":\"审核\",\"drawerVrisible\":_vm.add_vrisible},on:{\"drawerClose\":_vm.addClose}},[_c('div',{staticStyle:{\"padding\":\"30px\"}},[_c('FromCard',[_c('template',{slot:\"title\"},[_vm._v(\"审核信息\")]),[_c('VueForm',{ref:\"addForm\",attrs:{\"formObj\":_vm.addForm},scopedSlots:_vm._u([{key:\"date\",fn:function(){return [_c('el-time-picker',{attrs:{\"is-range\":\"\",\"range-separator\":\"至\",\"value-format\":\"HH:MM:SS\",\"start-placeholder\":\"开始时间\",\"end-placeholder\":\"结束时间\",\"placeholder\":\"选择时间范围\"},on:{\"change\":_vm.dateTimeChange},model:{value:(_vm.addDate),callback:function ($$v) {_vm.addDate=$$v},expression:\"addDate\"}})]},proxy:true}])},[_c('template',{slot:\"imgUrls\"},[[_c('el-upload',{attrs:{\"action\":`${_vm.$baseUrl}upload/uploadAnnouncement`,\"on-success\":_vm.ImgeSuccess,\"file-list\":_vm.imglist,\"on-exceed\":_vm.handleExceed,\"limit\":1,\"accept\":\".jpg,.png,.JPG,.PNG\",\"before-upload\":_vm.beforeAvatarUpload}},[_c('el-button',{attrs:{\"icon\":\"el-icon-edit\",\"size\":\"small\"}},[_vm._v(\"上传图片\")]),_c('span',{staticStyle:{\"margin-left\":\"10px\",\"font-size\":\"12px\",\"color\":\"#444444\"}},[_vm._v(\"建议比例3:2\")]),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_c('span',[_vm._v(\"支持扩展名png,jpg\")])])],1)]],2)],2)]],2)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn-orange\",on:{\"click\":function($event){return _vm.addSubmit()}}},[_c('span',[_c('i',{staticClass:\"el-icon-circle-check\"}),_vm._v(\"提交\")])]),_c('button',{staticClass:\"btn-gray\",on:{\"click\":_vm.addClose}},[_c('span',[_vm._v(\"取消\")])])])])],1)])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main-titel\"},[_c('span',[_vm._v(\"业主app紧急报警记录\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"main-content\">\n <div class=\"main-titel\">\n <span>业主app紧急报警记录</span>\n </div>\n <div class=\"content\">\n <div class=\"\">\n <VueTable\n ref=\"table\"\n :config=\"config\"\n @tableCheck=\"tableCheck\"\n >\n <template slot=\"footer\">\n <div class=\"table-footer\">\n <!-- <button @click=\"add(table_row)\">审核</button>\n <button @click=\"del(table_row)\">删除</button> -->\n </div>\n </template>\n </VueTable>\n </div>\n <!-- 新增 -->\n <Drawer\n drawerTitle=\"审核\"\n @drawerClose=\"addClose\"\n :drawerVrisible=\"add_vrisible\"\n >\n <div style=\"padding: 30px\">\n <FromCard>\n <template slot=\"title\">审核信息</template>\n <template>\n <VueForm ref=\"addForm\" :formObj=\"addForm\">\n <template v-slot:date>\n <el-time-picker\n is-range\n v-model=\"addDate\"\n range-separator=\"至\"\n @change=\"dateTimeChange\"\n value-format=\"HH:MM:SS\"\n start-placeholder=\"开始时间\"\n end-placeholder=\"结束时间\"\n placeholder=\"选择时间范围\"\n >\n </el-time-picker>\n </template>\n <template slot=\"imgUrls\">\n <template>\n <el-upload\n :action=\"`${$baseUrl}upload/uploadAnnouncement`\"\n :on-success=\"ImgeSuccess\"\n :file-list=\"imglist\"\n :on-exceed=\"handleExceed\"\n :limit=\"1\"\n accept=\".jpg,.png,.JPG,.PNG\"\n :before-upload=\"\n beforeAvatarUpload\n \"\n >\n <el-button\n icon=\"el-icon-edit\"\n size=\"small\"\n >上传图片</el-button\n >\n <span\n style=\"\n margin-left: 10px;\n font-size: 12px;\n color: #444444;\n \"\n >建议比例3:2</span\n >\n <div\n slot=\"tip\"\n class=\"el-upload__tip\"\n >\n <span\n >支持扩展名png,jpg</span\n >\n </div>\n </el-upload>\n </template>\n </template>\n </VueForm>\n </template>\n </FromCard>\n </div>\n <div slot=\"footer\">\n <button class=\"btn-orange\" @click=\"addSubmit()\">\n <span>\n <i class=\"el-icon-circle-check\"></i>提交</span\n >\n </button>\n <button class=\"btn-gray\" @click=\"addClose\">\n <span>取消</span>\n </button>\n </div>\n </Drawer>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport { auditManagementReviewResult } from '@/api/basic'\nexport default {\n data() {\n return {\n add_vrisible: false,\n addDate: null,\n addForm: {\n ruleForm: {\n // code: 'hdede',\n // facilitiesCategoryId:null,\n // address:null\n },\n form_item: [\n {\n type: 'Select',\n label: '审核状态',\n placeholder: '请选择',\n width: '100%',\n options: [\n { value: 1, label: '通过' },\n { value: 2, label: '不通过' }\n ],\n prop: 'status'\n },\n {\n type: 'Slot',\n label: '图片上传',\n placeholder: '请输入',\n width: '100%',\n prop: 'imgUrls',\n slotName: 'imgUrls'\n },\n {\n type: 'textarea',\n label: '备注',\n placeholder: '请输入',\n width: '50%',\n prop: 'remakes'\n }\n ]\n },\n table_row: [],\n // 上传img文件\n imglist: [],\n activeName: '0',\n config: {\n thead: [\n { label: '序号', type: 'index', width: '80' },\n { label: '用户名称', prop: 'name', width: 'auto' },\n { label: '用户手机号', prop: 'tel', width: 'auto' },\n { label: '房产名称', prop: 'roomName', width: 'auto' },\n { label: '报警时间', prop: 'createDate', width: 'auto' },\n ],\n table_data: [],\n url: 'alarmOneButtonAlarmList',\n // search_item: [\n // {\n // type: 'Input',\n // label: '房屋名称',\n // placeholder: '请输入房屋名称如1-1-101',\n // prop: 'roomName'\n // },\n // {\n // type: 'select',\n // label: '审核状态',\n // placeholder: '请选择',\n // options: [\n // { value: 1, label: '审核中' },\n // { value: 2, label: '审核失败' },\n // { value: 3, label: '审核成功' }\n // ],\n // prop: 'status'\n // },\n // {\n // type: 'select',\n // label: '申请身份',\n // placeholder: '请选择',\n // options: [\n // { value: 1, label: '审核业主' },\n // { value: 2, label: '审核亲属' },\n // { value: 3, label: '审核租客' }\n // ],\n // prop: 'type'\n // }\n // ],\n data: {\n pageNum: 1,\n size: 10\n }\n }\n }\n },\n methods: {\n add(data) {\n if (data.length > 1) {\n this.$message.error('只能操作一条数据')\n return\n }\n if (!data.length) {\n this.$message.error('请选择')\n return\n } else {\n if (data[0].status !== 1) {\n this.$message({\n message: '该审核已结束',\n type: 'error'\n })\n } else {\n this.add_vrisible = true\n }\n }\n },\n addClose() {\n this.$refs.addForm.reset()\n this.add_vrisible = false\n },\n addSubmit() {\n let resData = {\n ...this.addForm.ruleForm,\n id: this.table_row[0].id\n // code: this.addForm.ruleForm.code,\n // name: this.addForm.ruleForm.name,\n // openStartDate: this.openStartDate,\n // openEndDate: this.openEndDate,\n // imgUrls:this.addForm.ruleForm.imgUrls,\n }\n auditManagementReviewResult(resData).then((res) => {\n if (res.status) {\n this.$message({\n message: res.message,\n type: 'success'\n })\n this.$refs.table.loadData()\n this.addClose()\n }\n })\n },\n dateTimeChange(arr) {\n this.addForm.ruleForm.openStartDate = arr[0]\n this.addForm.ruleForm.openEndDate = arr[1]\n },\n // tabs切换\n handleClick(tab, event) {\n let status = null\n if (this.activeName != 0) {\n status = this.activeName\n } else {\n status = null\n }\n const requestData = {\n pageNum: 1,\n size: 10,\n status: status\n }\n this.$refs.table.requestData(requestData)\n },\n\n // 表格选中\n tableCheck(data) {\n this.table_row = data\n },\n // 删除\n del(data) {\n if (data.length) {\n let arr = []\n for (let i = 0; i < this.table_row.length; i++) {\n arr.push(this.table_row[i].id)\n }\n this.$confirm('是否确认删除?删除不可恢复', '删除', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n confirmButtonClass: 'confirmButton',\n cancelButtonClass: 'cancelButton'\n })\n .then(() => {\n this.$refs.table.tableDelete(arr)\n })\n .catch((action) => {})\n } else {\n this.$message.error('请选中需要删除的数据')\n }\n },\n // 图片上传成功\n ImgeSuccess(res, file) {\n this.addForm.ruleForm.imgUrls[0] = file.response.url\n },\n // 图片文件上传之前\n beforeAvatarUpload(file) {\n const isLt2M = file.size / 1024 / 1024 < 2\n const isJPG = file.type === 'image/png'\n const isPNG = file.type === 'image/jpeg'\n if (!isJPG && !isPNG) {\n this.$message.error('上传头像图片只能是 JPG/PNG 格式!')\n }\n if (!isLt2M) {\n this.$message.error('上传头像图片大小不能超过 2MB!')\n }\n return (isJPG || isPNG) && isLt2M\n },\n handleExceed(files, fileList) {\n this.$message.warning(\n `当前限制选择 1 个文件,本次选择了 ${\n files.length\n } 个文件,共选择了 ${files.length + fileList.length} 个文件`\n )\n }\n }\n}\n</script>\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./emergencyAlarm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./emergencyAlarm.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./emergencyAlarm.vue?vue&type=template&id=5a297264&\"\nimport script from \"./emergencyAlarm.vue?vue&type=script&lang=js&\"\nexport * from \"./emergencyAlarm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}