Files
PropertyDeployment/resources/Web/PropertyApp/html/static/js/pages-fee-roomPayFee.34ded886.js
2025-12-09 20:22:03 +08:00

1 line
7.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-fee-roomPayFee"],{"26e7":function(e,t,o){var n=o("8de2");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=o("967d").default;i("6554821a",n,!0,{sourceMap:!1,shadowMode:!1})},"296e":function(e,t,o){"use strict";o.r(t);var n=o("f03a"),i=o.n(n);for(var a in n)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return n[e]}))}(a);t["default"]=i.a},"2d37":function(e,t,o){"use strict";o("6a54");var n=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.loadRoomAndOwner=function(e,t){return new Promise((function(o,n){e.context.get({url:i.default.listRoomAndOwner,data:t,success:function(e){o(e)},fail:function(e){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},t.loadRooms=function(e,t){return new Promise((function(o,n){e.context.get({url:i.default.queryRooms,data:t,success:function(e){o(e)},fail:function(e){wx.showToast({title:"服务器异常了",icon:"none",duration:2e3})}})}))},o("bf0f");var i=n(o("9494"))},"39f3":function(e,t,o){"use strict";o.r(t);var n=o("faef"),i=o("296e");for(var a in i)["default"].indexOf(a)<0&&function(e){o.d(t,e,(function(){return i[e]}))}(a);o("c161");var s=o("828b"),r=Object(s["a"])(i["default"],n["b"],n["c"],!1,null,"14048c60",null,!1,n["a"],void 0);t["default"]=r.exports},"8de2":function(e,t,o){var n=o("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/* 文章场景相关 */.block__title[data-v-14048c60]{margin:0;font-weight:400;font-size:14px;color:rgba(69,90,100,.6);padding:%?40?% %?30?% %?20?%}.button_up_blank[data-v-14048c60]{height:%?40?%}.cu-list.menu-avatar > .cu-item .content-left[data-v-14048c60]{left:%?30?%}.cu-list + .cu-list[data-v-14048c60]{margin-top:%?20?%}.cu-btn.lgplus[data-v-14048c60]{padding:0 20px;font-size:18px;height:%?100?%}.cu-btn.sharp[data-v-14048c60]{border-radius:%?0?%}.line-height[data-v-14048c60]{line-height:%?100?%}.sub-info[data-v-14048c60]{background-color:#fff;padding:%?15?%}.sub-info .sub-info-item[data-v-14048c60]{width:45%;margin:%?10?% %?15?% %?0?% %?15?%}',""]),e.exports=t},c161:function(e,t,o){"use strict";var n=o("26e7"),i=o.n(n);i.a},f03a:function(e,t,o){"use strict";o("6a54");var n=o("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,o("bf0f");var i=n(o("39d8")),a=o("2d37"),s=o("7fee"),r=n(o("eb23")),u=n(o("75f3")),c={data:function(){var e;return e={floorNum:"",floorId:"",unitNum:"",unitId:"",roomNum:"",roomId:"",roomName:"",roomInfo:{}},(0,i.default)(e,"roomInfo",{ownerName:"",link:""}),(0,i.default)(e,"active",0),e},components:{oweFee:r.default,feeDetail:u.default},onLoad:function(){this.java110Context.onLoad()},onShow:function(){this._queryRoom()},methods:{_loadRoomInfo:function(){var e=this,t={page:1,row:1,communityId:(0,s.getCurrentCommunity)().communityId,floorNum:this.floorNum,unitNum:this.unitNum,roomNum:this.roomNum};(0,a.loadRoomAndOwner)(this,t).then((function(t){return new Promise((function(o,n){if(200==t.statusCode){var i=t.data.rooms;if(t.data.total<1)return uni.showToast({icon:"none",title:e.$t("pages.fee.roomPayFee.未查询到房屋")}),e.roomInfo={},e.roomInfo.roomId="",e.tabSelect(0),void n();e.roomInfo=i[0],o(e.roomInfo)}}))})).then((function(t){console.log("第二个then"),e.tabSelect(0)}),(function(){}))},_queryRoom:function(){if(this.roomName){var e=this.roomName.split("-");3==e.length?(this.floorNum=e[0],this.unitNum=e[1],this.roomNum=e[2],this._loadRoomInfo()):uni.showToast({icon:"none",title:this.$t("pages.fee.roomPayFee.输入房屋格式错误如1-1-1")})}},tabSelect:function(e){this.active=e,0!=this.active?1!=this.active||this.$refs.feeDetailRef._loadFeeDetails({roomId:this.roomInfo.roomId}):this.$refs.oweFeeRef._loadRoomOweFee({roomId:this.roomInfo.roomId})},_createFee:function(){uni.navigateTo({url:"/pages/fee/createFee?payerObjId="+this.roomInfo.roomId+"&payerObjName="+this.roomInfo.roomName})}}};t.default=c},faef:function(e,t,o){"use strict";o.d(t,"b",(function(){return n})),o.d(t,"c",(function(){return i})),o.d(t,"a",(function(){}));var n=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("v-uni-view",[o("v-uni-view",{staticClass:"cu-bar bg-white search "},[o("v-uni-view",{staticClass:"search-form round"},[o("v-uni-text",{staticClass:"cuIcon-search"}),o("v-uni-input",{attrs:{type:"text",placeholder:e.$t("pages.fee.roomPayFee.输入房屋编号楼栋-单元-房屋"),"confirm-type":"search"},model:{value:e.roomName,callback:function(t){e.roomName=t},expression:"roomName"}})],1),o("v-uni-view",{staticClass:"action"},[o("v-uni-button",{staticClass:"cu-btn line-blue round",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e._queryRoom()}}},[e._v(e._s(e.$t("pages.fee.roomPayFee.搜索")))]),e.roomInfo.roomId?o("v-uni-button",{staticClass:"cu-btn line-blue round margin-left",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e._createFee()}}},[e._v(e._s(e.$t("pages.fee.roomPayFee.创建费用")))]):e._e()],1)],1),o("v-uni-view",[o("v-uni-view",{staticClass:"block__title"},[e._v(e._s(e.$t("pages.fee.roomPayFee.房屋信息")))]),o("v-uni-view",{staticClass:"cu-form-group"},[o("v-uni-view",{staticClass:"title"},[e._v(e._s(e.$t("pages.fee.roomPayFee.房屋编号")))]),e._v(" "+e._s(void 0!=e.roomInfo.floorNum?e.roomInfo.floorNum+"-"+e.roomInfo.unitNum+"-"+e.roomInfo.roomNum:"")+" ")],1),o("v-uni-view",{staticClass:"cu-form-group"},[o("v-uni-view",{staticClass:"title"},[e._v(e._s(e.$t("pages.fee.roomPayFee.建筑面积")))])],1),o("v-uni-view",{staticClass:"cu-form-group"},[o("v-uni-view",{staticClass:"title"},[e._v(e._s(e.$t("pages.fee.roomPayFee.业主")))]),o("v-uni-view",[e._v(e._s(e.roomInfo.ownerName)),e.roomInfo.link?o("v-uni-text",[e._v("("+e._s(e.roomInfo.link)+")")]):e._e()],1)],1),o("v-uni-scroll-view",{staticClass:"bg-white nav margin-top",attrs:{"scroll-x":!0}},[o("v-uni-view",{staticClass:"flex text-center"},[o("v-uni-view",{staticClass:"cu-item flex-sub",class:0==e.active?"text-green cur":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.tabSelect(0)}}},[e._v(" "+e._s(e.$t("pages.fee.roomPayFee.欠费缴费"))+" ")]),o("v-uni-view",{staticClass:"cu-item flex-sub",class:1==e.active?"text-green cur":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.tabSelect(1)}}},[e._v(" "+e._s(e.$t("pages.fee.roomPayFee.缴费记录"))+" ")])],1)],1),o("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:0==e.active,expression:"active == 0"}],staticClass:"margin-top-xs"},[o("owe-fee",{ref:"oweFeeRef"})],1),o("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:1==e.active,expression:"active == 1"}],staticClass:"margin-top-xs"},[o("fee-detail",{ref:"feeDetailRef"})],1)],1)],1)},i=[]}}]);