(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5ee184ff"],{"0611":function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("el-dialog",{attrs:{title:"评价详情",visible:t.visible,width:"800px","before-close":t.handleClose,"append-to-body":""},on:{"update:visible":function(e){t.visible=e}}},[r("div",{staticClass:"dialog-content"},[r("div",{staticClass:"dialog-header"},[r("div",{staticClass:"order-info"},[r("span",[t._v("订单号: "+t._s(t.orderInfo?t.orderInfo.orderId:""))]),r("span",{staticStyle:{"margin-left":"20px"}},[t._v("客户: "+t._s(t.orderInfo?t.orderInfo.name:""))])]),r("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-refresh"},on:{click:t.refresh}},[t._v("刷新")])],1),r("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.commentList,border:"",stripe:""}},[r("el-table-column",{attrs:{label:"ID",align:"center",prop:"id"}}),r("el-table-column",{attrs:{label:"用户",align:"center",prop:"uname"}}),r("el-table-column",{attrs:{label:"评分",align:"center",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("el-rate",{attrs:{disabled:"","show-score":"","text-color":"#ff9900"},model:{value:e.row.num,callback:function(r){t.$set(e.row,"num",r)},expression:"scope.row.num"}})]}}])}),r("el-table-column",{attrs:{label:"评价内容",align:"left"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("div",{staticClass:"comment-content"},[t._v(t._s(e.row.content))])]}}])}),r("el-table-column",{attrs:{label:"评价图片",align:"center",width:"100"},scopedSlots:t._u([{key:"default",fn:function(e){return[e.row.images?r("el-popover",{attrs:{placement:"right",trigger:"hover","popper-class":"image-preview-popover"}},[r("div",{staticClass:"image-preview-container"},t._l(e.row.images.split(","),(function(t,n){return r("el-image",{key:n,staticStyle:{width:"120px","margin-bottom":"10px","object-fit":"cover"},attrs:{src:t,fit:"cover","preview-src-list":e.row.images.split(",")}})})),1),r("el-button",{attrs:{slot:"reference",type:"primary",size:"mini",icon:"el-icon-picture",circle:""},slot:"reference"})],1):r("el-button",{attrs:{type:"info",size:"mini",icon:"el-icon-picture",circle:"",disabled:""}})]}}])}),r("el-table-column",{attrs:{label:"创建时间",align:"center",prop:"createdAt",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[r("span",[t._v(t._s(t.parseTime(e.row.createdAt,"{y}-{m}-{d}")))])]}}])})],1),t.commentList&&0!==t.commentList.length?t._e():r("div",{staticClass:"empty-comment"},[r("i",{staticClass:"el-icon-chat-dot-square"}),r("p",[t._v("暂无评价信息")])])],1)])},o=[],i=r("468f"),s={name:"CommentRecord",props:{visible:{type:Boolean,default:!1},orderInfo:{type:Object,default:function(){return{}}}},data:function(){return{commentList:[],loading:!1}},watch:{visible:function(t){t&&this.orderInfo&&this.getList()}},mounted:function(){this.getList()},methods:{getList:function(){var t=this;this.loading=!0,Object(i["e"])(this.orderInfo.orderId).then((function(e){t.commentList=e.data,t.loading=!1})).catch((function(){t.loading=!1,t.$message.error("获取记录失败")}))},refresh:function(){this.getList()},handleClose:function(){this.$emit("update:visible",!1)}}},c=s,a=(r("2494"),r("2877")),l=Object(a["a"])(c,n,o,!1,null,"02c71022",null);e["default"]=l.exports},2494:function(t,e,r){"use strict";r("31c5")},"31c5":function(t,e,r){},"468f":function(t,e,r){"use strict";r.d(e,"k",(function(){return o})),r.d(e,"h",(function(){return i})),r.d(e,"a",(function(){return s})),r.d(e,"l",(function(){return c})),r.d(e,"b",(function(){return a})),r.d(e,"i",(function(){return l})),r.d(e,"f",(function(){return u})),r.d(e,"j",(function(){return d})),r.d(e,"d",(function(){return f})),r.d(e,"e",(function(){return m})),r.d(e,"c",(function(){return p})),r.d(e,"g",(function(){return b}));var n=r("b775");function o(t){return Object(n["a"])({url:"/system/Order/list",method:"get",params:t})}function i(t){return Object(n["a"])({url:"/system/Order/"+t,method:"get"})}function s(t){return Object(n["a"])({url:"/system/Order",method:"post",data:t})}function c(t){return Object(n["a"])({url:"/system/Order",method:"put",data:t})}function a(t){return Object(n["a"])({url:"/system/Order/"+t,method:"delete"})}function l(t){return Object(n["a"])({url:"/system/Order/receive-records/"+t,method:"get"})}function u(){return Object(n["a"])({url:"/system/QuoteType/goodsDataList",method:"get"})}function d(t){return Object(n["a"])({url:"/system/transfer/getUsersDataList/"+t,method:"get"})}function f(t){return Object(n["a"])({url:"/system/Order/call-records/"+t,method:"get"})}function m(t){return Object(n["a"])({url:"/system/Order/comment-records/"+t,method:"get"})}function p(t){return Object(n["a"])({url:"/system/Order/audio-records/"+t,method:"get"})}function b(t){return Object(n["a"])({url:"/system/Order/notify-records/"+t,method:"get"})}}}]);