chunk-6b1d633c.ba268ee8.js 17 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-6b1d633c"],{"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]}}]}},"90e7":function(t,e,n){"use strict";n.d(e,"x",(function(){return u})),n.d(e,"k",(function(){return a})),n.d(e,"Jb",(function(){return o})),n.d(e,"Ib",(function(){return c})),n.d(e,"j",(function(){return i})),n.d(e,"db",(function(){return s})),n.d(e,"kb",(function(){return d})),n.d(e,"gb",(function(){return f})),n.d(e,"hb",(function(){return l})),n.d(e,"d",(function(){return m})),n.d(e,"eb",(function(){return h})),n.d(e,"Nb",(function(){return g})),n.d(e,"ib",(function(){return b})),n.d(e,"p",(function(){return p})),n.d(e,"o",(function(){return O})),n.d(e,"c",(function(){return j})),n.d(e,"U",(function(){return w})),n.d(e,"mb",(function(){return v})),n.d(e,"T",(function(){return y})),n.d(e,"nb",(function(){return D})),n.d(e,"xb",(function(){return _})),n.d(e,"K",(function(){return x})),n.d(e,"wb",(function(){return T})),n.d(e,"s",(function(){return k})),n.d(e,"q",(function(){return P})),n.d(e,"r",(function(){return V})),n.d(e,"t",(function(){return F})),n.d(e,"u",(function(){return M})),n.d(e,"X",(function(){return C})),n.d(e,"Y",(function(){return E})),n.d(e,"V",(function(){return L})),n.d(e,"W",(function(){return Y})),n.d(e,"M",(function(){return G})),n.d(e,"E",(function(){return W})),n.d(e,"I",(function(){return S})),n.d(e,"H",(function(){return I})),n.d(e,"z",(function(){return $})),n.d(e,"J",(function(){return U})),n.d(e,"B",(function(){return J})),n.d(e,"G",(function(){return z})),n.d(e,"A",(function(){return B})),n.d(e,"y",(function(){return q})),n.d(e,"L",(function(){return A})),n.d(e,"i",(function(){return H})),n.d(e,"e",(function(){return K})),n.d(e,"f",(function(){return N})),n.d(e,"Kb",(function(){return Q})),n.d(e,"Lb",(function(){return R})),n.d(e,"Mb",(function(){return X})),n.d(e,"lb",(function(){return Z})),n.d(e,"yb",(function(){return tt})),n.d(e,"N",(function(){return et})),n.d(e,"Ab",(function(){return nt})),n.d(e,"zb",(function(){return rt})),n.d(e,"Bb",(function(){return ut})),n.d(e,"Cb",(function(){return at})),n.d(e,"Db",(function(){return ot})),n.d(e,"Eb",(function(){return ct})),n.d(e,"Ob",(function(){return it})),n.d(e,"Pb",(function(){return st})),n.d(e,"O",(function(){return dt})),n.d(e,"g",(function(){return ft})),n.d(e,"Qb",(function(){return lt})),n.d(e,"ob",(function(){return mt})),n.d(e,"pb",(function(){return ht})),n.d(e,"F",(function(){return gt})),n.d(e,"C",(function(){return bt})),n.d(e,"jb",(function(){return pt})),n.d(e,"qb",(function(){return Ot})),n.d(e,"rb",(function(){return jt})),n.d(e,"sb",(function(){return wt})),n.d(e,"D",(function(){return vt})),n.d(e,"fb",(function(){return yt})),n.d(e,"cb",(function(){return Dt})),n.d(e,"P",(function(){return _t})),n.d(e,"S",(function(){return xt})),n.d(e,"Q",(function(){return Tt})),n.d(e,"R",(function(){return kt})),n.d(e,"h",(function(){return Pt})),n.d(e,"w",(function(){return Vt})),n.d(e,"v",(function(){return Ft})),n.d(e,"Z",(function(){return Mt})),n.d(e,"tb",(function(){return Ct})),n.d(e,"vb",(function(){return Et})),n.d(e,"b",(function(){return Lt})),n.d(e,"ub",(function(){return Yt})),n.d(e,"n",(function(){return Gt})),n.d(e,"a",(function(){return Wt})),n.d(e,"m",(function(){return St})),n.d(e,"l",(function(){return It})),n.d(e,"Fb",(function(){return $t})),n.d(e,"Gb",(function(){return Ut})),n.d(e,"Hb",(function(){return Jt})),n.d(e,"ab",(function(){return zt})),n.d(e,"bb",(function(){return Bt}));var r=n("b6bd");function u(t){return Object(r.a)({url:"setting/config/header_basics",method:"get",params:t})}function a(t,e){return Object(r.a)({url:e,method:"get",params:t})}function o(t){return Object(r.a)({url:t.url,method:"get",params:t.data})}function c(){return Object(r.a)({url:"notify/sms/temp/create",method:"get"})}function i(t){return Object(r.a)({url:"serve/login",method:"post",data:t})}function s(){return Object(r.a)({url:"serve/info",method:"get"})}function d(t){return Object(r.a)({url:"serve/sms/open",method:"get",params:t})}function f(t){return Object(r.a)({url:"serve/opn_express",method:"post",data:t})}function l(t){return Object(r.a)({url:"serve/open",method:"get",params:t})}function m(t){return Object(r.a)({url:"serve/checkCode",method:"post",data:t})}function h(t){return Object(r.a)({url:"serve/modify",method:"post",data:t})}function g(t){return Object(r.a)({url:"serve/update_phone",method:"post",data:t})}function b(t){return Object(r.a)({url:"serve/record",method:"get",params:t})}function p(t){return Object(r.a)({url:"serve/export_temp",method:"get",params:t})}function O(){return Object(r.a)({url:"serve/export_all",method:"get"})}function j(t){return Object(r.a)({url:"serve/captcha",method:"post",data:t})}function w(t){return Object(r.a)({url:"serve/register",method:"post",data:t})}function v(t){return Object(r.a)({url:"serve/meal_list",method:"get",params:t})}function y(t){return Object(r.a)({url:"serve/pay_meal",method:"post",data:t})}function D(t){return Object(r.a)({url:"notify/sms/record",method:"get",params:t})}function _(){return Object(r.a)({url:"merchant/store",method:"GET"})}function x(){return Object(r.a)({url:"merchant/store/address",method:"GET"})}function T(t){return Object(r.a)({url:"merchant/store/".concat(t.id),method:"POST",data:t})}function k(t){return Object(r.a)({url:"freight/express",method:"get",params:t})}function P(){return Object(r.a)({url:"/freight/express/create",method:"get"})}function V(t){return Object(r.a)({url:"freight/express/".concat(t,"/edit"),method:"get"})}function F(t){return Object(r.a)({url:"freight/express/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function M(){return Object(r.a)({url:"freight/express/sync_express",method:"get"})}function C(t){return Object(r.a)({url:"setting/role",method:"GET",params:t})}function E(t){return Object(r.a)({url:"setting/role/set_status/".concat(t.id,"/").concat(t.status),method:"PUT"})}function L(t){return Object(r.a)({url:"setting/role/".concat(t.id),method:"post",data:t})}function Y(t){return Object(r.a)({url:"setting/role/".concat(t,"/edit"),method:"get"})}function G(){return Object(r.a)({url:"setting/role/create",method:"get"})}function W(t){return Object(r.a)({url:"app/wechat/kefu",method:"get",params:t})}function S(t){return Object(r.a)({url:"app/wechat/kefu/create",method:"get",params:t})}function I(){return Object(r.a)({url:"app/wechat/kefu/add",method:"get"})}function $(t){return Object(r.a)({url:"app/wechat/kefu",method:"post",data:t})}function U(t){return Object(r.a)({url:"app/wechat/kefu/set_status/".concat(t.id,"/").concat(t.account_status),method:"PUT"})}function J(t){return Object(r.a)({url:"app/wechat/kefu/".concat(t,"/edit"),method:"GET"})}function z(t,e){return Object(r.a)({url:"app/wechat/kefu/record/".concat(e),method:"GET",params:t})}function B(t){return Object(r.a)({url:"app/wechat/kefu/chat_list",method:"GET",params:t})}function q(){return Object(r.a)({url:"notify/sms/is_login",method:"GET"})}function A(){return Object(r.a)({url:"notify/sms/logout",method:"GET"})}function H(t){return Object(r.a)({url:"setting/city/list/".concat(t),method:"get"})}function K(t){return Object(r.a)({url:"setting/city/add/".concat(t),method:"get"})}function N(t){return Object(r.a)({url:"setting/city/".concat(t,"/edit"),method:"get"})}function Q(t){return Object(r.a)({url:"setting/shipping_templates/list",method:"get",params:t})}function R(t){return Object(r.a)({url:"setting/shipping_templates/city_list",method:"get"})}function X(t,e){return Object(r.a)({url:"setting/shipping_templates/save/".concat(t),method:"post",data:e})}function Z(t){return Object(r.a)({url:"setting/shipping_templates/".concat(t,"/edit"),method:"get"})}function tt(){return Object(r.a)({url:"merchant/store/get_header",method:"get"})}function et(t){return Object(r.a)({url:"merchant/store",method:"get",params:t})}function nt(t,e){return Object(r.a)({url:"merchant/store/set_show/".concat(t,"/").concat(e),method:"put"})}function rt(t){return Object(r.a)({url:"merchant/store/get_info/".concat(t),method:"get"})}function ut(t){return Object(r.a)({url:"merchant/store_staff",method:"get",params:t})}function at(){return Object(r.a)({url:"merchant/store_staff/create",method:"get"})}function ot(t){return Object(r.a)({url:"merchant/store_staff/".concat(t,"/edit"),method:"get"})}function ct(t,e){return Object(r.a)({url:"merchant/store_staff/set_show/".concat(t,"/").concat(e),method:"put"})}function it(t){return Object(r.a)({url:"merchant/verify_order",method:"get",params:t})}function st(t){return Object(r.a)({url:"merchant/verify/spread_info/".concat(t),method:"get"})}function dt(){return Object(r.a)({url:"merchant/store_list",method:"get"})}function ft(){return Object(r.a)({url:"setting/city/clean_cache",method:"get"})}function lt(t){return Object(r.a)({url:"app/wechat/speechcraft",method:"get",params:t})}function mt(t){return Object(r.a)({url:"app/wechat/speechcraft/create",method:"get",params:t})}function ht(t){return Object(r.a)({url:"app/wechat/speechcraft/".concat(t,"/edit"),method:"get"})}function gt(t){return Object(r.a)({url:"app/wechat/kefu/login/".concat(t),method:"get"})}function bt(t){return Object(r.a)({url:"app/feedback",method:"get",params:t})}function pt(t){return Object(r.a)({url:"serve/sms/sign",method:"PUT",data:t})}function Ot(){return Object(r.a)({url:"app/wechat/speechcraftcate",method:"get"})}function jt(){return Object(r.a)({url:"app/wechat/speechcraftcate/create",method:"get"})}function wt(t){return Object(r.a)({url:"app/wechat/speechcraftcate/".concat(t,"/edit"),method:"get"})}function vt(t){return Object(r.a)({url:"app/feedback/".concat(t,"/edit"),method:"get"})}function yt(){return Object(r.a)({url:"serve/open",method:"get"})}function Dt(){return Object(r.a)({url:"serve/dump_open",method:"get"})}function _t(t){return Object(r.a)({url:"setting/system_out/index",method:"get",params:t})}function xt(t,e){return Object(r.a)({url:"setting/system_out/set_status/".concat(t,"/").concat(e),method:"put"})}function Tt(t){return Object(r.a)({url:"setting/system_out/save",method:"post",params:t})}function kt(t,e){return Object(r.a)({url:"setting/system_out/update/".concat(t),method:"post",params:e})}function Pt(t){return Object(r.a)({url:"city",method:"get",params:t})}function Vt(t){return Object(r.a)({url:"setting/config/edit_new_build/"+t,method:"get"})}function Ft(){return Object(r.a)({url:"/setting/config/image",method:"get"})}function Mt(t){return Object(r.a)({url:"setting/config/save_basics",method:"post",data:t})}function Ct(t){return Object(r.a)({url:"/setting/config/storage",method:"get",params:t})}function Et(t){return Object(r.a)({url:"/setting/config/storage/synch/".concat(t),method:"put"})}function Lt(t){return Object(r.a)({url:"/setting/config/storage/create/".concat(t),method:"get"})}function Yt(t){return Object(r.a)({url:"/setting/config/storage/status/".concat(t),method:"put"})}function Gt(t){return Object(r.a)({url:"/setting/config/storage/domain/".concat(t),method:"get"})}function Wt(t){return Object(r.a)({url:"/setting/config/storage/form/".concat(t),method:"get"})}function St(t){return Object(r.a)({url:"/order/delivery_order/list",method:"get",params:t})}function It(t){return Object(r.a)({url:"/order/delivery_order/cancelForm/".concat(t),method:"get"})}function $t(t,e){return Object(r.a)({url:"/system/form/save/".concat(t),method:"post",data:e})}function Ut(t,e){return Object(r.a)({url:"/system/form/info/".concat(t),method:"get",params:e})}function Jt(t){return Object(r.a)({url:"/system/form/index",method:"get",params:t})}function zt(t){return Object(r.a)({url:"setting/config/storage/save_type/".concat(t),method:"get"})}function Bt(t){return Object(r.a)({url:"/file/scan/upload",method:"post",headers:{"content-type":"multipart/form-data;"},data:t})}},ec44:function(t,e,n){"use strict";n.r(e);var r=n("90e7"),u=n("2f62"),a=n("0b65");function o(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 c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var i={name:"feedback",data:function(){return{loading:!1,list:[],page:1,limit:15,options:a.a,formValidate:{time:"",title:""},fromList:{title:"选择时间",custom:!0,fromTxt:[{text:"全部",val:""},{text:"今天",val:"today"},{text:"昨天",val:"yesterday"},{text:"最近7天",val:"lately7"},{text:"最近30天",val:"lately30"},{text:"本月",val:"month"},{text:"本年",val:"year"}]},timeVal:[],count:0,columns1:[{title:"ID",key:"id",width:80},{title:"昵称",key:"rela_name",minWidth:120},{title:"电话",key:"phone",minWidth:120},{title:"内容",key:"content",minWidth:320},{title:"状态",slot:"status",minWidth:120},{title:"时间",key:"add_time",minWidth:120},{title:"操作",slot:"action",fixed:"right",minWidth:150}]}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(n,!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},Object(u.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:96},labelPosition:function(){return this.isMobile?"top":"right"}}),created:function(){this.getList()},methods:{remarks:function(t){var e=this;this.$modalForm(Object(r.D)(t)).then((function(){return e.getList()}))},selChange:function(){this.page=1,this.getList()},selectChange:function(t){this.formValidate.time=t,this.timeVal=[],this.page=1,this.getList()},onchangeTime:function(t){this.timeVal=t,this.formValidate.time=this.timeVal[0]?this.timeVal.join("-"):""},getList:function(){var t=this;Object(r.C)({page:this.page,limit:this.limit,time:this.formValidate.time,title:this.formValidate.title}).then((function(e){t.list=e.data.data,t.count=e.data.count}))},del:function(t,e,n){var r=this,u={title:e,num:n,url:"/app/feedback/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(u).then((function(t){r.$Message.success(t.msg),r.list.splice(n,1),r.list.length||(r.formValidate.page=1==r.formValidate.page?1:r.formValidate.page-1),r.getList()})).catch((function(t){r.$Message.error(t.msg)}))},pageChange:function(t){this.page=t,this.getList()}}},s=n("2877"),d=Object(s.a)(i,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":"",padding:0}},[n("div",{staticClass:"new_card_pd"},[n("Form",{ref:"formValidate",staticClass:"tabform",attrs:{model:t.formValidate,"label-width":t.labelWidth,"label-position":t.labelPosition,inline:""},nativeOn:{submit:function(t){t.preventDefault()}}},[n("FormItem",{attrs:{label:"留言信息:"}},[n("Input",{staticStyle:{width:"250px"},attrs:{placeholder:"用户昵称/电话/留言内容","element-id":"name"},model:{value:t.formValidate.title,callback:function(e){t.$set(t.formValidate,"title",e)},expression:"formValidate.title"}})],1),n("FormItem",{attrs:{label:"留言时间:"}},[n("DatePicker",{staticStyle:{width:"250px","margin-right":"14px"},attrs:{editable:!1,value:t.timeVal,format:"yyyy/MM/dd",type:"datetimerange",options:t.options,placement:"bottom-start",placeholder:"自定义时间"},on:{"on-change":t.onchangeTime}})],1),n("Button",{attrs:{type:"primary"},on:{click:function(e){return t.selChange()}}},[t._v("查询")])],1)],1)]),n("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[n("Table",{attrs:{columns:t.columns1,data:t.list,loading:t.loading,"no-userFrom-text":"暂无数据","no-filtered-userFrom-text":"暂无筛选结果"},scopedSlots:t._u([{key:"status",fn:function(e){var r=e.row;return[n("div",[t._v(t._s(1===r.status?"已处理":"未处理"))])]}},{key:"action",fn:function(e){var r=e.row,u=e.index;return[n("a",{on:{click:function(e){return t.remarks(r.id)}}},[t._v(t._s(1===r.status?"备注":"处理"))]),n("Divider",{attrs:{type:"vertical"}}),n("a",{on:{click:function(e){return t.del(r,"删除反馈",u)}}},[t._v("删除")])]}}])}),n("div",{staticClass:"acea-row row-right page"},[n("Page",{attrs:{total:t.count,"show-elevator":"","show-total":"","page-size":t.limit},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,"6d73e4d2",null);e.default=d.exports}}]);