1 |
- (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/agent/recommend/detailGovern"],{1151:function(e,t,n){},"1e20":function(e,t,n){"use strict";n.r(t);var i=n("8f66"),u=n.n(i);for(var o in i)"default"!==o&&function(e){n.d(t,e,(function(){return i[e]}))}(o);t["default"]=u.a},"56e1":function(e,t,n){"use strict";(function(e){n("3690");i(n("66fd"));var t=i(n("95d4"));function i(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},"8f66":function(e,t,n){"use strict";(function(e){function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("2b32").default,c={data:function(){return{curId:"",commonRulesShow:!1,skeletonLoading:!0,detail:{},currentStep:0,userInfo:{},buystepList:[{name:"审核"},{name:"报备成功"},{name:"到访"},{name:"认购"},{name:"签约"},{name:"结佣"}],reportStepObj:{1:"未到访",2:"已到访",3:"已认购",4:"已签约",5:"已结佣"},reportStateObj:{1:"有效",2:"审核中",3:"无效"},stepsLogList:[]}},onLoad:function(t){var n=this,i=e.getStorageSync("MD_userInfo2");this.userInfo=u({},i),this.curId=t.id,e.api.estate.apigoverndetail({id:t.id}).then((function(t){n.detail=t||{},n.stepsLogList=t.report_flow||[],n.skeletonLoading=!1;var i=e.getSystemInfoSync(),u=500*i.windowWidth/750,o=500*i.windowWidth/750;new r("qrcode",{text:t.code,width:u,height:o,colorDark:"#000",colorLight:"#fff",correctLevel:r.correctLevel.H,logo:"",successTips:!1})}))},methods:{buyedHandle:function(){var t=this;e.$msgConfirm("确定已认购?",(function(){})),e.api.estate.apireportsubscrDeal({id:this.detail.id}).then((function(n){t.getData(),e.$msg("操作成功~")}))},signedHandle:function(){var t=this;e.$msgConfirm("确定已签约?",(function(){})),e.api.estate.apireportsignupDeal({id:this.detail.id}).then((function(n){t.getData(),e.$msg("操作成功~")}))},openPopup:function(){if(this.detail.report_code)e.previewImage({current:this.detail.report_code,urls:[this.detail.report_code]});else{if(1==this.detail.is_edit)return void e.$msg("暂无报备二维码,请联系管理员");this.commonRulesShow=!0}},getData:function(){var t=this;e.api.estate.apireportdetail({id:this.curId}).then((function(e){t.detail=e||{},t.stepsLogList=e.report_flow||[],t.skeletonLoading=!1}))},vHandle:function(){var t=this;e.api.cust.apireportvisit({id:this.detail.id}).then((function(n){t.getData(),e.$msg("操作成功~")}))},pageTo:function(t){"dev"!==t?e.navigateTo({url:t}):e.$msg("开发中~")},dial:function(t){e.makePhoneCall({phoneNumber:t})}}};t.default=c}).call(this,n("543d")["default"])},"95d4":function(e,t,n){"use strict";n.r(t);var i=n("ec38"),u=n("1e20");for(var o in u)"default"!==o&&function(e){n.d(t,e,(function(){return u[e]}))}(o);n("d8c2");var r,c=n("f0c5"),a=Object(c["a"])(u["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],r);t["default"]=a.exports},d8c2:function(e,t,n){"use strict";var i=n("1151"),u=n.n(i);u.a},ec38:function(e,t,n){"use strict";n.d(t,"b",(function(){return u})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i}));var i={uIcon:function(){return n.e("uni_modules/vk-uview-ui/components/u-icon/u-icon").then(n.bind(null,"ba35"))},uTag:function(){return n.e("uni_modules/vk-uview-ui/components/u-tag/u-tag").then(n.bind(null,"8002"))},uLine:function(){return n.e("uni_modules/vk-uview-ui/components/u-line/u-line").then(n.bind(null,"a2cb"))},uSteps:function(){return n.e("uni_modules/vk-uview-ui/components/u-steps/u-steps").then(n.bind(null,"9aca"))},uEmpty:function(){return n.e("uni_modules/vk-uview-ui/components/u-empty/u-empty").then(n.bind(null,"2654"))},uTimeLine:function(){return n.e("uni_modules/vk-uview-ui/components/u-time-line/u-time-line").then(n.bind(null,"49b2"))},uTimeLineItem:function(){return n.e("uni_modules/vk-uview-ui/components/u-time-line-item/u-time-line-item").then(n.bind(null,"e72c"))},uSkeleton:function(){return n.e("uni_modules/vk-uview-ui/components/u-skeleton/u-skeleton").then(n.bind(null,"fe2a"))},uPopup:function(){return n.e("uni_modules/vk-uview-ui/components/u-popup/u-popup").then(n.bind(null,"c565"))},uButton:function(){return n.e("uni_modules/vk-uview-ui/components/u-button/u-button").then(n.bind(null,"ce9e"))}},u=function(){var e=this,t=e.$createElement,n=(e._self._c,1==e.detail.report_state?Number(e.detail.report_step):null);e.$mp.data=Object.assign({},{$root:{m0:n}})},o=[]}},[["56e1","common/runtime","common/vendor"]]]);
|