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.
2 lines
7.7 KiB
2 lines
7.7 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50bf0111"],{1615:function(e,t,r){"use strict";r.d(t,"l",(function(){return n})),r.d(t,"t",(function(){return u})),r.d(t,"n",(function(){return i})),r.d(t,"a",(function(){return l})),r.d(t,"q",(function(){return s})),r.d(t,"r",(function(){return o})),r.d(t,"o",(function(){return c})),r.d(t,"p",(function(){return d})),r.d(t,"s",(function(){return m})),r.d(t,"c",(function(){return h})),r.d(t,"b",(function(){return f})),r.d(t,"k",(function(){return p})),r.d(t,"m",(function(){return b})),r.d(t,"j",(function(){return g})),r.d(t,"d",(function(){return P})),r.d(t,"g",(function(){return T})),r.d(t,"f",(function(){return y})),r.d(t,"h",(function(){return S})),r.d(t,"i",(function(){return v})),r.d(t,"e",(function(){return q})),r.d(t,"y",(function(){return w})),r.d(t,"z",(function(){return O})),r.d(t,"x",(function(){return C})),r.d(t,"u",(function(){return F})),r.d(t,"w",(function(){return _})),r.d(t,"v",(function(){return k}));var a=r("b775");r("2c37");function n(e){return a["a"].request({method:"GET",url:"/chargesTemplate/list",params:e})}function u(e){return a["a"].request({method:"POST",url:"/expenseBill/refund",data:e})}function i(e){return a["a"].request({method:"GET",url:"/dailyPayment/findEnableTempleDetail",params:e})}function l(e){return a["a"].request({method:"GET",url:"/activityManagement/findEnableTempleDetail",params:e})}function s(e){return a["a"].request({method:"POST",url:"/dailyPaymentPlan/insert",data:e})}function o(e){return a["a"].request({method:"POST",url:"/dailyPaymentPlan/update",data:e})}function c(e){return a["a"].request({method:"POST",url:"/dailyPayment/insert",data:e})}function d(e){return a["a"].request({method:"POST",url:"/dailyPayment/insertOrder",data:e})}function m(e){return a["a"].request({method:"POST",url:"/dailyPayment/push",data:e})}function h(e){return a["a"].request({method:"POST",url:"/advancePayment/refund",data:e})}function f(e){return a["a"].request({method:"POST",url:"/advancePayment/recharge",data:e})}function p(e){return a["a"].request({method:"GET",url:"/chargesTemplate/isEnable",params:e})}function b(e){return a["a"].request({method:"POST",url:"/chargesTemplate/update",data:e})}function g(e){return a["a"].request({method:"POST",url:"/chargesTemplate/insert",data:e})}function P(e){return a["a"].request({method:"POST",url:"/chargesTemplate/delete",data:e})}function T(e){return a["a"].request({method:"POST",url:"/chargesTemplateDetail/insert",data:e})}function y(e){return a["a"].request({method:"GET",url:"/chargesTemplateDetail/findById",params:e})}function S(e){return a["a"].request({method:"GET",url:"/chargesTemplateDetail/isEnable",params:e})}function v(e){return a["a"].request({method:"POST",url:"/chargesTemplateDetail/update",data:e})}function q(e){return a["a"].request({method:"POST",url:"/chargesTemplateDetail/delete",data:e})}function w(e){return a["a"].request({method:"POST",url:"/paper/insert",data:e})}function O(e){return a["a"].request({method:"POST",url:"/paper/recipients",data:e})}function C(e){return a["a"].request({method:"POST",url:"/meterReadingRecord/updateRemakes",data:e})}function F(e){return a["a"].request({method:"POST",url:"/meterReadingRecord/createShareBill",data:e})}function _(e){return a["a"].request({method:"POST",url:"/meterReadingRecord/ShareBillPushDetails",data:e})}function k(e){return a["a"].request({method:"POST",url:"/meterReadingRecord/ShareBillPush",data:e})}},b3e5:function(e,t,r){"use strict";r.r(t);var a=function(){var e=this,t=e._self._c;return t("div",{staticClass:"main-content"},[e._m(0),t("div",{staticClass:"content"},[t("el-dialog"),t("div",{},[t("VueTable",{ref:"table",attrs:{config:e.config},on:{tableCheck:e.tableCheck}},[t("template",{slot:"footer"},[t("div",{staticClass:"table-footer"},[t("button",{on:{click:function(t){return e.recharge(e.table_row)}}},[e._v("充值")]),t("button",{on:{click:function(t){return e.refund(e.table_row)}}},[e._v("退款")])])])],2)],1)],1),t("Drawer",{attrs:{drawerTitle:"退款",drawerVrisible:e.refundVrisible},on:{drawerClose:e.getClose}},[t("div",{staticStyle:{padding:"30px"}},[t("FromCard",[t("template",{slot:"title"},[e._v("基本信息")]),[t("VueForm",{ref:"VueForm",attrs:{formObj:e.refundForm},on:{ruleSuccess:e.refundRuleSubmit}})]],2)],1),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("button",{staticClass:"btn-orange",on:{click:function(t){return e.onSubmit()}}},[t("span",[t("i",{staticClass:"el-icon-circle-check"}),e._v("提交")])]),t("button",{staticClass:"btn-gray",on:{click:e.getClose}},[t("span",[e._v("取消")])])])]),t("Drawer",{attrs:{drawerTitle:"线下充值",drawerVrisible:e.rechargeVrisible},on:{drawerClose:e.getClose}},[t("div",{staticStyle:{padding:"30px"}},[t("FromCard",[t("template",{slot:"title"},[e._v("基本信息")]),[t("VueForm",{ref:"VueForm",attrs:{formObj:e.rechargeForm},on:{ruleSuccess:e.rechargeRuleSubmit}})]],2)],1),t("div",{attrs:{slot:"footer"},slot:"footer"},[t("button",{staticClass:"btn-orange",on:{click:function(t){return e.onSubmit()}}},[t("span",[t("i",{staticClass:"el-icon-circle-check"}),e._v("提交")])]),t("button",{staticClass:"btn-gray",on:{click:e.getClose}},[t("span",[e._v("取消")])])])])],1)},n=[function(){var e=this,t=e._self._c;return t("div",{staticClass:"main-titel"},[t("span",[e._v("预缴管理")])])}],u=r("1615"),i={data(){return{thatId:null,activeName:"0",refundVrisible:!1,rechargeVrisible:!1,table_row:[],config:{thead:[{label:"序号",type:"index",width:"80"},{label:"房屋信息",prop:"roomName",width:"auto"},{label:"住户姓名",prop:"residentName",width:"auto"},{label:"预缴金额",prop:"advancePaymentPrice",width:"auto"},{label:"最近充值时间",prop:"nearDate",width:"auto"}],table_data:[],url:"advancePaymentList",search_item:[{type:"Input",label:"房屋信息",placeholder:"楼栋/单元/房间号",prop:"roomName"},{type:"Input",label:"住户名称",placeholder:"请输入",prop:"residentName"}],data:{pageNum:1,size:10}},rechargeForm:{ruleForm:{name:null,tel:null,payPrice:null},form_item:[{type:"Input",label:"缴费人名称",placeholder:"请输入",width:"50%",prop:"name"},{type:"Input",label:"联系方式",placeholder:"请输入",width:"50%",prop:"tel"},{type:"Input",label:"付款金额",placeholder:"请输入",width:"50%",prop:"payPrice"}]},refundForm:{ruleForm:{refundPrice:0},form_item:[{type:"Input",label:"退还金额",placeholder:"请输入",width:"50%",prop:"refundPrice"}]}}},methods:{handleClick(e,t){let r=null;r=0!=this.activeName?this.activeName:null;const a={pageNum:1,size:10,status:r};this.$refs.table.requestData(a)},tableCheck(e){this.table_row=e},refundRuleSubmit(){let e={estateId:this.thatId,refundPrice:this.refundForm.ruleForm.refundPrice};console.log(e),Object(u["c"])(e).then(e=>{console.log(e),e.status&&(this.$message({message:e.message,type:"success"}),this.$refs.table.requestData(),this.getClose(),this.thatId=null)})},recharge(e){e.length>1?this.$message.error("只能操作一条数据"):e.length?(this.thatId=e[0].id,this.rechargeVrisible=!0):this.$message.error("请选择")},rechargeRuleSubmit(){let e={estateId:this.thatId,name:this.rechargeForm.ruleForm.name,tel:this.rechargeForm.ruleForm.tel,payPrice:this.rechargeForm.ruleForm.payPrice};console.log(e),Object(u["b"])(e).then(e=>{console.log(e),e.status&&(this.$message({message:e.message,type:"success"}),this.$refs.table.requestData(),this.getClose(),this.thatId=null)})},refund(e){e.length>1?this.$message.error("只能操作一条数据"):e.length?(this.thatId=e[0].id,this.refundVrisible=!0,this.refundForm.ruleForm.depositPrice=e[0].depositPrice):this.$message.error("请选择")},onSubmit(){this.$refs.VueForm.submitForm()},getClose(){this.refundVrisible=!1,this.rechargeVrisible=!1,this.$refs.VueForm.reset()}}},l=i,s=r("2877"),o=Object(s["a"])(l,a,n,!1,null,null,null);t["default"]=o.exports}}]);
|
|
//# sourceMappingURL=chunk-50bf0111.be2e38cd.js.map
|