1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/cust/myrecordedit"],{"109d":function(e,n,u){"use strict";u.d(n,"b",(function(){return r})),u.d(n,"c",(function(){return o})),u.d(n,"a",(function(){return t}));var t={uForm:function(){return u.e("uni_modules/vk-uview-ui/components/u-form/u-form").then(u.bind(null,"ce96"))},uFormItem:function(){return Promise.all([u.e("common/vendor"),u.e("uni_modules/vk-uview-ui/components/u-form-item/u-form-item")]).then(u.bind(null,"23cb"))},uInput:function(){return Promise.all([u.e("common/vendor"),u.e("uni_modules/vk-uview-ui/components/u-input/u-input")]).then(u.bind(null,"6943"))},uGap:function(){return u.e("uni_modules/vk-uview-ui/components/u-gap/u-gap").then(u.bind(null,"dc7f"))},uButton:function(){return u.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(u.bind(null,"ce9e"))},uSelect:function(){return u.e("uni_modules/vk-uview-ui/components/u-select/u-select").then(u.bind(null,"2de4"))},uToast:function(){return u.e("uni_modules/vk-uview-ui/components/u-toast/u-toast").then(u.bind(null,"934c"))}},r=function(){var e=this,n=e.$createElement;e._self._c},o=[]},1645:function(e,n,u){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={data:function(){return{form:{record_remark:null},customer_id:null,rules:{record_remark:[{required:!0,message:"备注不能为空",trigger:["change"]}]},remarkTips:"请输入:购房预算(总价/均价/面积段)~现居住区域~现居住产品/面积段~工作类型~购房需求/关注点~已经看过的房源情况",propertySelectShow:!1,propertySelectList:[]}},onLoad:function(e){this.customer_id=e.id},created:function(){},onReady:function(){this.$refs.uForm.setRules(this.rules)},methods:{submitHandle:function(){var n=this,u=this;this.$refs.uForm.validate((function(t){if(t){var r="apiprivaterecordadd",o={record_remark:u.form.record_remark,customer_id:n.customer_id};u.isEdit&&(r="apiprivaterecordedit",o.id=u.form.id),e.api.cust[r](o).then((function(t){u.isEdit?e.$msgConfirm("编辑成功",(function(){e.reLaunch({url:"/pages/cust/my"})}),(function(){e.reLaunch({url:"/pages/cust/my"})})):e.$msgConfirm("添加跟进记录成功,是否前往列表?",(function(){e.navigateBack()}),(function(){n.form={record_remark:null}}))}))}else console.log("验证失败")}))}}};n.default=u}).call(this,u("543d")["default"])},"52c2":function(e,n,u){"use strict";(function(e){u("3690");t(u("66fd"));var n=t(u("e94f"));function t(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=u,e(n.default)}).call(this,u("543d")["createPage"])},c0ac:function(e,n,u){},c4a6:function(e,n,u){"use strict";u.r(n);var t=u("1645"),r=u.n(t);for(var o in t)"default"!==o&&function(e){u.d(n,e,(function(){return t[e]}))}(o);n["default"]=r.a},e6a9:function(e,n,u){"use strict";var t=u("c0ac"),r=u.n(t);r.a},e94f:function(e,n,u){"use strict";u.r(n);var t=u("109d"),r=u("c4a6");for(var o in r)"default"!==o&&function(e){u.d(n,e,(function(){return r[e]}))}(o);u("e6a9");var i,c=u("f0c5"),a=Object(c["a"])(r["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],i);n["default"]=a.exports}},[["52c2","common/runtime","common/vendor"]]]);
|