|
|
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/needsDetail/index"],{"4a3e":function(t,e,n){"use strict";n.r(e);var a=n("f840"),i=n("7850");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("77e6");var u,c=n("f0c5"),s=Object(c["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],u);e["default"]=s.exports},"53e8":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=getApp(),a={data:function(){return{isCompany:!0,id:"",detail:{}}},components:{},props:{},onLoad:function(t){this.setData({id:t.id}),this.getDetail()},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},onShareAppMessage:function(){},methods:{toCompanyDetail:function(){t.navigateTo({url:"/pages/demandHall/companyDetail/index?id="+this.detail.enterprise.id})},getDetail:function(){var t=this;n.http("get","Resources/resourceInfo",{id:this.id}).then((function(e){e.data.success&&t.setData({detail:e.data.data})}))},toNeedsContact:function(){var e=encodeURIComponent(JSON.stringify(this.detail));n.http("GET","Communicate/checkOwner",{resourceId:this.detail.id}).then((function(n){n.data.success?t.navigateTo({url:"/pages/demandHall/needsContact/index?detail="+e}):"5112"==n.data.status?t.showModal({title:"提示",content:n.data.msg,success:function(e){e.confirm&&t.navigateTo({url:"/pages/release/index"})}}):t.showToast({title:n.data.msg,icon:"none",duration:2e3})}))},previewImg:function(){t.previewImage({urls:this.detail.resourceImgs})}}};e.default=a}).call(this,n("543d")["default"])},7298:function(t,e,n){"use strict";(function(t){n("ef82");a(n("66fd"));var e=a(n("4a3e"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"738a":function(t,e,n){},"77e6":function(t,e,n){"use strict";var a=n("738a"),i=n.n(a);i.a},7850:function(t,e,n){"use strict";n.r(e);var a=n("53e8"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},f840:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement;t._self._c},o=[]}},[["7298","common/runtime","common/vendor"]]]);
|