(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-428107e2","chunk-4ae1d294"],{"09f4":function(e,t,a){"use strict";a.d(t,"a",(function(){return i})),Math.easeInOutQuad=function(e,t,a,l){return e/=l/2,e<1?a/2*e*e+t:(e--,-a/2*(e*(e-2)-1)+t)};var l=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}}();function n(e){document.documentElement.scrollTop=e,document.body.parentNode.scrollTop=e,document.body.scrollTop=e}function r(){return document.documentElement.scrollTop||document.body.parentNode.scrollTop||document.body.scrollTop}function i(e,t,a){var i=r(),o=e-i,s=20,u=0;t="undefined"===typeof t?500:t;var c=function e(){u+=s;var r=Math.easeInOutQuad(u,i,o,t);n(r),u1&&void 0!==arguments[1]?arguments[1]:["value","label"],a=Object(n["a"])(t,2),r=a[0],i=a[1],o={};if(e&&e.length){var s,u=Object(l["a"])(e);try{for(u.s();!(s=u.n()).done;){var c=s.value;o[c[r]]=c[i]}}catch(p){u.e(p)}finally{u.f()}}return o}},9827:function(e,t,a){"use strict";a("c9d4")},a1ed:function(e,t,a){"use strict";a("876f")},c187:function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[a("tab-router",{attrs:{type:"card"},on:{"tab-click":e.handleClick},model:{value:e.activeIndex,callback:function(t){e.activeIndex="string"===typeof t?t.trim():t},expression:"activeIndex"}},[e.permissionList.suggestion?a("el-tab-pane",{attrs:{label:"意见反馈",lazy:"",name:"1"}},["1"===e.activeIndex?a("suggestion"):e._e()],1):e._e(),e._v(" "),a("el-tab-pane",{attrs:{label:"反馈类型配置",lazy:"",name:"2"}},["2"===e.activeIndex?a("suggestionType"):e._e()],1)],1)],1)])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 意见反馈\n ")])}],r=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[a("save-form",{ref:"searchForm",staticClass:"searchForm",attrs:{inline:!0,"save-key":"Suggestion",model:e.searchForm},on:{submit:e.search,reset:e.onReSet,"update:model":function(t){e.searchForm=t}}},[a("el-form-item",{attrs:{prop:"search"}},[a("el-input",{staticClass:"search",attrs:{clearable:"",placeholder:"用户/手机号"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){t.target.blur(),e.$refs.searchForm.save(),e.search()}(t)}},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"operatorSearch"}},[a("el-input",{staticClass:"search",attrs:{clearable:"",placeholder:"处理人"},nativeOn:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:function(t){t.target.blur(),e.$refs.searchForm.save(),e.search()}(t)}},model:{value:e.searchForm.operatorSearch,callback:function(t){e.$set(e.searchForm,"operatorSearch","string"===typeof t?t.trim():t)},expression:"searchForm.operatorSearch"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"suggestionType"}},[a("el-select",{staticClass:"w100",attrs:{placeholder:"反馈类型",clearable:""},model:{value:e.searchForm.suggestionType,callback:function(t){e.$set(e.searchForm,"suggestionType",t)},expression:"searchForm.suggestionType"}},e._l(e.suggestionList,(function(e,t){return a("el-option",{key:t,attrs:{label:e.label,value:e.value}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"handleFlag"}},[a("el-select",{staticClass:"w100",attrs:{placeholder:"处理状态",clearable:""},model:{value:e.searchForm.handleFlag,callback:function(t){e.$set(e.searchForm,"handleFlag",t)},expression:"searchForm.handleFlag"}},[a("el-option",{attrs:{label:"已处理",value:!0}}),e._v(" "),a("el-option",{attrs:{label:"未处理",value:!1}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"feedbackFlag"}},[a("el-select",{staticClass:"w100",attrs:{placeholder:"是否反馈用户",clearable:""},model:{value:e.searchForm.feedbackFlag,callback:function(t){e.$set(e.searchForm,"feedbackFlag",t)},expression:"searchForm.feedbackFlag"}},[a("el-option",{attrs:{label:"是",value:!0}}),e._v(" "),a("el-option",{attrs:{label:"否",value:!1}})],1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"clientType"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择客户端"},model:{value:e.searchForm.clientType,callback:function(t){e.$set(e.searchForm,"clientType",t)},expression:"searchForm.clientType"}},e._l(e.clientList,(function(e,t){return a("el-option",{key:t,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"timer"}},[a("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","picker-options":{firstDayOfWeek:1},"value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"反馈开始时间","end-placeholder":"反馈结束日期"},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer","string"===typeof t?t.trim():t)},expression:"searchForm.timer"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"danger"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.dataList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{prop:"roleName",label:"反馈时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("dateForMinFormat")(t.row.createTime))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"suggestionTypeName",label:"反馈类型"}}),e._v(" "),a("el-table-column",{attrs:{prop:"content",label:"内容"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("tooltip",{attrs:{content:e.row.content}})]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"attachmentUrls",label:"图片",width:"100px"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",{staticStyle:{display:"flex","align-items":"center"}},[t.row.url?a("el-image",{staticStyle:{width:"60px",height:"60px","flex-shrink":"0"},attrs:{fit:"cover",src:t.row.url.split(",")[0],previewSrcList:t.row.url.split(",")}}):e._e(),e._v(" "),t.row.url&&t.row.url.split(",").length>1?a("span",[e._v("+"+e._s(t.row.url.split(",").length-1))]):e._e()],1)]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"username",label:"用户"}}),e._v(" "),a("el-table-column",{attrs:{prop:"mobileNo",label:"手机号"}}),e._v(" "),a("el-table-column",{attrs:{prop:"clientType",label:"客户端"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("clientTypeFilter")(t.row.clientType))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"处理状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.operatorId?"已处理":"未处理")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"operatorTime",label:"处理时间"}}),e._v(" "),a("el-table-column",{attrs:{prop:"operatorName",label:"处理人"}}),e._v(" "),a("el-table-column",{attrs:{prop:"feedbackFlag",label:"是否需要反馈用户","show-overflow-tooltip":""},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(t.row.operatorId?t.row.feedbackFlag?"是":"否":"")+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{prop:"operatorMemo",label:"备注"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("tooltip",{attrs:{content:e.row.operatorMemo}})]}}])}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100",fixed:"right"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysSuggestion/dispose",expression:"'sysSuggestion/dispose'"}],attrs:{size:"small",type:"text"},on:{click:function(a){return e.onDetail(t.row)}}},[e._v(e._s(t.row.operatorId?"处理详情":"处理"))])]}}])})],1),e._v(" "),a("pagination",{attrs:{sync:"",total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size,"save-key":"Suggestion"},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1),e._v(" "),e.visitVisiable?a("el-dialog",{attrs:{title:"处理反馈"+("look"===e.detail.actionType?"详情":""),width:"1000px","close-on-click-modal":!1,visible:e.visitVisiable},on:{"update:visible":function(t){e.visitVisiable=t}}},[e.visitVisiable&&e.detail?a("suggestionDetail",{attrs:{detail:e.detail},on:{close:function(t){e.visitVisiable=!1},submited:e.getList}}):e._e()],1):e._e()],1)},i=[],o=(a("28a5"),a("386d"),a("c7eb")),s=(a("ac6a"),a("96cf"),a("1da1")),u=a("5530"),c=a("15fd"),p=a("333d"),d=a("3607"),v=a("92e3"),b=a("ed08"),f=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"visitForm",attrs:{model:e.forms,"label-width":"100px","label-position":"right"}},[a("el-row",{attrs:{gutter:15}},[a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"客户端"}},[e._v(e._s(e._f("clientTypeFilter")(e.detail.clientType))+"\n ")])],1),e._v(" "),a("el-col",{attrs:{span:5}},[a("el-form-item",{attrs:{label:"反馈类型"}},[e._v(e._s(e.detail.suggestionTypeName)+"\n ")])],1),e._v(" "),a("el-col",{attrs:{span:8}},[a("el-form-item",{attrs:{label:"反馈时间"}},[e._v(e._s(e.detail.createTime)+" ")])],1),e._v(" "),a("el-col",{attrs:{span:5}},[a("el-form-item",{attrs:{label:"用户"}},[e._v(e._s(e.detail.username)+" ")])],1),e._v(" "),a("el-col",{attrs:{span:6}},[a("el-form-item",{attrs:{label:"手机号"}},[e._v(e._s(e.detail.mobileNo)+" ")])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"反馈内容"}},[e._v(e._s(e.detail.content)+" ")])],1),e._v(" "),a("el-col",{attrs:{span:24}},[a("el-form-item",{attrs:{label:"图片"}},[e.detail.imgList.length>0?a("span",e._l(e.detail.imgList,(function(t,l){return a("el-image",{key:l,staticStyle:{width:"100px",height:"100px","margin-right":"12px"},attrs:{src:t,"preview-src-list":e.detail.imgList,"initial-index":l,fit:"cover"}})})),1):e._e()])],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"处理",prop:"handleFlag",rules:[{required:!0,message:"请选择是否需要处理",trigger:"blur"}]}},[a("el-radio-group",{attrs:{disabled:"look"==e.actionType},model:{value:e.forms.handleFlag,callback:function(t){e.$set(e.forms,"handleFlag",t)},expression:"forms.handleFlag"}},[a("el-radio",{attrs:{label:!0}},[e._v("需处理")]),e._v(" "),a("el-radio",{attrs:{label:!1}},[e._v("不予处理")])],1)],1)],1),e._v(" "),a("el-col",{attrs:{span:12}},[a("el-form-item",{attrs:{label:"反馈用户",prop:"feedbackFlag",rules:[{required:!0,message:"请选择是否需要反馈用户",trigger:"blur"}]}},[a("el-radio-group",{attrs:{disabled:"look"==e.actionType},model:{value:e.forms.feedbackFlag,callback:function(t){e.$set(e.forms,"feedbackFlag",t)},expression:"forms.feedbackFlag"}},[a("el-radio",{attrs:{label:!0}},[e._v("是")]),e._v(" "),a("el-radio",{attrs:{label:!1}},[e._v("否")])],1)],1)],1),e._v(" "),a("el-col",{staticClass:"mb10",attrs:{span:24}},[a("el-form-item",{attrs:{label:"备注",prop:"operatorMemo",rules:[{required:!0,message:"请输入备注",trigger:"blur"}]}},[a("el-input",{staticStyle:{width:"100%"},attrs:{disabled:"look"==e.actionType,placeholder:"请输入备注",type:"textarea",maxlength:"200",rows:"3","show-word-limit":""},model:{value:e.forms.operatorMemo,callback:function(t){e.$set(e.forms,"operatorMemo",t)},expression:"forms.operatorMemo"}})],1)],1)],1)],1),e._v(" "),"update"===e.actionType?a("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitAddVisit}},[e._v("确 定")])],1):e._e()],1)},m=[],g=a("e3eb"),h=a.n(g),_={props:["detail"],data:function(){return{clientList:v["n"],suggestionTypeList:v["ab"],actionType:"update",forms:{id:"",handleFlag:!0,feedbackFlag:!0,operatorMemo:"感谢你对管乐迷的关注与支持,我们会认真处理您的反馈,尽快修复和完善相关功能!"}}},mounted:function(){this.detail.id&&(this.actionType=this.detail.actionType,this.detail.operatorId&&(this.forms.handleFlag=this.detail.handleFlag,this.forms.feedbackFlag=this.detail.feedbackFlag,this.forms.operatorMemo=this.detail.operatorMemo||"感谢你对管乐迷的关注与支持,我们会认真处理您的反馈,尽快修复和完善相关功能!"),this.forms.id=this.detail.id)},methods:{submitAddVisit:function(){var e=this;this.$refs.visitForm.validate((function(t){t&&Object(d["q"])(e.forms).then((function(t){200===t.code&&(e.$message.success("处理成功"),e.$emit("close"),e.$emit("submited"))}))}))}}},y=_,T=(a("563e"),a("2877")),E=Object(T["a"])(y,f,m,!1,null,"19dea9ac",null),I=E.exports,S=a("a5b0"),O=["timer"],F={components:{pagination:p["a"],Tooltip:S["a"],suggestionDetail:I},name:"chargesList",data:function(){return{suggestionTypeList:v["ab"],clientList:v["n"],id:null,dataList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},searchForm:{search:"",operatorSearch:"",suggestionType:"",handleFlag:"",feedbackFlag:"",timer:[],clientType:""},visitVisiable:!1,detail:{},suggestionList:[]}},activated:function(){this.getSuggestionType(),this.getList()},mounted:function(){this.getSuggestionType(),this.getList()},methods:{getList:function(){var e=this,t=this.searchForm,a=t.timer,l=Object(c["a"])(t,O),n=Object(u["a"])(Object(u["a"])(Object(u["a"])({rows:this.pageInfo.limit,page:this.pageInfo.page},l),Object(b["c"])(a,["startTime","endTime"])),{},{type:"APP"});Object(d["r"])(n).then((function(t){200==t.code&&(e.dataList=t.data.rows,e.pageInfo.total=t.data.total)}))},getSuggestionType:function(){var e=Object(s["a"])(Object(o["a"])().mark((function e(){var t,a,l,n=this;return Object(o["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Object(d["u"])({page:1,rows:999});case 3:t=e.sent,a=t.data,l=a.rows||[],l.forEach((function(e){n.suggestionList.push({label:e.type,value:e.id})})),e.next=11;break;case 9:e.prev=9,e.t0=e["catch"](0);case 11:case"end":return e.stop()}}),e,null,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}(),onReSet:function(){this.$refs["searchForm"].resetFields(),this.search()},search:function(){this.pageInfo.page=1,this.getList()},onDetail:function(e){var t=e.url?e.url.split(","):[],a=Object(u["a"])(Object(u["a"])({},e),{},{imgList:t,actionType:e.operatorId?"look":"update"});this.detail=a,this.visitVisiable=!0}}},L=F,k=(a("a1ed"),Object(T["a"])(L,r,i,!1,null,"c93c964a",null)),w=k.exports,N=a("d3d6"),C=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[a("div",{staticClass:"tableWrap"},[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysSuggestionType/add",expression:"'sysSuggestionType/add'"}],staticStyle:{"margin-bottom":"10px"},attrs:{type:"primary"},on:{click:function(t){return e.onOpentType()}}},[e._v("添加")]),e._v(" "),a("el-table",{attrs:{data:e.dataList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{prop:"type",label:"反馈类型","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"operatorName",label:"操作人","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{prop:"updateTime",label:"操作时间","show-overflow-tooltip":""}}),e._v(" "),a("el-table-column",{attrs:{label:"操作",width:"100"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysSuggestionType/update",expression:"'sysSuggestionType/update'"}],attrs:{size:"small",type:"text"},on:{click:function(a){return e.onOpentType(t.row)}}},[e._v("修改")]),e._v(" "),a("el-button",{directives:[{name:"permission",rawName:"v-permission",value:"sysSuggestionType/del",expression:"'sysSuggestionType/del'"}],attrs:{disabled:t.row.isEnable,size:"small",type:"text"},on:{click:function(a){return e.onDel(t.row)}}},[e._v("删除")])]}}])})],1),e._v(" "),a("pagination",{attrs:{sync:"",total:e.pageInfo.total,page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size,"save-key":"Suggestion"},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1),e._v(" "),e.visitVisiable?a("el-dialog",{attrs:{title:"add"===e.actionType?"新增反馈类型":"修改反馈类型",width:"500px","close-on-click-modal":!1,visible:e.visitVisiable},on:{"update:visible":function(t){e.visitVisiable=t}}},[e.visitVisiable&&e.detail?a("addType",{attrs:{detail:e.detail},on:{close:function(t){e.visitVisiable=!1},submited:e.getList}}):e._e()],1):e._e()],1)},A=[],R=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("el-form",{ref:"visitForm",attrs:{model:e.visitForm,"label-width":"100px","label-position":"right"}},[a("el-form-item",{attrs:{label:"反馈类型",prop:"type",rules:[{required:!0,message:"请输入反馈类型"}]}},[a("el-input",{staticStyle:{width:"100% !important"},attrs:{placeholder:"请输入反馈类型"},model:{value:e.visitForm.type,callback:function(t){e.$set(e.visitForm,"type",t)},expression:"visitForm.type"}})],1)],1),e._v(" "),a("div",{staticClass:"dialog-footer",staticStyle:{"text-align":"right"},attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:function(t){return e.$emit("close")}}},[e._v("取 消")]),e._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:e.submitAddVisit}},[e._v("确 定")])],1)],1)},x=[],M={props:["detail"],data:function(){return{visitForm:{id:"",type:""}}},mounted:function(){this.detail.id&&(console.log(this.detail),this.visitForm.type=this.detail.type,this.visitForm.id=this.detail.id)},methods:{submitAddVisit:function(){var e=this;this.$refs.visitForm.validate((function(t){t&&(e.visitForm.id?(console.log("update"),Object(d["v"])(e.visitForm).then((function(t){200===t.code&&(e.$message.success("修改成功"),e.$emit("close"),e.$emit("submited"))}))):Object(d["s"])(h()(e.visitForm)).then((function(t){200===t.code&&(e.$message.success("添加成功"),e.$emit("close"),e.$emit("submited"))})))}))}}},$=M,G=(a("351d"),Object(T["a"])($,R,x,!1,null,"293d9c70",null)),P=G.exports,V={components:{pagination:p["a"],Tooltip:S["a"],addType:P},name:"chargesList",data:function(){return{clientList:v["n"],id:null,dataList:[],pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]},visitVisiable:!1,actionType:"add",detail:{}}},mounted:function(){this.getList()},methods:{getList:function(){var e=this,t={rows:this.pageInfo.limit,page:this.pageInfo.page};Object(d["u"])(t).then((function(t){200==t.code&&(e.dataList=t.data.rows,e.pageInfo.total=t.data.total)}))},onOpentType:function(e){e?(this.actionType="update",this.detail=e):(this.acgtionType="add",this.detail={}),this.visitVisiable=!0},onDel:function(e){var t=this;this.$confirm("是否删除反馈类型".concat(e.type,"?"),"提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(Object(s["a"])(Object(o["a"])().mark((function a(){return Object(o["a"])().wrap((function(a){while(1)switch(a.prev=a.next){case 0:return a.next=2,Object(d["t"])({id:e.id});case 2:t.$message.success("删除成功"),t.getList();case 4:case"end":return a.stop()}}),a)}))))},onReSet:function(){this.$refs["searchForm"].resetFields(),this.search()},search:function(){this.pageInfo.page=1,this.getList()}}},j=V,U=(a("9827"),Object(T["a"])(j,C,A,!1,null,"30bcd01e",null)),D=U.exports,H=a("ec8a"),z={components:{suggestion:w,clouldSuggestion:N["default"],suggestionType:D},data:function(){return{activeIndex:"1",permissionList:{suggestion:Object(H["a"])("/suggestion"),suggestionType:Object(H["a"])("/suggestionType"),clouldSuggestion:Object(H["a"])("/clouldSuggestion")}}},created:function(){},mounted:function(){},methods:{handleClick:function(e){}}},B=z,Y=Object(T["a"])(B,l,n,!1,null,"4753553c",null);t["default"]=Y.exports},c37a:function(e,t,a){},c9d4:function(e,t,a){},d3d6:function(e,t,a){"use strict";a.r(t);var l=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"m-container"},[e._m(0),e._v(" "),a("div",{staticClass:"m-core"},[a("save-form",{ref:"searchForm",staticClass:"searchForm",attrs:{inline:!0,"save-key":"clouldSuggestion",model:e.searchForm},on:{submit:e.search,reset:e.onReSet,"update:model":function(t){e.searchForm=t}}},[a("el-form-item",{attrs:{prop:"search"}},[a("el-input",{attrs:{clearable:"",placeholder:"姓名/编号/手机号"},model:{value:e.searchForm.search,callback:function(t){e.$set(e.searchForm,"search","string"===typeof t?t.trim():t)},expression:"searchForm.search"}})],1),e._v(" "),a("el-form-item",{attrs:{prop:"clientType"}},[a("el-select",{attrs:{clearable:"",placeholder:"请选择客户端"},model:{value:e.searchForm.clientType,callback:function(t){e.$set(e.searchForm,"clientType",t)},expression:"searchForm.clientType"}},e._l(e.clientList,(function(e,t){return a("el-option",{key:t,attrs:{value:e.value,label:e.label}})})),1)],1),e._v(" "),a("el-form-item",{attrs:{prop:"timer"}},[a("el-date-picker",{staticStyle:{width:"400px"},attrs:{type:"daterange","picker-options":{firstDayOfWeek:1},"value-format":"yyyy-MM-dd","range-separator":"至","start-placeholder":"开始日期","end-placeholder":"结束日期"},model:{value:e.searchForm.timer,callback:function(t){e.$set(e.searchForm,"timer","string"===typeof t?t.trim():t)},expression:"searchForm.timer"}})],1),e._v(" "),a("el-form-item",[a("el-button",{attrs:{"native-type":"submit",type:"danger"}},[e._v("搜索")]),e._v(" "),a("el-button",{attrs:{"native-type":"reset",type:"primary"}},[e._v("重置")])],1)],1),e._v(" "),a("div",{staticClass:"tableWrap"},[a("el-table",{attrs:{data:e.dataList,"header-cell-style":{background:"#EDEEF0",color:"#444"}}},[a("el-table-column",{attrs:{align:"center",label:"用户编号",prop:"userId"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"用户姓名",prop:"username"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"mobileNo",label:"邮箱或手机号"}}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"内容",prop:"content",width:"400"},scopedSlots:e._u([{key:"default",fn:function(e){return[a("tooltip",{attrs:{content:e.row.content}})]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"客户端",prop:"clientType"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("div",[e._v("\n "+e._s(e._f("clientTypeFilter")(t.row.clientType))+"\n ")])]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",label:"反馈时间",prop:"createTime"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e._f("dateForMinFormat")(t.row.createTime))+"\n ")]}}])}),e._v(" "),a("el-table-column",{attrs:{align:"center",prop:"url",label:"反馈图片"},scopedSlots:e._u([{key:"default",fn:function(t){return[t.row.url?a("el-image",{staticStyle:{width:"60px",height:"60px"},attrs:{fit:"cover",src:t.row.url.split(",")[0],previewSrcList:t.row.url.split(",")}}):e._e()]}}])})],1),e._v(" "),a("pagination",{attrs:{sync:"",total:e.pageInfo.total,"save-key":"clouldSuggestion",page:e.pageInfo.page,limit:e.pageInfo.limit,"page-sizes":e.pageInfo.page_size},on:{"update:total":function(t){return e.$set(e.pageInfo,"total",t)},"update:page":function(t){return e.$set(e.pageInfo,"page",t)},"update:limit":function(t){return e.$set(e.pageInfo,"limit",t)},pagination:e.getList}})],1)],1)])},n=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("h2",[a("div",{staticClass:"squrt"}),e._v("\n 学练宝反馈\n ")])}],r=(a("386d"),a("5530")),i=a("15fd"),o=a("333d"),s=a("3607"),u=a("a5b0"),c=a("92e3"),p=a("ed08"),d=["timer"],v={components:{pagination:o["a"],Tooltip:u["a"]},name:"chargesList",data:function(){return{id:null,dataList:[],clientList:c["n"],searchForm:{search:"",timer:[],clientType:""},pageInfo:{limit:10,page:1,total:0,page_size:[10,20,40,50]}}},activated:function(){this.getList()},mounted:function(){this.getList()},methods:{getList:function(){var e=this,t=this.searchForm,a=t.timer,l=Object(i["a"])(t,d),n=Object(r["a"])(Object(r["a"])({rows:this.pageInfo.limit,page:this.pageInfo.page,type:"SMART_PRACTICE"},Object(p["d"])(a,["startTime","endTime"])),l);Object(s["r"])(n).then((function(t){200==t.code&&(e.dataList=t.data.rows,e.pageInfo.total=t.data.total)}))},onReSet:function(){this.$refs["searchForm"].resetFields(),this.search()},search:function(){this.pageInfo.page=1,this.getList()}}},b=v,f=(a("4bc1"),a("2877")),m=Object(f["a"])(b,l,n,!1,null,"3ad4830c",null);t["default"]=m.exports},ee2c:function(e,t,a){}}]);