ceshi1/js/302.04941893.js

2 lines
2.2 KiB
JavaScript

"use strict";(self["webpackChunkapp"]=self["webpackChunkapp"]||[]).push([[302],{302:function(t,e,r){r.r(e),r.d(e,{default:function(){return c}});r(7658);var n=function(){var t=this,e=t._self._c;return e("div",[e("van-nav-bar",{attrs:{title:"评论列表","left-text":"返回","left-arrow":""},on:{"click-left":function(e){return t.$router.push("/consultation/doctor/detail?id="+t.id)}}}),t._l(t.list,(function(r,n){return e("div",{key:n,staticClass:"pl"},[e("div",[e("img",{attrs:{src:r.headPic,alt:""}}),e("span",[t._v(t._s(r.nickName))]),e("p",[t._v(t._s(r.commentTime))])]),e("p",[t._v(t._s(r.content))])])}))],2)},a=[],i=r(8539),o={data(){return{id:this.$route.query.id,list:[]}},methods:{async findDoctorEvaluateLists(){let t={doctorId:this.id,page:1,count:10},{data:e}=await(0,i.zd)(t);console.log(e),"0000"==e.status&&(this.list=e.result)}},created(){this.findDoctorEvaluateLists()}},u=o,s=r(1001),d=(0,s.Z)(u,n,a,!1,null,"1e6f36d5",null),c=d.exports},8539:function(t,e,r){r.d(e,{$u:function(){return c},A4:function(){return d},Js:function(){return u},ns:function(){return s},s9:function(){return a},zd:function(){return o},zm:function(){return i}});var n=r(9028);let a=async t=>await(0,n.Z)({method:"get",url:"/health/user/inquiry/v1/findDoctorInfo",params:{doctorId:t}}),i=async t=>await(0,n.Z)({method:"put",url:"/health/user/inquiry/verify/v1/consultDoctor",data:{doctorId:4},headers:{"Content-Type":"application/x-www-form-urlencoded"}}),o=async t=>await(0,n.Z)({method:"get",url:"/health/user/inquiry/v1/findDoctorEvaluateList",params:{...t}}),u=async t=>await(0,n.Z)({method:"post",url:"/health/user/inquiry/verify/v1/followDoctor",data:{doctorId:1*t},headers:{"Content-Type":"application/x-www-form-urlencoded"}}),s=async t=>await(0,n.Z)({method:"delete",url:"/health/user/inquiry/verify/v1/cancelFollow",params:{doctorId:1*t},headers:{"Content-Type":"application/x-www-form-urlencoded"}}),d=async t=>await(0,n.Z)({method:"get",url:"/health/user/inquiry/verify/v1/findCurrentInquiryRecord"}),c=async t=>await(0,n.Z)({method:"put",url:"/health/user/inquiry/verify/v1/endInquiry",data:{recordId:t},headers:{"Content-Type":"application/x-www-form-urlencoded"}})}}]);
//# sourceMappingURL=302.04941893.js.map