1 line
8.7 KiB
JavaScript
1 line
8.7 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fee-oweFeeCallable"],{"2d37":function(e,t,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.loadRoomAndOwner=function(e,t){return new Promise((function(a,n){e.context.get({url:i.default.listRoomAndOwner,data:t,success:function(e){a(e)},fail:function(e){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.loadRooms=function(e,t){return new Promise((function(a,n){e.context.get({url:i.default.queryRooms,data:t,success:function(e){a(e)},fail:function(e){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},a("bf0f");var i=n(a("9494"))},"62cc":function(e,t,a){var n=a("94c2");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("967d").default;i("287b176b",n,!0,{sourceMap:!1,shadowMode:!1})},"6abe":function(e,t,a){"use strict";a.d(t,"b",(function(){return n})),a.d(t,"c",(function(){return i})),a.d(t,"a",(function(){}));var n=function(){var e=this.$createElement,t=this._self._c||e;return t("v-uni-view",[t("v-uni-view",{staticClass:" text-center margin-top-100"},[t("v-uni-view",{},[t("v-uni-text",{staticClass:" cuIcon-warnfill light text-orange no-data-icon"})],1),t("v-uni-view",{},[t("v-uni-text",{staticClass:"text-gray"},[this._v(this._s(this.$t("components.no-data-page.no-data-page.当前没有数据")))])],1)],1)],1)},i=[]},8981:function(e,t,a){"use strict";a.r(t);var n=a("6abe"),i=a("e542");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("c06e");var s=a("828b"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"16f2c9c8",null,!1,n["a"],void 0);t["default"]=u.exports},"94c2":function(e,t,a){var n=a("c86c");t=n(!1),t.push([e.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.apply-title[data-v-1e6d3da2]{height:%?60?%;line-height:%?50?%;border-bottom:%?1?% solid #f1f1f1}.apply-content .item[data-v-1e6d3da2]{width:50%;margin-top:%?20?%}.radius-sm[data-v-1e6d3da2]{border-radius:%?16?%}',""]),e.exports=t},"9c97":function(e,t,a){var n=a("f452");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("967d").default;i("04b7c902",n,!0,{sourceMap:!1,shadowMode:!1})},b3f6:function(e,t,a){"use strict";var n=a("62cc"),i=a.n(n);i.a},c06e:function(e,t,a){"use strict";var n=a("9c97"),i=a.n(n);i.a},c2c2:function(e,t,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.queryOweFeeCallable=function(e,t){return new Promise((function(a,n){e.context.get({url:i.default.listOweFeeCallable,data:t,success:function(e){a(e.data)},fail:function(e){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.writeOweFeeCallable=function(e,t){return new Promise((function(a,n){e.context.post({url:i.default.writeOweFeeCallable,data:t,success:function(e){a(e.data)},fail:function(e){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},a("bf0f");var i=n(a("9494"))},cf7f:function(e,t,a){"use strict";a("6a54");var n=a("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,a("fd3c");var i=a("2d37"),o=a("c2c2"),s=(n(a("8981")),a("d6b0")),u={data:function(){return{roomName:"",roomId:"",callables:[]}},onShow:function(){this.roomId&&this._loadOweFeeCallable()},methods:{_loadRooms:function(){var e=this;(0,i.loadRooms)(this,{page:1,row:1,communityId:this.getCommunityId(),flag:1,roomNum:this.roomName}).then((function(t){var a=t.data;if(a.rooms&&!(a.rooms.length<1))return e.roomId=a.rooms[0].roomId,a.rooms[0];uni.showToast({icon:"none",title:e.$t("pages.fee.oweFeeCallable.房屋不存在")})})).then((function(t){e.roomId&&e._loadOweFeeCallable()}))},_loadOweFeeCallable:function(){var e=this;(0,o.queryOweFeeCallable)(this,{page:1,row:50,communityId:this.getCommunityId(),payerObjId:this.roomId}).then((function(t){e.callables=t.data}))},_wirteCallable:function(){uni.navigateTo({url:"/pages/fee/writeOweFeeCallable?roomId="+this.roomId+"&roomName="+this.roomName})},_formateDate:function(e){(0,s.getDate)(e);var t=date.getFullYear(),a=date.getMonth(),n=date.getDate();return[t,a,n].map(formatNumber).join("-")}}};t.default=u},e542:function(e,t,a){"use strict";a.r(t);var n=a("f579"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},e844:function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return n}));var n={noDataPage:a("8981").default},i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("v-uni-view",[a("v-uni-view",{staticClass:"cu-bar bg-white search "},[a("v-uni-view",{staticClass:"search-form round"},[a("v-uni-text",{staticClass:"cuIcon-search"}),a("v-uni-input",{attrs:{type:"text",placeholder:e.$t("pages.fee.oweFeeCallable.输入房屋编号楼栋-单元-房屋"),"confirm-type":"search"},model:{value:e.roomName,callback:function(t){e.roomName=t},expression:"roomName"}})],1),a("v-uni-view",{staticClass:"action"},[a("v-uni-button",{staticClass:"cu-btn line-blue round",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e._loadRooms()}}},[e._v(e._s(e.$t("pages.fee.oweFeeCallable.搜索")))]),e.roomId?a("v-uni-button",{staticClass:"cu-btn line-blue round margin-left-sm",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e._wirteCallable()}}},[e._v(e._s(e.$t("pages.fee.oweFeeCallable.登记")))]):e._e()],1)],1),e.callables.length>0?a("v-uni-view",{staticClass:"margin-top"},e._l(e.callables,(function(t,n){return a("v-uni-view",{key:n,staticClass:"bg-white margin-bottom padding-sm margin-sm radius-sm"},[a("v-uni-view",{staticClass:"apply-title flex justify-between"},[a("v-uni-view",[a("v-uni-text",{staticClass:"text-bold"},[e._v(e._s(t.feeName))])],1),a("v-uni-view",{staticClass:"flex justify-start"},[e._v(" "+e._s(t.createTime)+" ")])],1),a("v-uni-view",{staticClass:"apply-content flex justify-start flex-wrap"},[a("v-uni-view",{staticClass:"item"},[a("v-uni-text",[e._v(e._s(e.$t("pages.fee.oweFeeCallable.催缴方式:")))]),a("v-uni-text",[e._v(e._s(t.callableWayName))])],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-text",[e._v(e._s(e.$t("pages.fee.oweFeeCallable.业主:")))]),a("v-uni-text",[e._v(e._s(t.ownerName))])],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-text",[e._v(e._s(e.$t("pages.fee.oweFeeCallable.催缴金额:")))]),a("v-uni-text",[e._v(e._s(t.amountdOwed))])],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-text",[e._v(e._s(e.$t("pages.fee.oweFeeCallable.催缴人:")))]),a("v-uni-text",[e._v(e._s(t.staffName))])],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-text",[e._v(e._s(e.$t("pages.fee.oweFeeCallable.欠费段:")))]),a("v-uni-text",[e._v(e._s(e._formateDate(t.startTime))+"~"+e._s(e._formateDate(t.endTime)))])],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-text",[e._v(e._s(e.$t("pages.fee.oweFeeCallable.催缴说明:")))]),a("v-uni-text",[e._v(e._s(t.remark))])],1)],1)],1)})),1):a("v-uni-view",[a("no-data-page")],1)],1)},o=[]},f0f7:function(e,t,a){"use strict";a.r(t);var n=a("cf7f"),i=a.n(n);for(var o in n)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a},f452:function(e,t,a){var n=a("c86c");t=n(!1),t.push([e.i,".no-data-icon[data-v-16f2c9c8]{font-size:%?200?%}.margin-top-100[data-v-16f2c9c8]{margin-top:%?200?%}",""]),e.exports=t},f579:function(e,t,a){"use strict";a("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={name:"NoDataPage",data:function(){return{}},methods:{}}},f984:function(e,t,a){"use strict";a.r(t);var n=a("e844"),i=a("f0f7");for(var o in i)["default"].indexOf(o)<0&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("b3f6");var s=a("828b"),u=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"1e6d3da2",null,!1,n["a"],void 0);t["default"]=u.exports}}]); |