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-521b95a2.bbe3f7e6.js.map

1 line
64 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/plugins/DownloadExcel.js","webpack:///./src/views/daily/page/safeManage.vue","webpack:///src/views/daily/page/safeManage.vue","webpack:///./src/views/daily/page/safeManage.vue?6bbe","webpack:///./src/views/daily/page/safeManage.vue?c81b","webpack:///./src/api/daily.js"],"names":["async","DownloadExcel","params","that","Excel","response","GetTableData","push","tableList","pageCount","i","pageNum","data","ExcelLoading","partDownloadExcel","console","log","render","_vm","this","_c","_self","staticClass","_m","attrs","on","$event","add","_v","ref","config","tableCheck","scopedSlots","_u","key","fn","slotData","imgList","length","staticStyle","download","_s","url","substring","slot","edit","table_row","del","drawerTitle","add_vrisible","addClose","addForm","addRuleSuccess","dateTimeChange","model","value","addDate","callback","$$v","expression","proxy","remoteMethod","loading","change","sefocus","ruleForm","facilitiesCategoryId","$set","_l","options","item","id","name","$baseUrl","fileSuccess","wordRemove","handleExceed","wordList","beforeFileUpload","addSubmit","staticRenderFns","activeName1","type","details","imgUrls","fileDocName","happenDate","rules","required","message","trigger","form_item","label","placeholder","width","prop","slotName","imglist","activeName","thead","table_data","search_item","startDate","endDate","size","mounted","methods","lock","text","spinner","background","Loading","finishDownload","confirmButtonText","cancelButtonText","then","window","catch","securityManagementList","res","detail","files","file","securityManagementUpdate","securityManagementInsert","handleClick","status","arr","confirmButtonClass","cancelButtonClass","action","component","facilitiesManageInsert","service","request","method","facilitiesAppointmentUpdate","sysOperationsInsert","sysOperationsUpdate","facilitiesPlanInsert","facilitiesPlanOpen","facilitiesPlanStop","facilitiesCategoryList","facilitiesManageList","facilitiesManageUpdate","facilitiesMaintenanceRecordList","facilitiesMaintenanceRecordInsert","facilitiesMaintenanceRecordDelete","facilitiesManageFindDetailById","facilitiesCategoryFindDetailById","facilitiesCategoryUpdate","facilitiesCategoryInsert","userDecorationNewExamine","userDecorationNewAssign","ownersCommitteeInsert","ownersCommitteeUpdate","ownersCommitteeFindById","inspectionPointInsert","inspectionPointUpdate","inspectionPointFindById","inspectionPlanInsert","inspectionRouteInsert","inspectionRouteUpdate","inspectionRouteFindById","inspectionRouteList","inspectionPointList","sysOrganizationFindAllDepartment","sysUserList","inspectionRouteIsEnable","inspectionPlanIsEnable","materialList","materialRecordFindById","materialInsert","materialUpdate","materialRecordInsert","materialInventoryInsert","materialInventoryFindById","keyManagementInsert","keyBorrowExamine","keyManagementFindById","keyManagementUpdate","packageCollectionInsert","packageCollectionFindById","packageCollectionUpdate","interviewInsert","greenAreaInsert","greenAreaList","greenTaskInsert","greenAreaFindById","greenAreaUpdate","hygieneAreaInsert","hygieneAreaList","hygieneTaskInsert","hygieneAreaFindById","hygieneAreaUpdate","regulationManagementInsert","regulationManagementRelease","regulationManagementFindById","regulationManagementUpdate","serviceBrowsingInsert","serviceBrowsingUpdate","serviceBrowsingFindById","communityIntroductionInsert","communityIntroductionUpdate","communityIntroductionEnable","communityIntroductionFindById","userDecorationNewList"],"mappings":"kHAAA,8FAEOA,eAAeC,EAAcC,EAAQC,GACxC,IAAIC,EAAQ,GACZ,MAAMC,QAAiBC,eAAaJ,GAEpC,GADAE,EAAMG,QAAQF,EAASG,WACnBH,EAASI,UAAY,EACrB,IAAK,IAAIC,EAAI,EAAGA,EAAIL,EAASI,UAAWC,IAAK,CACzCR,EAAOS,QAAUD,EAAI,EACrB,MAAME,QAAaN,eAAaJ,GAChCC,EAAKU,aAAaH,EAAGL,EAASI,WAC9BL,EAAMG,QAAQK,EAAKJ,WAG3B,OAAOJ,EAGJJ,eAAec,EAAkBZ,GACpC,IAAIE,EAAQ,GACZ,MAAMC,QAAiBC,eAAaJ,GAGpC,OAFAa,QAAQC,IAAIX,GACZD,EAAMG,QAAQF,EA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CACAgB,YACAC,cACAC,iBAGAR,MACA,CACAM,YACAC,cACAC,iBAGAP,SACA,CACAK,YACAC,cACAC,iBAGAJ,YACA,CACAE,YACAC,cACAC,iBAGAlB,MACA,CACAgB,YACAC,cACAC,kBAIAC,WACA,CACAT,aACAU,aACAC,kBACAC,YACAC,aAEA,CACAb,cACAU,aACAC,kBACAC,YACAC,YACA1B,SACA,CACAd,QACAqC,cAEA,CACArC,QACAqC,cAEA,CACArC,QACAqC,cAEA,CACArC,QACAqC,cAIA,CACAV,gBACAU,aACAC,kBACAC,YACAC,gBAEA,CACAb,YACAU,aACAC,kBACAC,aACAC,eACAC,oBAEA,CACAd,gBACAU,aACAC,kBACAC,YACAC,qBAIAjD,aAEAmD,WACAC,eAyBApE,QACAqE,OACA,CAAAP,WAAAV,aAAAY,YACA,CAAAF,aAAAG,YAAAD,cACA,CACAF,aACAG,YACAD,cAEA,CAAAF,aAAAG,YAAAD,aAAAZ,gBACAzB,cACA,eACA,OACA,aAEA,OACA,aAEA,OACA,aAEA,OACA,cAIA,CAAAmC,aAAAG,eAAAD,cACA,CACAF,aACAG,eACAD,aACAZ,YACAc,gBAGA,CAAAJ,aAAAG,kBAAAD,aACA,CAAAF,cAAAG,kBAAAD,cAEAM,cACA1D,6BACA2D,aACA,CACAnB,aACAU,aACAC,kBACAE,aASA,CACAb,cACAU,aACAC,kBACAtC,WACAc,SACA,CAAAd,QAAAqC,cACA,CAAArC,QAAAqC,cACA,CAAArC,QAAAqC,cACA,CAAArC,QAAAqC,aAEAG,eAEA,CACAb,cACAU,aACAC,kBACAE,YACAO,4BACAC,wBACAT,gBAIAlF,MACAD,UACA6F,YAKAC,YAWAC,SAEA,kBACA,IACA,GACAhE,2BACA9B,MACAD,UACA6F,SACAtB,SAGA,qCACA,UAGArE,kBACA,uBACA8F,QACAC,mBACAC,0BACAC,kCAEAC,8BACAhG,qBAGAiG,iBACA,wBACAD,WAGAvE,YACA,gCACAyE,uBACAC,sBACAhC,iBAGAiC,KA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4BACLxC,OAAQU,IAIT,SAAS8L,GAA4B9L,GACxC,OAAOyH,OAAQC,QAAQ,CACnBC,OAAQ,OACR7F,IAAK,gCACL9B,KAAMA,IAGP,SAAS+L,GAA4B/L,GACxC,OAAOyH,OAAQC,QAAQ,CACnBC,OAAQ,OACR7F,IAAK,gCACL9B,KAAMA,IAIP,SAASgM,GAA4BhM,GACxC,OAAOyH,OAAQC,QAAQ,CACnBC,OAAQ,MACR7F,IAAK,gCACLxC,OAAQU,IAGT,SAASiM,GAA8BjM,GAC1C,OAAOyH,OAAQC,QAAQ,CACnBC,OAAQ,MACR7F,IAAK,kCACLxC,OAAQU,IAIT,SAASgH,GAAyBhH,GACrC,OAAOyH,OAAQC,QAAQ,CACnBC,OAAQ,OACR7F,IAAK,6BACL9B,KAAMA,IAGP,SAAS+G,GAAyB/G,GACrC,OAAOyH,OAAQC,QAAQ,CACnBC,OAAQ,OACR7F,IAAK,6BACL9B,KAAMA,IAGP,SAAS0G,GAAuB1G,GACnC,OAAOyH,OAAQC,QAAQ,CACnBC,OAAQ,MACR7F,IAAK,2BACLxC,OAAQU,IAYT,SAASkM,GAAsBlM,GAClC,OAAOyH,OAAQC,QAAQ,CACnBC,OAAQ,MACR7F,IAAK,0BACLxC,OAAQU","file":"js/chunk-521b95a2.bbe3f7e6.js","sourcesContent":["import JsonExcel from 'vue-json-excel'\nimport { GetTableData } from '@/api/basic'\nexport async function DownloadExcel(params, that) {\n let Excel = []\n const response = await GetTableData(params)\n Excel.push(...response.tableList)\n if (response.pageCount > 1) {\n for (let i = 1; i < response.pageCount; i++) {\n params.pageNum = i + 1\n const data = await GetTableData(params)\n that.ExcelLoading(i, response.pageCount)\n Excel.push(...data.tableList)\n }\n }\n return Excel\n}\n\nexport async function partDownloadExcel(params) {\n let Excel = []\n const response = await GetTableData(params)\n console.log(response);\n Excel.push(...response.tableList)\n return Excel\n}\n","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',{staticClass:\"content-btn\"},[_c('el-button',{staticClass:\"init-button\",attrs:{\"icon\":\"el-icon-plus\"},on:{\"click\":function($event){return _vm.add()}}},[_vm._v(\"新增记录\")])],1),_c('div',{},[_c('VueTable',{ref:\"table\",attrs:{\"config\":_vm.config},on:{\"tableCheck\":_vm.tableCheck},scopedSlots:_vm._u([{key:\"doc\",fn:function(slotData){return [(slotData.data.imgList.length!=0)?_c('div',{staticStyle:{\"color\":\"blue\",\"cursor\":\"pointer\"},on:{\"click\":function($event){return _vm.download(slotData.data.imgList)}}},[(slotData.data.imgList.length==0)?_c('span',[_vm._v(\"无\")]):_c('span',[_vm._v(_vm._s((slotData.data.imgList[0].url).substring(24)))])]):_c('div',[_vm._v(\"无\")])]}}])},[_c('template',{slot:\"footer\"},[_c('div',{staticClass:\"table-footer\"},[_c('button',{on:{\"click\":function($event){return _vm.edit(_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\":_vm.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},on:{\"ruleSuccess\":_vm.addRuleSuccess},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},{key:\"facilitiesCategoryId\",fn:function(){return [_c('el-select',{staticStyle:{\"width\":\"240px\"},attrs:{\"remote-method\":_vm.remoteMethod,\"loading\":_vm.loading,\"remote\":\"\",\"filterable\":\"\",\"placeholder\":\"请选择\"},on:{\"change\":_vm.change,\"focus\":_vm.sefocus},model:{value:(\n _vm.addForm.ruleForm\n .facilitiesCategoryId\n ),callback:function ($$v) {_vm.$set(_vm.addForm.ruleForm\n , \"facilitiesCategoryId\", $$v)},expression:\"\\n addForm.ruleForm\\n .facilitiesCategoryId\\n \"}},_vm._l((_vm.options),function(item){return _c('el-option',{key:item.id,attrs:{\"label\":item.name,\"value\":item.id}})}),1)]},proxy:true}])},[_c('template',{slot:\"imgUrls\"},[[_c('el-upload',{attrs:{\"action\":`${_vm.$baseUrl}upload/uploadSecurityManagementImg`,\"on-success\":_vm.fileSuccess,\"on-remove\":_vm.wordRemove,\"on-exceed\":_vm.handleExceed,\"file-list\":_vm.wordList,\"accept\":\".pdf,.PDF,.jpg,.JPG,.png,.PNG\",\"limit\":1,\"before-upload\":_vm.beforeFileUpload}},[_c('el-button',{attrs:{\"icon\":\"el-icon-edit\",\"size\":\"small\"}},[_vm._v(\"上传文件\")]),_c('div',{staticClass:\"el-upload__tip\",attrs:{\"slot\":\"tip\"},slot:\"tip\"},[_c('span',[_vm._v(\"支持扩展名doc,docx,jpg,png\")])])],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=\"content-btn\">\n <el-button\n class=\"init-button\"\n @click=\"add()\"\n icon=\"el-icon-plus\"\n >新增记录</el-button\n >\n </div>\n <!-- <div style=\"width: 50px\"><download-excel\n class=\"export-excel-wrapper\"\n :fetch=\"fetchData\"\n :fields=\"json_fields\"\n :before-finish=\"finishDownload\"\n name=\"设施管理.xls\"\n >\n <el-button\n size=\"mini\"\n icon=\"el-icon-folder-add\"\n plain\n >导出Excel</el-button\n >\n </download-excel></div> -->\n <div class=\"\">\n <VueTable\n ref=\"table\"\n :config=\"config\"\n @tableCheck=\"tableCheck\"\n >\n <template v-slot:doc=\"slotData\">\n <div\n style=\"color: blue; cursor: pointer\"\n v-if=\"slotData.data.imgList.length!=0\"\n @click=\"\n download(slotData.data.imgList)\n \"\n >\n <span v-if=\"slotData.data.imgList.length==0\">无</span>\n <span v-else>{{ (slotData.data.imgList[0].url).substring(24)}}</span>\n </div>\n <div v-else>无</div>\n </template>\n <template slot=\"footer\">\n <div class=\"table-footer\">\n <button @click=\"edit(table_row)\">\n 编辑\n </button>\n <button @click=\"del(table_row)\">\n 删除\n </button>\n </div>\n </template>\n </VueTable>\n </div>\n <!-- 新增 -->\n <Drawer\n :drawerTitle=\"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\n ref=\"addForm\"\n :formObj=\"addForm\"\n @ruleSuccess=\"addRuleSuccess\"\n >\n <!-- Slot -->\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 <!-- 设施分类选择 -->\n <template\n v-slot:facilitiesCategoryId\n >\n <el-select\n v-model=\"\n addForm.ruleForm\n .facilitiesCategoryId\n \"\n :remote-method=\"\n remoteMethod\n \"\n @change=\"change\"\n @focus=\"sefocus\"\n :loading=\"loading\"\n remote\n style=\"width: 240px\"\n filterable\n placeholder=\"请选择\"\n >\n <el-option\n v-for=\"item in options\"\n :key=\"item.id\"\n :label=\"item.name\"\n :value=\"item.id\"\n >\n </el-option>\n </el-select>\n </template>\n <!-- 上传文件 -->\n <template slot=\"imgUrls\">\n <template>\n <el-upload\n :action=\"`${$baseUrl}upload/uploadSecurityManagementImg`\"\n :on-success=\"\n fileSuccess\n \"\n :on-remove=\"wordRemove\"\n :on-exceed=\"\n handleExceed\n \"\n :file-list=\"wordList\"\n accept=\".pdf,.PDF,.jpg,.JPG,.png,.PNG\"\n :limit=\"1\"\n :before-upload=\"\n beforeFileUpload\n \"\n >\n <el-button\n icon=\"el-icon-edit\"\n size=\"small\"\n >上传文件</el-button\n >\n <div\n slot=\"tip\"\n class=\"el-upload__tip\"\n >\n <span\n >支持扩展名doc,docx,jpg,png</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\n >提交</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 { DownloadExcel } from '@/plugins/DownloadExcel'\nimport {\n securityManagementInsert,securityManagementUpdate,securityManagementList,securityManagementFindAllCreateName\n} from '@/api/daily'\nexport default {\n data() {\n return {\n add_vrisible: false,\n drawerTitle: '',\n addDate: null,\n activeName1: 'first',\n options: [],\n wordList: [],\n addForm: {\n ruleForm: {\n name: null,\n type: null,\n details:null,\n imgUrls: [],\n fileDocName: null,\n happenDate:null\n },\n rules:{\n name: [\n {\n required: true,\n message: '请选择',\n trigger: 'blur',\n },\n ],\n type: [\n {\n required: true,\n message: '请选择',\n trigger: 'blur',\n },\n ],\n details: [\n {\n required: true,\n message: '请选择',\n trigger: 'blur',\n },\n ],\n happenDate: [\n {\n required: true,\n message: '请选择',\n trigger: 'blur',\n },\n ],\n name: [\n {\n required: true,\n message: '请选择',\n trigger: 'blur',\n },\n ],\n },\n form_item: [\n {\n type: 'Input',\n label: '事件名称',\n placeholder: '请输入',\n width: '50%',\n prop: 'name'\n },\n {\n type: 'Select',\n label: '事件类型',\n placeholder: '请输入',\n width: '50%',\n prop: 'type',\n options:[\n {\n value:1,\n label:'消防演习'\n },\n {\n value:2,\n label:'纠纷处理'\n },\n {\n value:3,\n label:'小区火警'\n },\n {\n value:4,\n label:'其他'\n },\n ]\n },\n {\n type: 'textarea',\n label: '事件详情',\n placeholder: '请输入',\n width: '50%',\n prop: 'details'\n },\n {\n type: 'Slot',\n label: '上传文件',\n placeholder: '请输入',\n width: '100%',\n prop: 'imgUrls',\n slotName: 'imgUrls'\n },\n {\n type: 'DateTime',\n label: '发生时间',\n placeholder: '请输入',\n width: '50%',\n prop: 'happenDate'\n },\n ]\n },\n table_row: [],\n // 上传img文件\n imglist: [],\n activeName: '0',\n // json_fields: {\n // 设施编号: 'code',\n // 设施类型: 'facilitiesCategoryName',\n // 设施名称:'name',\n // 添加人:'createName',\n // 设施状态:{\n // field: 'status',\n // callback: (value) => {\n // switch (value) {\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 // 添加时间:'createDate',\n // 备注:'remakes'\n // },\n config: {\n thead: [\n { label: '序号', type: 'index', width: '80' },\n { label: '记录编号', prop: 'code', width: 'auto' },\n {\n label: '事件名称',\n prop: 'name',\n width: 'auto'\n },\n { label: '事件类型', prop: 'type', width: 'auto',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 case 4:\n return '其他'\n break\n }\n }},\n { label: '事件详情', prop: 'details', width: 'auto' },\n {\n label: '上传文件',\n prop: 'imgList',\n width: 'auto',\n type:'slot',\n slotName:'doc'\n \n },\n { label: '发生时间', prop: 'happenDate', width: '220' },\n { label: '登记人名称', prop: 'createName', width: '220' },\n ],\n table_data: [],\n url: 'securityManagementList',\n search_item: [\n {\n type: 'Input',\n label: '事件名称',\n placeholder: '请输入',\n prop: 'name'\n },\n // {\n // type: 'select',\n // label: '登记人',\n // placeholder: '请输入',\n // prop: 'createId',\n // options:[]\n // },\n {\n type: 'select',\n label: '事件类型',\n placeholder: '请选择',\n value: null,\n options: [\n { value: 1, label: '消防演习' },\n { value: 2, label: '纠纷处理' },\n { value: 3, label: '小区火警' },\n { value: 4, label: '其他' },\n ],\n prop: 'status'\n },\n {\n type: 'picker',\n label: '发生时间',\n placeholder: '请输入',\n prop: 'date',\n startDate: 'happenDateStart',\n endDate: 'happenDateEnd',\n width: '280px'\n }\n // Slot\n ],\n data: {\n pageNum: 1,\n size: 10,\n }\n }\n }\n },\n mounted(){\n // securityManagementFindAllCreateName().then(res=>{\n // res.data&&res.data.forEach(ele=>{\n // let obj = {\n // value:ele.value,\n // label:ele.label\n // }\n // this.config.search_item[1].options.push(obj)\n // })\n // })\n },\n methods: {\n // Excel导出 type判断设施还是设备\n async fetchData() {\n let Excel = []\n let params = {\n url: 'facilitiesManageList',\n data: {\n pageNum: 1,\n size: 100,\n type: 1\n }\n }\n const data = await DownloadExcel(params, this)\n return data\n },\n // Excel进度\n ExcelLoading(page, pageCount) {\n const Loading = this.$loading({\n lock: true,\n text: `正在导出Excel${page}`,\n spinner: 'el-icon-loading',\n background: 'rgba(0, 0, 0, 0.7)'\n })\n Loading.text = `正在导出Excel ${page}/${pageCount}`\n console.log(Loading.text)\n },\n // Excel导出结束\n finishDownload() {\n const Loading = this.$loading()\n Loading.close()\n },\n //下载文件\n download(data) {\n this.$confirm('是否下载文件?', '下载提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n type: 'warning'\n // center: true\n })\n .then(() => {\n this.$message({\n type: 'success',\n message: '下载成功'\n })\n console.log(data);\n window.open('https://test.kaidalai.cn/static' + data[0].url)\n })\n .catch(() => {\n this.$message({\n type: 'info',\n message: '已取消下载'\n })\n })\n },\n // 获取用户列表\n remoteMethod(val) {\n this.getUserList(val)\n },\n sefocus() {\n this.getUserList()\n },\n change(value) {\n console.log(value)\n },\n // 编辑\n edit(data) {\n let detail = {}\n if (data.length != 1) {\n this.$message({\n message: '请选择一条数据进行编辑',\n type: 'error'\n })\n } else {\n this.add_vrisible = true\n this.drawerTitle = '修改安全管理信息'\n securityManagementList().then(\n (res) => {\n console.log(res)\n res.tableList.forEach(element => {\n if(element.id == data[0].id){\n detail = element\n }\n });\n this.addForm.ruleForm.name = detail.name\n this.addForm.ruleForm.type = detail.type\n this.addForm.ruleForm.details = detail.details\n this.addForm.ruleForm.happenDate = detail.happenDate\n this.addForm.ruleForm.id = data[0].id\n if (detail.imgList == null) {\n this.wordList = []\n } else {\n let obj = {\n name: detail.imgList[0].url,\n url: detail.imgList[0].url\n }\n this.$set(this.wordList, '0', obj)\n }\n }\n )\n }\n },\n // 新增设施时随机生成编号\n add() {\n this.drawerTitle = '新增安全管理信息'\n this.add_vrisible = true\n // let random = Math.floor(Math.random() * 100000000)\n // this.addForm.ruleForm.code = random\n },\n // word 文件上传成功\n fileSuccess(res, file) {\n this.addForm.ruleForm.imgUrls.push(file.response.url)\n },\n // word 文件上传限制提示\n handleExceed(files, fileList) {\n this.$message.warning(\n `当前限制选择 1 个文件,本次选择了 ${\n files.length\n } 个文件,共选择了 ${files.length + fileList.length} 个文件`\n )\n },\n wordRemove() {\n this.addForm.ruleForm.imgUrls = []\n },\n // word 文件上传之前\n beforeFileUpload(file) {\n console.log(file)\n this.addForm.ruleForm.fileDocName = file.name\n const isLt2M = file.size / 1024 / 1024 < 20\n const fileType =\n file.name.endsWith('.pdf')||file.name.endsWith('.jpg') || file.name.endsWith('.png')\n console.log(fileType)\n if (!fileType) {\n this.$message.error('上传头像图片只能是 pdf/jpg/png 格式!')\n }\n if (!isLt2M) {\n this.$message.error('上传文件大小不能超过 20MB!')\n }\n return fileType && isLt2M\n },\n addClose() {\n this.$refs.addForm.reset()\n this.add_vrisible = false\n this.wordList = []\n },\n addSubmit(){\n this.$refs.addForm.submitForm()\n },\n // 提交表单\n addRuleSuccess() {\n // 判断是修改的表单还是新增修改要传主键id\n if (this.drawerTitle == '修改安全管理信息') {\n let resData = {\n ...this.addForm.ruleForm,\n id: this.addForm.ruleForm.id\n }\n securityManagementUpdate(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 } else {\n let resData = {\n ...this.addForm.ruleForm\n }\n securityManagementInsert(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 },\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 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}\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!./safeManage.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!./safeManage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./safeManage.vue?vue&type=template&id=33d0150c&\"\nimport script from \"./safeManage.vue?vue&type=script&lang=js&\"\nexport * from \"./safeManage.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","import service from '../utils/request'\nimport requestUrl from './requestUrl'\n\n//设施\nexport function facilitiesManageInsert(data) {\n return service.request({\n method: 'POST',\n url: '/facilitiesManage/insert',\n data: data\n })\n}\nexport function facilitiesAppointmentInsert(data) {\n return service.request({\n method: 'POST',\n url: 'facilitiesAppointment/insert',\n data: data\n })\n}\n// facilitiesAppointment/update\nexport function facilitiesAppointmentUpdate(data) {\n return service.request({\n method: 'POST',\n url: 'facilitiesAppointment/update',\n data: data\n })\n}\n// 、、sysOperations/insert /sysOperations/update\nexport function sysOperationsInsert(data) {\n return service.request({\n method: 'POST',\n url: 'sysOperations/insert',\n data: data\n })\n}\nexport function sysOperationsUpdate(data) {\n return service.request({\n method: 'POST',\n url: 'sysOperations/update',\n data: data\n })\n}\nexport function facilitiesPlanInsert(data) {\n return service.request({\n method: 'POST',\n url: 'facilitiesPlan/insert',\n data: data\n })\n}\n// facilitiesPlan/open facilitiesPlan/stop\nexport function facilitiesPlanOpen(data) {\n return service.request({\n method: 'POST',\n url: 'facilitiesPlan/open',\n data: data\n })\n}\nexport function facilitiesPlanStop(data) {\n return service.request({\n method: 'POST',\n url: 'facilitiesPlan/stop',\n data: data\n })\n}\nexport function facilitiesCategoryList(data) {\n return service.request({\n method: 'GET',\n url: '/facilitiesCategory/list',\n params: data\n })\n}\nexport function facilitiesManageList(data) {\n return service.request({\n method: 'GET',\n url: '/facilitiesManage/list',\n params: data\n })\n}\n//facilitiesManage/update\nexport function facilitiesManageUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/facilitiesManage/update',\n data: data\n })\n}\n//facilitiesMaintenanceRecordList facilitiesMaintenanceRecord/insert facilitiesMaintenanceRecord/delete\nexport function facilitiesMaintenanceRecordList(data) {\n return service.request({\n method: 'GET',\n url: '/facilitiesMaintenanceRecord/list',\n params: data\n })\n}\nexport function facilitiesMaintenanceRecordInsert(data) {\n return service.request({\n method: 'POST',\n url: '/facilitiesMaintenanceRecord/insert',\n data: data\n })\n}\nexport function facilitiesMaintenanceRecordDelete(data) {\n return service.request({\n method: 'POST',\n url: '/facilitiesMaintenanceRecord/delete',\n data: data\n })\n}\nexport function facilitiesManageFindDetailById(data) {\n return service.request({\n method: 'GET',\n url: '/facilitiesManage/findDetailById',\n params: data\n })\n}\nexport function facilitiesCategoryFindDetailById(data) {\n return service.request({\n method: 'GET',\n url: '/facilitiesCategory/findDetailById',\n params: data\n })\n}\nexport function facilitiesCategoryUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/facilitiesCategory/update',\n data: data\n })\n}\n//设施预约-设施分类:添加设施分类信息\nexport function facilitiesCategoryInsert(data) {\n return service.request({\n method: 'POST',\n url: '/facilitiesCategory/insert',\n data: data\n })\n}\n// 问卷调查:添加问卷调查表信息【照片未测】\nexport function questionnaireInsert(data) {\n return service.request({\n method: 'POST',\n url: '/questionnaire/insert',\n data: data\n })\n}\n//装修管理-作废userDecoration/invalid\nexport function userDecorationInvalid(data) {\n return service.request({\n method: 'POST',\n url: '/userDecoration/invalid',\n data: data\n })\n}\n//新版装修 审核userDecorationNew/examine\nexport function userDecorationNewExamine(data) {\n return service.request({\n method: 'POST',\n url: '/userDecorationNew/examine',\n data: data\n })\n}\n//装修指派完工检查人userDecorationNew/assign\nexport function userDecorationNewAssign(data) {\n return service.request({\n method: 'POST',\n url: '/userDecorationNew/assign',\n data: data\n })\n}\n// 业委会管理:添加业委会信息\nexport function ownersCommitteeInsert(data) {\n return service.request({\n method: 'POST',\n url: '/ownersCommittee/insert',\n data: data\n })\n}\n//业委会管理:更新业委会信息\nexport function ownersCommitteeUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/ownersCommittee/update',\n data: data\n })\n}\n// 业委会管理根据业委会主键id查询业委会信息\nexport function ownersCommitteeFindById(data) {\n return service.request({\n method: 'GET',\n url: '/ownersCommittee/findById',\n params: data\n })\n}\n//巡检点\nexport function inspectionPointInsert(data) {\n return service.request({\n method: 'POST',\n url: '/inspectionPoint/insert',\n data: data\n })\n}\nexport function inspectionPointUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/inspectionPoint/update',\n data: data\n })\n}\nexport function inspectionPointFindById(data) {\n return service.request({\n method: 'GET',\n url: '/inspectionPoint/findById',\n params: data\n })\n}\nexport function inspectionPlanInsert(data) {\n return service.request({\n method: 'POST',\n url: '/inspectionPlan/insert',\n data: data\n })\n}\nexport function inspectionRouteInsert(data) {\n return service.request({\n method: 'POST',\n url: '/inspectionRoute/insert',\n data: data\n })\n}\nexport function inspectionRouteUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/inspectionRoute/update',\n data: data\n })\n}\n//inspectionRoute/findById\nexport function inspectionRouteFindById(data) {\n return service.request({\n method: 'GET',\n url: '/inspectionRoute/findById',\n params: data\n })\n}\n// /inspectionRoute/list\nexport function inspectionRouteList(data) {\n return service.request({\n method: 'GET',\n url: '/inspectionRoute/list',\n params: data\n })\n}\n// 部门\nexport function sysOrganizationList(data) {\n return service.request({\n method: 'GET',\n url: '/sysOrganization/list',\n params: data\n })\n}\nexport function inspectionPointList(data) {\n return service.request({\n method: 'GET',\n url: '/inspectionPoint/list',\n params: data\n })\n}\n\n//sysOrganization/findAllDepartment\nexport function sysOrganizationFindAllDepartment(data) {\n return service.request({\n method: 'GET',\n url: '/sysOrganization/findAllDepartment',\n params: data\n })\n}\nexport function sysOrganizationFindById(data) {\n return service.request({\n method: 'GET',\n url: '/sysOrganization/findById',\n params: data\n })\n}\n//根据组织id organizationId查询所有的人员nickName\nexport function sysUserList(data) {\n return service.request({\n method: 'GET',\n url: '/sysUser/list',\n params: data\n })\n}\n//路线禁用inspectionRoute/isEnable\nexport function inspectionRouteIsEnable(data) {\n return service.request({\n method: 'GET',\n url: '/inspectionRoute/isEnable',\n params: data\n })\n}\n//inspectionPlan/isEnable\nexport function inspectionPlanIsEnable(data) {\n return service.request({\n method: 'GET',\n url: '/inspectionPlan/isEnable',\n params: data\n })\n}\n//material/insert物料 materialList\nexport function materialList(data) {\n return service.request({\n method: 'GET',\n url: '/material/list',\n params: data\n })\n}\n// materialRecord/findById\nexport function materialRecordFindById(data) {\n return service.request({\n method: 'GET',\n url: '/materialRecord/findById',\n params: data\n })\n}\nexport function materialInsert(data) {\n return service.request({\n method: 'POST',\n url: '/material/insert',\n data: data\n })\n}\nexport function materialUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/material/update',\n data: data\n })\n}\n//materialRecord/insert\nexport function materialRecordInsert(data) {\n return service.request({\n method: 'POST',\n url: '/materialRecord/insert',\n data: data\n })\n}\n//materialInventory/list盘点 materialInventory/insert\nexport function materialInventoryInsert(data) {\n return service.request({\n method: 'POST',\n url: '/materialInventory/insert',\n data: data\n })\n}\nexport function materialInventoryUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/materialInventory/update',\n data: data\n })\n}\n// materialInventory/findById\nexport function materialInventoryFindById(data) {\n return service.request({\n method: 'GET',\n url: '/materialInventory/findById',\n params: data\n })\n}\n//keyManagement/insert keyBorrow/examine\nexport function keyManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/keyManagement/insert',\n data: data\n })\n}\nexport function keyBorrowExamine(data) {\n return service.request({\n method: 'POST',\n url: '/keyBorrow/examine',\n data: data\n })\n}\n//keyManagement/findById \nexport function keyManagementFindById(data) {\n return service.request({\n method: 'GET',\n url: '/keyManagement/findById',\n params: data\n })\n}\nexport function keyManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/keyManagement/update',\n data: data\n })\n}\nexport function packageCollectionInsert(data) {\n return service.request({\n method: 'POST',\n url: '/packageCollection/insert',\n data: data\n })\n}\n//packageCollection/findById\nexport function packageCollectionFindById(data) {\n return service.request({\n method: 'GET',\n url: '/packageCollection/findById',\n params: data\n })\n}\n//packageCollection/update\nexport function packageCollectionUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/packageCollection/update',\n data: data\n })\n}\n//interview/insert客户访谈\nexport function interviewInsert(data) {\n return service.request({\n method: 'POST',\n url: '/interview/insert',\n data: data\n })\n}\n//greenArea/insert\nexport function greenAreaInsert(data) {\n return service.request({\n method: 'POST',\n url: '/greenArea/insert',\n data: data\n })\n}\n//greenArea/list\nexport function greenAreaList(data) {\n return service.request({\n method: 'GET',\n url: '/greenArea/list',\n params: data\n })\n}\nexport function greenTaskInsert(data) {\n return service.request({\n method: 'POST',\n url: '/greenTask/insert',\n data: data\n })\n}\n//greenArea/findById greenArea/update\nexport function greenAreaFindById(data) {\n return service.request({\n method: 'GET',\n url: '/greenArea/findById',\n params: data\n })\n}\nexport function greenAreaUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/greenArea/update',\n data: data\n })\n}\n//卫生\nexport function hygieneAreaInsert(data) {\n return service.request({\n method: 'POST',\n url: '/hygieneArea/insert',\n data: data\n })\n}\nexport function hygieneAreaList(data) {\n return service.request({\n method: 'GET',\n url: '/hygieneArea/list',\n params: data\n })\n}\nexport function hygieneTaskInsert(data) {\n return service.request({\n method: 'POST',\n url: '/hygieneTask/insert',\n data: data\n })\n}\n\nexport function hygieneAreaFindById(data) {\n return service.request({\n method: 'GET',\n url: '/hygieneArea/findById',\n params: data\n })\n}\nexport function hygieneAreaUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/hygieneArea/update',\n data: data\n })\n}\n//规程xinzeng & regulationManagement/release\nexport function regulationManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/regulationManagement/insert',\n data: data\n })\n}\nexport function regulationManagementRelease(data) {\n return service.request({\n method: 'GET',\n url: '/regulationManagement/release',\n params: data\n })\n}\nexport function regulationManagementFindById(data) {\n return service.request({\n method: 'GET',\n url: '/regulationManagement/findById',\n params: data\n })\n}\nexport function regulationManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/regulationManagement/update',\n data: data\n })\n}\n//serviceBrowsing/findById serviceBrowsing/update\n\nexport function serviceBrowsingInsert(data) {\n return service.request({\n method: 'POST',\n url: '/serviceBrowsing/insert',\n data: data\n })\n}\nexport function serviceBrowsingUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/serviceBrowsing/update',\n data: data\n })\n}\nexport function serviceBrowsingFindById(data) {\n return service.request({\n method: 'GET',\n url: '/serviceBrowsing/findById',\n params: data\n })\n}\n//小区介绍 communityIntroduction/findById communityIntroduction/update\nexport function communityIntroductionInsert(data) {\n return service.request({\n method: 'POST',\n url: '/communityIntroduction/insert',\n data: data\n })\n}\nexport function communityIntroductionUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/communityIntroduction/update',\n data: data\n })\n}\n//介绍启用\nexport function communityIntroductionEnable(data) {\n return service.request({\n method: 'GET',\n url: '/communityIntroduction/enable',\n params: data\n })\n}\nexport function communityIntroductionFindById(data) {\n return service.request({\n method: 'GET',\n url: '/communityIntroduction/findById',\n params: data\n })\n}\n// 、、securityManagement/insert\nexport function securityManagementInsert(data) {\n return service.request({\n method: 'POST',\n url: '/securityManagement/insert',\n data: data\n })\n}\nexport function securityManagementUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/securityManagement/update',\n data: data\n })\n}\nexport function securityManagementList(data) {\n return service.request({\n method: 'GET',\n url: '/securityManagement/list',\n params: data\n })\n}\n//securityManagement/findAllCreateName\nexport function securityManagementFindAllCreateName(data) {\n return service.request({\n method: 'GET',\n url: '/securityManagement/findAllCreateName',\n params: data\n })\n}\n// /userDecorationNew/list\nexport function userDecorationNewList(data) {\n return service.request({\n method: 'GET',\n url: '/userDecorationNew/list',\n params: data\n })\n}"],"sourceRoot":""}