(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/residential/detail"],{"0848":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return o})),t.d(e,"a",(function(){return u}));var u={uForm:function(){return t.e("node-modules/uview-ui/components/u-form/u-form").then(t.bind(null,"459a"))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,"5690"))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("node-modules/uview-ui/components/u-input/u-input")]).then(t.bind(null,"1c95"))},uGrid:function(){return t.e("node-modules/uview-ui/components/u-grid/u-grid").then(t.bind(null,"2485"))},uGridItem:function(){return t.e("node-modules/uview-ui/components/u-grid-item/u-grid-item").then(t.bind(null,"04aa"))},uIcon:function(){return t.e("node-modules/uview-ui/components/u-icon/u-icon").then(t.bind(null,"9ec4"))}},i=function(){var n=this,e=n.$createElement;n._self._c},o=[]},1703:function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={data:function(){return{labelStyle:{fontWeight:"600"},form:{}}},onLoad:function(n){console.log(n),this.form=JSON.parse(n.item)},methods:{fetchDetail:function(n){var e=this;this.$api.residential.page({id:n}).then((function(n){e.form=n.list[0]}))},add:function(){n.navigateTo({url:"add"})},edit:function(){n.navigateTo({url:"./add?item="+JSON.stringify(this.form)})},deleteResidential:function(){var e=this;this.form;this.$dialog.showModal("确定要删除此项吗?").then((function(t){e.$api.residential.del({id:e.form.id}).then((function(t){t.data&&e.$dialog.showModal("删除",!1).then((function(e){n.navigateBack({delta:1})}))}))}))}}};e.default=t}).call(this,t("543d")["default"])},1752:function(n,e,t){},5272:function(n,e,t){"use strict";t.r(e);var u=t("1703"),i=t.n(u);for(var o in u)"default"!==o&&function(n){t.d(e,n,(function(){return u[n]}))}(o);e["default"]=i.a},"64b2":function(n,e,t){"use strict";t.r(e);var u=t("0848"),i=t("5272");for(var o in i)"default"!==o&&function(n){t.d(e,n,(function(){return i[n]}))}(o);t("6882");var r,a=t("f0c5"),d=Object(a["a"])(i["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);e["default"]=d.exports},6882:function(n,e,t){"use strict";var u=t("1752"),i=t.n(u);i.a},a283:function(n,e,t){"use strict";(function(n){t("4481");u(t("66fd"));var e=u(t("64b2"));function u(n){return n&&n.__esModule?n:{default:n}}n(e.default)}).call(this,t("543d")["createPage"])}},[["a283","common/runtime","common/vendor"]]]);