(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-11b3d00b"],{"0b65":function(t,e,n){"use strict";e["a"]={shortcuts:[{text:"今天",value:function(){var t=new Date,e=new Date;return e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate())),[e,t]}},{text:"昨天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-1))),[e,t]}},{text:"最近7天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-6))),[e,t]}},{text:"最近30天",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),(new Date).getDate()-29))),[e,t]}},{text:"上月",value:function(){var t=new Date,e=new Date,n=new Date(e.getFullYear(),e.getMonth(),0).getDate();return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,1))),t.setTime(t.setTime(new Date((new Date).getFullYear(),(new Date).getMonth()-1,n))),[e,t]}},{text:"本月",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),(new Date).getMonth(),1))),[e,t]}},{text:"本年",value:function(){var t=new Date,e=new Date;return e.setTime(e.setTime(new Date((new Date).getFullYear(),0,1))),[e,t]}}]}},1290:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"article-manager"},[t.$route.query.id?n("div",{staticClass:"i-layout-page-header"},[n("PageHeader",{staticClass:"product_tabs",attrs:{"hidden-breadcrumb":""}},[n("div",{staticClass:"acea-row row-middle",attrs:{slot:"title"},slot:"title"},[n("router-link",{attrs:{to:{path:t.routePre+"/marketing/short_video/index"}}},[n("div",{staticClass:"font-sm after-line"},[n("span",{staticClass:"iconfont iconfanhui"}),n("span",{staticClass:"pl10"},[t._v("返回")])])]),n("span",{staticClass:"mr20 ml16",domProps:{textContent:t._s("视频评论")}})],1)])],1):t._e(),n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[n("div",{staticClass:"new_card_pd"},[n("Form",{ref:"formValidate",attrs:{inline:"",model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:"时间选择:"}},[n("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"datetimerange",placement:"bottom-start",placeholder:"自定义时间",options:t.options},on:{"on-change":t.onchangeTime}})],1),n("FormItem",{attrs:{label:"评价状态:"}},[n("Select",{staticClass:"input-add",attrs:{placeholder:"请选择",clearable:""},on:{"on-change":t.userSearchs},model:{value:t.formValidate.is_reply,callback:function(e){t.$set(t.formValidate,"is_reply",e)},expression:"formValidate.is_reply"}},[n("Option",{attrs:{value:"1"}},[t._v("已回复")]),n("Option",{attrs:{value:"0"}},[t._v("待回复")])],1)],1),n("FormItem",{attrs:{label:"视频信息:","label-for":"keyword"}},[n("Input",{staticClass:"input-add",attrs:{size:"default","enter-button":"",placeholder:"请输入视频信息",clearable:""},model:{value:t.formValidate.keyword,callback:function(e){t.$set(t.formValidate,"keyword",e)},expression:"formValidate.keyword"}}),n("Button",{attrs:{type:"primary"},on:{click:t.userSearchs}},[t._v("查询")])],1)],1)],1)]),n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("Row",{attrs:{type:"flex"}},[n("Col",t._b({},"Col",t.grid,!1),[n("Button",{attrs:{type:"primary"},on:{click:t.add}},[t._v("添加虚拟评论")])],1)],1),n("Table",{ref:"table",staticClass:"ivu-mt",attrs:{columns:t.columns,data:t.tableList,loading:t.loading,"no-data-text":"暂无数据","no-filtered-data-text":"暂无筛选结果"},scopedSlots:t._u([{key:"info",fn:function(e){var r=e.row;return[n("div",{staticClass:"imgPic acea-row row-middle"},[n("viewer",[n("div",{staticClass:"pictrue"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:r.video.image,expression:"row.video.image"}]})])]),n("div",{staticClass:"info line2"},[t._v(t._s(r.video.desc))])],1)]}},{key:"reply",fn:function(e){var r=e.row;return[n("Tooltip",{attrs:{"max-width":"200",placement:"bottom"}},[n("span",{staticClass:"line2"},[t._v(t._s(r.reply))]),n("p",{attrs:{slot:"content"},slot:"content"},[t._v(t._s(r.reply))])])]}},{key:"add_time",fn:function(e){var n=e.row;return[t._v("\n "+t._s(t._f("formatDate")(n.add_time))+"\n ")]}},{key:"action",fn:function(e){var r=e.row,a=e.index;return[n("a",{on:{click:function(e){return t.seeReply(r)}}},[t._v("查看")]),n("Divider",{attrs:{type:"vertical"}}),n("a",{on:{click:function(e){return t.reply(r)}}},[t._v("回复")]),n("Divider",{attrs:{type:"vertical"}}),n("a",{on:{click:function(e){return t.del(r,"删除评论",a)}}},[t._v("删除")])]}}])}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total,current:t.formValidate.page,"show-elevator":"","show-total":"","page-size":t.formValidate.limit},on:{"on-change":t.pageChange}})],1)],1),n("Modal",{attrs:{scrollable:"",title:"回复内容",closable:""},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[n("Form",{ref:"contents",attrs:{model:t.contents,rules:t.ruleInline,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{prop:"content"}},[n("Input",{attrs:{type:"textarea",rows:4,placeholder:"请输入回复内容"},model:{value:t.contents.content,callback:function(e){t.$set(t.contents,"content",e)},expression:"contents.content"}})],1)],1),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"primary"},on:{click:t.oks}},[t._v("确定")]),n("Button",{on:{click:t.cancels}},[t._v("取消")])],1)],1),n("replyList",{ref:"reply"})],1)},a=[],i=n("a34a"),o=n.n(i),s=n("d708"),l=n("2f62"),c=n("b7be"),u=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticStyle:{width:"100%"}},[n("Modal",{attrs:{scrollable:"","footer-hide":"",closable:"",title:"评论回复列表","mask-closable":!1,width:"900","vertical-center-modal":""},model:{value:t.modals,callback:function(e){t.modals=e},expression:"modals"}},[n("Form",{ref:"replyFrom",attrs:{inline:"",model:t.replyFrom,"label-width":t.labelWidth,"label-position":t.labelPosition},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:"时间选择:"}},[n("DatePicker",{staticClass:"input-add",attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"daterange",placement:"bottom-end",placeholder:"自定义时间"},on:{"on-change":t.onchangeTime}}),n("Button",{attrs:{type:"primary"},on:{click:function(e){return t.getList(t.replyId)}}},[t._v("查询")])],1)],1),n("Table",{ref:"selection",attrs:{loading:t.loading,"highlight-row":"","no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果",columns:t.columns,data:t.dataList},scopedSlots:t._u([{key:"info",fn:function(e){var r=e.row;return[n("div",[t._v(t._s(r.uid?r.nickname:"作者"))])]}},{key:"merchantReply",fn:function(e){var r=e.row;return[n("div",[t._v(t._s(r.children?r.children.content:""))])]}},{key:"action",fn:function(e){var r=e.row,a=e.index;return[n("a",{directives:[{name:"show",rawName:"v-show",value:0==r.pid||r.uid>0,expression:"row.pid == 0 || row.uid > 0"}],on:{click:function(e){return t.reply(r)}}},[t._v("回复")]),n("Divider",{directives:[{name:"show",rawName:"v-show",value:0==r.pid||r.uid>0,expression:"row.pid == 0 || row.uid > 0"}],attrs:{type:"vertical"}}),n("a",{on:{click:function(e){return t.del(r,"删除评论",a)}}},[t._v("删除")])]}}])}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.total,"show-elevator":"","show-total":"",current:t.replyFrom.page,"page-size":t.replyFrom.limit},on:{"on-change":t.pageChange}})],1)],1),n("Modal",{attrs:{scrollable:"",title:"回复内容",closable:""},model:{value:t.replyModals,callback:function(e){t.replyModals=e},expression:"replyModals"}},[n("Form",{ref:"contents",attrs:{model:t.contents,rules:t.ruleInline},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{prop:"content"}},[n("Input",{attrs:{type:"textarea",rows:4,placeholder:"请输入回复内容"},model:{value:t.contents.content,callback:function(e){t.$set(t.contents,"content",e)},expression:"contents.content"}})],1)],1),n("div",{attrs:{slot:"footer"},slot:"footer"},[n("Button",{attrs:{type:"primary"},on:{click:t.oks}},[t._v("确定")]),n("Button",{on:{click:t.cancels}},[t._v("取消")])],1)],1)],1)},d=[];function m(t,e,n,r,a,i,o){try{var s=t[i](o),l=s.value}catch(c){return void n(c)}s.done?e(l):Promise.resolve(l).then(r,a)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,a){var i=t.apply(e,n);function o(t){m(i,r,a,o,s,"next",t)}function s(t){m(i,r,a,o,s,"throw",t)}o(void 0)}))}}function p(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function h(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{};return a({required:!0,message:t,type:"string"},e)}function d(t){return m.pattern(/(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/,t)}c(u,"请输入%s"),c(d,"%s格式不正确");var m=Object.keys(l).reduce((function(t,e){return t[e]=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o="range"===e?{min:t[0],max:t[1]}:i({},e,t);return a({message:n.replace(":".concat(e),"range"===e?"".concat(t[0],"-").concat(t[1]):t),type:"string"},o,{},r)},c(t[e],l[e]),t}),{})},"661f":function(t,e,n){"use strict";var r=n("b0d5"),a=n.n(r);a.a},b0d5:function(t,e,n){},b7be:function(t,e,n){"use strict";n.d(e,"e",(function(){return a})),n.d(e,"d",(function(){return i})),n.d(e,"g",(function(){return o})),n.d(e,"i",(function(){return s})),n.d(e,"h",(function(){return l})),n.d(e,"k",(function(){return c})),n.d(e,"j",(function(){return u})),n.d(e,"b",(function(){return d})),n.d(e,"f",(function(){return m})),n.d(e,"c",(function(){return f})),n.d(e,"a",(function(){return p}));var r=n("b6bd");function a(t){return Object(r["a"])({url:"/marketing/video/index",method:"get",params:t})}function i(t){return Object(r["a"])({url:"/marketing/video/info/".concat(t),method:"get"})}function o(t,e){return Object(r["a"])({url:"/marketing/video/save/".concat(e),method:"post",data:t})}function s(t){return Object(r["a"])({url:"/marketing/video/set_status/".concat(t.id,"/").concat(t.status),method:"get"})}function l(t){return Object(r["a"])({url:"/marketing/video/set_recommend/".concat(t.id,"/").concat(t.recommend),method:"get"})}function c(t){return Object(r["a"])({url:"/marketing/video/verify/".concat(t.id,"/").concat(t.verify),method:"get"})}function u(t){return Object(r["a"])({url:"/marketing/video/take_down/".concat(t),method:"get"})}function d(t){return Object(r["a"])({url:"/marketing/video/comment",method:"get",params:t})}function m(t,e){return Object(r["a"])({url:"/marketing/video/comment/reply/".concat(e),method:"post",data:t})}function f(t,e){return Object(r["a"])({url:"/marketing/video/comment/reply/".concat(e),method:"get",params:t})}function p(t){return Object(r["a"])({url:"/marketing/video/comment/fictitious/".concat(t),method:"get"})}},f195:function(t,e,n){}}]);