ceshi1/js/7999.af006bdb.js

2 lines
4.3 KiB
JavaScript

"use strict";(self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[7999],{7999:function(t,e,r){r.r(e),r.d(e,{default:function(){return d}});r(7658);var a=function(){var t=this,e=t._self._c;return e("div",[e("van-nav-bar",{attrs:{title:"我的关注","left-arrow":""},on:{"click-left":function(e){return t.$router.push("/my/settings")}}}),e("div",t._l(t.list,(function(r,a){return e("van-swipe-cell",{key:a,staticClass:"cell",on:{click:function(e){return t.$router.push("/consultation/doctor/detail?id="+r.doctorId)}},scopedSlots:t._u([{key:"right",fn:function(){return[e("van-button",{staticClass:"button",attrs:{square:"",type:"danger",text:"取消关注"},on:{click:function(e){return t.cancelFollows(r.id)}}})]},proxy:!0}],null,!0)},[e("van-cell",{attrs:{border:!1}},[e("div",{staticClass:"con"},[e("div",{staticClass:"left"},[e("img",{attrs:{src:r.imagePic,alt:""}})]),e("div",{staticClass:"right"},[e("h3",{staticClass:"p1"},[t._v(" "+t._s(r.name)+" "),e("span",[t._v(t._s(r.jobTitle))])]),e("p",{staticClass:"p2"},[t._v(t._s(r.inauguralHospital)+"/"+t._s(r.departmentName))]),e("p",[e("span",[t._v("好评率:"+t._s(r.praise))]),e("span",{staticClass:"p3"},[t._v("服务患者:"+t._s(r.number))])])])])])],1)})),1)],1)},n=[],s=r(2900),i=r(8539),o={data(){return{list:[]}},methods:{async findUserDoctorFollowLists(){let t={page:1,count:5},{data:e}=await(0,s.fH)(t);console.log(e),"0000"==e.status&&(this.list=e.result)},async cancelFollows(t){let{data:e}=await(0,i.ns)(t);console.log(e),"0000"==e.status&&this.findUserDoctorFollowLists()}},created(){this.findUserDoctorFollowLists()}},u=o,l=r(1001),c=(0,l.Z)(u,a,n,!1,null,"6f68d3ca",null),d=c.exports},8539:function(t,e,r){r.d(e,{$u:function(){return c},A4:function(){return l},Js:function(){return o},ns:function(){return u},s9:function(){return n},zd:function(){return i},zm:function(){return s}});var a=r(9028);let n=async t=>await(0,a.Z)({method:"get",url:"/health/user/inquiry/v1/findDoctorInfo",params:{doctorId:t}}),s=async t=>await(0,a.Z)({method:"put",url:"/health/user/inquiry/verify/v1/consultDoctor",data:{doctorId:4},headers:{"Content-Type":"application/x-www-form-urlencoded"}}),i=async t=>await(0,a.Z)({method:"get",url:"/health/user/inquiry/v1/findDoctorEvaluateList",params:{...t}}),o=async t=>await(0,a.Z)({method:"post",url:"/health/user/inquiry/verify/v1/followDoctor",data:{doctorId:1*t},headers:{"Content-Type":"application/x-www-form-urlencoded"}}),u=async t=>await(0,a.Z)({method:"delete",url:"/health/user/inquiry/verify/v1/cancelFollow",params:{doctorId:1*t},headers:{"Content-Type":"application/x-www-form-urlencoded"}}),l=async t=>await(0,a.Z)({method:"get",url:"/health/user/inquiry/verify/v1/findCurrentInquiryRecord"}),c=async t=>await(0,a.Z)({method:"put",url:"/health/user/inquiry/verify/v1/endInquiry",data:{recordId:t},headers:{"Content-Type":"application/x-www-form-urlencoded"}})},2900:function(t,e,r){r.d(e,{H3:function(){return n},J2:function(){return i},Ky:function(){return h},bF:function(){return d},bS:function(){return l},e9:function(){return s},fH:function(){return c},go:function(){return o},sM:function(){return f},vf:function(){return u}});var a=r(9028);let n=async t=>(console.log(t),await(0,a.Z)({method:"post",url:"/health/user/verify/v1/recharge",data:{...t},headers:{"Content-Type":"application/x-www-form-urlencoded"}})),s=async t=>await(0,a.Z)({method:"get",url:"/health/user/verify/v1/findUserArchives",params:{...t}}),i=async t=>await(0,a.Z)({method:"post",url:"/health/user/verify/v1/addUserArchives",data:{...t}}),o=async t=>await(0,a.Z)({method:"post",url:"/health/user/verify/v1/uploadArchivesPicture",data:{...t},headers:{"Content-type":"multipart/form-data"}}),u=async t=>await(0,a.Z)({method:"delete",url:"/health/user/verify/v1/deleteUserArchives",params:{archivesId:t}}),l=async t=>await(0,a.Z)({method:"put",url:"/health/user/verify/v1/updateUserArchives",data:{...t},headers:{"Content-type":"application/json"}}),c=async t=>await(0,a.Z)({method:"get",url:"/health/user/verify/v1/findUserDoctorFollowList",params:{...t}}),d=async t=>await(0,a.Z)({method:"get",url:"/health/user/verify/v1/findUserInfoCollectionList",params:{...t}}),h=async t=>await(0,a.Z)({method:"get",url:"/health/user/verify/v1/findUserSickCollectionList",params:{...t}}),f=async t=>await(0,a.Z)({method:"get",url:"/health/user/verify/v1/findVideoCollectionList",params:{...t}})}}]);
//# sourceMappingURL=7999.af006bdb.js.map