chunk-9b17172e.e21224ad.js 9.7 KB

1
  1. (window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-9b17172e"],{"183c":function(t,e,r){"use strict";var n=r("5e1a");r.n(n).a},"5e1a":function(t,e,r){},"9b41":function(t,e,r){"use strict";r.d(e,"V",(function(){return o})),r.d(e,"P",(function(){return u})),r.d(e,"U",(function(){return a})),r.d(e,"y",(function(){return c})),r.d(e,"v",(function(){return i})),r.d(e,"x",(function(){return l})),r.d(e,"w",(function(){return d})),r.d(e,"z",(function(){return s})),r.d(e,"s",(function(){return m})),r.d(e,"k",(function(){return f})),r.d(e,"j",(function(){return h})),r.d(e,"E",(function(){return p})),r.d(e,"u",(function(){return b})),r.d(e,"F",(function(){return g})),r.d(e,"Q",(function(){return w})),r.d(e,"G",(function(){return O})),r.d(e,"J",(function(){return k})),r.d(e,"W",(function(){return j})),r.d(e,"h",(function(){return _})),r.d(e,"g",(function(){return v})),r.d(e,"t",(function(){return y})),r.d(e,"m",(function(){return D})),r.d(e,"c",(function(){return P})),r.d(e,"b",(function(){return C})),r.d(e,"a",(function(){return L})),r.d(e,"i",(function(){return F})),r.d(e,"d",(function(){return M})),r.d(e,"D",(function(){return W})),r.d(e,"H",(function(){return E})),r.d(e,"I",(function(){return $})),r.d(e,"f",(function(){return x})),r.d(e,"N",(function(){return S})),r.d(e,"M",(function(){return J})),r.d(e,"l",(function(){return T})),r.d(e,"T",(function(){return z})),r.d(e,"e",(function(){return A})),r.d(e,"L",(function(){return B})),r.d(e,"K",(function(){return I})),r.d(e,"O",(function(){return q})),r.d(e,"B",(function(){return G})),r.d(e,"r",(function(){return H})),r.d(e,"q",(function(){return K})),r.d(e,"n",(function(){return N})),r.d(e,"o",(function(){return Q})),r.d(e,"p",(function(){return R})),r.d(e,"A",(function(){return U})),r.d(e,"R",(function(){return V})),r.d(e,"S",(function(){return X})),r.d(e,"C",(function(){return Y}));var n=r("b6bd");function o(){return Object(n.a)({url:"work/tree",method:"get"})}function u(){return Object(n.a)({url:"work/label",method:"get"})}function a(){return Object(n.a)({url:"work/synchMember",method:"post"})}function c(){return Object(n.a)({url:"work/channel/cate",method:"get"})}function i(){return Object(n.a)({url:"work/channel/cate/create",method:"get"})}function l(t){return Object(n.a)({url:"/work/channel/cate/".concat(t,"/edit"),method:"get"})}function d(t){return Object(n.a)({url:"/work/channel/cate/".concat(t),method:"delete"})}function s(t){return Object(n.a)({url:"work/channel/code",method:"get",params:t})}function m(t){return Object(n.a)({url:"work/channel/code",method:"post",data:t})}function f(t){return Object(n.a)({url:"work/channel/code/".concat(t),method:"get"})}function h(t){return Object(n.a)({url:"work/channel/code/client",method:"get",params:t})}function p(t,e){return Object(n.a)({url:"work/channel/code/".concat(t),method:"put",data:e})}function b(t){return Object(n.a)({url:"work/channel/code/bactch/cate",method:"post",data:t})}function g(){return Object(n.a)({url:"work/department",method:"get"})}function w(t){return Object(n.a)({url:"work/member",method:"get",params:t})}function O(t){return Object(n.a)({url:"work/group_chat",method:"get",params:t})}function k(){return Object(n.a)({url:"work/group_chat/synch",method:"post"})}function j(t){return Object(n.a)({url:"work/welcome",method:"post",data:t})}function _(t){return Object(n.a)({url:"work/welcome",method:"get",params:t})}function v(t){return Object(n.a)({url:"work/welcome/".concat(t),method:"get"})}function y(t,e){return Object(n.a)({url:"work/welcome/".concat(t),method:"put",data:e})}function D(t){return Object(n.a)({url:"work/group_chat_auth",method:"post",data:t})}function P(t){return Object(n.a)({url:"work/group_chat_auth",method:"get",params:t})}function C(t){return Object(n.a)({url:"work/group_chat_auth/".concat(t),method:"get"})}function L(t,e){return Object(n.a)({url:"work/group_chat_auth/".concat(t),method:"put",data:e})}function F(t){return Object(n.a)({url:"work/client",method:"get",params:t})}function M(t){return Object(n.a)({url:"work/group_chat/member",method:"get",params:t})}function W(){return Object(n.a)({url:"work/client/synch",method:"get"})}function E(t){return Object(n.a)({url:"work/group_chat/statistics",method:"get",params:t})}function $(t){return Object(n.a)({url:"work/group_chat/statisticsList",method:"get",params:t})}function x(t){return Object(n.a)({url:"work/group_template",method:"get",params:t})}function S(t){return Object(n.a)({url:"work/group_template",method:"post",data:t})}function J(t){return Object(n.a)({url:"work/group_template/".concat(t),method:"get"})}function T(t){return Object(n.a)({url:"work/moment",method:"get",params:t})}function z(t){return Object(n.a)({url:"/work/moment",method:"post",data:t})}function A(t){return Object(n.a)({url:"work/group_template_chat",method:"get",params:t})}function B(t){return Object(n.a)({url:"work/group_template_chat",method:"post",data:t})}function I(t){return Object(n.a)({url:"work/group_template_chat/".concat(t),method:"get"})}function q(t){return Object(n.a)({url:"work/group_template/sendMessage",method:"post",data:t})}function G(t){return Object(n.a)({url:"work/client/count",method:"post",data:t})}function H(t,e){return Object(n.a)({url:"work/group_template/memberList/".concat(t),method:"get",params:e})}function K(t,e){return Object(n.a)({url:"work/group_template/clientList/".concat(t),method:"get",params:e})}function N(t,e){return Object(n.a)({url:"work/group_template_chat/groupChatList/".concat(t),method:"get",params:e})}function Q(t,e){return Object(n.a)({url:"work/group_template_chat/groupChatOwnerList/".concat(t),method:"get",params:e})}function R(t){return Object(n.a)({url:"work/group_template_chat/getOwnerChatList",method:"get",params:t})}function U(t){return Object(n.a)({url:"work/client/batchLabel",method:"post",data:t})}function V(t){return Object(n.a)({url:"work/moment/".concat(t),method:"get"})}function X(t){return Object(n.a)({url:"work/moment_list",method:"get",params:t})}function Y(t,e){return Object(n.a)({url:"work/client/".concat(t),method:"put",data:e})}},cd5d:function(t,e,r){"use strict";r.r(e);var n=r("2f62"),o=r("9b41"),u=r("d708");function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var i={name:"",data:function(){return{roterPre:u.a.roterPre,loading:!1,formInline:{},columns1:[{title:"欢迎语内容",key:"content",minWidth:80},{title:"类型",slot:"type",minWidth:80},{title:"排序",key:"sort",minWidth:80},{title:"创建时间",key:"create_time",minWidth:130},{title:"操作",slot:"action",minWidth:130}],tableData:[],grid:{xl:7,lg:10,md:12,sm:24,xs:24},tableFrom:{page:1,limit:15},total:0}},computed:function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(r,!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(r).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},Object(n.e)("admin/layout",["isMobile"]),{labelWidth:function(){return this.isMobile?void 0:80},labelPosition:function(){return this.isMobile?"top":"left"}}),created:function(){this.getList()},methods:{editData:function(t,e){this.$router.push({path:this.roterPre+"/work/addWelcome/"+t.id})},delData:function(t,e){var r=this,n={title:"删除欢迎语",num:e,url:"/work/welcome/".concat(t.id),method:"DELETE",ids:""};this.$modalSure(n).then((function(t){r.$Message.success(t.msg),r.tableData.list.splice(e,1),r.tableData.list.length||(r.tableFrom.page=1==r.tableFrom.page?1:r.tableFrom.page-1),r.getList()})).catch((function(t){r.$Message.error(t.msg)}))},getList:function(){var t=this;this.loading=!0,Object(o.h)(this.tableFrom).then((function(e){t.tableData=e.data,t.loading=!1})).catch((function(e){t.$Message.error(e.msg),t.loading=!1}))},pageChange:function(t){this.tableFrom.page=t,this.getList()}}},l=(r("183c"),r("2877")),d=Object(l.a)(i,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[r("Alert",{attrs:{closable:"","show-icon":""}},[r("p",[t._v("1、欢迎语又称新好友自动回复,此处可添加文字、图片、图文链接及小程序,客户来了不用担心冷场!")]),r("p",[t._v("2、每个企业成员均可以拥有不同的欢迎语。当通用的欢迎语和个人专属的欢迎语并存的情况下,优先自动回复个人专属的欢迎语。")]),r("p",[t._v("3、如果企业在企业微信后台为相关成员配置了可用的欢迎语,使用第三方系统配置欢迎语,则均不起效,推送的还是企业微信官方的。")])])],1),r("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[r("div",{staticClass:"acea-row"},[r("router-link",{attrs:{to:t.roterPre+"/work/addWelcome"}},[r("Button",{attrs:{type:"primary"}},[t._v("新建欢迎语")])],1)],1),r("Table",{ref:"selection",staticClass:"ivu-mt",attrs:{columns:t.columns1,data:t.tableData.list,loading:t.loading},scopedSlots:t._u([{key:"type",fn:function(e){var n=e.row;return[r("span",[t._v(t._s(n.type?"指定员工":"通用"))])]}},{key:"action",fn:function(e){var n=e.row,o=e.index;return[r("a",{on:{click:function(e){return t.editData(n,o)}}},[t._v("编辑")]),r("Divider",{attrs:{type:"vertical"}}),r("a",{on:{click:function(e){return t.delData(n,o)}}},[t._v("删除")])]}}])}),r("div",{staticClass:"acea-row row-right page"},[r("Page",{attrs:{total:t.tableData.count,current:t.tableFrom.page,"show-elevator":"","show-total":"","page-size":t.tableFrom.limit},on:{"on-change":t.pageChange}})],1)],1)],1)}),[],!1,null,"1478af25",null);e.default=d.exports}}]);