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 lines
3.2 KiB

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/applyDetail/index"],{2105:function(t,e,n){},6439:function(t,e,n){"use strict";n.r(e);var a=n("c66a"),c=n("7c92");for(var o in c)"default"!==o&&function(t){n.d(e,t,(function(){return c[t]}))}(o);n("d163");var i,u=n("f0c5"),s=Object(u["a"])(c["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);e["default"]=s.exports},7479:function(t,e,n){"use strict";(function(t){n("0371");a(n("66fd"));var e=a(n("6439"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"7c92":function(t,e,n){"use strict";n.r(e);var a=n("c78b"),c=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=c.a},c66a:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var c=function(){var t=this,e=t.$createElement;t._self._c},o=[]},c78b: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{active:0,detail:[],userList:[],communicateId:"",content:null,toView:""}},components:{},props:{},onLoad:function(t){var e=JSON.parse(decodeURIComponent(t.data));this.setData({detail:e}),this.getUserList()},onReady:function(){},onShow:function(){},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){this.getApplyDetail()},onReachBottom:function(){},onShareAppMessage:function(){},methods:{itemClick:function(t){var e=t.currentTarget.dataset.i,n=t.currentTarget.dataset.id;this.setData({active:e,communicateId:n}),this.getApplyDetail()},getApplyDetail:function(){var e=this;n.http("get","Communicate/getCommunicateInfo",{communicateId:this.communicateId}).then((function(n){n.data.success&&(e.setData({content:n.data.data}),t.stopPullDownRefresh())}))},getUserList:function(){var t=this;n.http("get","Communicate/communicateHeadList",{resourceId:this.detail.resourceInfo.resourceId}).then((function(e){e.data.success&&(t.setData({userList:e.data.data,communicateId:e.data.data[0].communicateId}),t.getApplyDetail())}))},toNeedDetail:function(e){var n=e.currentTarget.dataset.id;t.navigateTo({url:"/pages/demandHall/needsDetail/index?id="+n})},toCreateProject:function(){var e=this.content;t.navigateTo({url:"/pages/demandHall/createProject/index?state="+e.comminuteState+"&id="+e.communicateId})},createProject:function(){var e=this.communicateId;t.showModal({title:"提示!",content:"是否确认发起项目?",success:function(n){n.confirm&&t.navigateTo({url:"/pages/demandHall/createProject/index?id="+e})}})},call:function(){console.log(),t.makePhoneCall({phoneNumber:this.content.phone})},cancelClick:function(){var e=this,a=this.content;t.showModal({title:"提示",content:"是否确认忽略该申请",success:function(c){c.confirm&&n.http("GET","Communicate/cancelCommunicates",{communicateId:a.communicateId}).then((function(n){n.data.success&&(t.showToast({title:"操作成功",duration:1500}),setTimeout((function(){e.getUserList()}),1500))}))}})}}};e.default=a}).call(this,n("543d")["default"])},d163:function(t,e,n){"use strict";var a=n("2105"),c=n.n(a);c.a}},[["7479","common/runtime","common/vendor"]]]);