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
3.2 KiB
1 line
3.2 KiB
3 years ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/demandHall/applyDetail/index"],{"43ba":function(t,e,n){"use strict";(function(t){n("ef82");a(n("66fd"));var e=a(n("c29f"));function a(t){return t&&t.__esModule?t:{default:t}}t(e.default)}).call(this,n("543d")["createPage"])},"4be3":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"])},"78aa":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=[]},bb6e:function(t,e,n){},c29f:function(t,e,n){"use strict";n.r(e);var a=n("78aa"),c=n("c348");for(var o in c)"default"!==o&&function(t){n.d(e,t,(function(){return c[t]}))}(o);n("ea5c");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},c348:function(t,e,n){"use strict";n.r(e);var a=n("4be3"),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},ea5c:function(t,e,n){"use strict";var a=n("bb6e"),c=n.n(a);c.a}},[["43ba","common/runtime","common/vendor"]]]);
|