deal.js 3.4 KB

1
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/agent/report/deal"],{"2c5e":function(e,n,t){"use strict";t.r(n);var u=t("b87e"),r=t("9a34");for(var o in r)"default"!==o&&function(e){t.d(n,e,(function(){return r[e]}))}(o);t("64f4");var i,c=t("f0c5"),a=Object(c["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],i);n["default"]=a.exports},"63ea":function(e,n,t){},"64f4":function(e,n,t){"use strict";var u=t("63ea"),r=t.n(u);r.a},"9a34":function(e,n,t){"use strict";t.r(n);var u=t("f3d7"),r=t.n(u);for(var o in u)"default"!==o&&function(e){t.d(n,e,(function(){return u[e]}))}(o);n["default"]=r.a},b87e:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return o})),t.d(n,"a",(function(){return u}));var u={uForm:function(){return t.e("uni_modules/vk-uview-ui/components/u-form/u-form").then(t.bind(null,"ce96"))},uFormItem:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/vk-uview-ui/components/u-form-item/u-form-item")]).then(t.bind(null,"23cb"))},uInput:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/vk-uview-ui/components/u-input/u-input")]).then(t.bind(null,"6943"))},uRadioGroup:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/vk-uview-ui/components/u-radio-group/u-radio-group")]).then(t.bind(null,"9183"))},uRadio:function(){return t.e("uni_modules/vk-uview-ui/components/u-radio/u-radio").then(t.bind(null,"0505"))},uGap:function(){return t.e("uni_modules/vk-uview-ui/components/u-gap/u-gap").then(t.bind(null,"dc7f"))},uButton:function(){return t.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(t.bind(null,"ce9e"))}},r=function(){var e=this,n=e.$createElement;e._self._c},o=[]},bade:function(e,n,t){"use strict";(function(e){t("3690");u(t("66fd"));var n=u(t("2c5e"));function u(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=t,e(n.default)}).call(this,t("543d")["createPage"])},f3d7:function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;t("d0e4");function u(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(e);n&&(u=u.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,u)}return t}function r(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?u(Object(t),!0).forEach((function(n){o(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):u(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function o(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var i={data:function(){return{curName:"",curId:"",form:{subscr_state:"1"}}},onLoad:function(e){this.curId=e.id,this.curName="".concat(e.name)},onReady:function(){this.$refs.uForm.setRules(this.rules)},methods:{submitHandle:function(){var n=this;this.$refs.uForm.validate((function(t){if(t){var u=r(r({},n.form),{},{id:n.curId}),o="apireportsubscrDeal";e.api.estate[o](u).then((function(n){e.$msgConfirm("编辑成功",(function(){e.reLaunch({url:"/pages/agent/report/buycheck"})}),(function(){e.reLaunch({url:"/pages/agent/report/buycheck"})}))}))}}))},getFormatDate:function(e){if(void 0==e||""==e)return"";var n=e;return parseInt(e)<10&&(n="0"+e),n}}};n.default=i}).call(this,t("543d")["default"])}},[["bade","common/runtime","common/vendor"]]]);