You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
10 KiB
1 lines
10 KiB
(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-79c67392"],{"03c3":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 c})),r.d(e,"y",(function(){return a})),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 f})),r.d(e,"k",(function(){return m})),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 j})),r.d(e,"W",(function(){return k})),r.d(e,"h",(function(){return y})),r.d(e,"g",(function(){return _})),r.d(e,"t",(function(){return v})),r.d(e,"m",(function(){return P})),r.d(e,"c",(function(){return D})),r.d(e,"b",(function(){return C})),r.d(e,"a",(function(){return L})),r.d(e,"i",(function(){return S})),r.d(e,"d",(function(){return F})),r.d(e,"D",(function(){return M})),r.d(e,"H",(function(){return W})),r.d(e,"I",(function(){return E})),r.d(e,"f",(function(){return x})),r.d(e,"N",(function(){return $})),r.d(e,"M",(function(){return T})),r.d(e,"l",(function(){return J})),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 N})),r.d(e,"B",(function(){return q})),r.d(e,"r",(function(){return G})),r.d(e,"q",(function(){return H})),r.d(e,"n",(function(){return K})),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 c(){return Object(n.a)({url:"work/synchMember",method:"post"})}function a(){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 f(t){return Object(n.a)({url:"work/channel/code",method:"post",data:t})}function m(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 j(){return Object(n.a)({url:"work/group_chat/synch",method:"post"})}function k(t){return Object(n.a)({url:"work/welcome",method:"post",data:t})}function y(t){return Object(n.a)({url:"work/welcome",method:"get",params:t})}function _(t){return Object(n.a)({url:"work/welcome/".concat(t),method:"get"})}function v(t,e){return Object(n.a)({url:"work/welcome/".concat(t),method:"put",data:e})}function P(t){return Object(n.a)({url:"work/group_chat_auth",method:"post",data:t})}function D(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 S(t){return Object(n.a)({url:"work/client",method:"get",params:t})}function F(t){return Object(n.a)({url:"work/group_chat/member",method:"get",params:t})}function M(){return Object(n.a)({url:"work/client/synch",method:"get"})}function W(t){return Object(n.a)({url:"work/group_chat/statistics",method:"get",params:t})}function E(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 $(t){return Object(n.a)({url:"work/group_template",method:"post",data:t})}function T(t){return Object(n.a)({url:"work/group_template/".concat(t),method:"get"})}function J(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 N(t){return Object(n.a)({url:"work/group_template/sendMessage",method:"post",data:t})}function q(t){return Object(n.a)({url:"work/client/count",method:"post",data:t})}function G(t,e){return Object(n.a)({url:"work/group_template/memberList/".concat(t),method:"get",params:e})}function H(t,e){return Object(n.a)({url:"work/group_template/clientList/".concat(t),method:"get",params:e})}function K(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 c(t){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}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 i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=c(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==c(e)?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var d={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:i(i({},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()}}},s=(r("e00a"),r("2877")),f=Object(s.a)(d,(function(){var t=this,e=t._self._c;return e("div",[e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[e("Alert",{attrs:{closable:"","show-icon":""}},[e("p",[t._v("1、欢迎语又称新好友自动回复,此处可添加文字、图片、图文链接及小程序,客户来了不用担心冷场!")]),e("p",[t._v("2、每个企业成员均可以拥有不同的欢迎语。当通用的欢迎语和个人专属的欢迎语并存的情况下,优先自动回复个人专属的欢迎语。")]),e("p",[t._v("3、如果企业在企业微信后台为相关成员配置了可用的欢迎语,使用第三方系统配置欢迎语,则均不起效,推送的还是企业微信官方的。")])])],1),e("Card",{staticClass:"ivu-mt",attrs:{bordered:!1,"dis-hover":""}},[e("div",{staticClass:"acea-row"},[e("router-link",{attrs:{to:"".concat(t.roterPre,"/work/addWelcome")}},[e("Button",{attrs:{type:"primary"}},[t._v("新建欢迎语")])],1)],1),e("Table",{ref:"selection",staticClass:"ivu-mt",attrs:{columns:t.columns1,data:t.tableData.list,loading:t.loading},scopedSlots:t._u([{key:"type",fn:function(r){var n=r.row;return[e("span",[t._v(t._s(n.type?"指定员工":"通用"))])]}},{key:"action",fn:function(r){var n=r.row,o=r.index;return[e("a",{on:{click:function(e){return t.editData(n,o)}}},[t._v("编辑")]),e("Divider",{attrs:{type:"vertical"}}),e("a",{on:{click:function(e){return t.delData(n,o)}}},[t._v("删除")])]}}])}),e("div",{staticClass:"acea-row row-right page"},[e("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=f.exports},e00a:function(t,e,r){"use strict";r("03c3")}}]); |