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-2d0e9620.2dd10c4e.js.map

1 line
25 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/basic/page/auditManagement.vue","webpack:///src/views/basic/page/auditManagement.vue","webpack:///./src/views/basic/page/auditManagement.vue?5157","webpack:///./src/views/basic/page/auditManagement.vue?9964"],"names":["render","_vm","this","_c","_self","staticClass","_m","ref","attrs","config","on","tableCheck","slot","model","value","activeName","callback","$$v","expression","$event","add","table_row","_v","del","add_vrisible","addClose","staticStyle","addForm","scopedSlots","_u","key","fn","dateTimeChange","addDate","proxy","$baseUrl","ImgeSuccess","imglist","handleExceed","beforeAvatarUpload","addSubmit","staticRenderFns","data","ruleForm","status","rules","required","message","trigger","form_item","type","label","placeholder","width","options","prop","slotName","thead","table_data","url","search_item","pageNum","size","methods","id","auditManagementReviewResult","handleClick","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,QAAQ,CAACT,EAAG,UAAU,CAACU,MAAM,CAACC,MAAOb,EAAIc,WAAYC,SAAS,SAAUC,GAAMhB,EAAIc,WAAWE,GAAKC,WAAW,eAAe,CAACf,EAAG,cAAc,CAAC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AI,YACAF,aACAH,gBACAlC,iBACA,eACA,OACA,aAEA,OACA,aAEA,OACA,gBAKA,CAAAmC,eAAAI,WAAAF,cACA,CAAAF,aAAAI,gBAAAF,aACA,CAAAF,aAAAI,gBAAAF,cACA,CACAF,aACAI,cACAF,aACAH,gBACAlC,iBACA,iBACA,OACA,YAEA,OACA,aAEA,OACA,gBAMA,CACAmC,qBACAI,0BACAF,cAEA,CACAF,qBACAI,wBACAF,cAIA,CACAF,eACAI,kBACAF,cAEA,CACAF,cACAI,oBACAF,cAEA,CAAAF,aAAAI,oBAAAF,eAEAK,cACAC,0BACAC,aACA,CACAV,aACAC,aACAC,gCACAG,iBAEA,CACAL,cACAC,aACAC,kBACAE,SACA,CAAAxC,QAAAqC,aACA,CAAArC,QAAAqC,cACA,CAAArC,QAAAqC,eAEAI,eAEA,CACAL,cACAC,aACAC,kBACAE,SACA,CAAAxC,QAAAqC,cACA,CAAArC,QAAAqC,cACA,CAAArC,QAAAqC,eAEAI,cAGAb,MACAmB,UACAC,YAKAC,SACA3C,OACA,WACA,gCAGA,SAIA,gBACA,eACA2B,iBACAG,eAGA,qBATA,4BAaAzB,WACA,2BACA,sBAEAe,YACA,UACA,sBACAwB,yBAOAC,2BACA,WACA,eACAlB,kBACAG,iBAEA,4BACA,oBAIAlB,kBACA,yCACA,wCAGAkC,iBACA,WAEAtB,EADA,mBACAA,gBAEAA,KAEA,SACAiB,UACAC,QACAlB,UAEA,iCAIAjC,cACA,kBAGAY,OACA,aACA,SACA,wCACA4C,6BAEA,oCACAC,uBACAC,sBACAC,mCACAC,mCAEAC,KAAA,KACA,kCAEAC,MAAAC,YAEA,mCAIAtC,iBACA,iDAGAG,sBACA,2BACA,uBACA,wBAOA,OANA,MACA,6CAEA,GACA,0CAEA,UAEAD,kBACA,sBACA,sBACAqC,qBACA,4BCjYuX,I,YCOnXC,EAAY,eACd,EACA5E,EACAyC,GACA,EACA,KACA,KACA,MAIa,aAAAmC,E","file":"js/chunk-2d0e9620.2dd10c4e.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:\"tabs\"},[_c('el-tabs',{model:{value:(_vm.activeName),callback:function ($$v) {_vm.activeName=$$v},expression:\"activeName\"}},[_c('el-tab-pane',{attrs:{\"label\":\"全部\",\"name\":\"0\"}})],1)],1),_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"table-footer\"},[_c('button',{on:{\"click\":function($event){return _vm.add(_vm.table_row)}}},[_vm._v(\"审核\")]),_c('button',{on:{\"click\":function($event){return _vm.del(_vm.table_row)}}},[_vm._v(\"删除\")])])])],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(\"审核管理\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div class=\"main-content\">\n <div class=\"main-titel\">\n <span>审核管理</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=\"tabs\">\n <el-tabs v-model=\"activeName\">\n <el-tab-pane\n label=\"全部\"\n name=\"0\"\n ></el-tab-pane>\n </el-tabs>\n </template>\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 status:null\n },\n rules: {\n // 表单必填\n status: [\n { required: true, message: '请选择', trigger: 'change' }\n ]\n \n \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: '100' },\n {\n label: '申请身份',\n prop: 'type',\n width: 'auto',\n type: 'function',\n callback: (row, prop) => {\n switch (row.type) {\n case 1:\n return '审核业主'\n break\n case 2:\n return '审核亲属'\n break\n case 3:\n return '审核租客'\n break\n }\n }\n },\n { label: '申请人手机号', prop: 'tel', width: 'auto' },\n { label: '证件号码', prop: 'idNumber', width: '190' },\n { label: '房屋名称', prop: 'roomName', width: 'auto' },\n {\n label: '审核状态',\n prop: 'status',\n width: 'auto',\n type: 'function',\n callback: (row, prop) => {\n switch (row.status) {\n case 1:\n return '审核中'\n break\n case 3:\n return '审核失败'\n break\n case 4:\n return '审核成功'\n break\n \n }\n }\n },\n {\n label: '有效时间开始(只限租客)',\n prop: 'effectiveTimeStart',\n width: 'auto'\n },\n {\n label: '有效时间结束(只限租客)',\n prop: 'effectiveTimeEnd',\n width: 'auto'\n },\n // { label: '业主名称', prop: 'residentName', width: 'auto' },\n // { label: '业主手机号', prop: 'residentTel', width: 'auto' },\n {\n label: '提交申请时间',\n prop: 'createDate',\n width: 'auto'\n },\n {\n label: '审核人名称',\n prop: 'reviewerName',\n width: 'auto'\n },\n { label: '审核时间', prop: 'reviewerDate', width: 'auto' }\n ],\n table_data: [],\n url: 'auditManagementList',\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: 3, label: '审核失败' },\n { value: 4, 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!./auditManagement.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!./auditManagement.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./auditManagement.vue?vue&type=template&id=0b0e29ab&\"\nimport script from \"./auditManagement.vue?vue&type=script&lang=js&\"\nexport * from \"./auditManagement.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":""}