1 |
- (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),u<t?l(e):a&&"function"===typeof a&&a()};c()}},"351d":function(e,t,a){"use strict";a("8c11")},"4bc1":function(e,t,a){"use strict";a("c37a")},"563e":function(e,t,a){"use strict";a("ee2c")},"876f":function(e,t,a){},"8c11":function(e,t,a){},"92e3":function(e,t,a){"use strict";a.d(t,"v",(function(){return s})),a.d(t,"I",(function(){return u})),a.d(t,"t",(function(){return c})),a.d(t,"c",(function(){return p})),a.d(t,"E",(function(){return d})),a.d(t,"bb",(function(){return v})),a.d(t,"Z",(function(){return b})),a.d(t,"d",(function(){return f})),a.d(t,"M",(function(){return m})),a.d(t,"x",(function(){return g})),a.d(t,"db",(function(){return h})),a.d(t,"u",(function(){return _})),a.d(t,"o",(function(){return y})),a.d(t,"cb",(function(){return T})),a.d(t,"Q",(function(){return E})),a.d(t,"fb",(function(){return I})),a.d(t,"gb",(function(){return S})),a.d(t,"P",(function(){return O})),a.d(t,"U",(function(){return F})),a.d(t,"C",(function(){return L})),a.d(t,"l",(function(){return k})),a.d(t,"Y",(function(){return w})),a.d(t,"eb",(function(){return N})),a.d(t,"J",(function(){return C})),a.d(t,"m",(function(){return A})),a.d(t,"w",(function(){return R})),a.d(t,"N",(function(){return x})),a.d(t,"f",(function(){return M})),a.d(t,"e",(function(){return $})),a.d(t,"L",(function(){return G})),a.d(t,"K",(function(){return P})),a.d(t,"T",(function(){return V})),a.d(t,"H",(function(){return j})),a.d(t,"a",(function(){return U})),a.d(t,"y",(function(){return D})),a.d(t,"p",(function(){return H})),a.d(t,"n",(function(){return z})),a.d(t,"q",(function(){return B})),a.d(t,"g",(function(){return Y})),a.d(t,"G",(function(){return q})),a.d(t,"r",(function(){return W})),a.d(t,"D",(function(){return X})),a.d(t,"B",(function(){return K})),a.d(t,"A",(function(){return J})),a.d(t,"h",(function(){return Q})),a.d(t,"k",(function(){return Z})),a.d(t,"i",(function(){return ee})),a.d(t,"j",(function(){return te})),a.d(t,"S",(function(){return ae})),a.d(t,"O",(function(){return le})),a.d(t,"F",(function(){return ne})),a.d(t,"z",(function(){return re})),a.d(t,"R",(function(){return ie})),a.d(t,"V",(function(){return oe})),a.d(t,"X",(function(){return se})),a.d(t,"s",(function(){return ue})),a.d(t,"ab",(function(){return ce})),a.d(t,"W",(function(){return pe})),a.d(t,"b",(function(){return ve}));var l=a("b85c"),n=a("3835"),r=a("267e"),i=sessionStorage.getItem("tenantConfig");i=i?JSON.parse(i):{};var o=i.tenantId,s=null,u=null;1==o?(u=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],s=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"线上基础技能课",value:"HIGH_ONLINE"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"乐团网管课",value:"MUSIC_NETWORK"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]):(u=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"基础技能课",value:"HIGH"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"综合课",value:"COMPREHENSIVE"}],s=[{label:"声部课",value:"SINGLE"},{label:"合奏课",value:"MIX"},{label:"vip课",value:"VIP"},{label:"试听课",value:"DEMO"},{label:"综合课",value:"COMPREHENSIVE"},{label:"网管课",value:"PRACTICE"},{label:"启蒙课",value:"ENLIGHTENMENT"},{label:"集训声部课",value:"TRAINING_SINGLE"},{label:"集训合奏课",value:"TRAINING_MIX"},{label:"课堂课",value:"CLASSROOM"},{label:"对外课",value:"COMM"},{label:"直播课",value:"LIVE"}]);var c=[{label:"乐团课",value:"MUSIC"},{label:"VIP课",value:"VIP"},{label:"网管课",value:"PRACTICE"},{label:"直播课",value:"LIVE"}],p=[{label:"正常签到",value:1},{label:"异常签到",value:0}],d=[{label:"兼职",value:"PART_TIME"},{label:"全职",value:"FULL_TIME"},{label:"劳务",value:"LABOUR"}],v=[{label:"正常",value:"0"},{label:"冻结",value:"1"},{label:"锁定",value:"9"}],b=[{value:"NORMAL",label:"正常"},{value:"TRUANT",label:"旷课"},{value:"LEAVE",label:"请假"}],f=[].concat(b,[{value:"QUIT_SCHOOL",label:"休学"},{value:"DROP_OUT",label:"退学"},{value:"LATE",label:"迟到"}]),m=[{value:"APPLY",label:"报名"},{value:"RENEW",label:"续费"},{value:"MEMBER",label:"学练宝购买"},{value:"SMALL_CLASS_TO_BUY",label:"VIP购买"},{value:"SPORADIC",label:"零星收费"},{value:"LUCK",label:"福袋活动"},{value:"DEGREE_REGISTRATION",label:"考级报名"},{value:"DOUBLE_ELEVEN2020",label:"2020双十一活动"},{value:"DOUBLE_ELEVEN2021",label:"2021双十一活动"},{value:"DEGREE",label:"儿童节活动"},{value:"PRACTICE_GROUP_BUY",label:"网管课"},{value:"PRACTICE_GROUP_RENEW",label:"网管课续费"},{value:"REPAIR",label:"乐器维修"},{value:"OUTORDER",label:"外部收入"},{value:"GOODS_SELL",label:"商品销售"},{value:"MALL_BUY",label:"商城销售"},{value:"SUBJECT_CHANGE",label:"声部更换"},{value:"MAINTENANCE",label:"乐器保养"},{value:"ADD_STUDENT",label:"乐团报名"},{value:"REPLACEMENT",label:"乐器置换"},{value:"SCHOOL",label:"学校订单"},{value:"PERSONAL",label:"个人订单"},{value:"OTHER",label:"其他"},{value:"ACTIVITY",label:"活动购买"},{value:"LIVE_BUY",label:"直播购物"},{value:"LIVE_GROUP_BUY",label:"直播课购买"},{value:"SCHOOL_GOODS_PURCHASE",label:"商品采购"},{value:"DIRECTOR_TRAINING_CAMP",label:"乐队指导培训"}],g=[{value:"ING",label:"交易中"},{value:"SUCCESS",label:"成功交易"},{value:"FAILED",label:"交易失败"},{value:"CLOSE",label:"交易关闭"}],h=[{value:"0",text:"未开始"},{value:"1",text:"报名中"},{value:"2",text:"进行中"},{value:"4",text:"已结束"},{value:"3",text:"取消"}],_=[{value:"NOT_START",label:"未开始"},{value:"UNDERWAY",label:"进行中"},{value:"OVER",label:"已结束"}],y=[{value:"NORMAL",label:"进行中"},{value:"FINISH",label:"结束"},{value:"CANCEL",label:"关闭"},{value:"LOCK",label:"锁定"}],T=[{value:"RECHARGE",label:"充值"},{value:"CONSUME",label:"建课"},{value:"RETURN",label:"退课"},{value:"MANUAL_ADD",label:"系统充值"},{value:"MANUAL_SUB",label:"系统扣除"}],E=[{value:"FREE",label:"免费"},{value:"CHARGE",label:"收费"},{value:"TRIAL",label:"试听课"},{value:"CARE_PACKAGE",label:"关心包"},{value:"COME_ON_PACKAGE",label:"加油包"}],I=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"}]}],S=[{value:"课程推荐",label:"课程推荐",children:[{value:"新课推荐",label:"新课推荐"},{value:"续费提醒",label:"续费提醒"}]},{value:"常规回访",label:"常规回访",children:[{value:"课后及练习回访",label:"课后及练习回访"},{value:"练习及乐团表现",label:"练习及乐团表现"},{label:"考勤申诉",value:"考勤申诉"},{value:"异常请假回访",label:"异常请假回访"}]},{value:"小课回访",label:"小课回访",children:[{value:"续费类回访",label:"续费类回访"},{value:"服务回访",label:"服务回访"},{value:"其他",label:"其他"}]},{value:"学练宝",label:"学练宝",children:[{value:"体验回访",label:"体验回访"}]},{value:"其它",label:"其它",children:[{value:"其它",label:"其它"},{value:"会员续费",label:"会员续费"}]}],O=[{value:"YQPAY",label:"双乾"},{value:"BALANCE",label:"余额"},{value:"ADAPAY",label:"汇付"},{value:"YEEPAY",label:"易宝"}],F=[{value:"INSTRUMENT",label:"乐器销售"},{value:"ACCESSORIES",label:"配件销售"},{value:"SCHOOL_BUY",label:"学校采购"},{value:"OTHER",label:"其它"}],L=[{value:"INSTRUMENT",label:"乐器"},{value:"ACCESSORIES",label:"辅件"},{value:"TEACHING",label:"教材"},{value:"STAFF",label:"教谱"},{value:"OTHER",label:"其它"}],k=[{value:"1",label:"一年级"},{value:"2",label:"二年级"},{value:"3",label:"三年级"},{value:"4",label:"四年级"},{value:"5",label:"五年级"},{value:"6",label:"六年级"},{value:"7",label:"初一"},{value:"8",label:"初二"},{value:"9",label:"初三"},{value:"10",label:"高一"},{value:"11",label:"高二"},{value:"12",label:"高三"}],w=[{value:"INTERNAL",label:"内部"},{value:"EXTERNAL",label:"外部"},{value:"ALL",label:"全部"}],N=[{label:"不限制",value:"1"},{label:"线上不可调为线下",value:"0"},{label:"线下不可调为线上",value:"2"},{label:"线上线下不可互调",value:"3"}],C=de(r["musicGroupType"]),A=de(r["classTime"]),R=[{label:"课程收费",value:0},{label:"会员收费",value:2},{label:"免费",value:3}],x=de(r["payOrderType"]),M=de(r["auditType"]),$=de(r["auditPaymentType"]),G=de(r["orderServerType"]),P=de(r["orderAuditType"]),V=de(r["rewardModeType"]),j=de(r["musicClassType"]),U=de(r["ProbationPeriodStatus"]),D=de(r["downListType"]),H=de(r["conclusion"]),z=de(r["clientType"]),B=de(r["couponType"]),Y=de(r["backType"]),q=de(r["memberEnum"]),W=de(r["coupontypeDetail"]),X=de(r["issue"]),K=de(r["feedbackType"]),J=de(r["feedbackTypeDesc"]),Q=de(r["campState"]),Z=de(r["catgGoupType"]),ee=de(r["catRole"]),te=de(r["catType"]),ae=de(r["quiteReason"]),le=de(r["payUserType"]),ne=de(r["levelStatus"]),re=de(r["evaluateStatus"]),ie=de(r["problemType"]),oe=de(r["schoolUserType"]),se=de(r["shareLiveType"]),ue=de(r["courseEmnu"]),ce=de(r["suggestionType"]),pe=de(r["scoreType"]);function de(e){var t=[];for(var a in e)t.push({label:e[a],value:a});return t}var ve=function(e){var t=arguments.length>1&&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){}}]);
|