You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
2.4 KiB
1 line
2.4 KiB
3 years ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/resourcesDetail/index"],{"714f":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{id:"",detail:{},swiperIndex:0}},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})}))},toResourcesContact:function(e){var a=encodeURIComponent(JSON.stringify(this.detail));n.http("GET","Communicate/checkOwner",{resourceId:this.detail.id}).then((function(e){e.data.success?t.navigateTo({url:"/pages/demandHall/resourcesContact/index?detail="+a}):"5112"==e.data.status?t.showModal({title:"提示",content:e.data.msg,success:function(e){e.confirm&&t.navigateTo({url:"/pages/release/index"})}}):t.showToast({title:e.data.msg,icon:"none",duration:2e3})}))},swiperChange:function(t){var e=this;e.setData({swiperIndex:t.detail.current})},previewImg:function(){t.previewImage({urls:this.detail.resourceImgs})}}};e.default=a}).call(this,n("543d")["default"])},"92c3":function(t,e,n){"use strict";n.r(e);var a=n("714f"),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},"972a":function(t,e,n){"use strict";(function(t){n("ef82");a(n("66fd"));var e=a(n("e350"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},c8d1:function(t,e,n){"use strict";var a=n("cb1e"),i=n.n(a);i.a},cb1e:function(t,e,n){},df7f: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=[]},e350:function(t,e,n){"use strict";n.r(e);var a=n("df7f"),i=n("92c3");for(var o in i)"default"!==o&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("c8d1");var c,u=n("f0c5"),s=Object(u["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],c);e["default"]=s.exports}},[["972a","common/runtime","common/vendor"]]]);
|