UNPKG

beehole-store-server

Version:

www.bee-hole.com

1 lines 3.94 kB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7b46a39c","chunk-03981299"],{"1b6c":function(t,e,o){"use strict";o.d(e,"a",(function(){return d})),o.d(e,"b",(function(){return r}));var n=o("5530"),i=o("bf0f");function d(t,e){return function(){return Object(i["b"])(t,Object(n["a"])({},e))}}function r(t,e){return Object(i["b"])(t,Object(n["a"])({},e))}},"2a5b":function(t,e,o){"use strict";o.d(e,"a",(function(){return d}));var n=o("b775"),i={reviewList:"/review/list"};function d(t){return Object(n["b"])({url:i.reviewList,method:"post",data:t})}},"36a6":function(t,e,o){"use strict";o.r(e);var n=o("2dd7"),i=o("ff41"),d=o.n(i),r=(o("2f2f"),o("2a5b")),s=o("1b6c"),c=o("5d9e"),a=o("acd6");e["default"]={name:"ReviewForm",props:{},components:{AntModal:n["a"],Vditor:d.a,AdvanceTable:c["a"],goodsInfo:a["default"]},data:function(){return{open:!1,formId:"",labelCol:{span:4},wrapperCol:{span:14},loading:!1,total:0,id:void 0,formTitle:"",contentEditorEdit:"",form:{id:void 0,title:void 0,type:void 0,content:"",status:"0",sort:1},rules:{},queryParam1:{page:1,limit:10},list1:[],total_count1:0,columns1:[],expandedRowKeys:[]}},filters:{},created:function(){this.initColunmns()},computed:{},watch:{},mounted:function(){},methods:{initColunmns:function(){this.columns1=[{title:Object(s["a"])("view.order.list.review.list.nick"),dataIndex:"nick",ellipsis:!0,width:"10%"},{title:Object(s["a"])("view.order.list.review.list.itemno"),dataIndex:"goods_id",ellipsis:!0,scopedSlots:{customRender:"goods_id"},width:"20%"},{title:Object(s["a"])("view.order.list.review.list.grade"),dataIndex:"grade",ellipsis:!0,scopedSlots:{customRender:"grade"},width:"25%"},{title:Object(s["a"])("view.order.list.review.list.content"),dataIndex:"review_content",ellipsis:!0,width:"30%"},{title:Object(s["a"])("view.order.list.review.list.create_time"),dataIndex:"create_time",scopedSlots:{customRender:"create_time"}}]},cancel:function(){this.open=!1,this.$emit("close")},handleReview:function(t){var e=this,o=t.order_id;Object(r["a"])({order_id:o}).then((function(t){e.open=!0,e.formTitle="评论列表",e.list1=t.list,e.total_count1=t.total_count}))}}}},aabf:function(t,e,o){"use strict";o.d(e,"d",(function(){return d})),o.d(e,"a",(function(){return r})),o.d(e,"c",(function(){return s})),o.d(e,"b",(function(){return c})),o.d(e,"e",(function(){return a})),o.d(e,"h",(function(){return u})),o.d(e,"g",(function(){return l})),o.d(e,"f",(function(){return f}));var n=o("b775"),i={goodlist:"/good/list",goodadd:"/good/add",goodsInfo:"/good/info",goodsDelete:"/good/delete",goodsSubAdd:"/good/sub/add",itemFilingAdd:"/good/filing/add",searchSkuInfo:"/good/sku/search",searchHsCodeInfo:"/good/hscode/search",searchCustomsItem:"/good/customs_item/search"};function d(t){return Object(n["b"])({url:i.goodlist,method:"post",data:t})}function r(t){var e=t.view_id?i.goodsSubAdd:i.goodadd;return Object(n["b"])({url:e,method:"post",data:t})}function s(t){return Object(n["b"])({url:i.goodsInfo,method:"post",data:t})}function c(t){return Object(n["b"])({url:i.goodsDelete,method:"post",data:t})}function a(t){return Object(n["b"])({url:i.itemFilingAdd,method:"post",data:t})}function u(t){return Object(n["b"])({url:i.searchSkuInfo,method:"post",data:t})}function l(t){return Object(n["b"])({url:i.searchHsCodeInfo,method:"post",data:t})}function f(t){return Object(n["b"])({url:i.searchCustomsItem,method:"post",data:t})}},acd6:function(t,e,o){"use strict";o.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[t._v(" "+t._s(t.title)+" ")])},i=[],d=(o("a9e3"),o("aabf")),r={name:"GoodsInfo1",props:{goodId:{type:Number,required:!0}},components:{},data:function(){return{title:""}},filters:{},created:function(){this.getList()},computed:{},watch:{},methods:{getList:function(){var t=this;Object(d["c"])({good_id:this.goodId}).then((function(e){t.title=e.title}))}}},s=r,c=o("2877"),a=Object(c["a"])(s,n,i,!1,null,null,null);e["default"]=a.exports}}]);