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-0ecd8ec7.19b6b933.js.map

1 line
56 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/api/charge.js","webpack:///./src/views/charge/page/chargeStandard.vue?2c47","webpack:///./src/views/charge/page/chargeStandard.vue","webpack:///src/views/charge/page/chargeStandard.vue","webpack:///./src/views/charge/page/chargeStandard.vue?b4e1","webpack:///./src/views/charge/page/chargeStandard.vue?0ea6","webpack:///./src/plugins/DownloadExcel.js"],"names":["chargesTemplateList","data","service","request","method","url","params","expenseBillRefund","dailyPaymentFindEnableTempleDetail","activityManagementFindEnableTempleDetail","dailyPaymentPlanInsert","dailyPaymentPlanUpdate","dailyPaymentInsert","dailyPaymentInsertOrder","dailyPaymentPush","advancePaymentRefund","advancePaymentRecharge","chargesTemplateIsEnable","chargesTemplateUpdate","chargesTemplateInsert","chargesTemplateDelete","chargesTemplateDetailInsert","chargesTemplateDetailFindById","chargesTemplateDetailIsEnable","chargesTemplateDetailUpdate","chargesTemplateDetailDelete","paperInsert","paperRecipients","meterReadingRecordUpdateRemakes","meterReadingRecordCreateShareBill","meterReadingRecordShareBillPushDetails","meterReadingRecordShareBillPush","render","_vm","this","_c","_self","staticClass","_m","on","addCost","deleteCost","_l","costList","item","index","key","id","class","costActive","$event","tableChange","name","editBool","directives","rawName","staticStyle","attrs","e","editInputBlur","editInputFocus","model","value","callback","$$v","$set","expression","_v","_s","stopPropagation","editType","IsEnable","switchChange","nativeOn","type","indexOf","_k","keyCode","search","config","add","edit","table_row","del","fetchData","json_fields","finishDownload","enable","ref","tableCheck","costTitle","cost_vrisible","costClose","slot","costForm","costRuleSubmit","costSubmit","staticRenderFns","typeListName","ruleForm","typeName","unitPrice","marker","otherFee","form_item","label","placeholder","disabled","width","prop","options","rules","required","message","trigger","input2","pageNum","size","chargesTemplateId","thead","table_data","loading","费用名称","费用类型名称","field","物业收费标准明细状态","创建人","更新日期","focus","inserted","el","mounted","methods","ExcelLoading","lock","text","spinner","background","Loading","console","res","confirmButtonText","cancelButtonText","confirmButtonClass","cancelButtonClass","then","catch","action","getCostType","GetTableData","ids","additionalCostList","cost","resData","arr","component","async","DownloadExcel","that","Excel","response","push","tableList","pageCount","i","partDownloadExcel","log"],"mappings":"gHAAA,84BAGO,SAASA,EAAoBC,GAChC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,wBACLC,OAAQL,IAYT,SAASM,EAAkBN,GAC9B,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,OACRC,IAAK,sBACLJ,KAAMA,IAYP,SAASO,EAAmCP,GAC/C,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,uCACLC,OAAQL,IAIT,SAASQ,EAAyCR,GACrD,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,MACRC,IAAK,6CACLC,OAAQL,IAYT,SAASS,EAAuBT,GACnC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,OACRC,IAAK,2BACLJ,KAAMA,IAGP,SAASU,EAAuBV,GACnC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,OACRC,IAAK,2BACLJ,KAAMA,IAIP,SAASW,EAAmBX,GAC/B,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,OACRC,IAAK,uBACLJ,KAAMA,IAIP,SAASY,EAAwBZ,GACpC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,OACRC,IAAK,4BACLJ,KAAMA,IAIP,SAASa,EAAiBb,GAC7B,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,OACRC,IAAK,qBACLJ,KAAMA,IAiBP,SAASc,EAAqBd,GACjC,OAAOC,OAAQC,QAAQ,CACnBC,OAAQ,OACRC,IAAK,yBACLJ,KAAMA,IAWP,SAASe,EAAuBf,GACn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,CAAAL,gBAAA3C,SACA,CAAA2C,eAAA3C,SACA,CAAA2C,aAAA3C,WAGA,CACAY,aACA+B,aACAC,kBACAG,gBACAD,eAGAG,OACAX,WAAAY,cACAV,QACA,CACAU,YACAC,oBACAC,iBAGA9D,MACA,CACA4D,YACAC,kBACAC,mBAGAb,WACA,CACAW,YACAC,gBACAC,iBAGAxC,MACA,CACAsC,YACAC,gBACAC,qBAMA3C,YACA4C,UAEApC,QACA9E,MACAmH,UACAC,QACAC,uBACAlE,WAEA/C,gCACAkH,OACA,CAAAd,WAAA/B,aAAAkC,YACA,CAAAH,aAAAI,YAAAD,cAMA,CACAH,gBACAI,YACAD,aACAlC,gBACAX,cACA,eACA,OACA,6BAEA,OACA,4BAEA,OACA,6BAKA,CACA0C,eACAI,cACAD,aACAlC,gBACAX,cACA,iBACA,OACA,cAEA,OACA,YAEA,OACA,aAEA,OACA,cAEA,OACA,aAEA,OACA,YAEA,OACA,cAEA,QACA,SAIA,CACA0C,mBACAI,cACAD,aACAlC,gBACAX,cACA,iBACA,OACA,YAEA,OACA,cAKA,CAAA0C,YAAAI,kBAAAD,cACA,CAAAH,aAAAI,kBAAAD,eAEAY,cACAC,YAEApC,aACAqC,cACA,sBACAC,UACAC,eACA7D,aACA,UACA,OACA,cAEA,OACA,YAEA,OACA,aAEA,OACA,cAEA,OACA,aAEA,OACA,YAEA,OACA,cAEA,QACA,SAIA8D,cACAD,eACA7D,aACA,UACA,OACA,YAEA,OACA,cAKA,qBACA+D,mBACAC,qBAGA7C,eAGA5B,YAEA0E,OAEAC,qBAEAC,oCAIAC,UACA,oBAEAC,SAEA,kBACA,IACA,GACA/H,gCACAJ,MACAmH,UACAC,SACAC,sDAGA,qCACA,UAGAe,kBACA,uBACAC,QACAC,mBACAC,0BACAC,kCAEAC,8BACAC,qBAGArD,iBACA,wBACAoD,WAGAnD,UACA,YACA,eACAb,aACAuC,qBAGA1F,gBAAAwB,aAAA,KACA6F,IACA,eACAlE,eACAuC,oBAEA,uDAMA,sDAGAzC,gBACA,sCACAqE,uBACAC,sBACAC,mCACAC,mCAEAC,KAAA,KACAhI,gBACA8B,uCACAkG,KAAAL,IACAD,eACA,WACA,eACAjE,eACAuC,oBAEA,6BACA,wBAIAiC,MAAAC,QAGArE,SACA,sDAGAsE,cACApJ,0BACA2I,eACA,gBACA,sBACA,6BAEA,sCACA,iBAEA,iBAGA,wDAIArE,YACA,2CAGAV,oBACA,qBAGAD,uBAGA,GAFA,0CAEA,sBACA,OAGA,UAGA,OAFA,6CACA,8BAGA,OACAZ,KACAK,QAEAlC,2BACAyH,kBAIAxF,mBACA,kBACA,oBAGAkG,gBACA,qCACA,+BAIA5G,aACA,cACA,oBACA,SACA,CACAoG,uBACAC,sBACAC,mCACAC,mCAGAC,KAAA,KACA,OACAK,yCAEAX,eACAvH,2BACA,WACA,eACAsD,eACAuC,oBAEA,kBACA,wBAIAiC,MAAAC,QAGA3G,UACA,mCACAqG,uBACAC,wBAEAG,KAAA,EAAAnF,YACA,MACA,OAEA,OACAV,QAEAjC,2BACA,WACA,eACAuD,eACAuC,oBAEA,wBAKAiC,MAAA,KACA,eACAxE,YACAuC,oBAKAjC,MACA,sBACA,8CACA,iBACA5B,KACAuF,qCAGA1D,QACA,aACA,cAEA,YADA,8BAGA,OACAlC,YAEAzB,2BACAqH,eACA,8CACA,iBACAvF,KACA,0BACA,4CAGA,wCACA,gDACA,wCACA,kDACA,6BAGA,mCAIA2C,iBACA,OACAuB,oDACAlE,iCACAiD,2CACAC,SACA5B,2CACA6B,yCACAgD,qBAAAC,OAAApG,eAGA,iBAUAqG,qBACAjI,2BACA,UACA,eACAkD,eACAuC,oBAGA,iBACA,wDAlBA5F,2BACA,eACAqD,eACAuC,oBAEA,iBACA,wDAiBAjB,aACA,qCAGAJ,YACA,sBACA,+BACA,qCACA,qBACA,mCAGA,iCACA,qCACA,iCACA,uCAGAT,OACA,aACA,SACA,wCACAuE,6BAEA,oCACAb,uBACAC,sBACAC,mCACAC,mCAEAC,KAAA,KACA,OACAK,OAEA7H,2BACA,WACA,eACAiD,eACAuC,oBAEA,0DAGAiC,MAAAC,YAEA,mCAGA1D,cACA,oBCtvBsX,I,wBCQlXkE,EAAY,eACd,EACA3H,EACAiE,GACA,EACA,KACA,WACA,MAIa,aAAA0D,E,oECnBf,8FAEOC,eAAeC,EAAcvJ,EAAQwJ,GACxC,IAAIC,EAAQ,GACZ,MAAMC,QAAiBX,eAAa/I,GAEpC,GADAyJ,EAAME,QAAQD,EAASE,WACnBF,EAASG,UAAY,EACrB,IAAK,IAAIC,EAAI,EAAGA,EAAIJ,EAASG,UAAWC,IAAK,CACzC9J,EAAO8G,QAAUgD,EAAI,EACrB,MAAMnK,QAAaoJ,eAAa/I,GAChCwJ,EAAKzB,aAAa+B,EAAGJ,EAASG,WAC9BJ,EAAME,QAAQhK,EAAKiK,WAG3B,OAAOH,EAGJH,eAAeS,EAAkB/J,GACpC,IAAIyJ,EAAQ,GACZ,MAAMC,QAAiBX,eAAa/I,GAGpC,OAFAqI,QAAQ2B,IAAIN,GACZD,EAAME,QAAQD,EAASE,WAChBH","file":"js/chunk-0ecd8ec7.19b6b933.js","sourcesContent":["import service from '../utils/request'\nimport requestUrl from './requestUrl'\n// 查询所有的物业收费标准模版\nexport function chargesTemplateList(data) {\n return service.request({\n method: 'GET',\n url: '/chargesTemplate/list',\n params: data\n })\n}\n// /chargesTemplateDetail/list\nexport function chargesTemplateDetailList(data) {\nreturn service.request({\n method: 'GET',\n url: '/chargesTemplateDetail/list',\n params: data\n })\n}\n//expenseBill/refund\nexport function expenseBillRefund(data) {\n return service.request({\n method: 'POST',\n url: '/expenseBill/refund',\n data: data\n })\n}\n//dailyPayment/findEnableTempleDetail\n// export function dailyPaymentFindEnableTempleDetail(data) {\n// return service.request({\n// method: 'GET',\n// url: '/dailyPayment/findEnableTempleDetail',\n// params: data\n// })\n// }\n// 日常缴费:查询已开启的收费标准明细信息(物业管理费和日常费用)\nexport function dailyPaymentFindEnableTempleDetail(data) {\n return service.request({\n method: 'GET',\n url: '/dailyPayment/findEnableTempleDetail',\n params: data\n })\n}\n// 日常缴费:查询已开启的收费标准明细信息(物业管理费和日常费用)\nexport function activityManagementFindEnableTempleDetail(data) {\n return service.request({\n method: 'GET',\n url: '/activityManagement/findEnableTempleDetail',\n params: data\n })\n}\n// 收费标准管理导出EXCEL\nexport function chargesTemplateDetailExport(data) {\n return service.request({\n method: 'GET',\n url: '/chargesTemplateDetail/export',\n params: data\n })\n}\n//dailyPaymentPlan/insert dailyPaymentPlan/update\nexport function dailyPaymentPlanInsert(data) {\n return service.request({\n method: 'POST',\n url: '/dailyPaymentPlan/insert',\n data: data\n })\n}\nexport function dailyPaymentPlanUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/dailyPaymentPlan/update',\n data: data\n })\n}\n// 日常缴费:添加缴费信息(带有付款功能)【打印未做】\nexport function dailyPaymentInsert(data) {\n return service.request({\n method: 'POST',\n url: '/dailyPayment/insert',\n data: data\n })\n}\n// 日常缴费:缴费(带有付款功能)【打印未做】\nexport function dailyPaymentInsertOrder(data) {\n return service.request({\n method: 'POST',\n url: '/dailyPayment/insertOrder',\n data: data\n })\n}\n//日常缴费:人工手动推送日常缴费提醒\nexport function dailyPaymentPush(data) {\n return service.request({\n method: 'POST',\n url: '/dailyPayment/push',\n data: data\n })\n}\n// 押金管理:退押金\nexport function depositManagementRefund(data) {\n return service.request({\n method: 'POST',\n url: '/depositManagement/refund',\n data: data\n })\n} \n // advancePayment/refund refundPrice estateId\n/**\n * \n * @param {*} data \n * @returns \n */\nexport function advancePaymentRefund(data) {\n return service.request({\n method: 'POST',\n url: '/advancePayment/refund',\n data: data\n })\n}\n/**\n * 预缴充值、退款\n * @param {int} estateId\n * @param {string} name\n * @param {int} tel\n * @param {double} payPrice\n * @returns \n */\nexport function advancePaymentRecharge(data) {\n return service.request({\n method: 'POST',\n url: '/advancePayment/recharge',\n data: data\n })\n}\n// 收费标准管理根据物业收费标准模版主键id 启用/禁用 物业收费标准模版\nexport function chargesTemplateIsEnable(data) {\n return service.request({\n method: 'GET',\n url: '/chargesTemplate/isEnable',\n params: data\n })\n}\n\n// 收费标准管理:更新物业收费标准模版信息\nexport function chargesTemplateUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/chargesTemplate/update',\n data: data\n })\n}\n// 收费标准管理:添加物业收费标准模版\nexport function chargesTemplateInsert(data) {\n return service.request({\n method: 'POST',\n url: '/chargesTemplate/insert',\n data: data\n })\n}\n// 收费标准管理:批量删除物业收费标准模版\nexport function chargesTemplateDelete(data) {\n return service.request({\n method: 'POST',\n url: '/chargesTemplate/delete',\n data: data\n })\n}\n// 收费标准管理:添加物业收费标准明细信息\nexport function chargesTemplateDetailInsert(data) {\n return service.request({\n method: 'POST',\n url: '/chargesTemplateDetail/insert',\n data: data\n })\n}\n//收费标准管理根据物业收费标准明细主键id 查询物业收费标准明细信息\nexport function chargesTemplateDetailFindById(data) {\n return service.request({\n method: 'GET',\n url: '/chargesTemplateDetail/findById',\n params: data\n })\n}\n// chargesTemplateDetail/isEnable\nexport function chargesTemplateDetailIsEnable(data) {\n return service.request({\n method: 'GET',\n url: '/chargesTemplateDetail/isEnable',\n params: data\n })\n}\n//收费标准管理:更新物业收费标准明细信息\nexport function chargesTemplateDetailUpdate(data) {\n return service.request({\n method: 'POST',\n url: '/chargesTemplateDetail/update',\n data: data\n })\n}\n// 收费标准管理:批量删除物业收费标准明细信息\nexport function chargesTemplateDetailDelete(data) {\n return service.request({\n method: 'POST',\n url: '/chargesTemplateDetail/delete',\n data: data\n })\n}\n//paper/insert票据管理\nexport function paperInsert(data) {\n return service.request({\n method: 'POST',\n url: '/paper/insert',\n data: data\n })\n}\n//领用票据paper/recipients\nexport function paperRecipients(data) {\n return service.request({\n method: 'POST',\n url: '/paper/recipients',\n data: data\n })\n}\n// meterReadingRecord/updateRemakes 抄表备注\nexport function meterReadingRecordUpdateRemakes(data) {\n return service.request({\n method: 'POST',\n url: '/meterReadingRecord/updateRemakes',\n data: data\n })\n}\nexport function meterReadingRecordCreateShareBill(data) {\n return service.request({\n method: 'POST',\n url: '/meterReadingRecord/createShareBill',\n data: data\n })\n}\n// sysMessage/ shareBillDetailsId danti\nexport function meterReadingRecordShareBillPushDetails(data) {\n return service.request({\n method: 'POST',\n url: '/meterReadingRecord/ShareBillPushDetails',\n data: data\n })\n}\n// sysMessage:{content:null} shareBillId dajia\nexport function meterReadingRecordShareBillPush(data) {\n return service.request({\n method: 'POST',\n url: '/meterReadingRecord/ShareBillPush',\n data: data\n })\n}","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./chargeStandard.vue?vue&type=style&index=0&id=420fd7ed&prod&scoped=true&lang=scss&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"main-content\"},[_vm._m(0),_c('div',{staticClass:\"content_box\"},[_c('div',{staticClass:\"left\"},[_c('div',{staticClass:\"left_title\"},[_vm._m(1),_c('div',{staticClass:\"left_icon\"},[_c('span',{on:{\"click\":_vm.addCost}},[_c('i',{staticClass:\"el-icon-plus\"})]),_c('span',{on:{\"click\":_vm.deleteCost}},[_c('i',{staticClass:\"el-icon-delete\"})])])]),_c('ul',_vm._l((_vm.costList),function(item,index){return _c('li',{key:item.id,class:_vm.costActive === index ? 'active' : '',on:{\"click\":function($event){return _vm.tableChange(index, item.id, item.name)}}},[(item.editBool)?_c('el-input',{directives:[{name:\"focus\",rawName:\"v-focus\"}],staticStyle:{\"flex\":\"1\"},attrs:{\"size\":\"small\"},on:{\"blur\":(e) =>\n _vm.editInputBlur(e, item.name, item.id, index),\"focus\":(e) => _vm.editInputFocus(e, item.name)},model:{value:(item.name),callback:function ($$v) {_vm.$set(item, \"name\", $$v)},expression:\"item.name\"}}):_c('span',[_vm._v(_vm._s(item.name))]),_c('span',[_c('i',{staticClass:\"el-icon-edit\",on:{\"click\":function($event){$event.stopPropagation();return _vm.editType(index)}}})])],1)}),0)]),_c('div',{staticClass:\"right\"},[_c('div',{staticClass:\"right_title\"},[_c('span',{staticStyle:{\"padding-right\":\"18px\"}},[_vm._v(\"是否启用\")]),_c('el-switch',{staticClass:\"switchStyle\",attrs:{\"value\":_vm.IsEnable,\"active-text\":\"开\",\"inactive-text\":\"关\",\"active-color\":\"rgba(251, 71, 2, 1)\"},on:{\"change\":_vm.switchChange}})],1),_c('div',{staticClass:\"right_input\"},[_c('div',{staticClass:\"content-btn\"},[_c('el-input',{staticStyle:{\"width\":\"240px\",\"padding-right\":\"24px\"},attrs:{\"placeholder\":\"请输入收费项目\",\"size\":\"small\",\"prefix-icon\":\"el-icon-search\"},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.search()}},model:{value:(_vm.config.data.name),callback:function ($$v) {_vm.$set(_vm.config.data, \"name\", $$v)},expression:\"config.data.name\"}}),_c('el-button',{staticClass:\"init-button\",on:{\"click\":function($event){return _vm.add()}}},[_vm._v(\"添加费用\")]),_c('el-button',{staticClass:\"init-button\",on:{\"click\":function($event){return _vm.edit(_vm.table_row)}}},[_vm._v(\"编辑费用\")]),_c('el-button',{staticClass:\"init-button\",on:{\"click\":function($event){return _vm.del(_vm.table_row)}}},[_vm._v(\"删除费用\")]),_c('div',{staticStyle:{\"margin-left\":\"16px\",\"display\":\"inline-block\"}},[_c('download-excel',{staticClass:\"export-excel-wrapper\",attrs:{\"fetch\":_vm.fetchData,\"fields\":_vm.json_fields,\"before-finish\":_vm.finishDownload,\"name\":\"收费标准管理.xls\"}},[_c('el-button',{staticClass:\"init-button\",attrs:{\"size\":\"small\"}},[_vm._v(\"导出Excel\")])],1)],1)],1)]),_c('div',{staticClass:\"right_table\"},[_c('el-button',{staticStyle:{\"margin-left\":\"10px\"},attrs:{\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":function($event){return _vm.enable(_vm.table_row)}}},[_vm._v(\"物业收费标准明细启用/禁用\")]),_c('VueTable',{ref:\"table\",attrs:{\"config\":_vm.config},on:{\"tableCheck\":_vm.tableCheck}})],1)]),_c('Drawer',{attrs:{\"drawerTitle\":_vm.costTitle,\"drawerVrisible\":_vm.cost_vrisible},on:{\"drawerClose\":_vm.costClose}},[_c('div',{staticStyle:{\"padding\":\"30px\"}},[_c('FromCard',[_c('template',{slot:\"title\"},[_vm._v(\"基本信息\")]),[_c('VueForm',{ref:\"costVueForm\",attrs:{\"formObj\":_vm.costForm},on:{\"ruleSuccess\":_vm.costRuleSubmit}})]],2)],1),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn-orange\",on:{\"click\":function($event){return _vm.costSubmit()}}},[_c('span',[_c('i',{staticClass:\"el-icon-circle-check\"}),_vm._v(\"提交\")])]),_c('button',{staticClass:\"btn-gray\",on:{\"click\":_vm.costClose}},[_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},function (){var _vm=this,_c=_vm._self._c;return _c('div',[_c('span',[_vm._v(\"费用版本名称\")])])\n}]\n\nexport { render, staticRenderFns }","<template>\n <div class=\"main-content\">\n <div class=\"main-titel\">\n <span>收费标准管理</span>\n </div>\n <div class=\"content_box\">\n <div class=\"left\">\n <div class=\"left_title\">\n <div>\n <span>费用版本名称</span>\n </div>\n <div class=\"left_icon\">\n <span @click=\"addCost\">\n <i class=\"el-icon-plus\"></i\n ></span>\n <span @click=\"deleteCost\">\n <i class=\"el-icon-delete\"></i\n ></span>\n </div>\n </div>\n <ul>\n <li\n :class=\"costActive === index ? 'active' : ''\"\n v-for=\"(item, index) in costList\"\n @click=\"tableChange(index, item.id, item.name)\"\n :key=\"item.id\"\n >\n <el-input\n v-model=\"item.name\"\n @blur=\"\n (e) =>\n editInputBlur(e, item.name, item.id, index)\n \"\n @focus=\"(e) => editInputFocus(e, item.name)\"\n v-focus\n v-if=\"item.editBool\"\n style=\"flex: 1\"\n size=\"small\"\n ></el-input>\n <span v-else>{{ item.name }}</span>\n <!-- @click.stop=\"editType(index)\" -->\n <span\n ><i\n class=\"el-icon-edit\"\n @click.stop=\"editType(index)\"\n ></i\n ></span>\n </li>\n </ul>\n </div>\n <div class=\"right\">\n <div class=\"right_title\">\n <span style=\"padding-right: 18px\">是否启用</span>\n <el-switch\n :value=\"IsEnable\"\n @change=\"switchChange\"\n active-text=\"开\"\n inactive-text=\"关\"\n class=\"switchStyle\"\n active-color=\"rgba(251, 71, 2, 1)\"\n >\n </el-switch>\n </div>\n <div class=\"right_input\">\n <div class=\"content-btn\">\n <el-input\n placeholder=\"请输入收费项目\"\n size=\"small\"\n style=\"width: 240px; padding-right: 24px\"\n prefix-icon=\"el-icon-search\"\n v-model=\"config.data.name\"\n @keyup.enter.native=\"search()\"\n >\n </el-input>\n <el-button class=\"init-button\" @click=\"add()\"\n >添加费用</el-button\n >\n <el-button class=\"init-button\" @click=\"edit(table_row)\"\n >编辑费用</el-button\n >\n <el-button class=\"init-button\" @click=\"del(table_row)\"\n >删除费用</el-button\n >\n\n <div style=\"margin-left: 16px; display: inline-block\">\n <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 class=\"init-button\" size=\"small\"\n >导出Excel</el-button\n >\n </download-excel>\n </div>\n </div>\n </div>\n <div class=\"right_table\">\n <el-button @click=\"enable(table_row)\" size='small' style=\"margin-left:10px\" type=\"primary\">物业收费标准明细启用/禁用</el-button>\n <VueTable ref=\"table\"\n :config='config'\n @tableCheck=\"tableCheck\">\n \n </VueTable>\n <!-- <tableData :config=\"config\" @clickrow=\"tableCheck\">\n </tableData> -->\n \n </div>\n </div>\n <!-- 费用明细增加修改 -->\n <Drawer\n :drawerTitle=\"costTitle\"\n @drawerClose=\"costClose\"\n :drawerVrisible=\"cost_vrisible\"\n >\n <div style=\"padding: 30px\">\n <FromCard>\n <template slot=\"title\">基本信息</template>\n <template>\n <VueForm\n ref=\"costVueForm\"\n @ruleSuccess=\"costRuleSubmit\"\n :formObj=\"costForm\"\n ></VueForm>\n </template>\n </FromCard>\n </div>\n <div slot=\"footer\">\n <button class=\"btn-orange\" @click=\"costSubmit()\">\n <span> <i class=\"el-icon-circle-check\"></i>提交</span>\n </button>\n <button class=\"btn-gray\" @click=\"costClose\">\n <span>取消</span>\n </button>\n </div>\n </Drawer>\n </div>\n </div>\n</template>\n<script>\nimport {\n chargesTemplateList,\n chargesTemplateIsEnable,\n chargesTemplateDetailList,\n chargesTemplateUpdate,\n chargesTemplateDetailDelete,\n userResidentFindAllBySearch,\n chargesTemplateDetailInsert,\n chargesTemplateDetailUpdate,\n chargesTemplateInsert,\n chargesTemplateDelete,\n chargesTemplateDetailFindById,\n chargesTemplateDetailIsEnable\n} from '@/api/charge'\nimport { DownloadExcel } from '@/plugins/DownloadExcel'\n\nexport default {\n data() {\n return {\n // 添加点击确认后弹出抽屉\n cost_vrisible: false,\n costTitle: '新增费用项目',\n // 侧边栏费用版本\n costList: [],\n // 获得焦点后 记录当前值 修改时值不变不请求服务器\n typeListName: '',\n // 侧边栏当前选择\n costActive: 0,\n // 费用明细修改添加\n costForm: {\n ruleForm: {\n typeName: null,\n name: null,\n unitPrice: null,\n type: null,\n marker: null,\n otherFee: null\n },\n form_item: [\n {\n type: 'Input',\n label: '费用版本',\n placeholder: '请输入',\n disabled: true,\n width: '100%',\n prop: 'typeName'\n },\n // 标记符【费用类型名称】1.物业管理费2.维修费(报事报修 唯一),3.装修押金(装修押金 唯一4.活动报名费)\n\n {\n type: 'Select',\n label: '费用类型',\n placeholder: '请输入',\n options: [\n { label: '物业管理费', value: 1 },\n { label: '维修费', value: 2 },\n { label: '装修押金', value: 3 },\n { label: '活动报名费', value: 4 },\n { label: '日常费用', value: 5 },\n { label: '停车费', value: 6 },\n { label: '有偿服务费', value: 7 }\n ],\n width: '100%',\n prop: 'marker'\n },\n // marker\n {\n type: 'Input',\n label: '费用项目名称',\n placeholder: '请输入',\n width: '100%',\n prop: 'name'\n },\n {\n type: 'Input',\n label: '单价',\n placeholder: '请输入',\n width: '100%',\n prop: 'unitPrice'\n },\n // 1.元/月 平方米2.元/ 立方米3.元/ 次\n {\n type: 'Select',\n label: '单位',\n placeholder: '请选择单位',\n prop: 'type',\n width: '100%',\n options: [\n { label: '元/月 平方米', value: 1 },\n { label: '元/ 立方米', value: 2 },\n { label: '元/ 次', value: 3 }\n ]\n },\n {\n type: 'Input',\n label: '附加费用',\n placeholder: '请输入',\n prop: 'otherFee',\n width: '100%'\n }\n ],\n rules: {\n typeName: [{ required: true }],\n marker: [\n {\n required: true,\n message: '请输入费用项目名称',\n trigger: 'blur'\n }\n ],\n name: [\n {\n required: true,\n message: '请选择费用类型',\n trigger: 'change'\n }\n ],\n unitPrice: [\n {\n required: true,\n message: '请输入单价',\n trigger: 'blur'\n }\n ],\n type: [\n {\n required: true,\n message: '请选择单位',\n trigger: 'change'\n }\n ]\n // otherFee: [{ required: true, message: '请输入固定费用', trigger: 'blur' }]\n }\n },\n IsEnable: false,\n input2: '',\n // 费用明细\n config: {\n data: {\n pageNum: 1,\n size: 10,\n chargesTemplateId:null,\n name:null\n },\n url:'chargesTemplateDetailList',\n thead: [\n { label: '序号', type: 'index', width: '80' },\n { label: '费用名称', prop: 'name', width: 'auto' },\n // {\n // label: '计费单价',\n // prop: 'unitPrice',\n // width: 'auto'\n // },\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 row.unitPrice+'元/月 平方米'\n break\n case 2:\n return row.unitPrice+'元/ 立方米'\n break\n case 3:\n return row.unitPrice+'元/ 次'\n break\n }\n }\n },\n {\n label: '费用类型名称',\n prop: 'marker',\n width: 'auto',\n type: 'function',\n callback(row, prop) {\n switch (row.marker) {\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 case 5:\n return '日常费用'\n break\n case 6:\n return '停车费'\n break\n case 7:\n return '有偿服务费'\n break\n default:\n break\n }\n }\n },\n {\n label: '物业收费标准明细状态',\n prop: 'status',\n width: 'auto',\n type: 'function',\n callback(row, prop) {\n switch (row.status) {\n case 0:\n return '未启用'\n break\n case 1:\n return '启用'\n break\n }\n }\n },\n { label: '创建人', prop: 'createName', width: 'auto' },\n { label: '更新日期', prop: 'modifyDate', width: 'auto' }\n ],\n table_data: [],\n loading: true\n },\n json_fields: {\n 费用名称: 'name',\n '计费单价/单位': 'unitPrice',\n 费用类型名称:{\n field: 'marker',\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 case 4:\n return '活动报名费'\n break\n case 5:\n return '日常费用'\n break\n case 6:\n return '停车费'\n break\n case 7:\n return '有偿服务费'\n break\n default:\n break\n }\n }\n },\n 物业收费标准明细状态:{\n field: 'status',\n callback: (value) => {\n switch (value) {\n case 0:\n return '未启用'\n break\n case 1:\n return '启用'\n break\n }\n }\n },\n '附加/固定费用': 'otherFee',\n 创建人: 'createName',\n 更新日期: 'modifyDate'\n },\n // 费用明细选中数据\n table_row: []\n }\n },\n directives: {\n // 注册一个局部的自定义指令 v-focus\n focus: {\n // 指令的定义\n inserted: function (el) {\n // 聚焦元素\n el.querySelector('input').focus()\n }\n }\n },\n mounted() {\n this.getCostType()\n },\n methods: {\n // Excel导出\n async fetchData() {\n let Excel = []\n let params = {\n url: 'chargesTemplateDetailList',\n data: {\n pageNum: 1,\n size: 100,\n chargesTemplateId: this.costList[this.costActive].id\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 //enable\n enable(data) {\n if (data.length != 1) {\n this.$message({\n type: 'error',\n message: '只能操作一条数据'\n })\n } else {\n chargesTemplateDetailIsEnable({ id: data[0].id }).then(\n (res) => {\n this.$message({\n type: 'success',\n message: res.message\n })\n this.GetTableData(this.costList[this.costActive].id)\n }\n \n )\n \n }\n this.GetTableData(this.costList[this.costActive].id)\n },\n // 禁用启用\n switchChange(e) {\n this.$confirm('是否确认修改该版本禁启用', '禁启用提示', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n confirmButtonClass: 'confirmButton',\n cancelButtonClass: 'cancelButton'\n })\n .then(() => {\n chargesTemplateIsEnable({\n id: this.costList[this.costActive].id\n }).then((res) => {\n console.log(res)\n if (!res.status) return\n this.$message({\n type: 'success',\n message: res.message\n })\n this.IsEnable = !this.IsEnable\n this.getCostType()\n // this.GetTableData(this.costList[this.costActive].id)\n })\n })\n .catch((action) => {})\n // costActive\n },\n search(){\n this.GetTableData(this.costList[this.costActive].id)\n },\n // 费用版本名称\n getCostType() {\n chargesTemplateList().then((res) => {\n console.log(res)\n this.costList = res\n this.costList.map((item) => {\n this.$set(item, 'editBool', false)\n })\n if (this.costList[this.costActive].status) {\n this.IsEnable = true\n } else {\n this.IsEnable = false\n }\n // 费用版本名称对于明细\n this.GetTableData(this.costList[this.costActive].id)\n })\n },\n // 费用版本input显示隐藏\n editType(index) {\n this.$set(this.costList[index], 'editBool', true)\n },\n // 费用版本 input获取焦点时 获取name\n editInputFocus(e, name) {\n this.typeListName = name\n },\n // 费用版本修改 input 失去焦点焦点时 修改名称\n editInputBlur(e, name, id, index) {\n this.$set(this.costList[index], 'editBool', false)\n // 在修改时新值和旧值相同不请求后台\n if (this.typeListName === name) {\n return\n }\n // 内容为空 重新给当前输入赋旧值\n if (name === '') {\n this.costList[index].name = this.typeListName\n this.$message.error('内容不能为空')\n return\n }\n let resData = {\n id: id,\n name: name\n }\n chargesTemplateUpdate(resData).then((result) => {\n console.log(result)\n })\n },\n // tab 费用版本 侧边栏切换\n tableChange(index, ulId, name) {\n this.costActive = index\n this.getCostType()\n },\n // 获得版本对应费用明细\n GetTableData(id) {\n this.config.data.chargesTemplateId = id\n this.$refs.table.loadData()\n()\n },\n // 删除费用版本名称\n deleteCost() {\n this.$confirm(\n '是否确认删除费用版本?删除不可恢复',\n '费用版本删除',\n {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n confirmButtonClass: 'confirmButton',\n cancelButtonClass: 'cancelButton'\n }\n )\n .then(() => {\n let resData = {\n ids: [this.costList[this.costActive].id]\n }\n console.log(resData)\n chargesTemplateDelete(resData).then((result) => {\n if (result.status) {\n this.$message({\n type: 'success',\n message: result.message\n })\n this.costActive = 0\n this.getCostType()\n }\n })\n })\n .catch((action) => {})\n },\n // 添加费用版本名称\n addCost() {\n this.$prompt('请输入费用版本名称', '添加费用版本', {\n confirmButtonText: '确定',\n cancelButtonText: '取消'\n })\n .then(({ value }) => {\n if (!value) {\n return\n }\n let resData = {\n name: value\n }\n chargesTemplateInsert(resData).then((res) => {\n if (res.status) {\n this.$message({\n type: 'success',\n message: res.message\n })\n this.getCostType()\n }\n })\n // this.drawer_vrisible = true\n })\n .catch(() => {\n this.$message({\n type: 'info',\n message: '取消输入'\n })\n })\n },\n // 添加费用明细\n add() {\n this.cost_vrisible = true\n this.costForm.ruleForm.typeName = this.costList[\n this.costActive\n ].name\n console.log(this.costForm.ruleForm)\n },\n // 修改费用明细\n edit(data) {\n if (data.length) {\n if (data.length > 1) {\n this.$message.error('不能批量编辑')\n return\n }\n let resData = {\n id: data[0].id\n }\n chargesTemplateDetailFindById(resData).then((result) => {\n console.log(result)\n this.costForm.ruleForm.typeName = this.costList[\n this.costActive\n ].name\n this.costEditId = result.byId.id\n this.costForm.ruleForm.marker = result.byId.marker\n\n // marker\n this.costForm.ruleForm.name = result.byId.name\n this.costForm.ruleForm.otherFee = result.byId.otherFee\n this.costForm.ruleForm.type = result.byId.type\n this.costForm.ruleForm.unitPrice = result.byId.unitPrice\n this.cost_vrisible = true\n })\n } else {\n this.$message.error('请选择需要编辑的数据')\n }\n },\n // 添加修改费用明细验证通过\n costRuleSubmit() {\n let resData = {\n chargesTemplateId: this.costList[this.costActive].id,\n name: this.costForm.ruleForm.name,\n unitPrice: this.costForm.ruleForm.unitPrice,\n marker: 1,\n type: parseInt(this.costForm.ruleForm.type),\n otherFee: this.costForm.ruleForm.otherFee,\n additionalCostList: [{ cost: 1, name: '电器费用' }]\n }\n // id等于0 添加否则修改\n if (!this.costEditId) {\n chargesTemplateDetailInsert(resData).then((result) => {\n this.$message({\n type: 'success',\n message: result.message\n })\n this.costClose()\n this.GetTableData(this.costList[this.costActive].id)\n })\n } else {\n resData.id = this.costEditId\n chargesTemplateDetailUpdate(resData).then((result) => {\n if (result.status) {\n this.$message({\n type: 'success',\n message: result.message\n })\n }\n this.costClose()\n this.GetTableData(this.costList[this.costActive].id)\n })\n }\n },\n // 添加修改费用明细提交验证\n costSubmit() {\n this.$refs.costVueForm.submitForm()\n },\n // 添加修改费用明细关闭\n costClose() {\n this.cost_vrisible = false\n this.$refs.costVueForm.reset()\n this.costForm.ruleForm.typeName = null\n this.costEditId = null\n this.costForm.ruleForm.marker = null\n\n // marker\n this.costForm.ruleForm.name = null\n this.costForm.ruleForm.otherFee = null\n this.costForm.ruleForm.type = null\n this.costForm.ruleForm.unitPrice = null\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 let resData = {\n ids: arr\n }\n chargesTemplateDetailDelete(resData).then((res) => {\n if (!res.status) return\n this.$message({\n type: 'success',\n message: res.message\n })\n this.GetTableData(this.costList[this.costActive].id)\n })\n })\n .catch((action) => {})\n } else {\n this.$message.error('请选中需要删除的数据')\n }\n },\n tableCheck(arr) {\n this.table_row = arr\n }\n }\n}\n</script>\n<style scoped lang='scss'>\n.content_box {\n display: flex;\n min-height: 500px;\n}\n.left {\n width: 300px;\n border-right: 1px solid #d8d8d8;\n}\n.left_title {\n display: flex;\n justify-content: space-between;\n height: 60px;\n line-height: 60px;\n padding: 0 20px;\n font-size: 16px;\n color: #333333;\n}\n.left_icon {\n font-size: 18px;\n cursor: pointer;\n display: inline-block;\n padding: 6px;\n &:hover {\n opacity: 0.8;\n }\n}\n.left_icon span {\n padding-left: 10px;\n color: #444444;\n}\n.left ul li {\n display: flex;\n justify-content: space-between;\n align-items: center;\n cursor: pointer;\n // height: 48px;\n // line-height: 48px;\n i {\n font-size: 16px;\n }\n}\n.left ul li.active {\n background: #fff0ea;\n color: #fb4702;\n}\n.left ul li:hover {\n background: #fff0ea;\n color: #fb4702;\n}\n.left ul li span {\n padding: 20px;\n}\n.right {\n padding: 0px 20px;\n padding-bottom: 84px;\n width: calc(100% - 300px);\n}\n.right_title {\n height: 60px;\n line-height: 60px;\n}\n.right_input {\n height: 48px;\n line-height: 48px;\n}\n.right_table {\n margin-top: 20px;\n border: 1px solid #f5f5f6;\n}\n</style>\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!./chargeStandard.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!./chargeStandard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./chargeStandard.vue?vue&type=template&id=420fd7ed&scoped=true&\"\nimport script from \"./chargeStandard.vue?vue&type=script&lang=js&\"\nexport * from \"./chargeStandard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./chargeStandard.vue?vue&type=style&index=0&id=420fd7ed&prod&scoped=true&lang=scss&\"\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 \"420fd7ed\",\n null\n \n)\n\nexport default component.exports","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"],"sourceRoot":""}