Commit 3972a94f by chenxianqi

支持双端登陆

parent 53db5968
Showing with 577 additions and 250 deletions
......@@ -173,6 +173,6 @@ GO 》》》》》 [小米开放平台][6]
[14]: http://kf.aissz.com:666/static/app/linux-0.0.1.AppImage
[15]: http://kf.aissz.com:666/static/app/app-release.apk
[16]: https://github.com/chenxianqi/kefu_workbench
[17]: http://qiniu.cmp520.com/kefu_workbench.apk
[17]: http://kf.aissz.com:666/static/app/kefu_workbench.apk
......@@ -24,12 +24,17 @@ type AdminController struct {
func (c *AdminController) GetMeInfo() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "查询失败,用户不存在", err)
} else {
admin.Password = "******"
admin.Token = "******"
c.Data["json"] = utils.ResponseSuccess(c.Ctx, "查询成功!", &admin)
}
c.ServeJSON()
......@@ -40,8 +45,18 @@ func (c *AdminController) Get() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
if err := o.Read(&_admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "查询失败,用户不存在", err)
c.ServeJSON()
return
}
id, _ := strconv.ParseInt(c.Ctx.Input.Param(":id"), 10, 64)
......@@ -56,7 +71,6 @@ func (c *AdminController) Get() {
c.Data["json"] = utils.ResponseError(c.Ctx, "查询失败,用户不存在", err)
} else {
admin.Password = "******"
admin.Token = "******"
c.Data["json"] = utils.ResponseSuccess(c.Ctx, "查询成功!", &admin)
}
c.ServeJSON()
......@@ -67,8 +81,12 @@ func (c *AdminController) Put() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
// get request
admin := models.Admin{}
......@@ -81,14 +99,15 @@ func (c *AdminController) Put() {
}
// admin exist
if err := o.Read(&models.Admin{ID: admin.ID}); err != nil {
_oldAdmin := models.Admin{ID: _auth.UID}
if err := o.Read(&_oldAdmin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "更新失败,用户不存在", err)
c.ServeJSON()
return
}
// is admin
if _admin.ID != admin.ID && _admin.Root != 1 {
if _auth.UID != admin.ID && _oldAdmin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限修改该客服资料!", nil)
c.ServeJSON()
return
......@@ -112,11 +131,9 @@ func (c *AdminController) Put() {
// update
if _, err := o.Update(&admin, "Phone", "NickName", "UpdateAt", "Avatar", "AutoReply"); err != nil {
logs.Error(err)
c.Data["json"] = utils.ResponseError(c.Ctx, "更新失败", err)
} else {
admin.Password = "******"
admin.Token = "******"
c.Data["json"] = utils.ResponseSuccess(c.Ctx, "更新成功!", &admin)
}
c.ServeJSON()
......@@ -129,8 +146,18 @@ func (c *AdminController) Post() {
// is admin ?
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
if err := o.Read(&_admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "更新失败,用户不存在", err)
c.ServeJSON()
return
}
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限添加用户", nil)
c.ServeJSON()
......@@ -199,8 +226,14 @@ func (c *AdminController) Delete() {
id, _ := strconv.ParseInt(c.Ctx.Input.Param(":id"), 10, 64)
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限删除客服!", nil)
c.ServeJSON()
......@@ -249,7 +282,6 @@ func (c *AdminController) List() {
// request body
var paginationData AdminPaginationData
if err := json.Unmarshal(c.Ctx.Input.RequestBody, &paginationData); err != nil {
logs.Error(err)
c.Data["json"] = utils.ResponseError(c.Ctx, "参数错误!", err)
c.ServeJSON()
return
......@@ -276,7 +308,6 @@ func (c *AdminController) List() {
}
total, _ := qs.Count()
for index := range lists {
lists[index].Token = "******"
lists[index].Password = "******"
}
paginationData.Total = total
......@@ -307,8 +338,14 @@ func (c *AdminController) UpdatePassword() {
// get token
token := c.Ctx.Input.Header("Authorization")
oldAdmin := models.Admin{Token: token}
_ = o.Read(&oldAdmin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
oldAdmin := models.Admin{ID: _auth.UID}
_ = o.Read(&oldAdmin)
// validation
valid := validation.Validation{}
......@@ -376,8 +413,14 @@ func (c *AdminController) ChangeCurrentUser() {
// get admin token
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
_ = o.Read(&admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
_ = o.Read(&admin)
uid, _ := strconv.ParseInt(c.Ctx.Input.Param(":id"), 10, 64)
user := models.User{ID: uid}
......@@ -411,8 +454,15 @@ func (c *AdminController) Online() {
online = 0
}
admin := models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "客服不存在!", err)
c.ServeJSON()
return
......
......@@ -6,9 +6,9 @@ import (
"encoding/json"
"kefu_server/models"
"kefu_server/utils"
"time"
"github.com/astaxie/beego"
"github.com/astaxie/beego/logs"
"github.com/astaxie/beego/orm"
"github.com/astaxie/beego/validation"
)
......@@ -18,26 +18,32 @@ type AuthController struct {
beego.Controller
}
// LoginRequest login
// auth_type 登录客户端标识ID
// username 用户名
// password 密码
type LoginRequest struct {
AuthType int64 `json:"auth_type"`
UserName string `json:"username"`
Password string `ojson:"password"`
}
// Login admin login
func (c *AuthController) Login() {
var admin models.Admin
var loginRequest LoginRequest
valid := validation.Validation{}
if err := json.Unmarshal(c.Ctx.Input.RequestBody, &admin); err != nil {
logs.Error(err)
if err := json.Unmarshal(c.Ctx.Input.RequestBody, &loginRequest); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "参数错误", nil)
c.ServeJSON()
return
}
// MD5
m5 := md5.New()
m5.Write([]byte(admin.Password))
admin.Password = hex.EncodeToString(m5.Sum(nil))
// valid
valid.Required(admin.UserName, "username").Message("用户名不能为空!")
valid.Required(admin.Password, "password").Message("密码不能为空!")
valid.Required(loginRequest.UserName, "username").Message("用户名不能为空!")
valid.Required(loginRequest.Password, "password").Message("密码不能为空!")
valid.Required(loginRequest.AuthType, "auth_type").Message("登录客户端标识auth_type不能为空!")
if valid.HasErrors() {
......@@ -50,29 +56,52 @@ func (c *AuthController) Login() {
}
// else if queryAdmin.Token != "" {
// c.Data["json"] = utils.ResponseError(c.Ctx, "该用户已登录,请稍后再试哦!", nil)
// }
// MD5
m5 := md5.New()
m5.Write([]byte(loginRequest.Password))
loginRequest.Password = hex.EncodeToString(m5.Sum(nil))
o := orm.NewOrm()
queryAdmin := models.Admin{UserName: admin.UserName}
/// auth_type exist ?
authType := models.AuthTypes{ID: loginRequest.AuthType}
if err := o.Read(&authType); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "客户端标识不存在!", nil)
c.ServeJSON()
return
}
queryAdmin := models.Admin{UserName: loginRequest.UserName}
err := o.Read(&queryAdmin, "UserName")
if err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "用户不存在!", nil)
} else if queryAdmin.Password != admin.Password {
} else if queryAdmin.Password != loginRequest.Password {
c.Data["json"] = utils.ResponseError(c.Ctx, "密码错误!", nil)
} else if admin.UserName != queryAdmin.UserName {
} else if loginRequest.UserName != queryAdmin.UserName {
c.Data["json"] = utils.ResponseError(c.Ctx, "用户不存在!", nil)
} else {
queryAdmin.Token = utils.GenerateToken(queryAdmin)
_, err := o.Update(&queryAdmin, "Token")
queryAdmin.Password = ""
if err != nil {
logs.Error(err)
c.Data["json"] = utils.ResponseError(c.Ctx, "登录失败,请稍后再试!", queryAdmin)
newToken := utils.GenerateToken(models.JwtKey{ID: queryAdmin.ID, UserName: queryAdmin.UserName, AuthType: authType.ID})
auth := models.Auths{}
as := o.QueryTable(auth)
if err := as.Filter("auth_type", loginRequest.AuthType).Filter("uid", queryAdmin.ID).One(&auth); err != nil {
auth.Token = newToken
auth.UID = queryAdmin.ID
auth.AuthType = authType.ID
auth.UpdateAt = time.Now().Unix()
auth.CreateAt = time.Now().Unix()
if _, err := o.Insert(&auth); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录失败", &err)
c.ServeJSON()
return
}
} else {
c.Data["json"] = utils.ResponseSuccess(c.Ctx, "登录成功!", queryAdmin)
auth.Token = newToken
auth.UpdateAt = time.Now().Unix()
o.Update(&auth)
}
queryAdmin.Password = ""
queryAdmin.Token = newToken
c.Data["json"] = utils.ResponseSuccess(c.Ctx, "登录成功!", queryAdmin)
}
c.ServeJSON()
......@@ -82,17 +111,25 @@ func (c *AuthController) Login() {
func (c *AuthController) Logout() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
_ = o.Read(&admin, "Token")
admin.Token = ""
admin.CurrentConUser = 0
admin.Online = 0
if _, err := o.Update(&admin); err != nil {
logs.Error(err)
c.Data["json"] = utils.ResponseError(c.Ctx, "退出失败!", nil)
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
qs := o.QueryTable(models.Auths{})
if count, _ := qs.Filter("uid", _auth.UID).Count(); count <= 1 {
admin := models.Admin{ID: _auth.UID}
_ = o.Read(&admin)
admin.CurrentConUser = 0
admin.Online = 0
if _, err := o.Update(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "退出失败!", nil)
c.ServeJSON()
return
}
}
o.Delete(&_auth)
c.Data["json"] = utils.ResponseSuccess(c.Ctx, "退出成功!", nil)
c.ServeJSON()
}
......@@ -21,8 +21,14 @@ func (c *ContactController) GetContacts() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
_ = o.Read(&admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
_ = o.Read(&admin)
var contactData []models.ContactData
rCount, err := o.Raw("SELECT c.id AS cid,c.to_account,c.is_session_end, c.last_message,c.last_message_type,c.from_account, c.create_at AS contact_create_at,u.*, IFNULL(m.`count`,0) AS `read` FROM `contact` c LEFT JOIN `user` u ON c.from_account = u.id LEFT JOIN (SELECT to_account,from_account, COUNT(*) as `count` FROM message WHERE `read` = 1 GROUP BY to_account,from_account) m ON m.to_account = c.to_account AND m.from_account = c.from_account WHERE c.to_account = ? AND c.delete = 0 ORDER BY c.create_at DESC", admin.ID).QueryRows(&contactData)
if err != nil {
......@@ -50,8 +56,16 @@ func (c *ContactController) Delete() {
id, _ := strconv.ParseInt(c.Ctx.Input.Param(":id"), 10, 64)
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
_ = o.Read(&admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
_ = o.Read(&admin)
res, _ := o.Raw("UPDATE `contact` SET `delete` = 1 WHERE id = ? AND to_account = ?", id, admin.ID).Exec()
if rowsAffected, _ := res.RowsAffected(); rowsAffected == 0 {
c.Data["json"] = utils.ResponseError(c.Ctx, "删除失败!", nil)
......@@ -68,8 +82,15 @@ func (c *ContactController) Clear() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
_ = o.Read(&admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
_ = o.Read(&admin)
res, _ := o.Raw("UPDATE `contact` SET `delete` = 1 WHERE to_account = ?", admin.ID).Exec()
if rowsAffected, _ := res.RowsAffected(); rowsAffected == 0 {
c.Data["json"] = utils.ResponseError(c.Ctx, "清空失败!", nil)
......
......@@ -30,8 +30,14 @@ func (c *HomeController) Statistical() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "查询失败,用户不存在", err)
c.ServeJSON()
return
......@@ -110,8 +116,14 @@ func (c *HomeController) TodayActionStatistical() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "查询失败,用户不存在", err)
c.ServeJSON()
return
......
......@@ -37,8 +37,14 @@ func (c *MessageController) List() {
if messagePaginationData.Service == 0 {
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "查询失败,用户不存在", err)
c.ServeJSON()
return
......@@ -107,6 +113,9 @@ func (c *MessageController) List() {
payload, _ := base64.StdEncoding.DecodeString(msg.Payload)
messages[index].Payload = string(payload)
}
if len(im.Robots) > 0 {
im.PushNewContacts(serviceID, im.Robots[0])
}
c.Data["json"] = utils.ResponseSuccess(c.Ctx, "查询成功!", &messagePaginationData)
c.ServeJSON()
}
......@@ -115,14 +124,21 @@ func (c *MessageController) List() {
type RemoveRequestData struct {
FromAccount int64 `json:"from_account"`
ToAccount int64 `json:"to_account"`
Key int64 `json:"key"`
Key int64 `json:"key"`
}
// Remove one message
func (c *MessageController) Remove() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "无权限操作", err)
c.ServeJSON()
return
......@@ -151,9 +167,9 @@ func (c *MessageController) Remove() {
}
_, err := o.Raw("UPDATE message SET `delete` = 1 WHERE from_account = ? AND to_account = ? AND `key` = ?", removeRequestData.FromAccount, removeRequestData.ToAccount, removeRequestData.Key).Exec()
if err != nil{
if err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "删除失败!", &err)
}else{
} else {
c.Data["json"] = utils.ResponseSuccess(c.Ctx, "删除成功", nil)
}
c.ServeJSON()
......@@ -170,8 +186,14 @@ func (c *MessageController) Transfer() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "查询失败,用户不存在", err)
c.ServeJSON()
return
......@@ -242,8 +264,8 @@ func (c *MessageController) Transfer() {
im.MessageInto(message, true)
// send to user
message.ToAccount = transferRequestData.UserAccount
message.FromAccount = robotID
message.ToAccount = transferRequestData.UserAccount
message.Delete = 1
message.Payload = string(toAdminJSON)
messageJSONThree, _ := json.Marshal(message)
......
......@@ -37,8 +37,14 @@ func (c *PlatformController) Put() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
// is admin ?
if _admin.Root != 1 {
......@@ -111,8 +117,14 @@ func (c *PlatformController) Post() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限添加平台!", nil)
c.ServeJSON()
......@@ -173,8 +185,14 @@ func (c *PlatformController) Delete() {
o := orm.NewOrm()
id, _ := strconv.ParseInt(c.Ctx.Input.Param(":id"), 10, 64)
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限删除平台!", nil)
c.ServeJSON()
......
......@@ -117,8 +117,14 @@ func (c *PublicController) Register() {
token := c.Ctx.Input.Header("Authorization")
// admin
admin = models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "客服不存在!", err)
c.ServeJSON()
return
......@@ -327,8 +333,14 @@ func (c *PublicController) LastActivity() {
// token
token := c.Ctx.Input.Header("Authorization")
admin := models.Admin{Token: token}
if err := o.Read(&admin, "Token"); err != nil {
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
admin := models.Admin{ID: _auth.UID}
if err := o.Read(&admin); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "用户不存在!", nil)
c.ServeJSON()
return
......@@ -450,14 +462,14 @@ func (c *PublicController) GetMessageHistoryList() {
messagePaginationData := models.MessagePaginationData{}
if err := json.Unmarshal(c.Ctx.Input.RequestBody, &messagePaginationData); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "参数错误!", nil)
c.Data["json"] = utils.ResponseError(c.Ctx, "参数错误1!", nil)
c.ServeJSON()
return
}
token := c.Ctx.Input.Header("token")
if token == "" {
c.Data["json"] = utils.ResponseError(c.Ctx, "参数错误!", nil)
c.Data["json"] = utils.ResponseError(c.Ctx, "参数错误2!", nil)
c.ServeJSON()
return
}
......
......@@ -22,8 +22,14 @@ func (c *QiniuController) Get() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限获取配置!", nil)
......@@ -57,8 +63,14 @@ func (c *QiniuController) Put() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限设置!", nil)
c.ServeJSON()
......
......@@ -45,8 +45,14 @@ func (c *RobotController) Delete() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限删除机器人!", nil)
c.ServeJSON()
......@@ -85,8 +91,14 @@ func (c *RobotController) Post() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限添加机器人!", nil)
c.ServeJSON()
......@@ -154,8 +166,14 @@ func (c *RobotController) Put() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限修改机器人!", nil)
c.ServeJSON()
......
......@@ -23,8 +23,14 @@ type ShortcutController struct {
func (c *ShortcutController) Get() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
id, _ := strconv.ParseInt(c.Ctx.Input.Param(":id"), 10, 64)
shortcut := models.Shortcut{ID: id}
......@@ -50,8 +56,14 @@ func (c *ShortcutController) Put() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
// request body
shortcut := models.Shortcut{}
......@@ -100,8 +112,14 @@ func (c *ShortcutController) Post() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
// request body
var shortcut models.Shortcut
......@@ -149,8 +167,14 @@ func (c *ShortcutController) Delete() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
id, _ := strconv.ParseInt(c.Ctx.Input.Param(":id"), 10, 64)
......@@ -180,8 +204,14 @@ func (c *ShortcutController) List() {
qs := o.QueryTable(shortcut)
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
// query
var lists []models.Shortcut
......
......@@ -47,8 +47,14 @@ func (c *SystemController) Put() {
o := orm.NewOrm()
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限修改系统设置!", nil)
c.ServeJSON()
......
......@@ -86,8 +86,14 @@ func (c *UserController) Delete() {
// is admin ?
token := c.Ctx.Input.Header("Authorization")
_admin := models.Admin{Token: token}
_ = o.Read(&_admin, "Token")
_auth := models.Auths{Token: token}
if err := o.Read(&_auth, "Token"); err != nil {
c.Data["json"] = utils.ResponseError(c.Ctx, "登录已失效!", nil)
c.ServeJSON()
return
}
_admin := models.Admin{ID: _auth.UID}
_ = o.Read(&_admin)
if _admin.Root != 1 {
c.Data["json"] = utils.ResponseError(c.Ctx, "您没有权限删除用户!", nil)
c.ServeJSON()
......
......@@ -36,11 +36,11 @@ var FilterToken = func(ctx *context.Context) {
err401(ctx)
return
}
o := orm.NewOrm()
auth := models.Auths{Token: oldToken}
if isExistInSlice == false && oldToken != "" {
token := strings.Split(oldToken, " ")[1]
admin := models.Admin{Token: oldToken}
o := orm.NewOrm()
if err := o.Read(&admin, "Token"); err != nil {
if err := o.Read(&auth, "Token"); err != nil {
err401(ctx)
return
}
......@@ -65,6 +65,8 @@ var FilterToken = func(ctx *context.Context) {
// 该换token了
if time.Now().Unix()+60*60*2 >= exp {
if newToken, err := utils.RefreshToken(token); err == nil {
auth.Token = newToken
o.Update(&auth)
ctx.Output.Header("Authorization", newToken)
}
}
......
......@@ -88,6 +88,10 @@ func MessageP2P(message models.Message) {
if isKF {
PushNewContacts(intoMessage.ToAccount, robot)
}
admin1 := models.Admin{ID: intoMessage.FromAccount}
if err := o.Read(&admin1); err == nil {
PushNewContacts(intoMessage.FromAccount, robot)
}
return
}
......@@ -197,17 +201,14 @@ func MessageP2P(message models.Message) {
if len(admins) <= 0 {
messageContent = robotData.NoServices
} else {
bizType = "transfer"
// 平均分配客服
admin := admins[0]
callbackMessage.TransferAccount = admin.ID
adminDataJSON, _ := json.Marshal(adminData{ID: admin.ID, NickName: admin.NickName, Avatar: admin.Avatar})
messageContent = string(adminDataJSON)
// 设置为已删除消息,避免客服端显示两条消息
callbackMessage.Delete = 1
// 发送一条消息告诉客服端
var newMsgJSON []byte
var newMsgBase64 string
newMsg := models.Message{}
newMsg.BizType = "transfer"
newMsg.FromAccount = message.FromAccount
......@@ -215,19 +216,38 @@ func MessageP2P(message models.Message) {
newMsg.Timestamp = time.Now().Unix()
newMsg.TransferAccount = admin.ID
newMsg.Payload = "系统将客户分配给您"
newMsgJSON, _ := json.Marshal(newMsg)
newMsgBase64 := base64.StdEncoding.EncodeToString([]byte(newMsgJSON))
newMsgJSON, _ = json.Marshal(newMsg)
newMsgBase64 = base64.StdEncoding.EncodeToString([]byte(newMsgJSON))
// 消息入库
MessageInto(newMsg, true)
PushNewContacts(admin.ID, robot)
robot.SendMessage(strconv.FormatInt(admin.ID, 10), []byte(newMsgBase64))
newMsg.FromAccount = robotID
newMsg.ToAccount = message.FromAccount
newMsg.Payload = messageContent
newMsgJSON, _ = json.Marshal(newMsg)
newMsgBase64 = base64.StdEncoding.EncodeToString([]byte(newMsgJSON))
robot.SendMessage(strconv.FormatInt(message.FromAccount, 10), []byte(newMsgBase64))
// 帮助客服发送欢迎语
newMsg.BizType = "text"
newMsg.Payload = admin.AutoReply
newMsg.ToAccount = message.FromAccount
newMsg.FromAccount = admin.ID
newMsgJSON, _ = json.Marshal(newMsg)
newMsgBase64 = base64.StdEncoding.EncodeToString([]byte(newMsgJSON))
// 发给用户
// 消息入库
MessageInto(newMsg, true)
robot.SendMessage(strconv.FormatInt(admin.ID, 10), []byte(newMsgBase64))
robot.SendMessage(strconv.FormatInt(message.FromAccount, 10), []byte(newMsgBase64))
PushNewContacts(admin.ID, robot)
// 转接入库用于统计服务次数
servicesStatistical := models.ServicesStatistical{UserAccount: message.FromAccount, ServiceAccount: admin.ID, Platform: message.Platform, TransferAccount: robotID, CreateAt: time.Now().Unix()}
_, _ = o.Insert(&servicesStatistical)
return
}
// 不符合去查知识库
......
......@@ -20,7 +20,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n\t\"username\": \"cmp_keith\",\n\t\"password\": \"sr19890204\"\n}"
"raw": "{\n\t\"auth_type\": 3,\n\t\"username\": \"cmp_keith\",\n\t\"password\": \"qwe123456\"\n}\t"
},
"url": {
"raw": "{{HOST}}/v1/auth/login",
......@@ -50,6 +50,11 @@
"name": "Content-Type",
"type": "text",
"value": "application/json"
},
{
"key": "Authorization",
"value": "{{TOKEN}}",
"type": "text"
}
],
"body": {
......@@ -302,7 +307,7 @@
}
],
"url": {
"raw": "{{HOST}}/v1/admin/online/1",
"raw": "{{HOST}}/v1/admin/online/0",
"host": [
"{{HOST}}"
],
......@@ -310,10 +315,10 @@
"v1",
"admin",
"online",
"1"
"0"
]
},
"description": "获取当前登录用户信息"
"description": "更新用户状态"
},
"response": []
},
......@@ -343,7 +348,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"old_password\": \"q123456\",\n \"new_password\": \"123456\",\n \"enter_password\": \"123456\"\n}"
"raw": "{\n \"old_password\": \"qwe123456\",\n \"new_password\": \"chenxinqi\",\n \"enter_password\": \"chenxinqi\"\n}"
},
"url": {
"raw": "{{HOST}}/v1/admin/password",
......@@ -508,7 +513,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"page_on\": 1,\n \"page_size\": 10\n}"
"raw": "{\n \"page_on\": 3,\n \"page_size\": 10\n}"
},
"url": {
"raw": "{{HOST}}/v1/knowledge/list",
......@@ -1017,20 +1022,23 @@
{
"key": "Authorization",
"type": "text",
"value": "{{TOKEN}}",
"disabled": true
"value": "{{TOKEN}}"
},
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json",
"disabled": true
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n\t\"type\": 0,\n\t\"uid\": 0,\n\t\"address\": \"广州\",\n\t\"platform\": 2,\n\t\"account_id\": 10186\n}\n"
"raw": "{\n\t\"type\": 1,\n\t\"uid\": 0,\n\t\"address\": \"广州\",\n\t\"platform\": 2,\n\t\"account_id\": 100\n}\n",
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "{{HOST}}/v1/public/register",
......@@ -1281,7 +1289,7 @@
"10637"
]
},
"description": "查询多少人在线"
"description": "设置用户是否在窗口页面"
},
"response": []
},
......@@ -1308,7 +1316,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"platform\": 0\n}"
"raw": ""
},
"url": {
"raw": "{{HOST}}/v1/public/clean_read/10652",
......@@ -1322,7 +1330,7 @@
"10652"
]
},
"description": "获取用户新消息统计"
"description": "清除未读消息"
},
"response": []
},
......@@ -1350,7 +1358,7 @@
{
"key": "file",
"type": "file",
"src": "/Users/chenxianqi/Downloads/avatar_default.png"
"src": "/Users/chenxianqi/Downloads/未标题-1.jpg"
},
{
"key": "file_name",
......@@ -1382,7 +1390,7 @@
{
"key": "token",
"type": "text",
"value": "bJRLeg7AgtSh0T13YjL/IFDdK0JTjCJG4KdSfB9L7c0N56uq0EiflNyh2H5qmlOwqeOEcudSjEicejSfy+BJz2ui/bkYYYPpT9rKkuChjVDMAXpIv1L7ItYzsCaYjygYQD/FuVQ+0xiiFJqDudzL2vHwjH/X7NJbH7JCqycZkfW1zemCFfMmd2X/MaLFoNJViuwJ2SSX9LBI38wn1xjcB5vdf/iemXgkphP/681AbulvHLRLZ66k+UlpgCdSARnyRYH9FpopjYrwJP3szMd6RU0It7bQ5/sveyu7f/+hKdXvxQOCwP/Kvr6f3GTz8HDk6Q8Mi7sUArG3HKxxpY1Q8ItJk/KjE+pORbjJ9mc5QP7jfqICozzHGsKs30rQVIHn2Rm4HLToaQs9V+58inqH+hwDyomOK4JqKNfY4ZTsWP7k/qUEf4euSwFRp56NyKHjhTG333qEitsojbGZiH3HSg=="
"value": "bJRLeg7AgtSh0T13YjL/IDlYdxk/PPVP4KKNz2PDl7d11RrRYxVB8+c/7AyjzdwfL/rvv7dN8/triQjZFWRqmFdMZ8DkPFpEsyMjItWCNn50DJve6tLvjDdGBAIbTcLOU0fwVzvHtRSM9h/xshqR7+rJ0Gk4mnICBxkVwvcnk6M3eNgHE5nsoCIhgIaMaPhoKFkB8pO+fQOzr5Nc63UMzg9C0ZUMdg9Ih0h3r+p+ylhBGo0M6VcD+PD2L3prD5exiOrLY4v8Dr3cY627TD4iRkTfasSR5JNEP9OVkShKfNOt7kdoFK7zC2L44xKN8WhX4rLVkI1HArB/nfx3NdtG0a3StrqzxDrt+vAnoW4KMvKJ/oMcTc6n5EE6n+B3wc/GdTIByK50wP35nD4dNcGnVsRCu0IwbAsIMxfWeZQRti3bGAv0PEKCeNnA1cT1w/vMopWZ/c8QiDNiO8OOXFd58Q=="
},
{
"key": "Content-Type",
......@@ -1393,7 +1401,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"timestamp\": 1572347076,\n \"page_size\": 10,\n \"account\": 10186\n}"
"raw": "{\n \"timestamp\": 1577627004,\n \"page_size\": 10,\n \"account\": 10246\n}"
},
"url": {
"raw": "{{HOST}}/v1/public/messages",
......@@ -1768,13 +1776,14 @@
"raw": ""
},
"url": {
"raw": "{{HOST}}/v1/qiniu",
"raw": "{{HOST}}/v1/qiniu/",
"host": [
"{{HOST}}"
],
"path": [
"v1",
"qiniu"
"qiniu",
""
]
},
"description": "获取七牛配置信息"
......@@ -1835,7 +1844,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"timestamp\": 1572920587,\n \"page_size\": 10,\n \"account\": 274993,\n \"service\": 101\n}"
"raw": "{\n \"timestamp\": 1578922086,\n \"page_size\": 20,\n \"account\": 10315,\n \"service\": 100\n}"
},
"url": {
"raw": "{{HOST}}/v1/message/list",
......@@ -1853,6 +1862,78 @@
"response": []
},
{
"name": "/v1/message/remove",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"type": "text",
"value": "{{TOKEN}}"
},
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"to_account\": 10315,\n \"from_account\": 100,\n \"key\": 1578841923887\n}"
},
"url": {
"raw": "{{HOST}}/v1/message/remove",
"host": [
"{{HOST}}"
],
"path": [
"v1",
"message",
"remove"
]
},
"description": "移除单条消息"
},
"response": []
},
{
"name": "/v1/message/transfer",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"type": "text",
"value": "{{TOKEN}}"
},
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"to_account\": 100,\n \"user_account\": 10441\n}"
},
"url": {
"raw": "{{HOST}}/v1/message/transfer",
"host": [
"{{HOST}}"
],
"path": [
"v1",
"message",
"transfer"
]
},
"description": "客服端获取聊天记录"
},
"response": []
},
{
"name": "/v1/home/statistical",
"request": {
"method": "POST",
......@@ -1871,7 +1952,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"date_start\": \"2019-08-15\",\n \"date_end\": \"2019-08-20\"\n}"
"raw": "{\n \"date_start\": \"2019-08-20\",\n \"date_end\": \"2019-08-20\"\n}"
},
"url": {
"raw": "{{HOST}}/v1/home/statistical",
......@@ -2017,7 +2098,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"id\": 7,\n \"title\": \"百度小程序\",\n \"alias\": \"baidu\"\n}"
"raw": "{\n \"title\": \"百度小程序\",\n \"alias\": \"baidu\"\n}"
},
"url": {
"raw": "{{HOST}}/v1/platform",
......@@ -2148,42 +2229,6 @@
"response": []
},
{
"name": "/v1/message/transfer",
"request": {
"method": "POST",
"header": [
{
"key": "Authorization",
"type": "text",
"value": "{{TOKEN}}"
},
{
"key": "Content-Type",
"name": "Content-Type",
"type": "text",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"to_account\": 100,\n \"user_account\": 10441\n}"
},
"url": {
"raw": "{{HOST}}/v1/message/transfer",
"host": [
"{{HOST}}"
],
"path": [
"v1",
"message",
"transfer"
]
},
"description": "客服端获取聊天记录"
},
"response": []
},
{
"name": "/v1/contact/clear",
"request": {
"method": "DELETE",
......
......@@ -47,6 +47,8 @@ func initDB() {
orm.RegisterModel(new(models.QiniuSetting))
orm.RegisterModel(new(models.UploadsConfig))
orm.RegisterModel(new(models.ServicesStatistical))
orm.RegisterModel(new(models.AuthTypes))
orm.RegisterModel(new(models.Auths))
// 创建表
_ = orm.RunSyncdb("default", false, true)
......@@ -75,6 +77,7 @@ func appTask() {
o := orm.NewOrm()
// 任务调度(1分钟会执行一次)
checkOnLineTk := toolbox.NewTask("checkOnLine", "0 */1 * * * *", func() error {
im.RobotInit()
userOffLineUnixTimer := time.Now().Unix() - (60 * 10) // 用户最后活动时间T出在线状态规则
adminOffLineUnixTimer := time.Now().Unix() - (60 * 30) // 最后回复消息时间清理回话规则
lastMessageUnixTimer := time.Now().Unix() - (60 * 8) // 判断用户是否超过一定时间不使用,强制其下线
......@@ -165,16 +168,6 @@ func appTask() {
return nil
})
// 任务调度(30分钟会执行一次删除客户token)
// deleteAdminTokenTk := toolbox.NewTask("deleteAdminToken", "0 */30 * * * *", func() error {
// o := o.QueryTable(new(models.Admin))
// o.Update(orm.Params{
// "token": "",
// })
// return nil
// })
// toolbox.AddTask("deleteAdminToken", deleteAdminTokenTk)
toolbox.AddTask("checkOnLine", checkOnLineTk)
}
......
package models
// AuthTypes 登录配置模
type AuthTypes struct {
ID int64 `orm:"auto;pk;column(id)" json:"id"` // ID
Title string `orm:"type(char);column(title)" json:"title"` // 标题
}
package models
// Auths 登录授权信息
type Auths struct {
ID int64 `orm:"auto;pk;column(id)" json:"id"` // 客服(管理员)ID
AuthType int64 `orm:"column(auth_type)" json:"auth_type"` // AuthType登录配置模ID
UID int64 `orm:"column(uid)" json:"uid"` // 用户ID
Token string `orm:"null;type(text);column(token)" json:"token"` // token
UpdateAt int64 `orm:"type(bigint);column(update_at)" json:"update_at"` // 更新时间
CreateAt int64 `orm:"type(bigint);column(create_at)" json:"create_at"` // 创建时间
}
package models
// JwtKey struct
type JwtKey struct {
ID int64
AuthType int64
UserName string
}
.login[data-v-27526a96]{display:-ms-flexbox;display:flex;width:100%;height:100%;background:url(../img/login_bg.8ba760be.jpg) bottom no-repeat;background-size:cover}.login .form[data-v-27526a96]{display:-ms-flexbox;display:flex;overflow:hidden;width:600px;height:300px;background-color:#fff;margin:auto;border-radius:5px}.login .form .left[data-v-27526a96]{width:350px;height:100%;padding:20px;box-sizing:border-box;background:url(../img/login_bg1.531e0c1c.jpg) bottom no-repeat;background-size:cover;font-size:18px;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.login .form .left .tit[data-v-27526a96]{margin-top:50px;border-bottom:1px solid #fff}.login .form .left div[data-v-27526a96]{width:300px;padding-bottom:10px;margin-bottom:10px}.login .form .left span[data-v-27526a96]{font-size:14px}.login .form .left .client[data-v-27526a96]{margin-top:80px}.login .form .left .client button[data-v-27526a96]{margin-top:10px}.login .form .right[data-v-27526a96]{padding:20px;padding-top:50px}.login .form .right .input[data-v-27526a96]{margin-bottom:20px}.login .form .right .btn-group[data-v-27526a96]{margin-top:15px}.login .form .right .lable[data-v-27526a96]{font-size:18px;color:#606266;margin-bottom:15px;display:block}
\ No newline at end of file
.mini-im-button[data-v-3d019866]{height:30px;padding:0 5px;border:0;background-color:#fff;cursor:pointer;color:#666;font-size:12px}.mini-im-button i[data-v-3d019866]{color:#666}.emoji-box[data-v-3d019866]{font-size:20px}.emoji-box span[data-v-3d019866]{cursor:pointer;padding:2px}.mini-im-chat-item[data-v-595d9a46]{padding:10px;cursor:pointer;display:-ms-flexbox;display:flex;border-left:3px solid #fff;border-bottom:1px solid hsla(0,0%,68.6%,.11);position:relative}.mini-im-chat-item[data-v-595d9a46]:hover{border-left:3px solid #ff5722;background-color:#f3f3f3}.mini-im-chat-item:hover .delete_contact[data-v-595d9a46]{display:block}.mini-im-chat-item .mini-im-avatar[data-v-595d9a46]{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-item[data-v-595d9a46]::last-child{border-bottom:0}.mini-im-chat-item .delete_contact[data-v-595d9a46]{position:absolute;left:0;top:0;color:#999;display:none}.mini-im-chat-item .mini-im-message-box[data-v-595d9a46]{width:180px;-ms-flex-positive:1;flex-grow:1;padding:8px 0;padding-left:10px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;box-sizing:border-box;font-size:14px}.mini-im-chat-item .mini-im-message-box .mini-im-nickname[data-v-595d9a46]{font-size:14px;color:#666;font-weight:600;margin-bottom:5px}.mini-im-chat-item .mini-im-message-box .mini-im-nickname .mini-im-online-status[data-v-595d9a46]{font-size:12px;color:#9e9e9e}.mini-im-chat-item .mini-im-message-box .mini-im-nickname .mini-im-online-status.success[data-v-595d9a46]{color:#aadc97}.mini-im-chat-item .mini-im-message-box .mini-im-message-badge[data-v-595d9a46],.mini-im-chat-item .mini-im-message-box .mini-im-user-date[data-v-595d9a46]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.mini-im-chat-item .mini-im-message-box .mini-im-badge[data-v-595d9a46]{width:20px;height:20px;border-radius:100%;background-color:#f56c6c;text-align:center;color:#fff;line-height:20px;font-size:12px;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-item .mini-im-message-box .mini-im-message[data-v-595d9a46]{font-size:13px;color:#999;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-right:5px}.mini-im-chat-item .mini-im-message-box .mini-im-date[data-v-595d9a46]{font-size:12px;color:#999}.mini-im-chat-item-active[data-v-595d9a46]{border-left:3px solid #ff5722;background-color:#f4f5f7}.mini-im-username-component-box{height:100%;overflow:hidden;overflow-y:auto;padding:10px 10px 10px 5px}.mini-im-username-component-box .form-item{margin-top:25px}.mini-im-username-component-box .form-item-readonly input.el-input__inner,.mini-im-username-component-box .form-item-readonly textarea.el-textarea__inner,.mini-im-username-component-box .no-border input.el-input__inner{border:0}.mini-im-username-component{position:absolute;top:10px;right:25px}.mini-im-username-component span{font-size:18px;color:#666}.mini-im-username-component span i{font-size:20px}.mini-im-username-component button{border:0;cursor:pointer}.mini-im-chat-list .mini-im-chat-message-box[data-v-019193ce],.mini-im-chat-list[data-v-019193ce]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-chat-list .mini-im-chat-message-box[data-v-019193ce]{width:100%;margin-bottom:15px}.mini-im-chat-list .mini-im-chat-message-box .user-date[data-v-019193ce]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:#999;font-size:14px}.mini-im-chat-list .mini-im-chat-message-box .user-date span[data-v-019193ce]{color:#666;font-weight:500;font-size:14px;padding:0 5px}.mini-im-chat-list .mini-im-chat-message-box .user-date em[data-v-019193ce]{font-style:normal;font-size:12px}.mini-im-chat-list .mini-im-chat-message-box .loading[data-v-019193ce]{color:#666;display:-ms-flexbox;display:flex;margin-top:5px;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center}.mini-im-chat-list .mini-im-chat-message-box .loading span[data-v-019193ce]{margin-left:5px;font-size:13px}.mini-im-chat-list .mini-im-chat-message-box .text[data-v-019193ce]{display:-ms-flexbox;display:flex;margin-top:5px;word-break:break-all}.mini-im-chat-list .mini-im-chat-message-box .text span[data-v-019193ce]{max-width:40%;display:inline;padding:5px 10px;border-radius:5px;background-color:#eef4f9;font-size:14px;color:#666}.mini-im-chat-list .mini-im-chat-message-box .photo[data-v-019193ce]{display:-ms-flexbox;display:flex;margin-top:5px}.mini-im-chat-list .mini-im-chat-message-box .photo .loading[data-v-019193ce]{-ms-flex-item-align:end;align-self:flex-end;padding:0 5px}.mini-im-chat-list .mini-im-chat-message-box .photo .loading span[data-v-019193ce]{background:none!important;color:#999!important}.mini-im-chat-list .mini-im-chat-message-box .photo .img-content[data-v-019193ce]{border-radius:5px;width:200px;overflow:hidden}.mini-im-chat-list .mini-im-chat-message-box .photo img[data-v-019193ce]{cursor:pointer;width:100%;height:100%;display:inline}.mini-im-chat-list .mini-im-chat-message-box .knowledge[data-v-019193ce]{display:-ms-flexbox;display:flex;margin-top:5px;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-message-box .knowledge .content[data-v-019193ce]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:5px;border-radius:5px;color:#666;text-align:left;background-color:#eef4f9}.mini-im-chat-list .mini-im-chat-message-box .knowledge .content .title[data-v-019193ce]{font-size:13px;font-weight:500}.mini-im-chat-list .mini-im-chat-message-box .knowledge .content .item[data-v-019193ce]{font-size:13px;line-height:22px}.mini-im-chat-list .mini-im-chat-message-box .system[data-v-019193ce]{display:-ms-flexbox;display:flex;margin-top:5px;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.mini-im-chat-list .mini-im-chat-message-box .system em[data-v-019193ce]{margin-top:5px;font-size:12px;color:#999}.mini-im-chat-list .mini-im-chat-message-box .system span[data-v-019193ce]{font-size:12px;max-width:50%;min-width:100px;display:inline;padding:3px 20px;border-radius:5px;text-align:center;background-color:#f2f2f2;color:#999}.mini-im-chat-list .mini-im-chat-message-box.self[data-v-019193ce]{text-align:right}.mini-im-chat-list .mini-im-chat-message-box.self .user-date[data-v-019193ce]{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-message-box.self .user-date span[data-v-019193ce]{-ms-flex-order:-2;order:-2}.mini-im-chat-list .mini-im-chat-message-box.self .user-date em[data-v-019193ce]{-ms-flex-order:-3;order:-3}.mini-im-chat-list .mini-im-chat-message-box.self .photo[data-v-019193ce],.mini-im-chat-list .mini-im-chat-message-box.self .text[data-v-019193ce]{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:end;align-items:flex-end;word-break:break-all}.mini-im-chat-list .mini-im-chat-message-box.self .photo .cancel-btn[data-v-019193ce],.mini-im-chat-list .mini-im-chat-message-box.self .text .cancel-btn[data-v-019193ce]{color:#26a2ff;font-size:12px;margin-right:5px;cursor:pointer}.mini-im-chat-list .mini-im-chat-message-box.self .photo span[data-v-019193ce],.mini-im-chat-list .mini-im-chat-message-box.self .text span[data-v-019193ce]{background-color:rgba(33,150,243,.72);color:#fff;text-align:left}.mini-im-chat-list .mini-im-chat-message-box.self .knowledge>.content[data-v-019193ce]{background-color:rgba(33,150,243,.72);color:#fff}.mini-im-workbench[data-v-19edcbfe]{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-width:1100px}.mini-im-session-list[data-v-19edcbfe]{width:280px;border-radius:5px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%}.mini-im-session-list .mini-im-no-data[data-v-19edcbfe]{text-align:center;padding-top:15px;font-size:14px;color:#666}.mini-im-session-list .title[data-v-19edcbfe]{height:35px;border-radius:5px 5px 0 0;background-color:#f4f5f7;line-height:35px;padding-left:10px;color:#666;font-size:14px;border:1px solid #edf1f5}.mini-im-session-list .title button[data-v-19edcbfe]{border:0;background:none;text-align:right}.mini-im-session-list .title button span>span[data-v-19edcbfe]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}.mini-im-session-list .title button span>span i[data-v-19edcbfe]{font-size:15px}.mini-im-session-list .title button span>span em[data-v-19edcbfe]{margin-left:3px}.mini-im-session-list .title button span>span .el-icon--right[data-v-19edcbfe]{font-size:12px}.mini-im-session-list .mini-im-session-content[data-v-19edcbfe]{-ms-flex-positive:1;flex-grow:1;height:100%;border:1px solid #edf1f5;overflow:hidden;overflow-y:auto;width:278px;background-color:#fff;border-radius:0 0 5px 5px}.mini-im-chat-view[data-v-19edcbfe]{-ms-flex-positive:1;flex-grow:1;border:1px solid #edf1f5;margin-left:20px;border-radius:3px;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-chat-view .mini-im-chat-view-content-header[data-v-19edcbfe]{width:100%;-ms-flex-negative:0;flex-shrink:0;height:55px;border-bottom:1px solid #edf1f5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:#f4f5f7;-ms-flex-align:center;align-items:center;padding:0 10px;box-sizing:border-box}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box[data-v-19edcbfe]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info[data-v-19edcbfe]{padding-left:10px;font-size:14px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info .input-pong[data-v-19edcbfe]{margin-left:10px;font-size:12px}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info div[data-v-19edcbfe]{font-weight:600;color:#666}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info div span[data-v-19edcbfe]{font-size:10px}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info span[data-v-19edcbfe]{color:#999;font-size:12px}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-buttons[data-v-19edcbfe]{width:230px;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.mini-im-chat-view .mini-im-chat-view-content-body[data-v-19edcbfe]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-positive:1;flex-grow:1;overflow:hidden;background-color:#fff}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content[data-v-19edcbfe]{-ms-flex-positive:1;flex-grow:1;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-body[data-v-19edcbfe]{background-color:#fff;-ms-flex-positive:1;flex-grow:1;padding:10px;padding-bottom:20px;overflow:hidden;overflow-y:auto;min-width:400px}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input[data-v-19edcbfe]{height:115px;border-top:1px solid #edf1f5;position:relative;-ms-flex-positive:0;flex-grow:0;background-color:#fff;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-bar[data-v-19edcbfe]{height:30px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:0 15px;box-sizing:border-box}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-bar .mini-im-button[data-v-19edcbfe]{height:30px;padding:0 5px;border:0;font-size:18px;cursor:pointer;background-color:#fff;color:#666;position:relative;overflow:hidden}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-bar .mini-im-button input[data-v-19edcbfe]{position:absolute;top:0;cursor:pointer;left:0;width:100%;opacity:0;height:100%;font-size:100px}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-bar .mini-im-button i[data-v-19edcbfe]{color:#666}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-edit[data-v-19edcbfe]{height:100%}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-edit .mini-im-chat-text-input[data-v-19edcbfe]{width:100%;border:0 solid #dcdfe6;resize:none;font-size:14px;color:#666;box-sizing:border-box;padding:5px}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-user[data-v-19edcbfe]{width:350px;height:100%;border-left:1px solid #edf1f5;box-sizing:border-box;background-color:#fff;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-user .el-tabs--border-card[data-v-19edcbfe]{height:100%;border:0;box-shadow:none}.mini-im-chat-view .mini-im-chat-view-content[data-v-19edcbfe]{position:relative}.mini-im-chat-view .mini-im-chat-view-content .advance[data-v-19edcbfe]{position:absolute;box-sizing:border-box;width:100%;left:0;bottom:115px;font-size:14px;color:#999;display:-ms-flexbox;display:flex;padding:5px 3px;background-color:#f5f7fa;border-top:1px solid #f3f3f3}.mini-im-chat-view .mini-im-chat-view-content .advance div[data-v-19edcbfe]{width:70px;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-view .mini-im-chat-view-content .advance span[data-v-19edcbfe]{font-size:12px}.no-window[data-v-19edcbfe]{display:-ms-flexbox;display:flex;background-color:#fff;text-align:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative}.no-window i[data-v-19edcbfe]{font-size:130px;color:#999}.no-window span[data-v-19edcbfe]{color:#999;font-size:20px;margin-top:10px}.no-window .mini-im-right-window-loading[data-v-19edcbfe]{width:100%;height:100%;background-color:#fff;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:absolute;left:0;top:0}.no-window .mini-im-right-window-loading i[data-v-19edcbfe]{font-size:25px}.no-window .mini-im-right-window-loading span[data-v-19edcbfe]{margin-left:5px;font-size:15px;margin-top:0}.mini-im-user-info[data-v-19edcbfe]{width:300px}.mini-im-online-setting[data-v-19edcbfe]{font-size:14px;color:#666}.mini-im-online-setting .item[data-v-19edcbfe]{padding:5px;cursor:pointer;border-radius:3px}.mini-im-online-setting .item[data-v-19edcbfe]:hover{background:#f2f2f2}.mini-im-shortcut[data-v-19edcbfe]{display:-ms-flexbox;display:flex;height:500px;-ms-flex-direction:column;flex-direction:column}.mini-im-shortcut .mini-im-shortcut-head[data-v-19edcbfe]{height:30px;width:100%;display:-ms-flexbox;display:flex;border-bottom:1px solid #f4f5f7;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;padding-bottom:5px}.mini-im-shortcut .mini-im-shortcut-head button[data-v-19edcbfe]{width:25px;height:25px;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;border:0}.mini-im-shortcut .mini-im-shortcut-head button i[data-v-19edcbfe]{font-size:15px;color:#999;cursor:pointer}.mini-im-shortcut .mini-im-shortcut-body[data-v-19edcbfe]{-ms-flex-positive:1;flex-grow:1;display:block;width:100%;overflow:hidden;overflow-y:auto}.mini-im-shortcut .mini-im-shortcut-item[data-v-19edcbfe]{display:-ms-flexbox;display:flex;width:100%;min-height:30px;padding:5px;box-sizing:border-box;cursor:pointer;font-size:13px}.mini-im-shortcut .mini-im-shortcut-item span[data-v-19edcbfe]{-ms-flex-positive:1;flex-grow:1;padding-right:10px}.mini-im-shortcut .mini-im-shortcut-item button[data-v-19edcbfe]{width:15px;height:30px;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;margin-right:5px;border:0;background:none}.mini-im-shortcut .mini-im-shortcut-item button i[data-v-19edcbfe]{font-size:15px;color:#999;cursor:pointer}.mini-im-shortcut .mini-im-shortcut-item[data-v-19edcbfe]:hover{opacity:.9;background:#f2f2f2;border-radius:3px}.mini-im-customer-list[data-v-19edcbfe]{overflow:hidden;min-height:150px;max-height:500px;overflow-y:auto}.mini-im-customer-list .mini-im-customer-title[data-v-19edcbfe]{padding-bottom:10px;border-bottom:1px solid #f2f2f2}.mini-im-customer-list .mini-im-customer-item[data-v-19edcbfe]{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:5px;border-bottom:1px solid #f7f5f5;border-radius:3px}.mini-im-customer-list .mini-im-customer-item[data-v-19edcbfe]:hover{background:#f2f2f2}.mini-im-customer-list .mini-im-customer-item span[data-v-19edcbfe]{margin-left:10px}.mini-im-avatar[data-v-19edcbfe]{-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0}
\ No newline at end of file
.mini-im-button[data-v-3d019866]{height:30px;padding:0 5px;border:0;background-color:#fff;cursor:pointer;color:#666;font-size:12px}.mini-im-button i[data-v-3d019866]{color:#666}.emoji-box[data-v-3d019866]{font-size:20px}.emoji-box span[data-v-3d019866]{cursor:pointer;padding:2px}.mini-im-chat-item[data-v-595d9a46]{padding:10px;cursor:pointer;display:-ms-flexbox;display:flex;border-left:3px solid #fff;border-bottom:1px solid hsla(0,0%,68.6%,.11);position:relative}.mini-im-chat-item[data-v-595d9a46]:hover{border-left:3px solid #ff5722;background-color:#f3f3f3}.mini-im-chat-item:hover .delete_contact[data-v-595d9a46]{display:block}.mini-im-chat-item .mini-im-avatar[data-v-595d9a46]{-ms-flex-item-align:center;-ms-grid-row-align:center;align-self:center;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-item[data-v-595d9a46]::last-child{border-bottom:0}.mini-im-chat-item .delete_contact[data-v-595d9a46]{position:absolute;left:0;top:0;color:#999;display:none}.mini-im-chat-item .mini-im-message-box[data-v-595d9a46]{width:180px;-ms-flex-positive:1;flex-grow:1;padding:8px 0;padding-left:10px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around;box-sizing:border-box;font-size:14px}.mini-im-chat-item .mini-im-message-box .mini-im-nickname[data-v-595d9a46]{font-size:14px;color:#666;font-weight:600;margin-bottom:5px}.mini-im-chat-item .mini-im-message-box .mini-im-nickname .mini-im-online-status[data-v-595d9a46]{font-size:12px;color:#9e9e9e}.mini-im-chat-item .mini-im-message-box .mini-im-nickname .mini-im-online-status.success[data-v-595d9a46]{color:#aadc97}.mini-im-chat-item .mini-im-message-box .mini-im-message-badge[data-v-595d9a46],.mini-im-chat-item .mini-im-message-box .mini-im-user-date[data-v-595d9a46]{display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between}.mini-im-chat-item .mini-im-message-box .mini-im-badge[data-v-595d9a46]{width:20px;height:20px;border-radius:100%;background-color:#f56c6c;text-align:center;color:#fff;line-height:20px;font-size:12px;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-item .mini-im-message-box .mini-im-message[data-v-595d9a46]{font-size:13px;color:#999;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding-right:5px}.mini-im-chat-item .mini-im-message-box .mini-im-date[data-v-595d9a46]{font-size:12px;color:#999}.mini-im-chat-item-active[data-v-595d9a46]{border-left:3px solid #ff5722;background-color:#f4f5f7}.mini-im-username-component-box{height:100%;overflow:hidden;overflow-y:auto;padding:10px 10px 10px 5px}.mini-im-username-component-box .form-item{margin-top:25px}.mini-im-username-component-box .form-item-readonly input.el-input__inner,.mini-im-username-component-box .form-item-readonly textarea.el-textarea__inner,.mini-im-username-component-box .no-border input.el-input__inner{border:0}.mini-im-username-component{position:absolute;top:10px;right:25px}.mini-im-username-component span{font-size:18px;color:#666}.mini-im-username-component span i{font-size:20px}.mini-im-username-component button{border:0;cursor:pointer}.mini-im-chat-list .mini-im-chat-message-box[data-v-019193ce],.mini-im-chat-list[data-v-019193ce]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-chat-list .mini-im-chat-message-box[data-v-019193ce]{width:100%;margin-bottom:15px}.mini-im-chat-list .mini-im-chat-message-box .user-date[data-v-019193ce]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;color:#999;font-size:14px}.mini-im-chat-list .mini-im-chat-message-box .user-date span[data-v-019193ce]{color:#666;font-weight:500;font-size:14px;padding:0 5px}.mini-im-chat-list .mini-im-chat-message-box .user-date em[data-v-019193ce]{font-style:normal;font-size:12px}.mini-im-chat-list .mini-im-chat-message-box .loading[data-v-019193ce]{color:#666;display:-ms-flexbox;display:flex;margin-top:5px;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center;-ms-flex-pack:center;justify-content:center}.mini-im-chat-list .mini-im-chat-message-box .loading span[data-v-019193ce]{margin-left:5px;font-size:13px}.mini-im-chat-list .mini-im-chat-message-box .text[data-v-019193ce]{display:-ms-flexbox;display:flex;margin-top:5px;word-break:break-all}.mini-im-chat-list .mini-im-chat-message-box .text span[data-v-019193ce]{max-width:40%;display:inline;padding:5px 10px;border-radius:5px;background-color:#eef4f9;font-size:14px;color:#666}.mini-im-chat-list .mini-im-chat-message-box .photo[data-v-019193ce]{display:-ms-flexbox;display:flex;margin-top:5px}.mini-im-chat-list .mini-im-chat-message-box .photo .loading[data-v-019193ce]{-ms-flex-item-align:end;align-self:flex-end;padding:0 5px}.mini-im-chat-list .mini-im-chat-message-box .photo .loading span[data-v-019193ce]{background:none!important;color:#999!important}.mini-im-chat-list .mini-im-chat-message-box .photo .img-content[data-v-019193ce]{border-radius:5px;width:200px;overflow:hidden}.mini-im-chat-list .mini-im-chat-message-box .photo img[data-v-019193ce]{cursor:pointer;width:100%;height:100%;display:inline}.mini-im-chat-list .mini-im-chat-message-box .knowledge[data-v-019193ce]{display:-ms-flexbox;display:flex;margin-top:5px;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-message-box .knowledge .content[data-v-019193ce]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding:5px;border-radius:5px;color:#666;text-align:left;background-color:#eef4f9}.mini-im-chat-list .mini-im-chat-message-box .knowledge .content .title[data-v-019193ce]{font-size:13px;font-weight:500}.mini-im-chat-list .mini-im-chat-message-box .knowledge .content .item[data-v-019193ce]{font-size:13px;line-height:22px}.mini-im-chat-list .mini-im-chat-message-box .system[data-v-019193ce]{display:-ms-flexbox;display:flex;margin-top:5px;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}.mini-im-chat-list .mini-im-chat-message-box .system em[data-v-019193ce]{margin-top:5px;font-size:12px;color:#999}.mini-im-chat-list .mini-im-chat-message-box .system span[data-v-019193ce]{font-size:12px;max-width:50%;min-width:100px;display:inline;padding:3px 20px;border-radius:5px;text-align:center;background-color:#f2f2f2;color:#999}.mini-im-chat-list .mini-im-chat-message-box.self[data-v-019193ce]{text-align:right}.mini-im-chat-list .mini-im-chat-message-box.self .user-date[data-v-019193ce]{display:-ms-flexbox;display:flex;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-message-box.self .user-date span[data-v-019193ce]{-ms-flex-order:-2;order:-2}.mini-im-chat-list .mini-im-chat-message-box.self .user-date em[data-v-019193ce]{-ms-flex-order:-3;order:-3}.mini-im-chat-list .mini-im-chat-message-box.self .photo[data-v-019193ce],.mini-im-chat-list .mini-im-chat-message-box.self .text[data-v-019193ce]{-ms-flex-pack:end;justify-content:flex-end;-ms-flex-align:end;align-items:flex-end;word-break:break-all}.mini-im-chat-list .mini-im-chat-message-box.self .photo .cancel-btn[data-v-019193ce],.mini-im-chat-list .mini-im-chat-message-box.self .text .cancel-btn[data-v-019193ce]{color:#26a2ff;font-size:12px;margin-right:5px;cursor:pointer}.mini-im-chat-list .mini-im-chat-message-box.self .photo span[data-v-019193ce],.mini-im-chat-list .mini-im-chat-message-box.self .text span[data-v-019193ce]{background-color:rgba(33,150,243,.72);color:#fff;text-align:left}.mini-im-chat-list .mini-im-chat-message-box.self .knowledge>.content[data-v-019193ce]{background-color:rgba(33,150,243,.72);color:#fff}.mini-im-workbench[data-v-3486f320]{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-width:1100px}.mini-im-session-list[data-v-3486f320]{width:280px;border-radius:5px;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;height:100%}.mini-im-session-list .mini-im-no-data[data-v-3486f320]{text-align:center;padding-top:15px;font-size:14px;color:#666}.mini-im-session-list .title[data-v-3486f320]{height:35px;border-radius:5px 5px 0 0;background-color:#f4f5f7;line-height:35px;padding-left:10px;color:#666;font-size:14px;border:1px solid #edf1f5}.mini-im-session-list .title button[data-v-3486f320]{border:0;background:none;text-align:right}.mini-im-session-list .title button span>span[data-v-3486f320]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-line-pack:center;align-content:center}.mini-im-session-list .title button span>span i[data-v-3486f320]{font-size:15px}.mini-im-session-list .title button span>span em[data-v-3486f320]{margin-left:3px}.mini-im-session-list .title button span>span .el-icon--right[data-v-3486f320]{font-size:12px}.mini-im-session-list .mini-im-session-content[data-v-3486f320]{-ms-flex-positive:1;flex-grow:1;height:100%;border:1px solid #edf1f5;overflow:hidden;overflow-y:auto;width:278px;background-color:#fff;border-radius:0 0 5px 5px}.mini-im-chat-view[data-v-3486f320]{-ms-flex-positive:1;flex-grow:1;border:1px solid #edf1f5;margin-left:20px;border-radius:3px;overflow:hidden;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-chat-view .mini-im-chat-view-content-header[data-v-3486f320]{width:100%;-ms-flex-negative:0;flex-shrink:0;height:55px;border-bottom:1px solid #edf1f5;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;background-color:#f4f5f7;-ms-flex-align:center;align-items:center;padding:0 10px;box-sizing:border-box}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box[data-v-3486f320]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info[data-v-3486f320]{padding-left:10px;font-size:14px;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:distribute;justify-content:space-around}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info .input-pong[data-v-3486f320]{margin-left:10px;font-size:12px}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info div[data-v-3486f320]{font-weight:600;color:#666}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info div span[data-v-3486f320]{font-size:10px}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-header-user-box .mini-im-header-user-info span[data-v-3486f320]{color:#999;font-size:12px}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-buttons[data-v-3486f320]{width:230px;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.mini-im-chat-view .mini-im-chat-view-content-body[data-v-3486f320]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-positive:1;flex-grow:1;overflow:hidden;background-color:#fff}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content[data-v-3486f320]{-ms-flex-positive:1;flex-grow:1;height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-body[data-v-3486f320]{background-color:#fff;-ms-flex-positive:1;flex-grow:1;padding:10px;padding-bottom:20px;overflow:hidden;overflow-y:auto;min-width:400px}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input[data-v-3486f320]{height:115px;border-top:1px solid #edf1f5;position:relative;-ms-flex-positive:0;flex-grow:0;background-color:#fff;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-bar[data-v-3486f320]{height:30px;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:0 15px;box-sizing:border-box}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-bar .mini-im-button[data-v-3486f320]{height:30px;padding:0 5px;border:0;font-size:18px;cursor:pointer;background-color:#fff;color:#666;position:relative;overflow:hidden}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-bar .mini-im-button input[data-v-3486f320]{position:absolute;top:0;cursor:pointer;left:0;width:100%;opacity:0;height:100%;font-size:100px}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-bar .mini-im-button i[data-v-3486f320]{color:#666}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-edit[data-v-3486f320]{height:100%}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-content .mini-im-chat-input .mini-im-chat-input-edit .mini-im-chat-text-input[data-v-3486f320]{width:100%;border:0 solid #dcdfe6;resize:none;font-size:14px;color:#666;box-sizing:border-box;padding:5px}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-user[data-v-3486f320]{width:350px;height:100%;border-left:1px solid #edf1f5;box-sizing:border-box;background-color:#fff;-ms-flex-negative:0;flex-shrink:0;-ms-flex-positive:0;flex-grow:0}.mini-im-chat-view .mini-im-chat-view-content-body .mini-im-chat-view-user .el-tabs--border-card[data-v-3486f320]{height:100%;border:0;box-shadow:none}.mini-im-chat-view .mini-im-chat-view-content[data-v-3486f320]{position:relative}.mini-im-chat-view .mini-im-chat-view-content .advance[data-v-3486f320]{position:absolute;box-sizing:border-box;width:100%;left:0;bottom:115px;font-size:14px;color:#999;display:-ms-flexbox;display:flex;padding:5px 3px;background-color:#f5f7fa;border-top:1px solid #f3f3f3}.mini-im-chat-view .mini-im-chat-view-content .advance div[data-v-3486f320]{width:70px;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-view .mini-im-chat-view-content .advance span[data-v-3486f320]{font-size:12px}.no-window[data-v-3486f320]{display:-ms-flexbox;display:flex;background-color:#fff;text-align:center;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:relative}.no-window i[data-v-3486f320]{font-size:130px;color:#999}.no-window span[data-v-3486f320]{color:#999;font-size:20px;margin-top:10px}.no-window .mini-im-right-window-loading[data-v-3486f320]{width:100%;height:100%;background-color:#fff;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:absolute;left:0;top:0}.no-window .mini-im-right-window-loading i[data-v-3486f320]{font-size:25px}.no-window .mini-im-right-window-loading span[data-v-3486f320]{margin-left:5px;font-size:15px;margin-top:0}.mini-im-user-info[data-v-3486f320]{width:300px}.mini-im-online-setting[data-v-3486f320]{font-size:14px;color:#666}.mini-im-online-setting .item[data-v-3486f320]{padding:5px;cursor:pointer;border-radius:3px}.mini-im-online-setting .item[data-v-3486f320]:hover{background:#f2f2f2}.mini-im-shortcut[data-v-3486f320]{display:-ms-flexbox;display:flex;height:500px;-ms-flex-direction:column;flex-direction:column}.mini-im-shortcut .mini-im-shortcut-head[data-v-3486f320]{height:30px;width:100%;display:-ms-flexbox;display:flex;border-bottom:1px solid #f4f5f7;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-align:center;align-items:center;padding-bottom:5px}.mini-im-shortcut .mini-im-shortcut-head button[data-v-3486f320]{width:25px;height:25px;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;border:0}.mini-im-shortcut .mini-im-shortcut-head button i[data-v-3486f320]{font-size:15px;color:#999;cursor:pointer}.mini-im-shortcut .mini-im-shortcut-body[data-v-3486f320]{-ms-flex-positive:1;flex-grow:1;display:block;width:100%;overflow:hidden;overflow-y:auto}.mini-im-shortcut .mini-im-shortcut-item[data-v-3486f320]{display:-ms-flexbox;display:flex;width:100%;min-height:30px;padding:5px;box-sizing:border-box;cursor:pointer;font-size:13px}.mini-im-shortcut .mini-im-shortcut-item span[data-v-3486f320]{-ms-flex-positive:1;flex-grow:1;padding-right:10px}.mini-im-shortcut .mini-im-shortcut-item button[data-v-3486f320]{width:15px;height:30px;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;margin-right:5px;border:0;background:none}.mini-im-shortcut .mini-im-shortcut-item button i[data-v-3486f320]{font-size:15px;color:#999;cursor:pointer}.mini-im-shortcut .mini-im-shortcut-item[data-v-3486f320]:hover{opacity:.9;background:#f2f2f2;border-radius:3px}.mini-im-customer-list[data-v-3486f320]{overflow:hidden;min-height:150px;max-height:500px;overflow-y:auto}.mini-im-customer-list .mini-im-customer-title[data-v-3486f320]{padding-bottom:10px;border-bottom:1px solid #f2f2f2}.mini-im-customer-list .mini-im-customer-item[data-v-3486f320]{display:-ms-flexbox;display:flex;cursor:pointer;-ms-flex-align:center;align-items:center;padding:5px;border-bottom:1px solid #f7f5f5;border-radius:3px}.mini-im-customer-list .mini-im-customer-item[data-v-3486f320]:hover{background:#f2f2f2}.mini-im-customer-list .mini-im-customer-item span[data-v-3486f320]{margin-left:10px}.mini-im-avatar[data-v-3486f320]{-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0}
\ No newline at end of file
.mini-im-file-button[data-v-2e63f8e9]{width:50px;height:50px;border-radius:50%;position:relative;overflow:hidden;cursor:pointer}.mini-im-file-button input[data-v-2e63f8e9]{font-size:100px;position:absolute;top:0;left:0;cursor:pointer;opacity:0}.mini-im-file-button .mini-im-file-percent[data-v-2e63f8e9]{position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.el-tag+.el-tag[data-v-2e63f8e9]{margin-left:10px}.button-new-tag[data-v-2e63f8e9]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-2e63f8e9]{width:150px;margin-left:10px;vertical-align:bottom}.mini-im-file-button[data-v-6b34f2e3]{width:50px;height:50px;border-radius:50%;position:relative;overflow:hidden;cursor:pointer}.mini-im-file-button input[data-v-6b34f2e3]{font-size:100px;position:absolute;top:0;left:0;cursor:pointer;opacity:0}.mini-im-file-button .mini-im-file-percent[data-v-6b34f2e3]{position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.el-tag+.el-tag[data-v-6b34f2e3]{margin-left:10px}.button-new-tag[data-v-6b34f2e3]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-6b34f2e3]{width:150px;margin-left:10px;vertical-align:bottom}.mini-im-head[data-v-dea0f158]{height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:20px;-ms-flex-pack:justify;justify-content:space-between;color:#666}.mini-im-head i[data-v-dea0f158]{margin-right:5px}
\ No newline at end of file
.mini-im-file-button[data-v-2e63f8e9]{width:50px;height:50px;border-radius:50%;position:relative;overflow:hidden;cursor:pointer}.mini-im-file-button input[data-v-2e63f8e9]{font-size:100px;position:absolute;top:0;left:0;cursor:pointer;opacity:0}.mini-im-file-button .mini-im-file-percent[data-v-2e63f8e9]{position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.el-tag+.el-tag[data-v-2e63f8e9]{margin-left:10px}.button-new-tag[data-v-2e63f8e9]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-2e63f8e9]{width:150px;margin-left:10px;vertical-align:bottom}.mini-im-file-button[data-v-b0d0c25e]{width:50px;height:50px;border-radius:50%;position:relative;overflow:hidden;cursor:pointer}.mini-im-file-button input[data-v-b0d0c25e]{font-size:100px;position:absolute;top:0;left:0;cursor:pointer;opacity:0}.mini-im-file-button .mini-im-file-percent[data-v-b0d0c25e]{position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.el-tag+.el-tag[data-v-b0d0c25e]{margin-left:10px}.button-new-tag[data-v-b0d0c25e]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-b0d0c25e]{width:150px;margin-left:10px;vertical-align:bottom}.mini-im-head[data-v-dea0f158]{height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:20px;-ms-flex-pack:justify;justify-content:space-between;color:#666}.mini-im-head i[data-v-dea0f158]{margin-right:5px}
\ No newline at end of file
.login[data-v-11ae6484]{display:-ms-flexbox;display:flex;width:100%;height:100%;background:url(../img/login_bg.8ba760be.jpg) bottom no-repeat;background-size:cover}.login .form[data-v-11ae6484]{display:-ms-flexbox;display:flex;overflow:hidden;width:600px;height:300px;background-color:#fff;margin:auto;border-radius:5px}.login .form .left[data-v-11ae6484]{width:350px;height:100%;padding:20px;box-sizing:border-box;background:url(../img/login_bg1.531e0c1c.jpg) bottom no-repeat;background-size:cover;font-size:18px;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center}.login .form .left .tit[data-v-11ae6484]{margin-top:50px;border-bottom:1px solid #fff}.login .form .left div[data-v-11ae6484]{width:300px;padding-bottom:10px;margin-bottom:10px}.login .form .left span[data-v-11ae6484]{font-size:14px}.login .form .left .client[data-v-11ae6484]{margin-top:80px}.login .form .left .client button[data-v-11ae6484]{margin-top:10px}.login .form .right[data-v-11ae6484]{padding:20px;padding-top:50px}.login .form .right .input[data-v-11ae6484]{margin-bottom:20px}.login .form .right .btn-group[data-v-11ae6484]{margin-top:15px}.login .form .right .lable[data-v-11ae6484]{font-size:18px;color:#606266;margin-bottom:15px;display:block}
\ No newline at end of file
.mini-im-file-button[data-v-0a24570c]{width:50px;height:50px;border-radius:50%;position:relative;overflow:hidden;cursor:pointer}.mini-im-file-button input[data-v-0a24570c]{font-size:100px;position:absolute;top:0;left:0;cursor:pointer;opacity:0}.mini-im-file-button .mini-im-file-percent[data-v-0a24570c]{position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.mini-im-head[data-v-0aee8f9a]{height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:20px;-ms-flex-pack:justify;justify-content:space-between;color:#666}.mini-im-head i[data-v-0aee8f9a]{margin-right:5px}.el-select .el-input[data-v-0aee8f9a]{width:130px}.input-with-select .el-input-group__prepend[data-v-0aee8f9a]{background-color:#fff}
\ No newline at end of file
.mini-im-file-button[data-v-3e845274]{width:50px;height:50px;border-radius:50%;position:relative;overflow:hidden;cursor:pointer}.mini-im-file-button input[data-v-3e845274]{font-size:100px;position:absolute;top:0;left:0;cursor:pointer;opacity:0}.mini-im-file-button .mini-im-file-percent[data-v-3e845274]{position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.mini-im-head[data-v-0aee8f9a]{height:30px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;font-size:20px;-ms-flex-pack:justify;justify-content:space-between;color:#666}.mini-im-head i[data-v-0aee8f9a]{margin-right:5px}.el-select .el-input[data-v-0aee8f9a]{width:130px}.input-with-select .el-input-group__prepend[data-v-0aee8f9a]{background-color:#fff}
\ No newline at end of file
.mini-im-aside{background-color:#3e444a}.mini-im-aside,.mini-im-aside .mini-im-logo{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-aside .mini-im-logo{width:100%;height:100px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #ddd}.mini-im-aside .mini-im-logo img{height:30px}.mini-im-aside .el-menu{border-right:0}.mini-im-aside .el-badge__content{border:0;top:30px}.mini-im-aside .fix-bottom{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:30px}.mini-im-aside .fix-bottom a{cursor:pointer;padding:0 30px;text-align:center;-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center}.mini-im-aside .fix-bottom a .github-log{width:50px}.mini-im-aside .fix-bottom a span{margin-top:3px;margin-left:5px}.mini-im-header[data-v-432b9ecd]{background-color:#545c64;border-bottom:1px solid #545c64}.mini-im-header .mini-im-dropdown[data-v-432b9ecd]{height:100%}.mini-im-header .mini-im-button[data-v-432b9ecd]{border:0;font-size:35px;display:block;background:0;padding-left:0}.mini-im-header .mini-im-title[data-v-432b9ecd]{color:#fff;font-size:16px;text-align:center;line-height:60px}.mini-im-header .icon[data-v-432b9ecd]{color:#fff}.mini-im-header .el-dropdown-link[data-v-432b9ecd]{cursor:pointer;display:-ms-flexbox;display:flex;height:100%;line-height:60px;-ms-flex-align:center;align-items:center;color:#fff}.mini-im-header .el-icon-arrow-down[data-v-432b9ecd]{font-size:12px}.mini-im-file-button[data-v-0d4bcba3]{width:50px;height:50px;border-radius:50%;position:relative;overflow:hidden;cursor:pointer}.mini-im-file-button input[data-v-0d4bcba3]{font-size:100px;position:absolute;top:0;left:0;cursor:pointer;opacity:0}.mini-im-file-button .mini-im-file-percent[data-v-0d4bcba3]{position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.mini-im-header[data-v-61095d10]{background-color:#545c64;border-bottom:1px solid #545c64}
\ No newline at end of file
.mini-im-aside{background-color:#3e444a}.mini-im-aside,.mini-im-aside .mini-im-logo{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-aside .mini-im-logo{width:100%;height:100px;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #ddd}.mini-im-aside .mini-im-logo img{height:30px}.mini-im-aside .el-menu{border-right:0}.mini-im-aside .el-badge__content{border:0;top:30px}.mini-im-aside .fix-bottom{-ms-flex-positive:1;flex-grow:1;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:end;justify-content:flex-end;padding-bottom:30px}.mini-im-aside .fix-bottom a{cursor:pointer;padding:0 30px;text-align:center;-ms-flex-align:center;align-items:center;color:#fff;display:-ms-flexbox;display:flex;-ms-flex-line-pack:center;align-content:center}.mini-im-aside .fix-bottom a .github-log{width:50px}.mini-im-aside .fix-bottom a span{margin-top:3px;margin-left:5px}.mini-im-header[data-v-7a297760]{background-color:#545c64;border-bottom:1px solid #545c64}.mini-im-header .mini-im-dropdown[data-v-7a297760]{height:100%}.mini-im-header .mini-im-button[data-v-7a297760]{border:0;font-size:35px;display:block;background:0;padding-left:0}.mini-im-header .mini-im-title[data-v-7a297760]{color:#fff;font-size:16px;text-align:center;line-height:60px}.mini-im-header .icon[data-v-7a297760]{color:#fff}.mini-im-header .el-dropdown-link[data-v-7a297760]{cursor:pointer;display:-ms-flexbox;display:flex;height:100%;line-height:60px;-ms-flex-align:center;align-items:center;color:#fff}.mini-im-header .el-icon-arrow-down[data-v-7a297760]{font-size:12px}.mini-im-file-button[data-v-0d4bcba3]{width:50px;height:50px;border-radius:50%;position:relative;overflow:hidden;cursor:pointer}.mini-im-file-button input[data-v-0d4bcba3]{font-size:100px;position:absolute;top:0;left:0;cursor:pointer;opacity:0}.mini-im-file-button .mini-im-file-percent[data-v-0d4bcba3]{position:absolute;top:0;left:0;width:100%;height:100%;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;border-radius:50%;background-color:rgba(0,0,0,.5);color:#fff;font-size:12px}.mini-im-header[data-v-61095d10]{background-color:#545c64;border-bottom:1px solid #545c64}
\ No newline at end of file
......@@ -47,4 +47,4 @@
}
input:-ms-input-placeholder{ /* Internet Explorer 10-11 */
color:#ccc;
}</style><link href=css/chunk-0499e026.d2993177.css rel=prefetch><link href=css/chunk-08473d3a.77daa9fe.css rel=prefetch><link href=css/chunk-2e29b63f.82fa3580.css rel=prefetch><link href=css/chunk-35027968.4de0a346.css rel=prefetch><link href=css/chunk-3a5ae4b9.36eb5b7d.css rel=prefetch><link href=css/chunk-487f5713.329fd3ec.css rel=prefetch><link href=css/chunk-771e4186.92ee7235.css rel=prefetch><link href=css/chunk-99e15be2.2e3a70e9.css rel=prefetch><link href=css/chunk-b4735d10.9f747f60.css rel=prefetch><link href=css/chunk-e3edb682.0b5ced8d.css rel=prefetch><link href=js/chunk-0499e026.accfa348.js rel=prefetch><link href=js/chunk-08473d3a.eae62d86.js rel=prefetch><link href=js/chunk-2e29b63f.7ff0f22a.js rel=prefetch><link href=js/chunk-343c8d41.f0041881.js rel=prefetch><link href=js/chunk-35027968.79ffcf7b.js rel=prefetch><link href=js/chunk-3a5ae4b9.95fb80dc.js rel=prefetch><link href=js/chunk-487f5713.773eab50.js rel=prefetch><link href=js/chunk-771e4186.f1240d97.js rel=prefetch><link href=js/chunk-99e15be2.69d71101.js rel=prefetch><link href=js/chunk-b4735d10.e80c520c.js rel=prefetch><link href=js/chunk-e3edb682.604c708b.js rel=prefetch><link href=css/app.ba710877.css rel=preload as=style><link href=css/chunk-vendors.cb739fea.css rel=preload as=style><link href=js/app.89a6f443.js rel=preload as=script><link href=js/chunk-vendors.420bd1eb.js rel=preload as=script><link href=css/chunk-vendors.cb739fea.css rel=stylesheet><link href=css/app.ba710877.css rel=stylesheet></head><body><noscript><strong>We're sorry but m doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.420bd1eb.js></script><script src=js/app.89a6f443.js></script></body></html>
\ No newline at end of file
}</style><link href=css/chunk-08473d3a.77daa9fe.css rel=prefetch><link href=css/chunk-3a5ae4b9.36eb5b7d.css rel=prefetch><link href=css/chunk-4033950c.ccd30c89.css rel=prefetch><link href=css/chunk-4bc425fc.a028419f.css rel=prefetch><link href=css/chunk-4d213a0b.e2ea152d.css rel=prefetch><link href=css/chunk-615380b5.0b5bbfe0.css rel=prefetch><link href=css/chunk-771e4186.92ee7235.css rel=prefetch><link href=css/chunk-b4735d10.9f747f60.css rel=prefetch><link href=css/chunk-d086e898.6a96c7a1.css rel=prefetch><link href=css/chunk-e3edb682.0b5ced8d.css rel=prefetch><link href=js/chunk-08473d3a.eae62d86.js rel=prefetch><link href=js/chunk-343c8d41.f0041881.js rel=prefetch><link href=js/chunk-3a5ae4b9.95fb80dc.js rel=prefetch><link href=js/chunk-4033950c.00c35915.js rel=prefetch><link href=js/chunk-4bc425fc.0bbe4f9b.js rel=prefetch><link href=js/chunk-4d213a0b.fb158f44.js rel=prefetch><link href=js/chunk-615380b5.8e004b72.js rel=prefetch><link href=js/chunk-771e4186.f1240d97.js rel=prefetch><link href=js/chunk-b4735d10.e80c520c.js rel=prefetch><link href=js/chunk-d086e898.72fb38e4.js rel=prefetch><link href=js/chunk-e3edb682.604c708b.js rel=prefetch><link href=css/app.ba710877.css rel=preload as=style><link href=css/chunk-vendors.cb739fea.css rel=preload as=style><link href=js/app.f25cf028.js rel=preload as=script><link href=js/chunk-vendors.420bd1eb.js rel=preload as=script><link href=css/chunk-vendors.cb739fea.css rel=stylesheet><link href=css/app.ba710877.css rel=stylesheet></head><body><noscript><strong>We're sorry but m doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.420bd1eb.js></script><script src=js/app.f25cf028.js></script></body></html>
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/router.js","webpack:///./src/store/actions.js","webpack:///./src/store/mutations.js","webpack:///./src/store/getters.js","webpack:///./src/store/state.js","webpack:///./src/store/index.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/App.vue?f7e9","webpack:///src/App.vue","webpack:///./src/App.vue?2e55","webpack:///./src/App.vue","webpack:///./src/plugins/help.js","webpack:///./src/plugins/mimc.js","webpack:///./src/resource/moment_locale.js","webpack:///./src/main.js","webpack:///./src/App.vue?2c4a"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","Vue","use","Router","base","process","routes","path","component","redirect","children","ON_GET_ME","context","pathname","location","axios","response","commit","hash","indexOf","router","catch","log","ON_GET_UPLOAD_TOKEN","ON_GET_PLATFORM_CONFIG","ON_GET_SYSTEM","title","ON_GET_COMPANY","ON_GET_UPLOADS_CONFIG","ON_GET_CONTACTS","ON_RUN_LAST_ACTiIVITY","ON_GET_ROBOTS","loading","onChangeHeaserTitle","state","heaserTitle","onChangePlatformConfig","platformConfig","onChangeToggleAside","isShow","isShowAside","onChangeEditDialogFormVisible","editDialogFormVisible","onChangeEditPasswordDialogFormVisible","editPasswordDialogFormVisible","onChangeAdminInfo","adminInfo","onChangeUploadToken","uploadToken","onChangeSystemInfo","systemInfo","onChangeCompanyInfo","companyInfo","onChangeUploadsConfigs","uploadsConfigs","onChangeMimcUser","mimcUser","onChangeContacts","contacts","index","contact","seviceCurrentUser","from_account","onChangeSeviceCurrentUser","onChangeRobos","robots","onReset","onChangeMessageRecord","messageRecord","onIsLogin","isLogin","avatar","uploadMod","nickname","list","readCount","count","read","workbenchBgColor","pushIcon","Vuex","Store","getters","mutations","actions","map","webpackContext","req","id","webpackContextResolve","keys","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","created","$store","dispatch","methods","appInit","upLastActivity","getContacts","initMimc","changeUserOnlineStatus","watchLogin","self","$mimcInstance","login","user","mounted","addEventListener","computed","watch","nowTime","parseInt","Date","getTime","timestamp","newMessageRecord","JSON","parse","stringify","payload","moment","require","Helps","options","$myMethod","$getPlatformItem","platformConfigItem","$formatUnixDate","unix","format","$formatFromNowDate","$robotNickname","MimcPlugin","MimcInstance","robot","fetchMIMCTokenResult","init","callback","getRobot","fetchMIMCToken","_receiveP2PMsgCallback","_statusChangeCallback","_serverAckCallback","_disconnectCallback","post","token","Message","MIMCUser","appId","appAccount","registerP2PMsgHandler","msg","Base64","decode","getPayload","registerFetchToken","registerStatusChange","bindResult","errType","errReason","errDesc","registerServerAckHandler","packetId","sequence","timeStamp","errMsg","registerDisconnHandler","mimcInstance","logout","sendMessage","toAccount","transferAccount","messageJson","substr","jsonBase64Msg","encode","intoMessageJson","intoJsonBase64Msg","toString","createLocalMessage","months","split","monthsShort","weekdays","weekdaysShort","weekdaysMin","longDateFormat","LT","LTS","L","LL","LLL","LLLL","ll","lll","llll","meridiemParse","meridiemHour","hour","meridiem","minute","hm","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","dayOfMonthOrdinalParse","ordinal","number","period","relativeTime","future","past","ss","mm","h","hh","dd","M","MM","y","yy","week","dow","doy","locale","momentLocal","defaults","baseURL","interceptors","config","localStorage","getItem","headers","status","clear","store","fullscreenEl","preview","ElementUI","productionTip","render","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EA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JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-08473d3a\":\"eae62d86\",\"chunk-343c8d41\":\"f0041881\",\"chunk-0499e026\":\"accfa348\",\"chunk-2e29b63f\":\"7ff0f22a\",\"chunk-3a5ae4b9\":\"95fb80dc\",\"chunk-487f5713\":\"773eab50\",\"chunk-771e4186\":\"f1240d97\",\"chunk-99e15be2\":\"69d71101\",\"chunk-35027968\":\"79ffcf7b\",\"chunk-b4735d10\":\"e80c520c\",\"chunk-e3edb682\":\"604c708b\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-08473d3a\":1,\"chunk-0499e026\":1,\"chunk-2e29b63f\":1,\"chunk-3a5ae4b9\":1,\"chunk-487f5713\":1,\"chunk-771e4186\":1,\"chunk-99e15be2\":1,\"chunk-35027968\":1,\"chunk-b4735d10\":1,\"chunk-e3edb682\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-08473d3a\":\"77daa9fe\",\"chunk-343c8d41\":\"31d6cfe0\",\"chunk-0499e026\":\"d2993177\",\"chunk-2e29b63f\":\"82fa3580\",\"chunk-3a5ae4b9\":\"36eb5b7d\",\"chunk-487f5713\":\"329fd3ec\",\"chunk-771e4186\":\"92ee7235\",\"chunk-99e15be2\":\"2e3a70e9\",\"chunk-35027968\":\"4de0a346\",\"chunk-b4735d10\":\"9f747f60\",\"chunk-e3edb682\":\"0b5ced8d\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import Vue from 'vue'\nimport Router from 'vue-router'\n\nVue.use(Router)\n\nexport default new Router({\n // mode: 'history',\n base: process.env.BASE_URL,\n routes: [\n {\n path: '/',\n name: 'home',\n component: () => import('./views/index.vue'),\n redirect: \"/index\",\n children: [\n {\n path: 'index',\n component: () => import('./views/home/index.vue'),\n },\n {\n path: 'workbench',\n component: () => import('./views/workbench/index.vue'),\n },\n {\n path: 'knowledge',\n component: () => import('./views/knowledge/index.vue'),\n },\n {\n path: 'robot',\n component: () => import('./views/robot/index.vue'),\n },\n {\n path: 'customer',\n component: () => import('./views/customer/index.vue'),\n },\n {\n path: 'users',\n component: () => import('./views/users/index.vue'),\n },\n {\n path: 'system',\n component: () => import('./views/system/index.vue'),\n },\n {\n path: 'chat_record',\n component: () => import('./views/record/index.vue')\n },\n ]\n },\n {\n path: '/login',\n name: 'login',\n component: () => import('./views/auth/login.vue')\n },\n {path:'*',redirect: \"/index\"},\n ]\n})\n","import axios from 'axios'\nimport router from '../router'\nexport default {\n // 获取用户信息\n ON_GET_ME(context){\n var pathname = location.pathname\n axios.get('/admin/me')\n .then(response => {\n context.commit(\"onIsLogin\", true)\n context.commit(\"onChangeAdminInfo\", response.data.data)\n if(location.pathname == '/login' || location.hash.indexOf(\"#/login\") != -1){\n router.push({ path: '/index'})\n }\n })\n .catch(error => {\n console.log(error.response)\n context.commit(\"onIsLogin\", false)\n if(pathname != '/login'){\n router.push({ path: '/login'})\n }\n });\n },\n // 获取上传配置\n ON_GET_UPLOAD_TOKEN(context){\n axios.get('/public/secret')\n .then(response => {\n context.commit('onChangeUploadToken', response.data.data)\n })\n },\n // 获取平台配置数据\n ON_GET_PLATFORM_CONFIG(context){\n axios.get('/platform/list')\n .then(response => {\n context.commit('onChangePlatformConfig', response.data.data)\n })\n },\n // 获取systemInfo\n ON_GET_SYSTEM(context){\n axios.get('/system')\n .then(response => {\n context.commit('onChangeSystemInfo', response.data.data)\n document.title = response.data.data.title\n })\n },\n // 获取companyInfo\n ON_GET_COMPANY(context){\n axios.get('/public/company')\n .then(response => {\n context.commit('onChangeCompanyInfo', response.data.data)\n })\n },\n // 获取uploads/config\n ON_GET_UPLOADS_CONFIG(context){\n axios.get('/uploads/config')\n .then(response => {\n context.commit('onChangeUploadsConfigs', response.data.data)\n })\n },\n // 获取会话列表\n ON_GET_CONTACTS(context){\n axios.get('/contact/list')\n .then(response => {\n context.commit('onChangeContacts', response.data.data)\n })\n },\n // 一分钟上报一次我的活动\n ON_RUN_LAST_ACTiIVITY(){\n axios.get('/public/activity/')\n },\n // 获取机器人列表\n ON_GET_ROBOTS(context){\n axios.get('/robot/list')\n .then(response => {\n context.commit('onChangeRobos', response.data.data)\n })\n .catch(() => {\n this.loading = false\n });\n }\n}","export default {\n // 更新标题\n onChangeHeaserTitle(state, title){\n state.heaserTitle = title\n },\n // 更新平台配置数据\n onChangePlatformConfig(state, platformConfig){\n state.platformConfig = platformConfig\n },\n // 展开隐藏\n onChangeToggleAside(state, isShow){\n state.isShowAside = isShow\n },\n // 更新个人资料modal状态\n onChangeEditDialogFormVisible(state, isShow){\n state.editDialogFormVisible = isShow\n },\n // 更新个人密码modal状态\n onChangeEditPasswordDialogFormVisible(state, isShow){\n state.editPasswordDialogFormVisible = isShow\n },\n // 更新个人资料\n onChangeAdminInfo(state, adminInfo){\n state.adminInfo = adminInfo\n },\n // 更新上传token\n onChangeUploadToken(state, uploadToken){\n state.uploadToken = uploadToken\n },\n // 更新systemInfo\n onChangeSystemInfo(state, systemInfo){\n state.systemInfo = systemInfo\n },\n // 更新companyInfo\n onChangeCompanyInfo(state, companyInfo){\n state.companyInfo = companyInfo\n },\n // 更新uploadsConfigs\n onChangeUploadsConfigs(state, uploadsConfigs){\n state.uploadsConfigs = uploadsConfigs\n },\n // 更新mimcUser\n onChangeMimcUser(state, mimcUser){\n state.mimcUser = mimcUser\n },\n // 更新contacts\n onChangeContacts(state, contacts){\n state.contacts = contacts\n for(let index in contacts){\n var contact = contacts[index]\n if(state.seviceCurrentUser && contact.from_account == state.seviceCurrentUser.from_account){\n state.seviceCurrentUser = contact\n break\n }\n }\n },\n // 更新当前窗口服务谁\n onChangeSeviceCurrentUser(state, seviceCurrentUser){\n state.seviceCurrentUser = seviceCurrentUser\n },\n // 更新机器人列表\n onChangeRobos(state, robots){\n state.robots = robots\n },\n // 重置某些值\n onReset(state){\n state.seviceCurrentUser = null\n state.contacts = []\n state.mimcUser = null\n },\n // 更新聊天记录\n onChangeMessageRecord(state, messageRecord){\n state.messageRecord = messageRecord\n },\n // 是否是登陆状态\n onIsLogin(state, isLogin){\n state.isLogin = isLogin\n }\n}","export default {\n // 获取个人信息\n adminInfo(state){\n return state.adminInfo || {}\n },\n // 是否是登录状态\n isLogin(state){\n return state.isLogin\n },\n // 获取头像\n avatar(state){\n if(state.adminInfo && state.adminInfo.avatar != \"\"){\n return state.adminInfo.avatar\n }else{\n return ''\n }\n },\n // 获取上传mode\n uploadMod(state){\n return state.uploadToken.mode || -1\n }, \n // 获取昵称\n nickname(state){\n if(state.adminInfo && state.adminInfo.nickname != \"\"){\n return state.adminInfo.nickname\n }else{\n return '未设置昵称'\n }\n },\n // 获取上传配置文件\n uploadToken(state){\n return state.uploadToken\n },\n // 获取平台配置数据\n platformConfig(state){\n return state.platformConfig\n },\n // 获取systemInfo\n systemInfo(state){\n return state.systemInfo\n },\n // 获取companyInfo\n companyInfo(state){\n return state.companyInfo\n },\n // 获取uploadsConfigs\n uploadsConfigs(state){\n return state.uploadsConfigs\n },\n // 获取会话列表\n contacts(state){\n return state.contacts|| []\n },\n // 获取当前窗口服务谁\n seviceCurrentUser(state){\n return state.seviceCurrentUser || {}\n },\n // 获取机器人\n robots(state){\n return state.robots || []\n },\n // 聊天信息\n messageRecord(state){\n return state.messageRecord || {list:[]}\n },\n // 新消息总数\n readCount(state){\n var count = 0\n for(let i =0; i<state.contacts.length; i++) {\n count = count + state.contacts[i].read\n }\n return count\n },\n // 工作台背景颜色\n workbenchBgColor(state){\n return state.workbenchBgColor\n },\n}","export default {\n adminInfo: null, // 个人信息\n heaserTitle: \"首页\", // header标题\n isShowAside: true, // 控制左侧栏显示隐藏\n editDialogFormVisible: false, // 控制修改个人资料modal\n isLogin: false, // 是否已登录状态\n editPasswordDialogFormVisible: false, // 控制修改密码modal\n uploadToken: null, // 上传签名数据\n platformConfig: [], // 平台数据\n systemInfo: {}, // 系统信息\n companyInfo: {}, // 公司信息\n uploadsConfigs: [], // 可配置上传参数\n mimcUser: null, // mimc用户对象\n contacts: [], // 会话列表\n robots: [], // 机器人列表\n seviceCurrentUser: null,// 当前窗口服务谁\n messageRecord: { // 当前聊天面板聊天消息记录\n list: []\n },\n avatar: \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAD7tJREFUeAHtXV1sHMUdn9m7s50P59NxbBI7McH5IHz5A8g5OHFTJECUIlWFVkIFCdI+8dYHqOARBKjqG08tIIHEA7QvlCJAShPHxnYAO6aiKE0s5DZpcBJiFOqEOLZvp//f3q1zd7673b2dnZ21b6TT7u3O/L9+O/Of7+FsEYTx8fGa0xOTrVwYOwQT9GM7OGP1pFotY6JWMG5duXWlJ0xMMcaneOZK8aYozQVKc5LinBTcPNncuH6spaVlOurmIZ2iF44OjewilA7Q70cETAcp0SyEMGRqwjk3ifZpoj3CODtCv8P7kx0nZPJQQSsSAA8PD9ddmTEeZqZ5gIx+gAzToMI4BXicI4MdZoZxeEWV+V5nZ+fFAnG0eqQtwGNjY9UTF6Yeopz5OOPifiFYQifLcc5mmeAfUU5/q7G+9v3W1tZrOslny6IdwL0Do3dyYT5FOfUX5C3X2ILqfeWXyJDvCG683rO37XOdZNUG4P6h0Z5UynyOQL1XJwN5l4UfisWMF7uTbb3e08pPETrAvUPHH6DqzPNUFHfJVy88ilR0DwqDv9CTbP8wPCmorRAW8/6h4btTJn+VCdEZlgxK+HI+HDPE093Jzk+V8MtjohzgwcGv1s2I6ZeJ8UHKtcr55+mv5C/lZqojsteqeM2zXV27v1PCNMNEmYEBZt/Q6JNCmK9Q+3W9SiW14cXZJOfGM/uSbW8AdBVyKQH46GdfNrHZmbcJ5G4VSunOg8DtZ4mqx/bfdeuZoGUNHOC+geEHTcbeXLK5thiClJup6+2JfXs7PygWRcZzqd172QJRbo0f/WTk99QP/H4F3GzLZO7JTcE2lo3IVgViSHkUSA4eHPxi06xI/ZlATkqRcpEToSJ7KMFjj3R13XFWtqrSAbYGAlLiY6pBNMkWdjHTIyDOsBi/T/aAhtQi+pNjI3uE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ACoAVACoA//2Q==\",\n workbenchBgColor: \"#646b6f\" // 工作台背景颜色\n}","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport actions from './actions'\nimport mutations from './mutations'\nimport getters from './getters'\nimport state from './state'\nVue.use(Vuex)\nexport default new Vuex.Store({\n state: state,\n getters: getters,\n mutations: mutations,\n actions: actions\n})","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-SG\": \"cdab\",\n\t\"./en-SG.js\": \"cdab\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div id=\"app\">\n <router-view/>\n </div>\n</template>\n<script>\nimport axios from \"axios\";\nimport Push from \"push.js\";\nexport default {\n created(){\n this.$store.dispatch('ON_GET_ME')\n },\n methods: {\n // app init\n appInit(){\n if(!this.adminInfo){\n setTimeout(()=> this.appInit(), 50)\n return\n }\n this.$store.dispatch('ON_GET_UPLOAD_TOKEN')\n this.$store.dispatch('ON_GET_PLATFORM_CONFIG')\n this.$store.dispatch('ON_GET_SYSTEM')\n this.$store.dispatch('ON_GET_COMPANY')\n this.$store.dispatch('ON_GET_UPLOADS_CONFIG')\n this.$store.dispatch('ON_GET_ROBOTS')\n this.$store.dispatch('ON_GET_CONTACTS')\n\n // 一分钟上报一次我的活动时间\n this.upLastActivity()\n\n // 获取会话表\n this.getContacts()\n\n // Mimc 初始化\n this.initMimc()\n\n },\n // 获取会话列表\n getContacts(){\n if(this.adminInfo){\n this.$store.dispatch('ON_GET_CONTACTS')\n if(this.seviceCurrentUser && this.$store.getters.contacts.length > 0){\n this.$store.getters.contacts.map(i => {\n if(i.from_account == this.seviceCurrentUser.from_account){\n this.$store.commit(\"onChangeSeviceCurrentUser\", i)\n }\n })\n }\n }\n },\n // 上报最后活动时间\n upLastActivity(){\n this.$store.dispatch('ON_RUN_LAST_ACTiIVITY')\n setTimeout(() => this.upLastActivity(), 1000*60)\n },\n // 初始化Mimc\n initMimc(){\n var self = this\n var adminInfo = this.$store.state.adminInfo\n if(!adminInfo){\n setTimeout(() => this.initMimc(), 1000)\n }else{\n self.$mimcInstance.init({\n type: 1,\n account_id: adminInfo.id\n }, (isSuccess) => {\n // 初始化完成\n if(isSuccess){\n self.watchLogin()\n }else{\n self.initMimc()\n }\n })\n }\n },\n // 更新用户状态\n changeUserOnlineStatus(online){\n // 更新状态\n axios.put('/admin/online/' + online)\n .then(() => {\n this.$store.dispatch('ON_GET_ME')\n if(online == 0){\n this.$message.info(\"当前状态为离线\")\n }\n })\n .catch(error => {\n this.$message.error(error.response.data.message)\n });\n },\n // 监听用户是否有上线登录\n watchLogin(){\n try{\n var self = this\n if(self.$store.state.user != null) return;\n if(self.$store.getters.adminInfo.online == 1){\n self.$mimcInstance.login(()=>{\n self.changeUserOnlineStatus(1)\n self.$store.dispatch('ON_RUN_LAST_ACTiIVITY')\n self.$store.dispatch('ON_GET_CONTACTS')\n self.$store.commit(\"onChangeMimcUser\", self.$mimcInstance.user)\n })\n }else if(self.$store.getters.adminInfo.online != 0){\n setTimeout(() => self.watchLogin(), 1000)\n }\n }catch(err){\n setTimeout(() => this.watchLogin(), 1000)\n }\n },\n },\n mounted(){\n window.addEventListener(\"resize\", () => {\n this.$store.commit(\"onChangeToggleAside\", true)\n if(document.body.clientWidth < 1000){\n this.$store.commit(\"onChangeToggleAside\", false)\n }\n }, false)\n // 判断通知权限\n if(!Push.Permission.has()){\n Push.Permission.request(function(){}, function(){})\n }\n },\n computed: {\n adminInfo(){\n return this.$store.getters.adminInfo\n },\n seviceCurrentUser(){\n return this.$store.getters.seviceCurrentUser\n },\n messageRecord(){\n return this.$store.getters.messageRecord\n },\n isLogin(){\n return this.$store.getters.isLogin\n }\n },\n watch: {\n \"$route\"(){\n if(!/^\\/workbench(\\/\\d+)?$/i.test(this.$route.path)){\n // 监听消息\n this.$mimcInstance.addEventListener(\"receiveP2PMsg\", (message) => {\n var nowTime = parseInt((new Date().getTime() +\"\").substr(0, 10))\n message.timestamp = parseInt((message.timestamp +\"\").substr(0, 10))\n if(nowTime - message.timestamp >= 60) return\n // 处理用户列表\n if(message.biz_type == \"contacts\"){\n var contacts = JSON.parse(message.payload)\n // console.log(contacts)\n this.$store.commit('onChangeContacts', contacts)\n return\n }\n // 判断是否是握手消息\n if(message.biz_type == \"handshake\"){\n this.$mimcInstance.sendMessage(\"text\", message.from_account, this.adminInfo.auto_reply)\n return\n }\n var newMessageRecord = JSON.parse(JSON.stringify(this.messageRecord))\n newMessageRecord.list.push(message)\n this.$store.commit(\"onChangeMessageRecord\", newMessageRecord)\n\n // 推送消息\n if(message.biz_type == \"contacts\" || message.biz_type == \"pong\" || message.biz_type == \"welcome\" || message.biz_type == \"cancel\" || message.biz_type == \"handshake\" || message.biz_type == \"end\" || message.biz_type == \"timeout\") return\n if(!Push.Permission.has()) return\n Push.create(\"收到一条新消息\", {\n body: message.payload,\n icon: this.$store.state.pushIcon,\n timeout: 5000,\n onClick: () => {\n this.$router.push({ path: '/workbench?uid=' + message.from_account})\n window.focus();\n }\n });\n\n })\n }\n },\n isLogin(){\n console.log(\"当前是登录状态\")\n this.appInit()\n }\n \n }\n}\n</script>\n<style lang=\"stylus\">\n#app{\n display flex\n height 100vh\n}\n.el-tabs__content,.el-tab-pane{\n height 100%\n padding 0\n}\n.el-tabs__content{\n padding 0 !important\n}\nbutton{\n background-color #fff\n}\n.pswp{\n z-index 3000!important\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=7a237930&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var moment = require('moment');\n// eslint-disable-next-line no-undef\nvar Helps = {};\nHelps.install = function (Vue, options) {\n Vue.prototype.$myMethod = function(){\n console.log(options)\n }\n // 获取单个平台数据\n Vue.prototype.$getPlatformItem = function(index){\n var platformConfigItem\n var platformConfig = this.$store.getters.platformConfig\n for(let i = 0; i< platformConfig.length; i++){\n if(platformConfig[i].id == index){\n platformConfigItem = platformConfig[i]\n }\n }\n return platformConfigItem || {title: \"未知\"}\n }\n // 格式化日期\n Vue.prototype.$formatUnixDate = function(unix, format = \"YYYY-MM-DD HH:mm:ss\"){\n return moment(parseInt(unix + '000')).format(format)\n }\n // 格式化日期(相对日期)\n Vue.prototype.$formatFromNowDate = function(unix){\n if(moment().format(\"YYYYMMDD\") == moment(parseInt(unix + '000')).format(\"YYYYMMDD\")){\n return moment(parseInt(unix + '000')).format(\"HH:mm\")\n }\n return moment(parseInt(unix + '000')).format(\"YYYY-MM-DD HH:mm\")\n }\n Vue.prototype.$robotNickname = function(id){\n var nickname\n var robots = this.$store.getters.robots\n for(let i = 0; i< robots.length; i++){\n if(robots[i].id == id){\n nickname = robots[i].nickname\n }\n }\n return nickname\n }\n\n}\nexport default Helps;","import axios from \"axios\";\nimport { Message } from 'element-ui';\nvar MimcPlugin = {};\nMimcPlugin.install = function (Vue, options) {\n\n console.log(options)\n\n // 获取单个平台数据\n Vue.MimcInstance = Vue.prototype.$mimcInstance = {\n user: null,\n robot: null,\n fetchMIMCTokenResult: null,\n // 初始化\n init(request, callback){\n this.getRobot()\n this.fetchMIMCToken(request, callback)\n },\n _receiveP2PMsgCallback: null,\n _statusChangeCallback: null,\n _serverAckCallback: null,\n _disconnectCallback: null,\n // 获取token\n // request 登录参数\n // 登录回调 callback bool 是否成功\n fetchMIMCToken(request, callback){\n axios.post('/public/register', request)\n .then(response => {\n this.fetchMIMCTokenResult = response.data.data.token\n if(callback) callback(true)\n console.log(\"MIMC初始化成功\")\n })\n .catch((error)=>{\n if(callback) callback(false)\n Message.error(\"mimc初始化失败,请刷新重试,\" + error.response.data.message)\n })\n },\n // 获取机器人\n getRobot(){\n axios.get('/public/robot/1')\n .then(response => {\n this.robot = response.data.data\n })\n .catch((error)=>{\n Message.error(\"mimc初始化失败,请刷新重试\" + error.response.data.message)\n })\n },\n // 登录\n login(callback){\n try{\n var fetchMIMCTokenResult = this.fetchMIMCTokenResult\n if(!fetchMIMCTokenResult) return\n // eslint-disable-next-line no-undef\n this.user = new MIMCUser(fetchMIMCTokenResult.data.appId, fetchMIMCTokenResult.data.appAccount, \"666\");\n this.user.registerP2PMsgHandler((message)=>{\n var msg = JSON.parse(window.Base64.decode(message.getPayload()));\n if(this._receiveP2PMsgCallback) this._receiveP2PMsgCallback(msg)\n });\n this.user.registerFetchToken(() => {\n return fetchMIMCTokenResult;\n });\n this.user.registerStatusChange((bindResult, errType, errReason, errDesc)=>{\n if(this._statusChangeCallback) this._statusChangeCallback(bindResult, errType, errReason, errDesc)\n });\n this.user.registerServerAckHandler((packetId, sequence, timeStamp, errMsg)=>{\n if(this._serverAckCallback) this._serverAckCallback(packetId, sequence, timeStamp, errMsg)\n });\n this.user.registerDisconnHandler(() => {\n if(this._disconnectCallback) this._disconnectCallback()\n });\n this.user.login();\n window.mimcInstance = this\n if(callback) callback()\n console.log(\"MIMC登录成功\")\n }catch(e){\n console.log(e)\n console.log(\"MIMC登录失败\")\n // 重新尝试\n setTimeout(()=>{\n this.login()\n }, 1000)\n }\n },\n // 退出\n logout(){\n if(this.user){\n this.user.logout()\n this.user = null\n }\n },\n // 注册监听器\n addEventListener(type, callback){\n switch(type){\n case \"receiveP2PMsg\":\n this._receiveP2PMsgCallback = callback\n break\n case \"statusChange\":\n this._statusChangeCallback = callback\n break\n case \"serverAck\":\n this._serverAckCallback = callback\n break\n case \"disconnect\":\n this._disconnectCallback = callback\n break\n }\n },\n // 发送消息\n sendMessage(type, toAccount, payload = \"\", transferAccount = 0){\n if(!this.user){\n Message.error(\"服务异常,请刷新重试!\")\n return\n }\n const messageJson = {\n \"from_account\": parseInt(this.fetchMIMCTokenResult.data.appAccount),\n \"to_account\": parseInt(toAccount),\n \"biz_type\": type,\n \"version\": \"0\",\n \"timestamp\": parseInt((new Date().getTime() + \" \").substr(0, 10)),\n \"key\": new Date().getTime(),\n \"read\": 0,\n \"transfer_account\": parseInt(transferAccount),\n \"payload\": payload + ''\n }\n // console.log(\"发送消息\")\n // console.log(messageJson)\n const jsonBase64Msg = window.Base64.encode(JSON.stringify(messageJson))\n try {\n \n // 过滤不入库\n if(!(type == \"contacts\" || type == \"pong\" || type == \"welcome\" || type == \"handshake\")){\n // 发送给机器人入库\n const intoMessageJson = {\n \"biz_type\": \"into\",\n \"payload\": jsonBase64Msg\n }\n const intoJsonBase64Msg = window.Base64.encode(JSON.stringify(intoMessageJson))\n this.user.sendMessage(this.robot.id.toString(), intoJsonBase64Msg);\n }\n\n setTimeout(()=>{\n // 发送给对方\n this.user.sendMessage(toAccount.toString(), jsonBase64Msg);\n },200)\n \n } catch (err) {\n console.log(\"sendMessage fail, err=\" + err);\n }\n return messageJson\n },\n // 创建本地消息\n createLocalMessage(type, toAccount, payload = \"\", transferAccount = 0){\n const messageJson = {\n \"from_account\": parseInt(this.fetchMIMCTokenResult.data.appAccount),\n \"to_account\": parseInt(toAccount),\n \"biz_type\": type,\n \"version\": \"0\",\n \"timestamp\": parseInt((new Date().getTime() + \" \").substr(0, 10)),\n \"key\": new Date().getTime(),\n \"read\": 0,\n \"transfer_account\": parseInt(transferAccount),\n \"payload\": payload + ''\n }\n return messageJson\n }\n \n\n }\n}\nexport default MimcPlugin;","export default {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY年MM月DD日',\n LLL: 'YYYY年MM月DD日Ah点mm分',\n LLLL: 'YYYY年MM月DD日ddddAh点mm分',\n l: 'YYYY-M-D',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm'\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' ||\n meridiem === '上午') {\n return hour;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n } else {\n // '中午'\n return hour >= 11 ? hour : hour + 12;\n }\n },\n meridiem: function (hour, minute) {\n const hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上午';\n } else if (hm < 1230) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天]LT',\n nextDay: '[明天]LT',\n nextWeek: '[下]ddddLT',\n lastDay: '[昨天]LT',\n lastWeek: '[上]ddddLT',\n sameElse: 'L'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|周)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '周';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s内',\n past: '%s前',\n s: '几秒',\n ss: '%d秒',\n m: '1分钟',\n mm: '%d分钟',\n h: '1小时',\n hh: '%d小时',\n d: '1天',\n dd: '%d天',\n M: '1个月',\n MM: '%d个月',\n y: '1年',\n yy: '%d年'\n },\n week: {\n // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n dow: 1, // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n }\n}","import Vue from 'vue'\nimport ElementUI from 'element-ui'\nimport App from './App.vue'\nimport router from './router'\nimport store from './store'\nimport 'element-ui/lib/theme-chalk/index.css'\nimport preview from 'vue-photo-preview'\nimport 'vue-photo-preview/dist/skin.css'\nimport Helps from \"./plugins/help\"\nimport MimcPlugin from \"./plugins/mimc\"\nimport momentLocal from './resource/moment_locale'\nvar moment = require('moment');\nmoment.locale(\"zh-cn\", momentLocal)\n\nimport axios from 'axios'\n\n// axios.defaults.baseURL = 'http://localhost:8080/v1'\naxios.defaults.baseURL = 'http://kf.aissz.com:666/v1'\n\n\n// 添加请求拦截器\naxios.interceptors.request.use((config) => {\n var token = localStorage.getItem(\"Authorization\")\n config.headers['Authorization'] = token || \"\"\n return config;\n}, (error) => {\n return Promise.reject(error);\n});\n\n// 添加响应拦截器\naxios.interceptors.response.use((response) => {\n return response;\n}, (error) => {\n // 登录失效了\n if(error.response.status == 401) {\n localStorage.clear()\n store.commit(\"onChangeAdminInfo\", null)\n if(store.state.mimcUser) store.state.mimcUser.logout()\n router.push(\"/login\")\n }\n return Promise.reject(error);\n});\n\nvar options={\n fullscreenEl:false, //关闭全屏按钮\n}\nVue.use(preview, options)\nVue.use(ElementUI)\nVue.use(Helps)\nVue.use(MimcPlugin)\n\nVue.config.productionTip = false\nnew Vue({\n router,\n store,\n render: h => h(App)\n}).$mount('#app')\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=stylus&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=stylus&\""],"sourceRoot":""}
\ No newline at end of file
(function(e){function t(t){for(var a,o,c=t[0],i=t[1],u=t[2],l=0,f=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(s,o)&&s[o]&&f.push(s[o][0]),s[o]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);d&&d(t);while(f.length)f.shift()();return r.push.apply(r,u||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,o=1;o<n.length;o++){var c=n[o];0!==s[c]&&(a=!1)}a&&(r.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},o={app:0},s={app:0},r=[];function c(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-08473d3a":"eae62d86","chunk-343c8d41":"f0041881","chunk-0499e026":"accfa348","chunk-2e29b63f":"7ff0f22a","chunk-3a5ae4b9":"95fb80dc","chunk-487f5713":"773eab50","chunk-771e4186":"f1240d97","chunk-99e15be2":"69d71101","chunk-35027968":"79ffcf7b","chunk-b4735d10":"e80c520c","chunk-e3edb682":"604c708b"}[e]+".js"}function i(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[],n={"chunk-08473d3a":1,"chunk-0499e026":1,"chunk-2e29b63f":1,"chunk-3a5ae4b9":1,"chunk-487f5713":1,"chunk-771e4186":1,"chunk-99e15be2":1,"chunk-35027968":1,"chunk-b4735d10":1,"chunk-e3edb682":1};o[e]?t.push(o[e]):0!==o[e]&&n[e]&&t.push(o[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-08473d3a":"77daa9fe","chunk-343c8d41":"31d6cfe0","chunk-0499e026":"d2993177","chunk-2e29b63f":"82fa3580","chunk-3a5ae4b9":"36eb5b7d","chunk-487f5713":"329fd3ec","chunk-771e4186":"92ee7235","chunk-99e15be2":"2e3a70e9","chunk-35027968":"4de0a346","chunk-b4735d10":"9f747f60","chunk-e3edb682":"0b5ced8d"}[e]+".css",s=i.p+a,r=document.getElementsByTagName("link"),c=0;c<r.length;c++){var u=r[c],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===a||l===s))return t()}var f=document.getElementsByTagName("style");for(c=0;c<f.length;c++){u=f[c],l=u.getAttribute("data-href");if(l===a||l===s)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var a=t&&t.target&&t.target.src||s,r=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=a,delete o[e],d.parentNode.removeChild(d),n(r)},d.href=s;var m=document.getElementsByTagName("head")[0];m.appendChild(d)})).then((function(){o[e]=0})));var a=s[e];if(0!==a)if(a)t.push(a[2]);else{var r=new Promise((function(t,n){a=s[e]=[t,n]}));t.push(a[2]=r);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=c(e);var f=new Error;u=function(t){l.onerror=l.onload=null,clearTimeout(d);var n=s[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",f.name="ChunkLoadError",f.type=a,f.request=o,n[1](f)}s[e]=void 0}};var d=setTimeout((function(){u({type:"timeout",target:l})}),12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var f=0;f<u.length;f++)t(u[f]);var d=l;r.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"41cb":function(e,t,n){"use strict";var a=n("2b0e"),o=n("8c4f");a["default"].use(o["a"]),t["a"]=new o["a"]({base:"",routes:[{path:"/",name:"home",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-0499e026")]).then(n.bind(null,"1e4b"))},redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-b4735d10").then(n.bind(null,"7abe"))}},{path:"workbench",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-2e29b63f")]).then(n.bind(null,"29e5"))}},{path:"knowledge",component:function(){return n.e("chunk-e3edb682").then(n.bind(null,"7a26"))}},{path:"robot",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-99e15be2")]).then(n.bind(null,"2157"))}},{path:"customer",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-487f5713")]).then(n.bind(null,"aedf"))}},{path:"users",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-771e4186")]).then(n.bind(null,"4468"))}},{path:"system",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-3a5ae4b9")]).then(n.bind(null,"26b0"))}},{path:"chat_record",component:function(){return n.e("chunk-08473d3a").then(n.bind(null,"caae"))}}]},{path:"/login",name:"login",component:function(){return n.e("chunk-35027968").then(n.bind(null,"bd01"))}},{path:"*",redirect:"/index"}]})},4360:function(e,t,n){"use strict";var a=n("2b0e"),o=n("2f62"),s=(n("57e7"),n("bc3a")),r=n.n(s),c=n("41cb"),i={ON_GET_ME:function(e){var t=location.pathname;r.a.get("/admin/me").then((function(t){e.commit("onIsLogin",!0),e.commit("onChangeAdminInfo",t.data.data),"/login"!=location.pathname&&-1==location.hash.indexOf("#/login")||c["a"].push({path:"/index"})})).catch((function(n){console.log(n.response),e.commit("onIsLogin",!1),"/login"!=t&&c["a"].push({path:"/login"})}))},ON_GET_UPLOAD_TOKEN:function(e){r.a.get("/public/secret").then((function(t){e.commit("onChangeUploadToken",t.data.data)}))},ON_GET_PLATFORM_CONFIG:function(e){r.a.get("/platform/list").then((function(t){e.commit("onChangePlatformConfig",t.data.data)}))},ON_GET_SYSTEM:function(e){r.a.get("/system").then((function(t){e.commit("onChangeSystemInfo",t.data.data),document.title=t.data.data.title}))},ON_GET_COMPANY:function(e){r.a.get("/public/company").then((function(t){e.commit("onChangeCompanyInfo",t.data.data)}))},ON_GET_UPLOADS_CONFIG:function(e){r.a.get("/uploads/config").then((function(t){e.commit("onChangeUploadsConfigs",t.data.data)}))},ON_GET_CONTACTS:function(e){r.a.get("/contact/list").then((function(t){e.commit("onChangeContacts",t.data.data)}))},ON_RUN_LAST_ACTiIVITY:function(){r.a.get("/public/activity/")},ON_GET_ROBOTS:function(e){var t=this;r.a.get("/robot/list").then((function(t){e.commit("onChangeRobos",t.data.data)})).catch((function(){t.loading=!1}))}},u={onChangeHeaserTitle:function(e,t){e.heaserTitle=t},onChangePlatformConfig:function(e,t){e.platformConfig=t},onChangeToggleAside:function(e,t){e.isShowAside=t},onChangeEditDialogFormVisible:function(e,t){e.editDialogFormVisible=t},onChangeEditPasswordDialogFormVisible:function(e,t){e.editPasswordDialogFormVisible=t},onChangeAdminInfo:function(e,t){e.adminInfo=t},onChangeUploadToken:function(e,t){e.uploadToken=t},onChangeSystemInfo:function(e,t){e.systemInfo=t},onChangeCompanyInfo:function(e,t){e.companyInfo=t},onChangeUploadsConfigs:function(e,t){e.uploadsConfigs=t},onChangeMimcUser:function(e,t){e.mimcUser=t},onChangeContacts:function(e,t){for(var n in e.contacts=t,t){var a=t[n];if(e.seviceCurrentUser&&a.from_account==e.seviceCurrentUser.from_account){e.seviceCurrentUser=a;break}}},onChangeSeviceCurrentUser:function(e,t){e.seviceCurrentUser=t},onChangeRobos:function(e,t){e.robots=t},onReset:function(e){e.seviceCurrentUser=null,e.contacts=[],e.mimcUser=null},onChangeMessageRecord:function(e,t){e.messageRecord=t},onIsLogin:function(e,t){e.isLogin=t}},l={adminInfo:function(e){return e.adminInfo||{}},isLogin:function(e){return e.isLogin},avatar:function(e){return e.adminInfo&&""!=e.adminInfo.avatar?e.adminInfo.avatar:""},uploadMod:function(e){return e.uploadToken.mode||-1},nickname:function(e){return e.adminInfo&&""!=e.adminInfo.nickname?e.adminInfo.nickname:"未设置昵称"},uploadToken:function(e){return e.uploadToken},platformConfig:function(e){return e.platformConfig},systemInfo:function(e){return e.systemInfo},companyInfo:function(e){return e.companyInfo},uploadsConfigs:function(e){return e.uploadsConfigs},contacts:function(e){return e.contacts||[]},seviceCurrentUser:function(e){return e.seviceCurrentUser||{}},robots:function(e){return e.robots||[]},messageRecord:function(e){return e.messageRecord||{list:[]}},readCount:function(e){for(var t=0,n=0;n<e.contacts.length;n++)t+=e.contacts[n].read;return t},workbenchBgColor:function(e){return e.workbenchBgColor}},f={adminInfo:null,heaserTitle:"首页",isShowAside:!0,editDialogFormVisible:!1,isLogin:!1,editPasswordDialogFormVisible:!1,uploadToken:null,platformConfig:[],systemInfo:{},companyInfo:{},uploadsConfigs:[],mimcUser:null,contacts:[],robots:[],seviceCurrentUser:null,messageRecord:{list:[]},avatar:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAD7tJREFUeAHtXV1sHMUdn9m7s50P59NxbBI7McH5IHz5A8g5OHFTJECUIlWFVkIFCdI+8dYHqOARBKjqG08tIIHEA7QvlCJAShPHxnYAO6aiKE0s5DZpcBJiFOqEOLZvp//f3q1zd7673b2dnZ21b6TT7u3O/L9+O/Of7+FsEYTx8fGa0xOTrVwYOwQT9GM7OGP1pFotY6JWMG5duXWlJ0xMMcaneOZK8aYozQVKc5LinBTcPNncuH6spaVlOurmIZ2iF44OjewilA7Q70cETAcp0SyEMGRqwjk3ifZpoj3CODtCv8P7kx0nZPJQQSsSAA8PD9ddmTEeZqZ5gIx+gAzToMI4BXicI4MdZoZxeEWV+V5nZ+fFAnG0eqQtwGNjY9UTF6Yeopz5OOPifiFYQifLcc5mmeAfUU5/q7G+9v3W1tZrOslny6IdwL0Do3dyYT5FOfUX5C3X2ILqfeWXyJDvCG683rO37XOdZNUG4P6h0Z5UynyOQL1XJwN5l4UfisWMF7uTbb3e08pPETrAvUPHH6DqzPNUFHfJVy88ilR0DwqDv9CTbP8wPCmorRAW8/6h4btTJn+VCdEZlgxK+HI+HD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SYT7ExHYCS0v1Kun81aFfKwf1LQy7ODsX0vUrk3ZO7IpPi4t8pHNTafEH5NVW45tL+4oz4++P2siXoE9o2divNkc9ba0/OKnVsH2aInTNd0znLblvcV6jS74+Y3ZLyPW4U102ajOuE8gltSvmFI7Yru0SQpm+yZJRdmbsl28DEySDyUpBbT616RUU82qPeRYhg3S7RJ/G9Gt1ySDLcjwUHmFKLq/4UcPzVTs5WC+lNl6vh5v6noXHD9F9txFBzIuO5JwfVUfCa/gRxPpVVC3krZ9uiNGri6o9/UXiDjYMBgR4UduMwnk20kIT6hVCUnLv1NCMUux00g4VACoAVACoAVACoA//2Q==",workbenchBgColor:"#646b6f"};a["default"].use(o["a"]);t["a"]=new o["a"].Store({state:f,getters:l,mutations:u,actions:i})},4678:function(e,t,n){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=s,e.exports=o,o.id="4678"},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),o=n("5c96"),s=n.n(o),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},c=[],i=(n("6d67"),n("bc3a")),u=n.n(i),l=n("b730"),f=n.n(l),d={created:function(){this.$store.dispatch("ON_GET_ME")},methods:{appInit:function(){var e=this;this.adminInfo?(this.$store.dispatch("ON_GET_UPLOAD_TOKEN"),this.$store.dispatch("ON_GET_PLATFORM_CONFIG"),this.$store.dispatch("ON_GET_SYSTEM"),this.$store.dispatch("ON_GET_COMPANY"),this.$store.dispatch("ON_GET_UPLOADS_CONFIG"),this.$store.dispatch("ON_GET_ROBOTS"),this.$store.dispatch("ON_GET_CONTACTS"),this.upLastActivity(),this.getContacts(),this.initMimc()):setTimeout((function(){return e.appInit()}),50)},getContacts:function(){var e=this;this.adminInfo&&(this.$store.dispatch("ON_GET_CONTACTS"),this.seviceCurrentUser&&this.$store.getters.contacts.length>0&&this.$store.getters.contacts.map((function(t){t.from_account==e.seviceCurrentUser.from_account&&e.$store.commit("onChangeSeviceCurrentUser",t)})))},upLastActivity:function(){var e=this;this.$store.dispatch("ON_RUN_LAST_ACTiIVITY"),setTimeout((function(){return e.upLastActivity()}),6e4)},initMimc:function(){var e=this,t=this,n=this.$store.state.adminInfo;n?t.$mimcInstance.init({type:1,account_id:n.id},(function(e){e?t.watchLogin():t.initMimc()})):setTimeout((function(){return e.initMimc()}),1e3)},changeUserOnlineStatus:function(e){var t=this;u.a.put("/admin/online/"+e).then((function(){t.$store.dispatch("ON_GET_ME"),0==e&&t.$message.info("当前状态为离线")})).catch((function(e){t.$message.error(e.response.data.message)}))},watchLogin:function(){var e=this;try{var t=this;if(null!=t.$store.state.user)return;1==t.$store.getters.adminInfo.online?t.$mimcInstance.login((function(){t.changeUserOnlineStatus(1),t.$store.dispatch("ON_RUN_LAST_ACTiIVITY"),t.$store.dispatch("ON_GET_CONTACTS"),t.$store.commit("onChangeMimcUser",t.$mimcInstance.user)})):0!=t.$store.getters.adminInfo.online&&setTimeout((function(){return t.watchLogin()}),1e3)}catch(n){setTimeout((function(){return e.watchLogin()}),1e3)}}},mounted:function(){var e=this;window.addEventListener("resize",(function(){e.$store.commit("onChangeToggleAside",!0),document.body.clientWidth<1e3&&e.$store.commit("onChangeToggleAside",!1)}),!1),f.a.Permission.has()||f.a.Permission.request((function(){}),(function(){}))},computed:{adminInfo:function(){return this.$store.getters.adminInfo},seviceCurrentUser:function(){return this.$store.getters.seviceCurrentUser},messageRecord:function(){return this.$store.getters.messageRecord},isLogin:function(){return this.$store.getters.isLogin}},watch:{$route:function(){var e=this;/^\/workbench(\/\d+)?$/i.test(this.$route.path)||this.$mimcInstance.addEventListener("receiveP2PMsg",(function(t){var n=parseInt(((new Date).getTime()+"").substr(0,10));if(t.timestamp=parseInt((t.timestamp+"").substr(0,10)),!(n-t.timestamp>=60))if("contacts"!=t.biz_type)if("handshake"!=t.biz_type){var a=JSON.parse(JSON.stringify(e.messageRecord));a.list.push(t),e.$store.commit("onChangeMessageRecord",a),"contacts"!=t.biz_type&&"pong"!=t.biz_type&&"welcome"!=t.biz_type&&"cancel"!=t.biz_type&&"handshake"!=t.biz_type&&"end"!=t.biz_type&&"timeout"!=t.biz_type&&f.a.Permission.has()&&f.a.create("收到一条新消息",{body:t.payload,icon:e.$store.state.pushIcon,timeout:5e3,onClick:function(){e.$router.push({path:"/workbench?uid="+t.from_account}),window.focus()}})}else e.$mimcInstance.sendMessage("text",t.from_account,e.adminInfo.auto_reply);else{var o=JSON.parse(t.payload);e.$store.commit("onChangeContacts",o)}}))},isLogin:function(){console.log("当前是登录状态"),this.appInit()}}},m=d,b=(n("7faf"),n("2877")),h=Object(b["a"])(m,r,c,!1,null,null,null),p=h.exports,A=n("41cb"),y=n("4360"),k=(n("0fae"),n("d1d4")),j=n.n(k),g=(n("394c"),n("c1df")),U={install:function(e,t){e.prototype.$myMethod=function(){console.log(t)},e.prototype.$getPlatformItem=function(e){for(var t,n=this.$store.getters.platformConfig,a=0;a<n.length;a++)n[a].id==e&&(t=n[a]);return t||{title:"未知"}},e.prototype.$formatUnixDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";return g(parseInt(e+"000")).format(t)},e.prototype.$formatFromNowDate=function(e){return g().format("YYYYMMDD")==g(parseInt(e+"000")).format("YYYYMMDD")?g(parseInt(e+"000")).format("HH:mm"):g(parseInt(e+"000")).format("YYYY-MM-DD HH:mm")},e.prototype.$robotNickname=function(e){for(var t,n=this.$store.getters.robots,a=0;a<n.length;a++)n[a].id==e&&(t=n[a].nickname);return t}}},T=U,C=(n("6b54"),n("87b3"),{install:function(e,t){console.log(t),e.MimcInstance=e.prototype.$mimcInstance={user:null,robot:null,fetchMIMCTokenResult:null,init:function(e,t){this.getRobot(),this.fetchMIMCToken(e,t)},_receiveP2PMsgCallback:null,_statusChangeCallback:null,_serverAckCallback:null,_disconnectCallback:null,fetchMIMCToken:function(e,t){var n=this;u.a.post("/public/register",e).then((function(e){n.fetchMIMCTokenResult=e.data.data.token,t&&t(!0),console.log("MIMC初始化成功")})).catch((function(e){t&&t(!1),o["Message"].error("mimc初始化失败,请刷新重试,"+e.response.data.message)}))},getRobot:function(){var e=this;u.a.get("/public/robot/1").then((function(t){e.robot=t.data.data})).catch((function(e){o["Message"].error("mimc初始化失败,请刷新重试"+e.response.data.message)}))},login:function(e){var t=this;try{var n=this.fetchMIMCTokenResult;if(!n)return;this.user=new MIMCUser(n.data.appId,n.data.appAccount,"666"),this.user.registerP2PMsgHandler((function(e){var n=JSON.parse(window.Base64.decode(e.getPayload()));t._receiveP2PMsgCallback&&t._receiveP2PMsgCallback(n)})),this.user.registerFetchToken((function(){return n})),this.user.registerStatusChange((function(e,n,a,o){t._statusChangeCallback&&t._statusChangeCallback(e,n,a,o)})),this.user.registerServerAckHandler((function(e,n,a,o){t._serverAckCallback&&t._serverAckCallback(e,n,a,o)})),this.user.registerDisconnHandler((function(){t._disconnectCallback&&t._disconnectCallback()})),this.user.login(),window.mimcInstance=this,e&&e(),console.log("MIMC登录成功")}catch(a){console.log(a),console.log("MIMC登录失败"),setTimeout((function(){t.login()}),1e3)}},logout:function(){this.user&&(this.user.logout(),this.user=null)},addEventListener:function(e,t){switch(e){case"receiveP2PMsg":this._receiveP2PMsgCallback=t;break;case"statusChange":this._statusChangeCallback=t;break;case"serverAck":this._serverAckCallback=t;break;case"disconnect":this._disconnectCallback=t;break}},sendMessage:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(this.user){var r={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(t),biz_type:e,version:"0",timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,transfer_account:parseInt(s),payload:a+""},c=window.Base64.encode(JSON.stringify(r));try{if("contacts"!=e&&"pong"!=e&&"welcome"!=e&&"handshake"!=e){var i={biz_type:"into",payload:c},u=window.Base64.encode(JSON.stringify(i));this.user.sendMessage(this.robot.id.toString(),u)}setTimeout((function(){n.user.sendMessage(t.toString(),c)}),200)}catch(l){console.log("sendMessage fail, err="+l)}return r}o["Message"].error("服务异常,请刷新重试!")},createLocalMessage:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(t),biz_type:e,version:"0",timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,transfer_account:parseInt(a),payload:n+""};return o}}}}),v=C,O=(n("28a5"),{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY年MM月DD日",LLL:"YYYY年MM月DD日Ah点mm分",LLLL:"YYYY年MM月DD日ddddAh点mm分",l:"YYYY-M-D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d秒",m:"1分钟",mm:"%d分钟",h:"1小时",hh:"%d小时",d:"1天",dd:"%d天",M:"1个月",MM:"%d个月",y:"1年",yy:"%d年"},week:{dow:1,doy:4}}),V=n("c1df");V.locale("zh-cn",O),u.a.defaults.baseURL="http://kf.aissz.com:666/v1",u.a.interceptors.request.use((function(e){var t=localStorage.getItem("Authorization");return e.headers["Authorization"]=t||"",e}),(function(e){return Promise.reject(e)})),u.a.interceptors.response.use((function(e){return e}),(function(e){return 401==e.response.status&&(localStorage.clear(),y["a"].commit("onChangeAdminInfo",null),y["a"].state.mimcUser&&y["a"].state.mimcUser.logout(),A["a"].push("/login")),Promise.reject(e)}));var L={fullscreenEl:!1};a["default"].use(j.a,L),a["default"].use(s.a),a["default"].use(T),a["default"].use(v),a["default"].config.productionTip=!1,new a["default"]({router:A["a"],store:y["a"],render:function(e){return e(p)}}).$mount("#app")},"7faf":function(e,t,n){"use strict";var a=n("8fba"),o=n.n(a);o.a},"8fba":function(e,t,n){}});
//# sourceMappingURL=app.89a6f443.js.map
\ No newline at end of file
(function(e){function t(t){for(var a,o,c=t[0],i=t[1],u=t[2],l=0,f=[];l<c.length;l++)o=c[l],Object.prototype.hasOwnProperty.call(s,o)&&s[o]&&f.push(s[o][0]),s[o]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);d&&d(t);while(f.length)f.shift()();return r.push.apply(r,u||[]),n()}function n(){for(var e,t=0;t<r.length;t++){for(var n=r[t],a=!0,o=1;o<n.length;o++){var c=n[o];0!==s[c]&&(a=!1)}a&&(r.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},o={app:0},s={app:0},r=[];function c(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-08473d3a":"eae62d86","chunk-343c8d41":"f0041881","chunk-3a5ae4b9":"95fb80dc","chunk-4033950c":"00c35915","chunk-4bc425fc":"0bbe4f9b","chunk-615380b5":"8e004b72","chunk-771e4186":"f1240d97","chunk-d086e898":"72fb38e4","chunk-4d213a0b":"fb158f44","chunk-b4735d10":"e80c520c","chunk-e3edb682":"604c708b"}[e]+".js"}function i(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.e=function(e){var t=[],n={"chunk-08473d3a":1,"chunk-3a5ae4b9":1,"chunk-4033950c":1,"chunk-4bc425fc":1,"chunk-615380b5":1,"chunk-771e4186":1,"chunk-d086e898":1,"chunk-4d213a0b":1,"chunk-b4735d10":1,"chunk-e3edb682":1};o[e]?t.push(o[e]):0!==o[e]&&n[e]&&t.push(o[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-08473d3a":"77daa9fe","chunk-343c8d41":"31d6cfe0","chunk-3a5ae4b9":"36eb5b7d","chunk-4033950c":"ccd30c89","chunk-4bc425fc":"a028419f","chunk-615380b5":"0b5bbfe0","chunk-771e4186":"92ee7235","chunk-d086e898":"6a96c7a1","chunk-4d213a0b":"e2ea152d","chunk-b4735d10":"9f747f60","chunk-e3edb682":"0b5ced8d"}[e]+".css",s=i.p+a,r=document.getElementsByTagName("link"),c=0;c<r.length;c++){var u=r[c],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===a||l===s))return t()}var f=document.getElementsByTagName("style");for(c=0;c<f.length;c++){u=f[c],l=u.getAttribute("data-href");if(l===a||l===s)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var a=t&&t.target&&t.target.src||s,r=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");r.code="CSS_CHUNK_LOAD_FAILED",r.request=a,delete o[e],d.parentNode.removeChild(d),n(r)},d.href=s;var m=document.getElementsByTagName("head")[0];m.appendChild(d)})).then((function(){o[e]=0})));var a=s[e];if(0!==a)if(a)t.push(a[2]);else{var r=new Promise((function(t,n){a=s[e]=[t,n]}));t.push(a[2]=r);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,i.nc&&l.setAttribute("nonce",i.nc),l.src=c(e);var f=new Error;u=function(t){l.onerror=l.onload=null,clearTimeout(d);var n=s[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;f.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",f.name="ChunkLoadError",f.type=a,f.request=o,n[1](f)}s[e]=void 0}};var d=setTimeout((function(){u({type:"timeout",target:l})}),12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var f=0;f<u.length;f++)t(u[f]);var d=l;r.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},"41cb":function(e,t,n){"use strict";var a=n("2b0e"),o=n("8c4f");a["default"].use(o["a"]),t["a"]=new o["a"]({base:"",routes:[{path:"/",name:"home",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-d086e898")]).then(n.bind(null,"1e4b"))},redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-b4735d10").then(n.bind(null,"7abe"))}},{path:"workbench",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-4033950c")]).then(n.bind(null,"29e5"))}},{path:"knowledge",component:function(){return n.e("chunk-e3edb682").then(n.bind(null,"7a26"))}},{path:"robot",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-4bc425fc")]).then(n.bind(null,"2157"))}},{path:"customer",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-615380b5")]).then(n.bind(null,"aedf"))}},{path:"users",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-771e4186")]).then(n.bind(null,"4468"))}},{path:"system",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-3a5ae4b9")]).then(n.bind(null,"26b0"))}},{path:"chat_record",component:function(){return n.e("chunk-08473d3a").then(n.bind(null,"caae"))}}]},{path:"/login",name:"login",component:function(){return n.e("chunk-4d213a0b").then(n.bind(null,"bd01"))}},{path:"*",redirect:"/index"}]})},4360:function(e,t,n){"use strict";var a=n("2b0e"),o=n("2f62"),s=(n("57e7"),n("bc3a")),r=n.n(s),c=n("41cb"),i={ON_GET_ME:function(e){var t=location.pathname;r.a.get("/admin/me").then((function(t){e.commit("onIsLogin",!0),e.commit("onChangeAdminInfo",t.data.data),"/login"!=location.pathname&&-1==location.hash.indexOf("#/login")||c["a"].push({path:"/index"})})).catch((function(n){console.log(n.response),e.commit("onIsLogin",!1),"/login"!=t&&c["a"].push({path:"/login"})}))},ON_GET_UPLOAD_TOKEN:function(e){r.a.get("/public/secret").then((function(t){e.commit("onChangeUploadToken",t.data.data)}))},ON_GET_PLATFORM_CONFIG:function(e){r.a.get("/platform/list").then((function(t){e.commit("onChangePlatformConfig",t.data.data)}))},ON_GET_SYSTEM:function(e){r.a.get("/system").then((function(t){e.commit("onChangeSystemInfo",t.data.data),document.title=t.data.data.title}))},ON_GET_COMPANY:function(e){r.a.get("/public/company").then((function(t){e.commit("onChangeCompanyInfo",t.data.data)}))},ON_GET_UPLOADS_CONFIG:function(e){r.a.get("/uploads/config").then((function(t){e.commit("onChangeUploadsConfigs",t.data.data)}))},ON_GET_CONTACTS:function(e){r.a.get("/contact/list").then((function(t){e.commit("onChangeContacts",t.data.data)}))},ON_RUN_LAST_ACTiIVITY:function(){r.a.get("/public/activity/")},ON_GET_ROBOTS:function(e){var t=this;r.a.get("/robot/list").then((function(t){e.commit("onChangeRobos",t.data.data)})).catch((function(){t.loading=!1}))}},u={onChangeHeaserTitle:function(e,t){e.heaserTitle=t},onChangePlatformConfig:function(e,t){e.platformConfig=t},onChangeToggleAside:function(e,t){e.isShowAside=t},onChangeEditDialogFormVisible:function(e,t){e.editDialogFormVisible=t},onChangeEditPasswordDialogFormVisible:function(e,t){e.editPasswordDialogFormVisible=t},onChangeAdminInfo:function(e,t){e.adminInfo=t},onChangeUploadToken:function(e,t){e.uploadToken=t},onChangeSystemInfo:function(e,t){e.systemInfo=t},onChangeCompanyInfo:function(e,t){e.companyInfo=t},onChangeUploadsConfigs:function(e,t){e.uploadsConfigs=t},onChangeMimcUser:function(e,t){e.mimcUser=t},onChangeContacts:function(e,t){for(var n in e.contacts=t,t){var a=t[n];if(e.seviceCurrentUser&&a.from_account==e.seviceCurrentUser.from_account){e.seviceCurrentUser=a;break}}},onChangeSeviceCurrentUser:function(e,t){e.seviceCurrentUser=t},onChangeRobos:function(e,t){e.robots=t},onReset:function(e){e.seviceCurrentUser=null,e.contacts=[],e.mimcUser=null},onChangeMessageRecord:function(e,t){e.messageRecord=t},onIsLogin:function(e,t){e.isLogin=t}},l={adminInfo:function(e){return e.adminInfo||{}},isLogin:function(e){return e.isLogin},avatar:function(e){return e.adminInfo&&""!=e.adminInfo.avatar?e.adminInfo.avatar:""},uploadMod:function(e){return e.uploadToken.mode||-1},nickname:function(e){return e.adminInfo&&""!=e.adminInfo.nickname?e.adminInfo.nickname:"未设置昵称"},uploadToken:function(e){return e.uploadToken},platformConfig:function(e){return e.platformConfig},systemInfo:function(e){return e.systemInfo},companyInfo:function(e){return e.companyInfo},uploadsConfigs:function(e){return e.uploadsConfigs},contacts:function(e){return e.contacts||[]},seviceCurrentUser:function(e){return e.seviceCurrentUser||{}},robots:function(e){return e.robots||[]},messageRecord:function(e){return e.messageRecord||{list:[]}},readCount:function(e){for(var t=0,n=0;n<e.contacts.length;n++)t+=e.contacts[n].read;return t},workbenchBgColor:function(e){return e.workbenchBgColor}},f={adminInfo:null,heaserTitle:"首页",isShowAside:!0,editDialogFormVisible:!1,isLogin:!1,editPasswordDialogFormVisible:!1,uploadToken:null,platformConfig:[],systemInfo:{},companyInfo:{},uploadsConfigs:[],mimcUser:null,contacts:[],robots:[],seviceCurrentUser:null,messageRecord:{list:[]},avatar:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAD7tJREFUeAHtXV1sHMUdn9m7s50P59NxbBI7McH5IHz5A8g5OHFTJECUIlWFVkIFCdI+8dYHqOARBKjqG08tIIHEA7QvlCJAShPHxnYAO6aiKE0s5DZpcBJiFOqEOLZvp//f3q1zd7673b2dnZ21b6TT7u3O/L9+O/Of7+FsEYTx8fGa0xOTrVwYOwQT9GM7OGP1pFotY6JWMG5duXWlJ0xMMcaneOZK8aYozQVKc5LinBTcPNncuH6spaVlOurmIZ2iF44OjewilA7Q70cETAcp0SyEMGRqwjk3ifZpoj3CODtCv8P7kx0nZPJQQSsSAA8PD9ddmTEeZqZ5gIx+gAzToMI4BXicI4MdZoZxeEWV+V5nZ+fFAnG0eqQtwGNjY9UTF6Yeopz5OOPifiFYQifLcc5mmeAfUU5/q7G+9v3W1tZrOslny6IdwL0Do3dyYT5FOfUX5C3X2ILqfeWXyJDvCG683rO37XOdZNUG4P6h0Z5UynyOQL1XJwN5l4UfisWMF7uTbb3e08pPETrAvUPHH6DqzPNUFHfJVy88ilR0DwqDv9CTbP8wPCmorRAW8/6h4btTJn+VCdEZlgxK+HI+HDPE093Jzk+V8MtjohzgwcGv1s2I6ZeJ8UHKtcr55+mv5C/lZqojsteqeM2zXV27v1PCNMNEmYEBZt/Q6JNCmK9Q+3W9SiW14cXZJOfGM/uSbW8AdBVyKQH46GdfNrHZmbcJ5G4VSunOg8DtZ4mqx/bfdeuZoGUNHOC+geEHTcbeXLK5thiClJup6+2JfXs7PygWRcZzqd172QJRbo0f/WTk99QP/H4F3GzLZO7JTcE2lo3IVgViSHkUSA4eHPxi06xI/ZlATkqRcpEToSJ7KMFjj3R13XFWtqrSAbYGAlLiY6pBNMkWdjHTIyD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nLv1NCMUux00g4VACoAVACoAVACoA//2Q==",workbenchBgColor:"#646b6f"};a["default"].use(o["a"]);t["a"]=new o["a"].Store({state:f,getters:l,mutations:u,actions:i})},4678:function(e,t,n){var a={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function o(e){var t=s(e);return n(t)}function s(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}o.keys=function(){return Object.keys(a)},o.resolve=s,e.exports=o,o.id="4678"},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),o=n("5c96"),s=n.n(o),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[n("router-view")],1)},c=[],i=(n("6d67"),n("bc3a")),u=n.n(i),l=n("b730"),f=n.n(l),d={created:function(){this.$store.dispatch("ON_GET_ME")},methods:{appInit:function(){var e=this;this.adminInfo?(this.$store.dispatch("ON_GET_UPLOAD_TOKEN"),this.$store.dispatch("ON_GET_PLATFORM_CONFIG"),this.$store.dispatch("ON_GET_SYSTEM"),this.$store.dispatch("ON_GET_COMPANY"),this.$store.dispatch("ON_GET_UPLOADS_CONFIG"),this.$store.dispatch("ON_GET_ROBOTS"),this.$store.dispatch("ON_GET_CONTACTS"),this.upLastActivity(),this.getContacts(),this.initMimc()):setTimeout((function(){return e.appInit()}),50)},getContacts:function(){var e=this;this.adminInfo&&(this.$store.dispatch("ON_GET_CONTACTS"),this.seviceCurrentUser&&this.$store.getters.contacts.length>0&&this.$store.getters.contacts.map((function(t){t.from_account==e.seviceCurrentUser.from_account&&e.$store.commit("onChangeSeviceCurrentUser",t)})))},upLastActivity:function(){var e=this;this.$store.dispatch("ON_RUN_LAST_ACTiIVITY"),setTimeout((function(){return e.upLastActivity()}),6e4)},initMimc:function(){var e=this,t=this,n=this.$store.state.adminInfo;n?t.$mimcInstance.init({type:1,account_id:n.id},(function(n){n?(e.$mimcInstance.addEventListener("statusChange",(function(e){e||0==t.$store.getters.adminInfo.online||t.watchLogin()})),e.$mimcInstance.addEventListener("disconnect",(function(){console.log("链接断开!"),0!=t.$store.getters.adminInfo.online&&t.watchLogin()})),t.watchLogin()):t.initMimc()})):setTimeout((function(){return e.initMimc()}),1e3)},changeUserOnlineStatus:function(e){var t=this;u.a.put("/admin/online/"+e).then((function(){t.$store.dispatch("ON_GET_ME"),0==e&&t.$message.info("当前状态为离线")})).catch((function(e){t.$message.error(e.response.data.message)}))},watchLogin:function(){var e=this;try{var t=this;if(null!=t.$store.state.user)return;1==t.$store.getters.adminInfo.online||2==t.$store.getters.adminInfo.online?t.$mimcInstance.login((function(){t.changeUserOnlineStatus(t.$store.getters.adminInfo.online),t.$store.dispatch("ON_RUN_LAST_ACTiIVITY"),t.$store.dispatch("ON_GET_CONTACTS"),t.$store.commit("onChangeMimcUser",t.$mimcInstance.user)})):0!=t.$store.getters.adminInfo.online&&setTimeout((function(){return t.watchLogin()}),1e3)}catch(n){setTimeout((function(){return e.watchLogin()}),1e3)}}},mounted:function(){var e=this;window.addEventListener("resize",(function(){e.$store.commit("onChangeToggleAside",!0),document.body.clientWidth<1e3&&e.$store.commit("onChangeToggleAside",!1)}),!1),f.a.Permission.has()||f.a.Permission.request((function(){}),(function(){}))},computed:{adminInfo:function(){return this.$store.getters.adminInfo},seviceCurrentUser:function(){return this.$store.getters.seviceCurrentUser},messageRecord:function(){return this.$store.getters.messageRecord},isLogin:function(){return this.$store.getters.isLogin}},watch:{$route:function(){var e=this;/^\/workbench(\/\d+)?$/i.test(this.$route.path)||this.$mimcInstance.addEventListener("receiveP2PMsg",(function(t){var n=parseInt(((new Date).getTime()+"").substr(0,10));if(t.timestamp=parseInt((t.timestamp+"").substr(0,10)),!(n-t.timestamp>=60))if("contacts"!=t.biz_type)if("handshake"!=t.biz_type){var a=JSON.parse(JSON.stringify(e.messageRecord));a.list.push(t),e.$store.commit("onChangeMessageRecord",a),"contacts"!=t.biz_type&&"pong"!=t.biz_type&&"welcome"!=t.biz_type&&"cancel"!=t.biz_type&&"handshake"!=t.biz_type&&"end"!=t.biz_type&&"timeout"!=t.biz_type&&f.a.Permission.has()&&f.a.create("收到一条新消息",{body:t.payload,icon:e.$store.state.pushIcon,timeout:5e3,onClick:function(){e.$router.push({path:"/workbench?uid="+t.from_account}),window.focus()}})}else e.$mimcInstance.sendMessage("text",t.from_account,e.adminInfo.auto_reply);else{var o=JSON.parse(t.payload);e.$store.commit("onChangeContacts",o)}}))},isLogin:function(){console.log("当前是登录状态"),this.appInit()}}},m=d,b=(n("7faf"),n("2877")),h=Object(b["a"])(m,r,c,!1,null,null,null),p=h.exports,A=n("41cb"),y=n("4360"),k=(n("0fae"),n("d1d4")),g=n.n(k),j=(n("394c"),n("c1df")),U={install:function(e,t){e.prototype.$myMethod=function(){console.log(t)},e.prototype.$getPlatformItem=function(e){for(var t,n=this.$store.getters.platformConfig,a=0;a<n.length;a++)n[a].id==e&&(t=n[a]);return t||{title:"未知"}},e.prototype.$formatUnixDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";return j(parseInt(e+"000")).format(t)},e.prototype.$formatFromNowDate=function(e){return j().format("YYYYMMDD")==j(parseInt(e+"000")).format("YYYYMMDD")?j(parseInt(e+"000")).format("HH:mm"):j(parseInt(e+"000")).format("YYYY-MM-DD HH:mm")},e.prototype.$robotNickname=function(e){for(var t,n=this.$store.getters.robots,a=0;a<n.length;a++)n[a].id==e&&(t=n[a].nickname);return t}}},T=U,C=(n("6b54"),n("87b3"),{install:function(e,t){console.log(t),e.MimcInstance=e.prototype.$mimcInstance={user:null,robot:null,fetchMIMCTokenResult:null,init:function(e,t){this.getRobot(),this.fetchMIMCToken(e,t)},_receiveP2PMsgCallback:null,_statusChangeCallback:null,_serverAckCallback:null,_disconnectCallback:null,fetchMIMCToken:function(e,t){var n=this;u.a.post("/public/register",e).then((function(e){n.fetchMIMCTokenResult=e.data.data.token,t&&t(!0),console.log("MIMC初始化成功")})).catch((function(e){t&&t(!1),o["Message"].error("mimc初始化失败,请刷新重试,"+e.response.data.message)}))},getRobot:function(){var e=this;u.a.get("/public/robot/1").then((function(t){e.robot=t.data.data})).catch((function(e){o["Message"].error("mimc初始化失败,请刷新重试"+e.response.data.message)}))},login:function(e){var t=this;try{var n=this.fetchMIMCTokenResult;if(!n)return;this.user=new MIMCUser(n.data.appId,n.data.appAccount,"666"),this.user.registerP2PMsgHandler((function(e){var n=JSON.parse(window.Base64.decode(e.getPayload()));t._receiveP2PMsgCallback&&t._receiveP2PMsgCallback(n)})),this.user.registerFetchToken((function(){return n})),this.user.registerStatusChange((function(e,n,a,o){t._statusChangeCallback&&t._statusChangeCallback(e,n,a,o)})),this.user.registerServerAckHandler((function(e,n,a,o){t._serverAckCallback&&t._serverAckCallback(e,n,a,o)})),this.user.registerDisconnHandler((function(){t._disconnectCallback&&t._disconnectCallback()})),this.user.login(),window.mimcInstance=this,e&&e(),console.log("MIMC登录成功")}catch(a){console.log(a),console.log("MIMC登录失败"),setTimeout((function(){t.login()}),1e3)}},logout:function(){this.user&&(this.user.logout(),this.user=null)},addEventListener:function(e,t){switch(e){case"receiveP2PMsg":this._receiveP2PMsgCallback=t;break;case"statusChange":this._statusChangeCallback=t;break;case"serverAck":this._serverAckCallback=t;break;case"disconnect":this._disconnectCallback=t;break}},sendMessage:function(e,t){var n=this,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(this.user){var r={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(t),biz_type:e,version:"0",timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,transfer_account:parseInt(s),payload:a+""},c=window.Base64.encode(JSON.stringify(r));try{if("contacts"!=e&&"pong"!=e&&"welcome"!=e&&"handshake"!=e){var i={biz_type:"into",payload:c},u=window.Base64.encode(JSON.stringify(i));this.user.sendMessage(this.robot.id.toString(),u)}setTimeout((function(){n.user.sendMessage(t.toString(),c)}),200)}catch(l){console.log("sendMessage fail, err="+l)}return r}o["Message"].error("服务异常,请刷新重试!")},createLocalMessage:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,o={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(t),biz_type:e,version:"0",timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,transfer_account:parseInt(a),payload:n+""};return o}}}}),v=C,O=(n("28a5"),{months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY年MM月DD日",LLL:"YYYY年MM月DD日Ah点mm分",LLLL:"YYYY年MM月DD日ddddAh点mm分",l:"YYYY-M-D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t){var n=100*e+t;return n<600?"凌晨":n<900?"早上":n<1130?"上午":n<1230?"中午":n<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d秒",m:"1分钟",mm:"%d分钟",h:"1小时",hh:"%d小时",d:"1天",dd:"%d天",M:"1个月",MM:"%d个月",y:"1年",yy:"%d年"},week:{dow:1,doy:4}}),I=n("c1df");I.locale("zh-cn",O),u.a.defaults.baseURL="http://kf.aissz.com:666/v1",u.a.interceptors.request.use((function(e){var t=localStorage.getItem("Authorization");return e.headers["Authorization"]=t||"",e}),(function(e){return Promise.reject(e)})),u.a.interceptors.response.use((function(e){return e}),(function(e){return 401==e.response.status&&(localStorage.clear(),y["a"].commit("onChangeAdminInfo",null),y["a"].state.mimcUser&&y["a"].state.mimcUser.logout(),A["a"].push("/login")),Promise.reject(e)}));var L={fullscreenEl:!1};a["default"].use(g.a,L),a["default"].use(s.a),a["default"].use(T),a["default"].use(v),a["default"].config.productionTip=!1,new a["default"]({router:A["a"],store:y["a"],render:function(e){return e(p)}}).$mount("#app")},"7faf":function(e,t,n){"use strict";var a=n("8fba"),o=n.n(a);o.a},"8fba":function(e,t,n){}});
//# sourceMappingURL=app.f25cf028.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/router.js","webpack:///./src/store/actions.js","webpack:///./src/store/mutations.js","webpack:///./src/store/getters.js","webpack:///./src/store/state.js","webpack:///./src/store/index.js","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/App.vue?00cc","webpack:///src/App.vue","webpack:///./src/App.vue?2e55","webpack:///./src/App.vue","webpack:///./src/plugins/help.js","webpack:///./src/plugins/mimc.js","webpack:///./src/resource/moment_locale.js","webpack:///./src/main.js","webpack:///./src/App.vue?2c4a"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","Vue","use","Router","base","process","routes","path","component","redirect","children","ON_GET_ME","context","pathname","location","axios","response","commit","hash","indexOf","router","catch","log","ON_GET_UPLOAD_TOKEN","ON_GET_PLATFORM_CONFIG","ON_GET_SYSTEM","title","ON_GET_COMPANY","ON_GET_UPLOADS_CONFIG","ON_GET_CONTACTS","ON_RUN_LAST_ACTiIVITY","ON_GET_ROBOTS","loading","onChangeHeaserTitle","state","heaserTitle","onChangePlatformConfig","platformConfig","onChangeToggleAside","isShow","isShowAside","onChangeEditDialogFormVisible","editDialogFormVisible","onChangeEditPasswordDialogFormVisible","editPasswordDialogFormVisible","onChangeAdminInfo","adminInfo","onChangeUploadToken","uploadToken","onChangeSystemInfo","systemInfo","onChangeCompanyInfo","companyInfo","onChangeUploadsConfigs","uploadsConfigs","onChangeMimcUser","mimcUser","onChangeContacts","contacts","index","contact","seviceCurrentUser","from_account","onChangeSeviceCurrentUser","onChangeRobos","robots","onReset","onChangeMessageRecord","messageRecord","onIsLogin","isLogin","avatar","uploadMod","nickname","list","readCount","count","read","workbenchBgColor","pushIcon","Vuex","Store","getters","mutations","actions","map","webpackContext","req","id","webpackContextResolve","keys","_vm","this","_h","$createElement","_c","_self","attrs","staticRenderFns","created","$store","dispatch","methods","appInit","upLastActivity","getContacts","initMimc","changeUserOnlineStatus","watchLogin","self","$mimcInstance","login","online","user","mounted","addEventListener","computed","watch","nowTime","parseInt","Date","getTime","timestamp","newMessageRecord","JSON","parse","stringify","payload","moment","require","Helps","options","$myMethod","$getPlatformItem","platformConfigItem","$formatUnixDate","unix","format","$formatFromNowDate","$robotNickname","MimcPlugin","MimcInstance","robot","fetchMIMCTokenResult","init","callback","getRobot","fetchMIMCToken","_receiveP2PMsgCallback","_statusChangeCallback","_serverAckCallback","_disconnectCallback","post","token","Message","MIMCUser","appId","appAccount","registerP2PMsgHandler","msg","Base64","decode","getPayload","registerFetchToken","registerStatusChange","bindResult","errType","errReason","errDesc","registerServerAckHandler","packetId","sequence","timeStamp","errMsg","registerDisconnHandler","mimcInstance","logout","sendMessage","toAccount","transferAccount","messageJson","substr","jsonBase64Msg","encode","intoMessageJson","intoJsonBase64Msg","toString","createLocalMessage","months","split","monthsShort","weekdays","weekdaysShort","weekdaysMin","longDateFormat","LT","LTS","L","LL","LLL","LLLL","ll","lll","llll","meridiemParse","meridiemHour","hour","meridiem","minute","hm","calendar","sameDay","nextDay","nextWeek","lastDay","lastWeek","sameElse","dayOfMonthOrdinalParse","ordinal","number","period","relativeTime","future","past","ss","mm","h","hh","dd","M","MM","y","yy","week","dow","doy","locale","momentLocal","defaults","baseURL","interceptors","config","localStorage","getItem","headers","status","clear","store","fullscreenEl","preview","ElementUI","productionTip","render","App","$mount"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJjB,EAAkB,C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CCxDV,yBAAqf,EAAG,G","file":"js/app.f25cf028.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-08473d3a\":\"eae62d86\",\"chunk-343c8d41\":\"f0041881\",\"chunk-3a5ae4b9\":\"95fb80dc\",\"chunk-4033950c\":\"00c35915\",\"chunk-4bc425fc\":\"0bbe4f9b\",\"chunk-615380b5\":\"8e004b72\",\"chunk-771e4186\":\"f1240d97\",\"chunk-d086e898\":\"72fb38e4\",\"chunk-4d213a0b\":\"fb158f44\",\"chunk-b4735d10\":\"e80c520c\",\"chunk-e3edb682\":\"604c708b\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"chunk-08473d3a\":1,\"chunk-3a5ae4b9\":1,\"chunk-4033950c\":1,\"chunk-4bc425fc\":1,\"chunk-615380b5\":1,\"chunk-771e4186\":1,\"chunk-d086e898\":1,\"chunk-4d213a0b\":1,\"chunk-b4735d10\":1,\"chunk-e3edb682\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({}[chunkId]||chunkId) + \".\" + {\"chunk-08473d3a\":\"77daa9fe\",\"chunk-343c8d41\":\"31d6cfe0\",\"chunk-3a5ae4b9\":\"36eb5b7d\",\"chunk-4033950c\":\"ccd30c89\",\"chunk-4bc425fc\":\"a028419f\",\"chunk-615380b5\":\"0b5bbfe0\",\"chunk-771e4186\":\"92ee7235\",\"chunk-d086e898\":\"6a96c7a1\",\"chunk-4d213a0b\":\"e2ea152d\",\"chunk-b4735d10\":\"9f747f60\",\"chunk-e3edb682\":\"0b5ced8d\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","import Vue from 'vue'\nimport Router from 'vue-router'\n\nVue.use(Router)\n\nexport default new Router({\n // mode: 'history',\n base: process.env.BASE_URL,\n routes: [\n {\n path: '/',\n name: 'home',\n component: () => import('./views/index.vue'),\n redirect: \"/index\",\n children: [\n {\n path: 'index',\n component: () => import('./views/home/index.vue'),\n },\n {\n path: 'workbench',\n component: () => import('./views/workbench/index.vue'),\n },\n {\n path: 'knowledge',\n component: () => import('./views/knowledge/index.vue'),\n },\n {\n path: 'robot',\n component: () => import('./views/robot/index.vue'),\n },\n {\n path: 'customer',\n component: () => import('./views/customer/index.vue'),\n },\n {\n path: 'users',\n component: () => import('./views/users/index.vue'),\n },\n {\n path: 'system',\n component: () => import('./views/system/index.vue'),\n },\n {\n path: 'chat_record',\n component: () => import('./views/record/index.vue')\n },\n ]\n },\n {\n path: '/login',\n name: 'login',\n component: () => import('./views/auth/login.vue')\n },\n {path:'*',redirect: \"/index\"},\n ]\n})\n","import axios from 'axios'\nimport router from '../router'\nexport default {\n // 获取用户信息\n ON_GET_ME(context){\n var pathname = location.pathname\n axios.get('/admin/me')\n .then(response => {\n context.commit(\"onIsLogin\", true)\n context.commit(\"onChangeAdminInfo\", response.data.data)\n if(location.pathname == '/login' || location.hash.indexOf(\"#/login\") != -1){\n router.push({ path: '/index'})\n }\n })\n .catch(error => {\n console.log(error.response)\n context.commit(\"onIsLogin\", false)\n if(pathname != '/login'){\n router.push({ path: '/login'})\n }\n });\n },\n // 获取上传配置\n ON_GET_UPLOAD_TOKEN(context){\n axios.get('/public/secret')\n .then(response => {\n context.commit('onChangeUploadToken', response.data.data)\n })\n },\n // 获取平台配置数据\n ON_GET_PLATFORM_CONFIG(context){\n axios.get('/platform/list')\n .then(response => {\n context.commit('onChangePlatformConfig', response.data.data)\n })\n },\n // 获取systemInfo\n ON_GET_SYSTEM(context){\n axios.get('/system')\n .then(response => {\n context.commit('onChangeSystemInfo', response.data.data)\n document.title = response.data.data.title\n })\n },\n // 获取companyInfo\n ON_GET_COMPANY(context){\n axios.get('/public/company')\n .then(response => {\n context.commit('onChangeCompanyInfo', response.data.data)\n })\n },\n // 获取uploads/config\n ON_GET_UPLOADS_CONFIG(context){\n axios.get('/uploads/config')\n .then(response => {\n context.commit('onChangeUploadsConfigs', response.data.data)\n })\n },\n // 获取会话列表\n ON_GET_CONTACTS(context){\n axios.get('/contact/list')\n .then(response => {\n context.commit('onChangeContacts', response.data.data)\n })\n },\n // 一分钟上报一次我的活动\n ON_RUN_LAST_ACTiIVITY(){\n axios.get('/public/activity/')\n },\n // 获取机器人列表\n ON_GET_ROBOTS(context){\n axios.get('/robot/list')\n .then(response => {\n context.commit('onChangeRobos', response.data.data)\n })\n .catch(() => {\n this.loading = false\n });\n }\n}","export default {\n // 更新标题\n onChangeHeaserTitle(state, title){\n state.heaserTitle = title\n },\n // 更新平台配置数据\n onChangePlatformConfig(state, platformConfig){\n state.platformConfig = platformConfig\n },\n // 展开隐藏\n onChangeToggleAside(state, isShow){\n state.isShowAside = isShow\n },\n // 更新个人资料modal状态\n onChangeEditDialogFormVisible(state, isShow){\n state.editDialogFormVisible = isShow\n },\n // 更新个人密码modal状态\n onChangeEditPasswordDialogFormVisible(state, isShow){\n state.editPasswordDialogFormVisible = isShow\n },\n // 更新个人资料\n onChangeAdminInfo(state, adminInfo){\n state.adminInfo = adminInfo\n },\n // 更新上传token\n onChangeUploadToken(state, uploadToken){\n state.uploadToken = uploadToken\n },\n // 更新systemInfo\n onChangeSystemInfo(state, systemInfo){\n state.systemInfo = systemInfo\n },\n // 更新companyInfo\n onChangeCompanyInfo(state, companyInfo){\n state.companyInfo = companyInfo\n },\n // 更新uploadsConfigs\n onChangeUploadsConfigs(state, uploadsConfigs){\n state.uploadsConfigs = uploadsConfigs\n },\n // 更新mimcUser\n onChangeMimcUser(state, mimcUser){\n state.mimcUser = mimcUser\n },\n // 更新contacts\n onChangeContacts(state, contacts){\n state.contacts = contacts\n for(let index in contacts){\n var contact = contacts[index]\n if(state.seviceCurrentUser && contact.from_account == state.seviceCurrentUser.from_account){\n state.seviceCurrentUser = contact\n break\n }\n }\n },\n // 更新当前窗口服务谁\n onChangeSeviceCurrentUser(state, seviceCurrentUser){\n state.seviceCurrentUser = seviceCurrentUser\n },\n // 更新机器人列表\n onChangeRobos(state, robots){\n state.robots = robots\n },\n // 重置某些值\n onReset(state){\n state.seviceCurrentUser = null\n state.contacts = []\n state.mimcUser = null\n },\n // 更新聊天记录\n onChangeMessageRecord(state, messageRecord){\n state.messageRecord = messageRecord\n },\n // 是否是登陆状态\n onIsLogin(state, isLogin){\n state.isLogin = isLogin\n }\n}","export default {\n // 获取个人信息\n adminInfo(state){\n return state.adminInfo || {}\n },\n // 是否是登录状态\n isLogin(state){\n return state.isLogin\n },\n // 获取头像\n avatar(state){\n if(state.adminInfo && state.adminInfo.avatar != \"\"){\n return state.adminInfo.avatar\n }else{\n return ''\n }\n },\n // 获取上传mode\n uploadMod(state){\n return state.uploadToken.mode || -1\n }, \n // 获取昵称\n nickname(state){\n if(state.adminInfo && state.adminInfo.nickname != \"\"){\n return state.adminInfo.nickname\n }else{\n return '未设置昵称'\n }\n },\n // 获取上传配置文件\n uploadToken(state){\n return state.uploadToken\n },\n // 获取平台配置数据\n platformConfig(state){\n return state.platformConfig\n },\n // 获取systemInfo\n systemInfo(state){\n return state.systemInfo\n },\n // 获取companyInfo\n companyInfo(state){\n return state.companyInfo\n },\n // 获取uploadsConfigs\n uploadsConfigs(state){\n return state.uploadsConfigs\n },\n // 获取会话列表\n contacts(state){\n return state.contacts|| []\n },\n // 获取当前窗口服务谁\n seviceCurrentUser(state){\n return state.seviceCurrentUser || {}\n },\n // 获取机器人\n robots(state){\n return state.robots || []\n },\n // 聊天信息\n messageRecord(state){\n return state.messageRecord || {list:[]}\n },\n // 新消息总数\n readCount(state){\n var count = 0\n for(let i =0; i<state.contacts.length; i++) {\n count = count + state.contacts[i].read\n }\n return count\n },\n // 工作台背景颜色\n workbenchBgColor(state){\n return state.workbenchBgColor\n },\n}","export default {\n adminInfo: null, // 个人信息\n heaserTitle: \"首页\", // header标题\n isShowAside: true, // 控制左侧栏显示隐藏\n editDialogFormVisible: false, // 控制修改个人资料modal\n isLogin: false, // 是否已登录状态\n editPasswordDialogFormVisible: false, // 控制修改密码modal\n uploadToken: null, // 上传签名数据\n platformConfig: [], // 平台数据\n systemInfo: {}, // 系统信息\n companyInfo: {}, // 公司信息\n uploadsConfigs: [], // 可配置上传参数\n mimcUser: null, // mimc用户对象\n contacts: [], // 会话列表\n robots: [], // 机器人列表\n seviceCurrentUser: null,// 当前窗口服务谁\n messageRecord: { // 当前聊天面板聊天消息记录\n list: []\n },\n avatar: \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAD7tJREFUeAHtXV1sHMUdn9m7s50P59NxbBI7McH5IHz5A8g5OHFTJECUIlWFVkIFCdI+8dYHqOARBKjqG08tIIHEA7QvlCJAShPHxnYAO6aiKE0s5DZpcBJiFOqEOLZvp//f3q1zd7673b2dnZ21b6TT7u3O/L9+O/Of7+FsEYTx8fGa0xOTrVwYOwQT9GM7OGP1pFotY6JWMG5duXWlJ0xMMcaneOZK8aYozQVKc5LinBTcPNncuH6spaVlOurmIZ2iF44OjewilA7Q70cETAcp0SyEMGRqwjk3ifZpoj3CODtCv8P7kx0nZPJQQSsSAA8PD9ddmTEeZqZ5gIx+gAzToMI4BXicI4MdZoZxeEWV+V5nZ+fFAnG0eqQtwGNjY9UTF6Yeopz5OOPifiFYQifLcc5mmeAfUU5/q7G+9v3W1tZrOslny6IdwL0Do3dyYT5FOfUX5C3X2ILqfeWXyJDvCG683rO37XOdZNUG4P6h0Z5UynyOQL1XJwN5l4UfisWMF7uTbb3e08pPETrAvUPHH6DqzPNUFHfJVy88ilR0DwqDv9CTbP8wPCmorRAW8/6h4btTJn+VCdEZlgxK+HI+HDPE093Jzk+V8MtjohzgwcGv1s2I6ZeJ8UHKtcr55+mv5C/lZqojsteqeM2zXV27v1PCNMNEmYEBZt/Q6JNCmK9Q+3W9SiW14cXZJOfGM/uSbW8AdBVyKQH46GdfNrHZmbcJ5G4VSunOg8DtZ4mqx/bfdeuZoGUNHOC+geEHTcbeXLK5thiClJup6+2JfXs7PygWRcZzqd172QJRbo0f/WTk99QP/H4F3GzLZO7JTcE2lo3IVgViSHkUSA4eHPxi06xI/ZlATkqRcpEToSJ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pVVC3krZ9uiNGri6o9/UXiDjYMBgR4UduMwnk20kIT6hVCUnLv1NCMUux00g4VACoAVACoAVACoA//2Q==\",\n workbenchBgColor: \"#646b6f\" // 工作台背景颜色\n}","import Vue from 'vue'\nimport Vuex from 'vuex'\nimport actions from './actions'\nimport mutations from './mutations'\nimport getters from './getters'\nimport state from './state'\nVue.use(Vuex)\nexport default new Vuex.Store({\n state: state,\n getters: getters,\n mutations: mutations,\n actions: actions\n})","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d83\",\n\t\"./ar-tn.js\": \"6d83\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-SG\": \"cdab\",\n\t\"./en-SG.js\": \"cdab\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"7333\",\n\t\"./en-il.js\": \"7333\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf75\",\n\t\"./tlh.js\": \"cf75\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{attrs:{\"id\":\"app\"}},[_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div id=\"app\">\n <router-view/>\n </div>\n</template>\n<script>\nimport axios from \"axios\";\nimport Push from \"push.js\";\nexport default {\n created(){\n this.$store.dispatch('ON_GET_ME')\n },\n methods: {\n // app init\n appInit(){\n if(!this.adminInfo){\n setTimeout(()=> this.appInit(), 50)\n return\n }\n this.$store.dispatch('ON_GET_UPLOAD_TOKEN')\n this.$store.dispatch('ON_GET_PLATFORM_CONFIG')\n this.$store.dispatch('ON_GET_SYSTEM')\n this.$store.dispatch('ON_GET_COMPANY')\n this.$store.dispatch('ON_GET_UPLOADS_CONFIG')\n this.$store.dispatch('ON_GET_ROBOTS')\n this.$store.dispatch('ON_GET_CONTACTS')\n\n // 一分钟上报一次我的活动时间\n this.upLastActivity()\n\n // 获取会话表\n this.getContacts()\n\n // Mimc 初始化\n this.initMimc()\n\n },\n // 获取会话列表\n getContacts(){\n if(this.adminInfo){\n this.$store.dispatch('ON_GET_CONTACTS')\n if(this.seviceCurrentUser && this.$store.getters.contacts.length > 0){\n this.$store.getters.contacts.map(i => {\n if(i.from_account == this.seviceCurrentUser.from_account){\n this.$store.commit(\"onChangeSeviceCurrentUser\", i)\n }\n })\n }\n }\n },\n // 上报最后活动时间\n upLastActivity(){\n this.$store.dispatch('ON_RUN_LAST_ACTiIVITY')\n setTimeout(() => this.upLastActivity(), 1000*60)\n },\n // 初始化Mimc\n initMimc(){\n var self = this\n var adminInfo = this.$store.state.adminInfo\n if(!adminInfo){\n setTimeout(() => this.initMimc(), 1000)\n }else{\n self.$mimcInstance.init({\n type: 1,\n account_id: adminInfo.id\n }, (isSuccess) => {\n // 初始化完成\n if(isSuccess){\n // 监听登录状态\n this.$mimcInstance.addEventListener(\"statusChange\", (status) => {\n if(!status && self.$store.getters.adminInfo.online != 0){\n self.watchLogin()\n }\n })\n // 监听连接断开\n this.$mimcInstance.addEventListener(\"disconnect\", () => {\n console.log(\"链接断开!\")\n if(self.$store.getters.adminInfo.online != 0){\n self.watchLogin()\n }\n })\n self.watchLogin()\n }else{\n self.initMimc()\n }\n })\n }\n },\n // 更新用户状态\n changeUserOnlineStatus(online){\n // 更新状态\n axios.put('/admin/online/' + online)\n .then(() => {\n this.$store.dispatch('ON_GET_ME')\n if(online == 0){\n this.$message.info(\"当前状态为离线\")\n }\n })\n .catch(error => {\n this.$message.error(error.response.data.message)\n });\n },\n // 监听用户是否有上线登录\n watchLogin(){\n try{\n var self = this\n if(self.$store.state.user != null) return;\n if(self.$store.getters.adminInfo.online == 1 || self.$store.getters.adminInfo.online == 2){\n self.$mimcInstance.login(()=>{\n self.changeUserOnlineStatus(self.$store.getters.adminInfo.online)\n self.$store.dispatch('ON_RUN_LAST_ACTiIVITY')\n self.$store.dispatch('ON_GET_CONTACTS')\n self.$store.commit(\"onChangeMimcUser\", self.$mimcInstance.user)\n })\n }else if(self.$store.getters.adminInfo.online != 0){\n setTimeout(() => self.watchLogin(), 1000)\n }\n }catch(err){\n setTimeout(() => this.watchLogin(), 1000)\n }\n },\n },\n mounted(){\n window.addEventListener(\"resize\", () => {\n this.$store.commit(\"onChangeToggleAside\", true)\n if(document.body.clientWidth < 1000){\n this.$store.commit(\"onChangeToggleAside\", false)\n }\n }, false)\n // 判断通知权限\n if(!Push.Permission.has()){\n Push.Permission.request(function(){}, function(){})\n }\n },\n computed: {\n adminInfo(){\n return this.$store.getters.adminInfo\n },\n seviceCurrentUser(){\n return this.$store.getters.seviceCurrentUser\n },\n messageRecord(){\n return this.$store.getters.messageRecord\n },\n isLogin(){\n return this.$store.getters.isLogin\n }\n },\n watch: {\n \"$route\"(){\n if(!/^\\/workbench(\\/\\d+)?$/i.test(this.$route.path)){\n // 监听消息\n this.$mimcInstance.addEventListener(\"receiveP2PMsg\", (message) => {\n var nowTime = parseInt((new Date().getTime() +\"\").substr(0, 10))\n message.timestamp = parseInt((message.timestamp +\"\").substr(0, 10))\n if(nowTime - message.timestamp >= 60) return\n // 处理用户列表\n if(message.biz_type == \"contacts\"){\n var contacts = JSON.parse(message.payload)\n // console.log(contacts)\n this.$store.commit('onChangeContacts', contacts)\n return\n }\n // 判断是否是握手消息\n if(message.biz_type == \"handshake\"){\n this.$mimcInstance.sendMessage(\"text\", message.from_account, this.adminInfo.auto_reply)\n return\n }\n var newMessageRecord = JSON.parse(JSON.stringify(this.messageRecord))\n newMessageRecord.list.push(message)\n this.$store.commit(\"onChangeMessageRecord\", newMessageRecord)\n\n // 推送消息\n if(message.biz_type == \"contacts\" || message.biz_type == \"pong\" || message.biz_type == \"welcome\" || message.biz_type == \"cancel\" || message.biz_type == \"handshake\" || message.biz_type == \"end\" || message.biz_type == \"timeout\") return\n if(!Push.Permission.has()) return\n Push.create(\"收到一条新消息\", {\n body: message.payload,\n icon: this.$store.state.pushIcon,\n timeout: 5000,\n onClick: () => {\n this.$router.push({ path: '/workbench?uid=' + message.from_account})\n window.focus();\n }\n });\n\n })\n }\n },\n isLogin(){\n console.log(\"当前是登录状态\")\n this.appInit()\n }\n \n }\n}\n</script>\n<style lang=\"stylus\">\n#app{\n display flex\n height 100vh\n}\n.el-tabs__content,.el-tab-pane{\n height 100%\n padding 0\n}\n.el-tabs__content{\n padding 0 !important\n}\nbutton{\n background-color #fff\n}\n.pswp{\n z-index 3000!important\n}\n</style>\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=1fa6f8e6&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var moment = require('moment');\n// eslint-disable-next-line no-undef\nvar Helps = {};\nHelps.install = function (Vue, options) {\n Vue.prototype.$myMethod = function(){\n console.log(options)\n }\n // 获取单个平台数据\n Vue.prototype.$getPlatformItem = function(index){\n var platformConfigItem\n var platformConfig = this.$store.getters.platformConfig\n for(let i = 0; i< platformConfig.length; i++){\n if(platformConfig[i].id == index){\n platformConfigItem = platformConfig[i]\n }\n }\n return platformConfigItem || {title: \"未知\"}\n }\n // 格式化日期\n Vue.prototype.$formatUnixDate = function(unix, format = \"YYYY-MM-DD HH:mm:ss\"){\n return moment(parseInt(unix + '000')).format(format)\n }\n // 格式化日期(相对日期)\n Vue.prototype.$formatFromNowDate = function(unix){\n if(moment().format(\"YYYYMMDD\") == moment(parseInt(unix + '000')).format(\"YYYYMMDD\")){\n return moment(parseInt(unix + '000')).format(\"HH:mm\")\n }\n return moment(parseInt(unix + '000')).format(\"YYYY-MM-DD HH:mm\")\n }\n Vue.prototype.$robotNickname = function(id){\n var nickname\n var robots = this.$store.getters.robots\n for(let i = 0; i< robots.length; i++){\n if(robots[i].id == id){\n nickname = robots[i].nickname\n }\n }\n return nickname\n }\n\n}\nexport default Helps;","import axios from \"axios\";\nimport { Message } from 'element-ui';\nvar MimcPlugin = {};\nMimcPlugin.install = function (Vue, options) {\n\n console.log(options)\n\n // 获取单个平台数据\n Vue.MimcInstance = Vue.prototype.$mimcInstance = {\n user: null,\n robot: null,\n fetchMIMCTokenResult: null,\n // 初始化\n init(request, callback){\n this.getRobot()\n this.fetchMIMCToken(request, callback)\n },\n _receiveP2PMsgCallback: null,\n _statusChangeCallback: null,\n _serverAckCallback: null,\n _disconnectCallback: null,\n // 获取token\n // request 登录参数\n // 登录回调 callback bool 是否成功\n fetchMIMCToken(request, callback){\n axios.post('/public/register', request)\n .then(response => {\n this.fetchMIMCTokenResult = response.data.data.token\n if(callback) callback(true)\n console.log(\"MIMC初始化成功\")\n })\n .catch((error)=>{\n if(callback) callback(false)\n Message.error(\"mimc初始化失败,请刷新重试,\" + error.response.data.message)\n })\n },\n // 获取机器人\n getRobot(){\n axios.get('/public/robot/1')\n .then(response => {\n this.robot = response.data.data\n })\n .catch((error)=>{\n Message.error(\"mimc初始化失败,请刷新重试\" + error.response.data.message)\n })\n },\n // 登录\n login(callback){\n try{\n var fetchMIMCTokenResult = this.fetchMIMCTokenResult\n if(!fetchMIMCTokenResult) return\n // eslint-disable-next-line no-undef\n this.user = new MIMCUser(fetchMIMCTokenResult.data.appId, fetchMIMCTokenResult.data.appAccount, \"666\");\n this.user.registerP2PMsgHandler((message)=>{\n var msg = JSON.parse(window.Base64.decode(message.getPayload()));\n if(this._receiveP2PMsgCallback) this._receiveP2PMsgCallback(msg)\n });\n this.user.registerFetchToken(() => {\n return fetchMIMCTokenResult;\n });\n this.user.registerStatusChange((bindResult, errType, errReason, errDesc)=>{\n if(this._statusChangeCallback) this._statusChangeCallback(bindResult, errType, errReason, errDesc)\n });\n this.user.registerServerAckHandler((packetId, sequence, timeStamp, errMsg)=>{\n if(this._serverAckCallback) this._serverAckCallback(packetId, sequence, timeStamp, errMsg)\n });\n this.user.registerDisconnHandler(() => {\n if(this._disconnectCallback) this._disconnectCallback()\n });\n this.user.login();\n window.mimcInstance = this\n if(callback) callback()\n console.log(\"MIMC登录成功\")\n }catch(e){\n console.log(e)\n console.log(\"MIMC登录失败\")\n // 重新尝试\n setTimeout(()=>{\n this.login()\n }, 1000)\n }\n },\n // 退出\n logout(){\n if(this.user){\n this.user.logout()\n this.user = null\n }\n },\n // 注册监听器\n addEventListener(type, callback){\n switch(type){\n case \"receiveP2PMsg\":\n this._receiveP2PMsgCallback = callback\n break\n case \"statusChange\":\n this._statusChangeCallback = callback\n break\n case \"serverAck\":\n this._serverAckCallback = callback\n break\n case \"disconnect\":\n this._disconnectCallback = callback\n break\n }\n },\n // 发送消息\n sendMessage(type, toAccount, payload = \"\", transferAccount = 0){\n if(!this.user){\n Message.error(\"服务异常,请刷新重试!\")\n return\n }\n const messageJson = {\n \"from_account\": parseInt(this.fetchMIMCTokenResult.data.appAccount),\n \"to_account\": parseInt(toAccount),\n \"biz_type\": type,\n \"version\": \"0\",\n \"timestamp\": parseInt((new Date().getTime() + \" \").substr(0, 10)),\n \"key\": new Date().getTime(),\n \"read\": 0,\n \"transfer_account\": parseInt(transferAccount),\n \"payload\": payload + ''\n }\n // console.log(\"发送消息\")\n // console.log(messageJson)\n const jsonBase64Msg = window.Base64.encode(JSON.stringify(messageJson))\n try {\n \n // 过滤不入库\n if(!(type == \"contacts\" || type == \"pong\" || type == \"welcome\" || type == \"handshake\")){\n // 发送给机器人入库\n const intoMessageJson = {\n \"biz_type\": \"into\",\n \"payload\": jsonBase64Msg\n }\n const intoJsonBase64Msg = window.Base64.encode(JSON.stringify(intoMessageJson))\n this.user.sendMessage(this.robot.id.toString(), intoJsonBase64Msg);\n }\n\n setTimeout(()=>{\n // 发送给对方\n this.user.sendMessage(toAccount.toString(), jsonBase64Msg);\n },200)\n \n } catch (err) {\n console.log(\"sendMessage fail, err=\" + err);\n }\n return messageJson\n },\n // 创建本地消息\n createLocalMessage(type, toAccount, payload = \"\", transferAccount = 0){\n const messageJson = {\n \"from_account\": parseInt(this.fetchMIMCTokenResult.data.appAccount),\n \"to_account\": parseInt(toAccount),\n \"biz_type\": type,\n \"version\": \"0\",\n \"timestamp\": parseInt((new Date().getTime() + \" \").substr(0, 10)),\n \"key\": new Date().getTime(),\n \"read\": 0,\n \"transfer_account\": parseInt(transferAccount),\n \"payload\": payload + ''\n }\n return messageJson\n }\n \n\n }\n}\nexport default MimcPlugin;","export default {\n months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'),\n monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),\n weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),\n weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),\n weekdaysMin: '日_一_二_三_四_五_六'.split('_'),\n longDateFormat: {\n LT: 'HH:mm',\n LTS: 'HH:mm:ss',\n L: 'YYYY-MM-DD',\n LL: 'YYYY年MM月DD日',\n LLL: 'YYYY年MM月DD日Ah点mm分',\n LLLL: 'YYYY年MM月DD日ddddAh点mm分',\n l: 'YYYY-M-D',\n ll: 'YYYY年M月D日',\n lll: 'YYYY年M月D日 HH:mm',\n llll: 'YYYY年M月D日dddd HH:mm'\n },\n meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,\n meridiemHour: function (hour, meridiem) {\n if (hour === 12) {\n hour = 0;\n }\n if (meridiem === '凌晨' || meridiem === '早上' ||\n meridiem === '上午') {\n return hour;\n } else if (meridiem === '下午' || meridiem === '晚上') {\n return hour + 12;\n } else {\n // '中午'\n return hour >= 11 ? hour : hour + 12;\n }\n },\n meridiem: function (hour, minute) {\n const hm = hour * 100 + minute;\n if (hm < 600) {\n return '凌晨';\n } else if (hm < 900) {\n return '早上';\n } else if (hm < 1130) {\n return '上午';\n } else if (hm < 1230) {\n return '中午';\n } else if (hm < 1800) {\n return '下午';\n } else {\n return '晚上';\n }\n },\n calendar: {\n sameDay: '[今天]LT',\n nextDay: '[明天]LT',\n nextWeek: '[下]ddddLT',\n lastDay: '[昨天]LT',\n lastWeek: '[上]ddddLT',\n sameElse: 'L'\n },\n dayOfMonthOrdinalParse: /\\d{1,2}(日|月|周)/,\n ordinal: function (number, period) {\n switch (period) {\n case 'd':\n case 'D':\n case 'DDD':\n return number + '日';\n case 'M':\n return number + '月';\n case 'w':\n case 'W':\n return number + '周';\n default:\n return number;\n }\n },\n relativeTime: {\n future: '%s内',\n past: '%s前',\n s: '几秒',\n ss: '%d秒',\n m: '1分钟',\n mm: '%d分钟',\n h: '1小时',\n hh: '%d小时',\n d: '1天',\n dd: '%d天',\n M: '1个月',\n MM: '%d个月',\n y: '1年',\n yy: '%d年'\n },\n week: {\n // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效\n dow: 1, // Monday is the first day of the week.\n doy: 4 // The week that contains Jan 4th is the first week of the year.\n }\n}","import Vue from 'vue'\nimport ElementUI from 'element-ui'\nimport App from './App.vue'\nimport router from './router'\nimport store from './store'\nimport 'element-ui/lib/theme-chalk/index.css'\nimport preview from 'vue-photo-preview'\nimport 'vue-photo-preview/dist/skin.css'\nimport Helps from \"./plugins/help\"\nimport MimcPlugin from \"./plugins/mimc\"\nimport momentLocal from './resource/moment_locale'\nvar moment = require('moment');\nmoment.locale(\"zh-cn\", momentLocal)\n\nimport axios from 'axios'\n\n// axios.defaults.baseURL = 'http://localhost:8080/v1'\naxios.defaults.baseURL = 'http://kf.aissz.com:666/v1'\n\n\n// 添加请求拦截器\naxios.interceptors.request.use((config) => {\n var token = localStorage.getItem(\"Authorization\")\n config.headers['Authorization'] = token || \"\"\n return config;\n}, (error) => {\n return Promise.reject(error);\n});\n\n// 添加响应拦截器\naxios.interceptors.response.use((response) => {\n return response;\n}, (error) => {\n // 登录失效了\n if(error.response.status == 401) {\n localStorage.clear()\n store.commit(\"onChangeAdminInfo\", null)\n if(store.state.mimcUser) store.state.mimcUser.logout()\n router.push(\"/login\")\n }\n return Promise.reject(error);\n});\n\nvar options={\n fullscreenEl:false, //关闭全屏按钮\n}\nVue.use(preview, options)\nVue.use(ElementUI)\nVue.use(Helps)\nVue.use(MimcPlugin)\n\nVue.config.productionTip = false\nnew Vue({\n router,\n store,\n render: h => h(App)\n}).$mount('#app')\n","import mod from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=stylus&\"; export default mod; export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&lang=stylus&\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2e29b63f"],{"0b10":function(e,t,i){},"11e9":function(e,t,i){var s=i("52a7"),n=i("4630"),a=i("6821"),o=i("6a99"),r=i("69a8"),c=i("c69a"),l=Object.getOwnPropertyDescriptor;t.f=i("9e1e")?l:function(e,t){if(e=a(e),t=o(t,!0),c)try{return l(e,t)}catch(i){}if(r(e,t))return n(!s.f.call(e,t),e[t])}},"146b":function(e,t,i){"use strict";var s=i("a818"),n=i.n(s);n.a},1826:function(e,t,i){"use strict";var s=i("fa4e"),n=i.n(s);n.a},"1c01":function(e,t,i){var s=i("5ca1");s(s.S+s.F*!i("9e1e"),"Object",{defineProperty:i("86cc").f})},"24fd":function(e,t,i){"use strict";var s=i("4e10"),n=i.n(s);n.a},"297c":function(e,t,i){"use strict";var s=i("0b10"),n=i.n(s);n.a},"29e5":function(e,t,i){"use strict";i.r(t);var s=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mini-im-workbench"},[i("div",{staticClass:"mini-im-session-list"},[i("div",{staticClass:"title"},[i("el-row",{attrs:{type:"flex",justify:"space-between",gutter:20}},[i("el-col",{attrs:{span:16}},[i("span",[i("i",{staticClass:"el-icon-s-custom"}),e._v("\n 会话列表 ( "+e._s(e.contacts.length)+"人 )\n ")]),i("i",{staticClass:"el-icon-delete",staticStyle:{cursor:"pointer"},attrs:{title:"清空列表"},on:{click:e.clearContact}})]),i("el-col",{attrs:{span:9}},[i("el-popover",{attrs:{placement:"bottom",width:"100"}},[i("div",{staticClass:"mini-im-online-setting"},[1!=e.adminInfo.online?i("div",{staticClass:"item",on:{click:function(){return e.online(1)}}},[i("i",{staticClass:"el-icon-circle-check",staticStyle:{color:"rgb(135, 208, 104)"}}),e._v("\n 我要上线\n ")]):e._e(),0!=e.adminInfo.online?i("div",{staticClass:"item",on:{click:function(){return e.online(0)}}},[i("i",{staticClass:"el-icon-switch-button",staticStyle:{color:"#ccc"}}),e._v("\n 我要下线\n ")]):e._e(),2!=e.adminInfo.online?i("div",{staticClass:"item",on:{click:function(){return e.online(2)}}},[i("i",{staticClass:"el-icon-remove-outline",staticStyle:{color:"#e6a23c"}}),e._v("\n 繁忙状态\n ")]):e._e()]),0==e.adminInfo.online?i("el-button",{attrs:{slot:"reference",size:"mini"},slot:"reference"},[i("i",{staticClass:"el-icon-switch-button"}),i("em",[e._v("离 线 ")]),i("i",{staticClass:"el-icon-arrow-right el-icon--right"})]):1==e.adminInfo.online?i("el-button",{attrs:{slot:"reference",size:"mini"},slot:"reference"},[i("span",{staticStyle:{color:"rgb(135, 208, 104)"}},[i("i",{staticClass:"el-icon-circle-check"}),i("em",[e._v("在 线")]),i("i",{staticClass:"el-icon-arrow-right el-icon--right"})])]):i("el-button",{attrs:{slot:"reference",size:"mini"},slot:"reference"},[i("span",{staticStyle:{color:"#e6a23c"}},[i("i",{staticClass:"el-icon-circle-check"}),i("em",[e._v("繁 忙")]),i("i",{staticClass:"el-icon-arrow-right el-icon--right"})])])],1)],1)],1)],1),i("div",{staticClass:"mini-im-session-content"},[i("div",{staticClass:"mini-im-flex"},[e.contacts.length<=0?i("div",{staticClass:"mini-im-no-data"},[e._v("暂无会话数据")]):e._e(),e._l(e.contacts,(function(t,s){return i("ContactComponent",{key:s,class:{"mini-im-chat-item-active":e.seviceCurrentUser.from_account==t.from_account},attrs:{deleteContact:e.deleteContact,clickItem:e.selectUser,item:t}})}))],2)])]),e.$store.getters.seviceCurrentUser.id?i("div",{staticClass:"mini-im-chat-view"},[i("div",{staticClass:"mini-im-chat-view-content-header"},[i("div",{staticClass:"mini-im-header-user-box"},[i("el-avatar",{staticClass:"mini-im-avatar",attrs:{size:35}},[""!=e.seviceCurrentUser.avatar?i("img",{attrs:{src:e.seviceCurrentUser.avatar}}):[e._v("访")]],2),i("div",{staticClass:"mini-im-header-user-info"},[i("div",[e._v("\n "+e._s(e.seviceCurrentUser.nickname)+"\n "),1==e.seviceCurrentUser.online?i("span",{staticStyle:{color:"rgb(135, 208, 104)"}},[e._v("● 在线")]):i("span",[e._v("● 离线")]),e.isInputPongIng?[i("span",{staticClass:"input-pong"},[e._v(e._s(e.inputPongIngString)+" "),i("i",{staticClass:"el-icon-edit"})])]:e._e()],2),i("span",[e._v("用户来至:"+e._s(e.$getPlatformItem(e.seviceCurrentUser.platform).title)+"客户端,所在地:"+e._s(e.seviceCurrentUser.address||"未知"))])])],1),i("el-row",{staticClass:"mini-im-buttons"},[i("el-popover",{attrs:{placement:"bottom",width:"200",trigger:"click"}},[i("div",{staticClass:"mini-im-customer-list"},[i("div",{staticClass:"mini-im-customer-title"},[e._v("请选择转接的客服 ("+e._s(e.filterAdmins.length)+"人在线)")]),e._l(e.filterAdmins,(function(t){return i("div",{key:t.id,staticClass:"mini-im-customer-item",on:{click:function(){return e.transferCustomer(t)}}},[i("el-avatar",{staticClass:"mini-im-avatar",attrs:{size:30}},[i("img",{attrs:{src:t.avatar}})]),i("span",[e._v(e._s(t.nickname||t.username))])],1)})),0==e.filterAdmins.length?i("div",{staticClass:"mini-im-customer-item",staticStyle:{background:"none",border:"0"}},[i("span",[e._v("当前没有其他客服在线")])]):e._e()],2),i("el-button",{directives:[{name:"show",rawName:"v-show",value:0==e.seviceCurrentUser.is_session_end&&0!=e.adminInfo.online,expression:"seviceCurrentUser.is_session_end == 0 && adminInfo.online != 0"}],attrs:{slot:"reference",icon:"el-icon-refresh",size:"small"},on:{click:e.getAdmins},slot:"reference"},[e._v("\n 转接客服\n ")])],1),0==e.seviceCurrentUser.is_session_end&&0!=e.adminInfo.online?i("el-button",{attrs:{icon:"el-icon-close",size:"small"},on:{click:e.closeSession}},[e._v("关闭会话")]):e._e()],1)],1),i("div",{ref:"miniImChatViewBontentBody",staticClass:"mini-im-chat-view-content-body"},[i("div",{staticClass:"mini-im-chat-view-content"},[i("div",{directives:[{name:"show",rawName:"v-show",value:""!=e.advanceText.trim(),expression:"advanceText.trim() != ''"}],staticClass:"advance"},[i("div",[e._v("正在输入:")]),i("span",[e._v("\n "+e._s(e.advanceText)+"\n "),e.isInputPongIng?[i("span",{staticClass:"input-pong"},[e._v(e._s(e.inputPongIngString.replace("对方正在输入",""))+" "),i("i",{staticClass:"el-icon-edit"})])]:e._e()],2)]),i("div",{ref:"chatBody",staticClass:"mini-im-chat-body",attrs:{id:"chatBody"}},[i("ChatWindowComponent",{attrs:{onLoadMor:e.onLoadMorMessage,isMessageEnd:e.isMessageEnd,onCancelMessage:e.onCancelMessage,messages:e.messageRecord.list,loading:e.getMessageRecordLoading}})],1),i("div",{staticClass:"mini-im-chat-input"},[i("div",{staticClass:"mini-im-chat-input-bar"},[i("el-row",[i("EmojiComponent",{attrs:{clickEmoji:e.clickEmoji}}),i("span",{staticClass:"mini-im-button",attrs:{title:"选择图片"}},[e._v("\n 🌁\n "),i("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:e.sendPhotoMessageEvent}})])],1),i("el-row",[i("el-popover",{attrs:{placement:"top-start",width:"350",trigger:"hover"}},[i("div",{staticClass:"mini-im-shortcut"},[i("div",{staticClass:"mini-im-shortcut-head"},[i("span",[i("i",{staticClass:"el-icon-tickets"}),e._v("快捷语回复列表")]),i("div",[i("button",{attrs:{title:"添加"},on:{click:function(t){e.createShortcutDialogFormVisible=!0}}},[i("i",{staticClass:"el-icon-plus"})]),i("button",{attrs:{title:"编辑"},on:{click:function(t){e.shortcutEditVisible=!e.shortcutEditVisible}}},[i("i",{staticClass:"el-icon-edit"})])])]),i("div",{staticClass:"mini-im-shortcut-body"},[i("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{clearable:"",type:"text",placeholder:"请输入关键词",autocomplete:"off"},model:{value:e.shortcutKey,callback:function(t){e.shortcutKey=t},expression:"shortcutKey"}}),0==e.filterShortcuts.length?i("div",{staticClass:"mini-im-shortcut-item",staticStyle:{background:"none"}},[i("span",{staticStyle:{"text-align":"center","margin-top":"20px"}},[e._v("暂无快捷语")])]):e._e(),e._l(e.filterShortcuts,(function(t){return i("div",{key:t.id,staticClass:"mini-im-shortcut-item",attrs:{title:t.content}},[i("span",{domProps:{innerHTML:e._s(t.title.replace(/\n/g,"<br>"))},on:{"!click":function(i){return function(){return e.checkShortcut(t.content)}()}}}),i("button",{directives:[{name:"show",rawName:"v-show",value:e.shortcutEditVisible,expression:"shortcutEditVisible"}],attrs:{title:"修改"},on:{"!click":function(i){return function(){return e.editShortcut(t)}()}}},[i("i",{staticClass:"el-icon-edit"})]),i("button",{directives:[{name:"show",rawName:"v-show",value:e.shortcutEditVisible,expression:"shortcutEditVisible"}],attrs:{title:"删除"},on:{"!click":function(i){return function(){return e.deleteShortcut(t)}()}}},[i("i",{staticClass:"el-icon-delete"})])])}))],2)]),i("button",{staticClass:"mini-im-button",attrs:{slot:"reference"},slot:"reference"},[i("i",{staticClass:"el-icon-tickets",staticStyle:{"font-size":"15px"}}),i("span",{staticStyle:{"font-size":"14px"}},[e._v(" 快捷语")])])])],1)],1),i("div",{staticClass:"mini-im-chat-input-edit",on:{keyup:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.keyUpEvent(t)},function(t){return!t.type.indexOf("key")&&13!==t.keyCode&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.shiftKey?e.enterShift(t):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.sendMessage(t)}]}},[i("el-input",{ref:"chatValueDom",staticClass:"mini-im-chat-text-input",attrs:{type:"textarea",rows:"3",resize:"none",autosize:!1,disabled:1==e.seviceCurrentUser.is_session_end||0==e.adminInfo.online,maxlength:"200","show-word-limit":"",placeholder:1==e.seviceCurrentUser.is_session_end?"当前会话已结束":"请输入内容"},model:{value:e.chatValue,callback:function(t){e.chatValue=t},expression:"chatValue"}})],1)])]),i("div",{staticClass:"mini-im-chat-view-user"},[i("el-tabs",{attrs:{type:"border-card"}},[i("el-tab-pane",{attrs:{label:"用户信息"}},[i("UserInfoComponent")],1)],1)],1)])]):i("div",{staticClass:"mini-im-chat-view no-window"},[e._m(0),i("span",[e._v("当前无对话")]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.chatWindowLoading,expression:"chatWindowLoading"}],staticClass:"mini-im-right-window-loading"},[i("i",{staticClass:"el-icon-loading"}),i("span",[e._v("数据加载中...")])])]),i("CreateShortcutComponent",{attrs:{complete:e.getShortcuts,dialogFormVisible:e.createShortcutDialogFormVisible},on:{"update:dialogFormVisible":function(t){e.createShortcutDialogFormVisible=t},"update:dialog-form-visible":function(t){e.createShortcutDialogFormVisible=t}}}),i("EditShortcutComponent",{attrs:{formData:e.editShortcutItem,complete:e.getShortcuts,dialogFormVisible:e.editShortcutDialogFormVisible},on:{"update:dialogFormVisible":function(t){e.editShortcutDialogFormVisible=t},"update:dialog-form-visible":function(t){e.editShortcutDialogFormVisible=t}}})],1)},n=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",[i("i",{staticClass:"el-icon-service"})])}],a=(i("1c01"),i("58b2"),i("8e6e"),i("f3e2"),i("ac6a"),i("456d"),i("c5f6"),i("4917"),i("a481"),i("6d67"),i("57e7"),i("d25f"),i("4f37"),i("85f2")),o=i.n(a);function r(e,t,i){return t in e?o()(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var c=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"}},[i("div",{staticClass:"emoji-box"},e._l(e.emojis,(function(t,s){return i("span",{key:s,on:{click:function(i){return e.clickEmoji(t)}}},[e._v(e._s(t))])})),0),i("button",{staticClass:"mini-im-button",staticStyle:{"font-size":"20px"},attrs:{slot:"reference",title:"选择表情"},slot:"reference"},[e._v("😊")])])},l=[],u=i("eef3"),m={name:"mini-im-emoji",data:function(){return{emojis:u.emojiData}},props:{clickEmoji:Function}},d=m,f=(i("1826"),i("2877")),h=Object(f["a"])(d,c,l,!1,null,"3d019866",null),g=h.exports,v=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mini-im-chat-item"},[i("span",{staticClass:"delete_contact",attrs:{title:"删除该记录"},on:{"!click":function(t){return e.deleteContact(e.item)}}},[i("i",{staticClass:"el-icon-close"})]),i("el-avatar",{staticClass:"mini-im-avatar",on:{click:function(t){return e.clickItem(e.item)}}},[""!=e.item.avatar?i("img",{attrs:{src:e.item.avatar}}):[e._v("访")]],2),i("div",{staticClass:"mini-im-message-box",on:{click:function(t){return e.clickItem(e.item)}}},[i("div",{staticClass:"mini-im-user-date"},[i("div",{staticClass:"mini-im-nickname"},[i("span",{staticClass:"mini-im-online-status",class:{success:1==e.item.online}},[e._v("●")]),e._v(" "+e._s(e.item.nickname)+"\n ")]),i("div",{staticClass:"mini-im-date"},[e._v("\n "+e._s(e.$formatFromNowDate(e.item.contact_create_at))+"\n ")])]),i("div",{staticClass:"mini-im-message-badge"},["text"==e.item.last_message_type?i("div",{staticClass:"mini-im-message"},[e._v(e._s(e.item.last_message))]):e._e(),"photo"==e.item.last_message_type?i("div",{staticClass:"mini-im-message"},[e._v("收到图片文件")]):e._e(),"video"==e.item.last_message_type?i("div",{staticClass:"mini-im-message"},[e._v("收到视频文件")]):e._e(),"end"==e.item.last_message_type?i("div",{staticClass:"mini-im-message"},[e._v("会话结束")]):e._e(),"cancel"==e.item.last_message_type?i("div",{staticClass:"mini-im-message"},[e._v("对方撤回了一条消息")]):e._e(),"timeout"==e.item.last_message_type?i("div",{staticClass:"mini-im-message"},[e._v("会话超时,结束对话")]):e._e(),"transfer"==e.item.last_message_type||"handshake"==e.item.last_message_type?i("div",{staticClass:"mini-im-message"},[e._v("客服转接...")]):e._e(),e.item.read>0?i("div",{staticClass:"mini-im-badge"},[e._v(e._s(e.item.read))]):e._e()])])],1)},p=[],_={name:"mini-im-contact",data:function(){return{}},props:{item:Object,clickItem:Function,deleteContact:Function}},b=_,C=(i("297c"),Object(f["a"])(b,v,p,!1,null,"595d9a46",null)),y=C.exports,w=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mini-im-username-component-box"},[i("div",{staticClass:"mini-im-username-component"},[i("button",{attrs:{title:"编辑用户信息"},on:{click:function(t){e.isUserReadonly=!e.isUserReadonly}}},[i("i",{staticClass:"el-icon-edit"})])]),i("el-form",{ref:"form",class:{"form-item-readonly":e.isUserReadonly},attrs:{"label-width":"80px"}},[i("el-form-item",{staticClass:"form-item",attrs:{label:"用户昵称"}},[i("el-input",{attrs:{placeholder:"游客",readonly:e.isUserReadonly,type:"text"},model:{value:e.form.nickname,callback:function(t){e.$set(e.form,"nickname",t)},expression:"form.nickname"}})],1),i("el-form-item",{staticClass:"form-item",attrs:{label:"所在地区"}},[i("el-input",{attrs:{readonly:e.isUserReadonly,placeholder:"无",type:"text"},model:{value:e.form.address,callback:function(t){e.$set(e.form,"address",t)},expression:"form.address"}})],1),i("el-form-item",{staticClass:"form-item",attrs:{label:"联系方式"}},[i("el-input",{attrs:{readonly:e.isUserReadonly,placeholder:"无联系方式",type:"text"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),i("el-form-item",{staticClass:"form-item no-border",attrs:{label:"所在平台"}},[i("el-input",{attrs:{readonly:"",value:e.$getPlatformItem(e.user.platform).title,resize:"none",type:"text"}})],1),i("el-form-item",{staticClass:"form-item no-border",attrs:{label:"创建时间"}},[i("el-input",{attrs:{readonly:"",value:e.$formatUnixDate(e.user.create_at,"YYYY/MM/DD"),resize:"none",type:"text"}})],1),i("el-form-item",{staticClass:"form-item",attrs:{label:"备注信息"}},[i("el-input",{attrs:{rows:"4",readonly:e.isUserReadonly,placeholder:"无备注",resize:"none",type:"textarea"},model:{value:e.form.remarks,callback:function(t){e.$set(e.form,"remarks",t)},expression:"form.remarks"}})],1),e.isUserReadonly?e._e():i("el-row",{attrs:{type:"flex",justify:"center"}},[i("el-button",{on:{click:function(t){e.isUserReadonly=!0}}},[e._v("取消")]),i("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保存")])],1),e.isUserReadonly?e._e():i("div",{staticStyle:{"text-align":"center","font-size":"12px",color:"#666","margin-top":"15px"}},[e._v("当前为编辑模式")])],1)],1)},S=[],k=i("bc3a"),x=i.n(k),$={name:"mini-im-user-info",data:function(){return{form:{id:"",nickname:"",address:"",phone:"",remarks:""},isUserReadonly:!0}},computed:{user:function(){return this.$store.getters.seviceCurrentUser||{}}},methods:{save:function(){var e=this;x.a.put("/user",this.form).then((function(){e.isUserReadonly=!0})).catch((function(t){e.$message.error(t.response.data.message)}))}},watch:{user:function(e){e.id!=this.form.id&&(this.isUserReadonly=!0),(this.isUserReadonly||e.id!=this.form.id)&&(this.form=this.user)}}},I=$,M=(i("2b0b"),Object(f["a"])(I,w,S,!1,null,null,null)),U=M.exports,T=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{width:"600px",title:"添加快捷语","show-close":!1,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{attrs:{model:e.form}},[i("el-form-item",{attrs:{label:"标题","label-width":e.formLabelWidth}},[i("el-input",{attrs:{maxlength:"50","show-word-limit":"",type:"text",placeholder:"请输入标题",autocomplete:"off"},model:{value:e.form.title,callback:function(t){e.$set(e.form,"title",t)},expression:"form.title"}})],1),i("el-form-item",{attrs:{label:"内容","label-width":e.formLabelWidth}},[i("el-input",{attrs:{rows:"8",resize:"none",autosize:!1,maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"请输入快捷语",autocomplete:"off"},model:{value:e.form.content,callback:function(t){e.$set(e.form,"content",t)},expression:"form.content"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.closeModal}},[e._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1)],1)},E=[],O={name:"mini-im-create-shortcuts",data:function(){return{form:{content:"",title:""},formLabelWidth:"40px"}},props:{dialogFormVisible:Boolean,complete:Function},mounted:function(){},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},save:function(){var e=this;if(""!=this.form.title.trim()&&""!=this.form.content.trim()){var t=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});x.a.post("/shortcut",this.form).then((function(i){try{console.log(i),t.close(),e.$message.success("添加成功"),e.closeModal(),e.complete(),e.form={content:"",title:""}}catch(s){console.log(s)}})).catch((function(i){t.close(),e.$message.error(i.response.data.message)}))}}}},R=O,P=Object(f["a"])(R,T,E,!1,null,"ae51b748",null),L=P.exports,V=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("el-dialog",{attrs:{width:"600px",title:"编辑快捷语","show-close":!1,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[i("el-form",{attrs:{model:e.form}},[i("el-form-item",{attrs:{label:"标题","label-width":e.formLabelWidth}},[i("el-input",{attrs:{maxlength:"50","show-word-limit":"",type:"text",placeholder:"请输入标题",autocomplete:"off"},model:{value:e.form.title,callback:function(t){e.$set(e.form,"title",t)},expression:"form.title"}})],1),i("el-form-item",{attrs:{label:"内容","label-width":e.formLabelWidth}},[i("el-input",{attrs:{rows:"8",resize:"none",autosize:!1,maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"请输入快捷语",autocomplete:"off"},model:{value:e.form.content,callback:function(t){e.$set(e.form,"content",t)},expression:"form.content"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:e.closeModal}},[e._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1)],1)},N=[],F={name:"mini-im-edit-shortcuts",data:function(){return{form:{content:"",title:""},formLabelWidth:"40px"}},props:{dialogFormVisible:Boolean,complete:Function,formData:Object},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},save:function(){var e=this;if(""!=this.form.title.trim()&&""!=this.form.content.trim()){var t=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});x.a.put("/shortcut",this.form).then((function(i){try{console.log(i),t.close(),e.$message.success("添加成功"),e.closeModal(),e.complete()}catch(s){console.log(s)}})).catch((function(i){t.close(),e.$message.error(i.response.data.message)}))}}},watch:{formData:function(){this.form=Object.assign({},this.form,this.formData)}}},z=F,j=Object(f["a"])(z,V,N,!1,null,"3714045a",null),D=j.exports,A=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mini-im-chat-list"},[i("div",{staticClass:"mini-im-chat-message-box"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.loading,expression:"loading"}],staticClass:"loading"},[i("i",{staticClass:"el-icon-loading"}),i("span",[e._v("消息加载中...")])]),i("el-button",{directives:[{name:"show",rawName:"v-show",value:e.isMessageEnd,expression:"isMessageEnd"}],attrs:{type:"text",disabled:"",icon:"el-icon-refresh-right"}},[e._v("无更多聊天记录...")]),e.isMessageEnd||e.loading?e._e():i("el-button",{attrs:{type:"text",icon:"el-icon-refresh"},on:{click:e.onLoadMor}},[e._v("点击加载更多聊天记录")])],1),i("div",{staticClass:"mini-im-chat-message-box"},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.messages.length<=0&&!e.loading,expression:"messages.length <= 0 && !loading"}],staticClass:"loading"},[i("i",{staticClass:"el-icon-time"}),i("span",[e._v("暂无聊天记录...")])])]),e._l(e.messages,(function(t,s){return i("div",{key:s,staticClass:"mini-im-chat-message-box",class:{self:t.from_account!=e.seviceCurrentUser.id}},["text"==t.biz_type||"photo"==t.biz_type||"knowledge"==t.biz_type||"knowledge_list"==t.biz_type?[i("div",{staticClass:"user-date"},[t.from_account==e.adminInfo.id?i("span",[e._v("\n "+e._s(e.adminInfo.nickname||e.adminInfo.username)+"\n ")]):t.from_account==e.seviceCurrentUser.from_account?i("span",[e._v("\n "+e._s(e.seviceCurrentUser.nickname)+"\n ")]):i("span",[i("span",{staticStyle:{"font-size":"12px",color:"#666"}},[e._v("(机器人)")]),e._v(e._s(e.$robotNickname(t.from_account))+"\n ")]),i("em",[e._v(e._s(e.$formatFromNowDate(t.timestamp)))])])]:e._e(),"text"==t.biz_type?[i("div",{staticClass:"text"},[t.from_account==e.adminInfo.id&&t.isShowCancel?i("div",{staticClass:"cancel-btn",attrs:{title:"撤回本条消息"},on:{click:function(){return e.onCancelMessage(t.key)}}},[e._v("\n 撤回\n ")]):e._e(),i("span",{domProps:{innerHTML:e._s(t.payload.replace(/\n/gi,"<br />"))}})])]:e._e(),"photo"==t.biz_type?[i("div",{staticClass:"photo"},[t.percent&&100!=t.percent?i("div",{staticClass:"loading"},[i("i",{staticClass:"el-icon-loading"}),i("span",[e._v(e._s(t.percent)+"%")])]):e._e(),t.from_account==e.adminInfo.id&&t.isShowCancel?i("div",{staticClass:"cancel-btn",attrs:{title:"撤回本条消息"},on:{click:function(){return e.onCancelMessage(t.key)}}},[e._v("\n 撤回\n ")]):e._e(),i("div",{staticClass:"img-content"},[i("img",{attrs:{src:t.payload,preview:"1"}})])])]:e._e(),"transfer"==t.biz_type?[i("div",{staticClass:"system"},[i("em",[e._v(e._s(e.$formatFromNowDate(t.timestamp)))]),i("span",[e._v(e._s(t.payload))])])]:e._e(),"end"==t.biz_type?[i("div",{staticClass:"system"},[i("em",[e._v(e._s(e.$formatFromNowDate(t.timestamp)))]),t.to_account!=e.adminInfo.id?i("span",[e._v("你结束了会话")]):i("span",[e._v("对方结束了会话")]),i("em",[e._v(e._s(e.$formatFromNowDate(t.timestamp)))])])]:e._e(),"timeout"==t.biz_type?[i("div",{staticClass:"system"},[i("em",[e._v(e._s(e.$formatFromNowDate(t.timestamp)))]),i("span",[e._v("用户长时间无应答,会话结束")])])]:e._e(),"cancel"==t.biz_type?[i("div",{staticClass:"system"},[i("em",[e._v(e._s(e.$formatFromNowDate(t.timestamp)))]),t.from_account==e.adminInfo.id?i("span",[e._v("您撤回了一条消息")]):i("span",[e._v("对方撤回了一条消息")])])]:e._e(),"knowledge"==t.biz_type?[i("div",{staticClass:"knowledge"},[i("div",{staticClass:"content"},[i("div",{staticClass:"title"},[e._v("以下是否是您关心的相关问题呢?")]),e._l(JSON.parse(t.payload),(function(t,s){return i("div",{key:s,staticClass:"item"},[e._v("\n "+e._s(s+1)+"."+e._s(t.title)+"\n ")])}))],2)])]:e._e()],2)}))],2)},B=[],K={name:"mini-im-contact",data:function(){return{}},computed:{seviceCurrentUser:function(){return this.$store.getters.seviceCurrentUser||{}},adminInfo:function(){return this.$store.getters.adminInfo||{}}},props:{loading:Boolean,onCancelMessage:Function,messages:Array,onLoadMor:Function,isMessageEnd:Boolean},watch:{messages:function(){var e=this;setTimeout((function(){e.$previewRefresh()}),1e3)}}},G=K,W=(i("24fd"),Object(f["a"])(G,A,B,!1,null,"019193ce",null)),H=W.exports,J=i("fb21"),Y=i("b730"),q=i.n(Y),X=i("2f62");function Q(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,s)}return i}function Z(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(i),!0).forEach((function(t){r(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Q(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var ee={name:"workbench",components:{EmojiComponent:g,ContactComponent:y,UserInfoComponent:U,ChatWindowComponent:H,CreateShortcutComponent:L,EditShortcutComponent:D},data:function(){return{chatValue:"",advanceText:"",admins:[],shortcuts:[],shortcutKey:"",createShortcutDialogFormVisible:!1,editShortcutDialogFormVisible:!1,editShortcutItem:null,shortcutEditVisible:!1,getMessageRecordLoading:!0,chatWindowLoading:!1,currentSessionIsEnd:!1,getMessageRecordPageSize:20,isInputPongIng:!1,isSendPong:!1,inputPongIngString:"对方正在输入...",isPush:!1,isMessageEnd:!1}},computed:Z({filterShortcuts:function(){var e=this.shortcutKey.trim();return""!=e?this.shortcuts.filter((function(t){return-1!=t.title.indexOf(e)})):this.shortcuts},filterAdmins:function(){var e=this;return this.admins.filter((function(t){return t.id!=e.adminInfo.id&&(1==t.online||2==t.online)}))}},Object(X["b"])(["contacts","adminInfo","seviceCurrentUser","messageRecord"])),mounted:function(){var e,t=this;document.ondblclick=function(){t.shortcutEditVisible=!1},this.init(),document.addEventListener("mousemove",(function(){t.$refs.miniImChatViewBontentBody&&(t.$refs.miniImChatViewBontentBody.style.height=document.body.clientHeight-155+"px"),t.isPush=!1,e&&clearTimeout(e),e=setTimeout((function(){t.isPush=!0}),3e4)})),document.addEventListener("paste",this.inputPaste,!1)},beforeDestroy:function(){this.changeCurrentUser()},methods:{init:function(){var e=this;this.adminInfo?(this.getShortcuts(),this.chatWindowLoading=!0,setTimeout((function(){e.chatWindowLoading=!1}),1500),setTimeout((function(){var t,i=e.$store.getters.seviceCurrentUser.id||e.$route.query.uid;(e.changeCurrentUser(i||0),i)&&(e.contacts.map((function(e){e.from_account==i&&(t=e)})),history.replaceState(null,null,location.href.replace(/uid=\d+/i,"uid="+i)),e.$store.commit("onChangeSeviceCurrentUser",t),t&&e.selectUser(t),e.getMessageRecord(),e.scrollIntoBottom())}),1e3),this.$mimcInstance.addEventListener("statusChange",(function(t){1==e.adminInfo.online?e.$message.success("您当前状态为在线"):2==e.adminInfo.online&&e.$message.warning("您当前状态为繁忙"),t||e.$message.info("登录异常,请刷新页面重试!")})),this.$mimcInstance.addEventListener("receiveP2PMsg",this.receiveP2PMsg),this.$mimcInstance.addEventListener("disconnect",(function(){console.log("链接断开!");var t=e.adminInfo;t.online=0,e.$store.commit("onChangeAdminInfo",t)}))):setTimeout((function(){return e.init()}),100)},enterShift:function(e){"Enter"!=e.code&&(this.chatValue=this.chatValue+"\n")},scrollIntoBottom:function(){try{setTimeout((function(){var e=document.getElementById("chatBody");if(e){var t=e.clientHeight,i=e.scrollHeight;e.scrollTop=i-t}}),50)}catch(e){console.log(e)}},deleteContact:function(e){var t=this;e&&e.cid&&x.a.delete("/contact/"+e.cid).then((function(){t.$message.success("删除成功"),t.$store.dispatch("ON_GET_CONTACTS"),t.seviceCurrentUser.id==e.id&&(t.changeCurrentUser(),t.$store.commit("onChangeSeviceCurrentUser",null))})).catch((function(e){t.$message.error(e.response.data.message)}))},clearContact:function(){var e=this;this.$confirm("您确定要清空列表吗? ","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){x.a.delete("/contact/clear").then((function(){e.$message.success("清空成功"),e.$store.dispatch("ON_GET_CONTACTS"),e.changeCurrentUser(),e.$store.commit("onChangeSeviceCurrentUser",null)})).catch((function(t){e.$message.error(t.response.data.message)}))}))},clickEmoji:function(e){0!=this.adminInfo.online?1!=this.seviceCurrentUser.is_session_end?(this.chatValue=this.chatValue+e,this.$refs.chatValueDom.focus()):this.$message.info("当前会话已结束!"):this.$message.info("您当前为离线状态!")},checkShortcut:function(e){0!=this.adminInfo.online?1!=this.seviceCurrentUser.is_session_end?(this.shortcutKey="",this.chatValue=e,this.$refs.chatValueDom.focus()):this.$message.info("当前会话已结束!"):this.$message.info("您当前为离线状态!")},getShortcuts:function(){var e=this;x.a.get("/shortcut/list").then((function(t){e.shortcuts=t.data.data})).catch((function(t){e.$message.error(t.response.data.message)}))},editShortcut:function(e){this.editShortcutItem=e,this.editShortcutDialogFormVisible=!0},getAdmins:function(){var e=this;x.a.post("/admin/list",{page_on:1,page_size:1e4,online:3}).then((function(t){e.loading=!1,e.admins=t.data.data.list})).catch((function(t){e.$message.error(t.response.data.message)}))},deleteShortcut:function(e){var t=this;this.$confirm("您确定要删除该快捷语吗?","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){x.a.delete("/shortcut/"+e.id).then((function(){t.$message.success("删除成功"),t.getShortcuts()})).catch((function(e){t.$message.error(e.response.data.message)}))}))},onCancelMessage:function(e){var t=this.$mimcInstance.sendMessage("cancel",this.seviceCurrentUser.from_account,e);this.messageRecord.list.push(t),this.removeMessage(this.adminInfo.id,e),this.qiniuObservable&&this.qiniuObservable.unsubscribe()},transferCustomer:function(e){var t=this;this.$confirm("您确定将该客户转接给 "+(e.nickname||e.username)+" 吗?","温馨提示!",{confirmButtonText:"转接",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){x.a.post("/message/transfer",{to_account:e.id,user_account:t.seviceCurrentUser.from_account}).then((function(){var e=t.seviceCurrentUser;e.is_session_end=1,t.$store.commit("onChangeSeviceCurrentUser",e)})).catch((function(e){t.$message.error(e.response.data.message)}))}))},closeSession:function(){var e=this;this.$confirm("您确定关闭当前回话吗?强制关闭可能会被客户投诉!","温馨提示!",{confirmButtonText:"关闭",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){var t=e.$mimcInstance.sendMessage("end",e.seviceCurrentUser.from_account,"");e.messageRecord.list.push(t);var i=e.seviceCurrentUser;i.is_session_end=1,e.$store.commit("onChangeSeviceCurrentUser",i)}))},changeUserOnlineStatus:function(e){var t=this;x.a.put("/admin/online/"+e).then((function(){t.$store.dispatch("ON_GET_ME"),0==e&&t.$message.info("当前状态为离线")})).catch((function(e){t.$message.error(e.response.data.message)}))},online:function(e){var t=this;t.adminInfo.online!=e&&t.$confirm("您确定"+(0==e?"下线":1==e?"上线":"设置繁忙")+"吗!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){0==e?(t.$mimcInstance.logout(),t.changeUserOnlineStatus(e),t.$store.commit("onChangeMimcUser",null)):t.$mimcInstance.login((function(){t.changeUserOnlineStatus(e),t.$store.dispatch("ON_RUN_LAST_ACTiIVITY"),t.$store.dispatch("ON_GET_CONTACTS"),t.$store.commit("onChangeMimcUser",t.$mimcInstance.user)}))}))},receiveP2PMsg:function(e){var t=this,i=parseInt(((new Date).getTime()+"").substr(0,10));if(e.timestamp=parseInt((e.timestamp+"").substr(0,10)),"text"==e.biz_type&&e.from_account==this.seviceCurrentUser.from_account&&(this.advanceText=""),"contacts"!=e.biz_type){if(!(i-e.timestamp>=60))if("cancel"==e.biz_type&&this.removeMessage(e.from_account,e.payload),"handshake"!=e.biz_type){if("pong"==e.biz_type&&e.from_account==this.seviceCurrentUser.from_account)return this.advanceText=e.payload,void this.inputPongIng();if("contacts"!=e.biz_type&&"pong"!=e.biz_type&&"welcome"!=e.biz_type&&"cancel"!=e.biz_type&&"handshake"!=e.biz_type&&"end"!=e.biz_type&&"timeout"!=e.biz_type&&this.isPush&&q.a.Permission.has()&&q.a.create("收到一条新消息",{body:e.payload,icon:this.$store.state.pushIcon,timeout:5e3,onClick:function(){t.$router.push({path:"/workbench?uid="+e.from_account}),window.focus(),setTimeout((function(){return t.getMessageRecord()}),1e3)}}),e.from_account==this.seviceCurrentUser.from_account){if("end"==e.biz_type){var s=this.seviceCurrentUser;s.is_session_end=1,this.$store.commit("onChangeSeviceCurrentUser",s),this.advanceText=""}this.messageRecord.list.push(e);var n=JSON.stringify(this.messageRecord);this.$store.commit("onChangeMessageRecord",JSON.parse(n)),this.scrollIntoBottom(),this.$previewRefresh()}}else setTimeout((function(){t.$mimcInstance.sendMessage("text",e.from_account,t.adminInfo.auto_reply),void 0!=t.seviceCurrentUser&&null!=t.seviceCurrentUser&&setTimeout((function(){return t.getMessageRecord()}),1e3)}),500)}else{var a=JSON.parse(e.payload);this.$store.commit("onChangeContacts",a)}},changeCurrentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"{}"!=JSON.stringify(this.adminInfo)&&x.a.get("/admin/current/user/"+e)},sendMessage:function(){if(0!=this.adminInfo.online){if(1!=this.seviceCurrentUser.is_session_end)if(1!=this.seviceCurrentUser.is_session_end){var e=this.chatValue.trim();if(""!=e){this.shortcutEditVisible=!1,this.scrollIntoBottom();var t=this.$mimcInstance.sendMessage("text",this.seviceCurrentUser.from_account,this.chatValue.trim("\n"));t.isShowCancel=!0,setTimeout((function(){return t.isShowCancel=!1}),1e4),this.messageRecord.list.push(t),this.chatValue=""}else this.chatValue=""}else this.$message.info("当前会话已结束!")}else this.$message.info("您当前为离线状态!")},sendPhotoMessageEvent:function(e){var t=e.target,i=t.files[0];this.sendPhotoMessage(i)},sendPhotoMessage:function(e){if(0!=this.adminInfo.online)if(1!=this.seviceCurrentUser.is_session_end){var t=new FileReader;t.readAsDataURL(e);var i,s=this;t.onload=function(){i=s.$mimcInstance.createLocalMessage("photo",s.seviceCurrentUser.from_account,this.result),i["percent"]=0,i.isShowCancel=!0,s.messageRecord.list.push(i),setTimeout((function(){return i.isShowCancel=!1}),1e4),s.$previewRefresh(),s.scrollIntoBottom(),Object(J["a"])({file:e,progress:function(e){i.percent=e},success:function(e){i.percent=100;var t=s.$store.getters.uploadToken.host+"/"+e;s.$mimcInstance.sendMessage("photo",s.seviceCurrentUser.from_account,t)},error:function(e){i.percent=0,s.$message.error(e.message)}})}}else this.$message.info("当前会话已结束!");else this.$message.info("您当前为离线状态!")},selectUser:function(e){var t=location.href,i=t.indexOf("#");t=t.substr(0,-1!=i?i:t.length),history.replaceState(null,null,t+"#/workbench?uid="+e.from_account),this.isMessageEnd=!1,this.seviceCurrentUser.from_account!=e.from_account&&(this.messageRecord.list=[],this.$store.commit("onChangeSeviceCurrentUser",e),this.changeCurrentUser(e.from_account)),this.timestamp=void 0,this.getMessageRecord(),this.advanceText=""},getMessageRecord:function(e){var t=this;this.getMessageRecordLoading=!0,void 0==e&&(e=0);var i=parseInt(this.seviceCurrentUser.from_account);i&&x.a.post("/message/list",{timestamp:e,page_size:this.getMessageRecordPageSize,account:i}).then((function(i){t.getMessageRecordLoading=!1,i.data.data.list.length<t.getMessageRecordPageSize&&(t.isMessageEnd=!0),0==t.messageRecord.list.length||0==e?(t.$store.commit("onChangeMessageRecord",i.data.data),t.scrollIntoBottom()):(i.data.data.list=i.data.data.list.concat(t.messageRecord.list),t.$store.commit("onChangeMessageRecord",i.data.data)),setTimeout((function(){return t.$previewRefresh()}),1e3),t.$store.dispatch("ON_GET_CONTACTS")})).catch((function(){t.getMessageRecordLoading=!1}))},onLoadMorMessage:function(){this.getMessageRecordLoading||(this.messageRecord.list.length>=this.messageRecord.total||this.messageRecord.total<=this.getMessageRecordPageSize?this.isMessageEnd=!0:(this.getMessageRecord(this.messageRecord.list[0].timestamp),setTimeout((function(){var e=document.getElementById("chatBody");e.scrollTop=500}),50)))},inputPongIng:function(){var e=this;this.isInputPongIng||(this.isInputPongIng=!0,setTimeout((function(){e.inputPongIngString="对方正在输入."}),500),setTimeout((function(){e.inputPongIngString="对方正在输入.."}),1500),setTimeout((function(){e.inputPongIngString="对方正在输入...",e.isInputPongIng=!1}),3e3))},keyUpEvent:function(){var e=this;this.isSendPong||(this.isSendPong=!0,setTimeout((function(){return e.isSendPong=!1}),500),this.$mimcInstance.sendMessage("pong",this.seviceCurrentUser.from_account,""))},removeMessage:function(e,t){for(var i=[],s=this.messageRecord.list,n=0;n<s.length;n++)s[n].key==t&&s[n].from_account==e||i.push(s[n]);this.messageRecord.list=i,this.$store.commit("onChangeMessageRecord",this.messageRecord)},inputPaste:function(e){if(this.seviceCurrentUser.id&&1!=this.seviceCurrentUser.is_session_end){var t=this,i=e.clipboardData,s=window.navigator.userAgent;if(e.clipboardData&&e.clipboardData.items&&!(i.items&&2===i.items.length&&"string"===i.items[0].kind&&"file"===i.items[1].kind&&i.types&&2===i.types.length&&"text/plain"===i.types[0]&&"Files"===i.types[1]&&s.match(/Macintosh/i)&&Number(s.match(/Chrome\/(\d{2})/i)[1])<49))for(var n=0;n<i.items.length;n++){var a=i.items[n];if("file"==a.kind){var o=a.getAsFile();if(0===o.size)return;var r=new FileReader;r.readAsDataURL(o),r.onload=function(){var e=this.result;t.$alert('<img preview="1" style="width:100%;max-height: 500px;" src="'+e+'" />',"检测到图片是否要发送?",{dangerouslyUseHTMLString:!0,showCancelButton:!0,confirmButtonText:"发送"}).then((function(){t.sendPhotoMessage(o)})),t.$previewRefresh()}}}}}},watch:{messageRecord:function(){this.$previewRefresh()}}},te=ee,ie=(i("146b"),Object(f["a"])(te,s,n,!1,null,"19edcbfe",null));t["default"]=ie.exports},"2b0b":function(e,t,i){"use strict";var s=i("752b"),n=i.n(s);n.a},"454f":function(e,t,i){i("46a7");var s=i("584a").Object;e.exports=function(e,t,i){return s.defineProperty(e,t,i)}},"456d":function(e,t,i){var s=i("4bf8"),n=i("0d58");i("5eda")("keys",(function(){return function(e){return n(s(e))}}))},"46a7":function(e,t,i){var s=i("63b6");s(s.S+s.F*!i("8e60"),"Object",{defineProperty:i("d9f6").f})},4917:function(e,t,i){"use strict";var s=i("cb7c"),n=i("9def"),a=i("0390"),o=i("5f1b");i("214f")("match",1,(function(e,t,i,r){return[function(i){var s=e(this),n=void 0==i?void 0:i[t];return void 0!==n?n.call(i,s):new RegExp(i)[t](String(s))},function(e){var t=r(i,e,this);if(t.done)return t.value;var c=s(e),l=String(this);if(!c.global)return o(c,l);var u=c.unicode;c.lastIndex=0;var m,d=[],f=0;while(null!==(m=o(c,l))){var h=String(m[0]);d[f]=h,""===h&&(c.lastIndex=a(l,n(c.lastIndex),u)),f++}return 0===f?null:d}]}))},"4e10":function(e,t,i){},"4f37":function(e,t,i){"use strict";i("aa77")("trim",(function(e){return function(){return e(this,3)}}))},"58b2":function(e,t,i){var s=i("5ca1");s(s.S+s.F*!i("9e1e"),"Object",{defineProperties:i("1495")})},"5dbc":function(e,t,i){var s=i("d3f4"),n=i("8b97").set;e.exports=function(e,t,i){var a,o=t.constructor;return o!==i&&"function"==typeof o&&(a=o.prototype)!==i.prototype&&s(a)&&n&&n(e,a),e}},"5eda":function(e,t,i){var s=i("5ca1"),n=i("8378"),a=i("79e5");e.exports=function(e,t){var i=(n.Object||{})[e]||Object[e],o={};o[e]=t(i),s(s.S+s.F*a((function(){i(1)})),"Object",o)}},"752b":function(e,t,i){},"85f2":function(e,t,i){e.exports=i("454f")},"8b97":function(e,t,i){var s=i("d3f4"),n=i("cb7c"),a=function(e,t){if(n(e),!s(t)&&null!==t)throw TypeError(t+": can't set as prototype!")};e.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(e,t,s){try{s=i("9b43")(Function.call,i("11e9").f(Object.prototype,"__proto__").set,2),s(e,[]),t=!(e instanceof Array)}catch(n){t=!0}return function(e,i){return a(e,i),t?e.__proto__=i:s(e,i),e}}({},!1):void 0),check:a}},"8e6e":function(e,t,i){var s=i("5ca1"),n=i("990b"),a=i("6821"),o=i("11e9"),r=i("f1ae");s(s.S,"Object",{getOwnPropertyDescriptors:function(e){var t,i,s=a(e),c=o.f,l=n(s),u={},m=0;while(l.length>m)i=c(s,t=l[m++]),void 0!==i&&r(u,t,i);return u}})},9093:function(e,t,i){var s=i("ce10"),n=i("e11e").concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return s(e,n)}},"990b":function(e,t,i){var s=i("9093"),n=i("2621"),a=i("cb7c"),o=i("7726").Reflect;e.exports=o&&o.ownKeys||function(e){var t=s.f(a(e)),i=n.f;return i?t.concat(i(e)):t}},a481:function(e,t,i){"use strict";var s=i("cb7c"),n=i("4bf8"),a=i("9def"),o=i("4588"),r=i("0390"),c=i("5f1b"),l=Math.max,u=Math.min,m=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,h=function(e){return void 0===e?e:String(e)};i("214f")("replace",2,(function(e,t,i,g){return[function(s,n){var a=e(this),o=void 0==s?void 0:s[t];return void 0!==o?o.call(s,a,n):i.call(String(a),s,n)},function(e,t){var n=g(i,e,this,t);if(n.done)return n.value;var m=s(e),d=String(this),f="function"===typeof t;f||(t=String(t));var p=m.global;if(p){var _=m.unicode;m.lastIndex=0}var b=[];while(1){var C=c(m,d);if(null===C)break;if(b.push(C),!p)break;var y=String(C[0]);""===y&&(m.lastIndex=r(d,a(m.lastIndex),_))}for(var w="",S=0,k=0;k<b.length;k++){C=b[k];for(var x=String(C[0]),$=l(u(o(C.index),d.length),0),I=[],M=1;M<C.length;M++)I.push(h(C[M]));var U=C.groups;if(f){var T=[x].concat(I,$,d);void 0!==U&&T.push(U);var E=String(t.apply(void 0,T))}else E=v(x,d,$,I,U,t);$>=S&&(w+=d.slice(S,$)+E,S=$+x.length)}return w+d.slice(S)}];function v(e,t,s,a,o,r){var c=s+e.length,l=a.length,u=f;return void 0!==o&&(o=n(o),u=d),i.call(r,u,(function(i,n){var r;switch(n.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,s);case"'":return t.slice(c);case"<":r=o[n.slice(1,-1)];break;default:var u=+n;if(0===u)return i;if(u>l){var d=m(u/10);return 0===d?i:d<=l?void 0===a[d-1]?n.charAt(1):a[d-1]+n.charAt(1):i}r=a[u-1]}return void 0===r?"":r}))}}))},a818:function(e,t,i){},aa77:function(e,t,i){var s=i("5ca1"),n=i("be13"),a=i("79e5"),o=i("fdef"),r="["+o+"]",c="​…",l=RegExp("^"+r+r+"*"),u=RegExp(r+r+"*$"),m=function(e,t,i){var n={},r=a((function(){return!!o[e]()||c[e]()!=c})),l=n[e]=r?t(d):o[e];i&&(n[i]=l),s(s.P+s.F*r,"String",n)},d=m.trim=function(e,t){return e=String(n(e)),1&t&&(e=e.replace(l,"")),2&t&&(e=e.replace(u,"")),e};e.exports=m},ac6a:function(e,t,i){for(var s=i("cadf"),n=i("0d58"),a=i("2aba"),o=i("7726"),r=i("32e9"),c=i("84f2"),l=i("2b4c"),u=l("iterator"),m=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=n(f),g=0;g<h.length;g++){var v,p=h[g],_=f[p],b=o[p],C=b&&b.prototype;if(C&&(C[u]||r(C,u,d),C[m]||r(C,m,p),c[p]=d,_))for(v in s)C[v]||a(C,v,s[v],!0)}},c5f6:function(e,t,i){"use strict";var s=i("7726"),n=i("69a8"),a=i("2d95"),o=i("5dbc"),r=i("6a99"),c=i("79e5"),l=i("9093").f,u=i("11e9").f,m=i("86cc").f,d=i("aa77").trim,f="Number",h=s[f],g=h,v=h.prototype,p=a(i("2aeb")(v))==f,_="trim"in String.prototype,b=function(e){var t=r(e,!1);if("string"==typeof t&&t.length>2){t=_?t.trim():d(t,3);var i,s,n,a=t.charCodeAt(0);if(43===a||45===a){if(i=t.charCodeAt(2),88===i||120===i)return NaN}else if(48===a){switch(t.charCodeAt(1)){case 66:case 98:s=2,n=49;break;case 79:case 111:s=8,n=55;break;default:return+t}for(var o,c=t.slice(2),l=0,u=c.length;l<u;l++)if(o=c.charCodeAt(l),o<48||o>n)return NaN;return parseInt(c,s)}}return+t};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(e){var t=arguments.length<1?0:e,i=this;return i instanceof h&&(p?c((function(){v.valueOf.call(i)})):a(i)!=f)?o(new g(b(t)),i,h):b(t)};for(var C,y=i("9e1e")?l(g):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;y.length>w;w++)n(g,C=y[w])&&!n(h,C)&&m(h,C,u(g,C));h.prototype=v,v.constructor=h,i("2aba")(s,f,h)}},d25f:function(e,t,i){"use strict";var s=i("5ca1"),n=i("0a49")(2);s(s.P+s.F*!i("2f21")([].filter,!0),"Array",{filter:function(e){return n(this,e,arguments[1])}})},eef3:function(e,t){var i=["😀","😁","😂","🤣","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","🙂","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🙌","👏","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👌","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏"];t.emojiData=i},f1ae:function(e,t,i){"use strict";var s=i("86cc"),n=i("4630");e.exports=function(e,t,i){t in e?s.f(e,t,n(0,i)):e[t]=i}},f3e2:function(e,t,i){"use strict";var s=i("5ca1"),n=i("0a49")(0),a=i("2f21")([].forEach,!0);s(s.P+s.F*!a,"Array",{forEach:function(e){return n(this,e,arguments[1])}})},fa4e:function(e,t,i){},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
//# sourceMappingURL=chunk-2e29b63f.7ff0f22a.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-35027968"],{"4f37":function(t,e,s){"use strict";s("aa77")("trim",(function(t){return function(){return t(this,3)}}))},aa77:function(t,e,s){var n=s("5ca1"),a=s("be13"),o=s("79e5"),i=s("fdef"),r="["+i+"]",c="​…",l=RegExp("^"+r+r+"*"),u=RegExp(r+r+"*$"),m=function(t,e,s){var a={},r=o((function(){return!!i[t]()||c[t]()!=c})),l=a[t]=r?e(f):i[t];s&&(a[s]=l),n(n.P+n.F*r,"String",a)},f=m.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=m},bd01:function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"login"},[s("div",{staticClass:"form"},[s("div",{staticClass:"left"},[s("div",{staticClass:"tit"},[t._v("欢迎回来, 请登录!")]),s("span",[t._v("客服系统-工作台")]),s("div",{staticClass:"client"},[s("p",[t._v("客户端下载")]),s("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-download"},on:{click:t.dmac}},[t._v("Mac 版下载")]),s("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-download"},on:{click:t.dwin}},[t._v("Windows 版下载")])],1)]),s("div",{staticClass:"right"},[s("el-form",{ref:"form",attrs:{model:t.form,onsubmit:"return false","label-width":"80px"}},[s("span",{staticClass:"lable"},[t._v("用户登录")]),s("el-input",{staticClass:"input",attrs:{placeholder:"请输入用户名","prefix-icon":"el-icon-user"},model:{value:t.form.username,callback:function(e){t.$set(t.form,"username",e)},expression:"form.username"}}),s("el-input",{staticClass:"input",attrs:{type:"password",placeholder:"请输入密码","prefix-icon":"el-icon-unlock","show-password":""},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),s("el-row",{staticClass:"btn-group",attrs:{type:"flex"}},[s("el-button",{attrs:{"native-type":"submit",size:"small",type:"primary"},on:{click:t.login}},[t._v("登录")]),s("el-button",{attrs:{size:"small",type:"info"}},[t._v("重置")])],1)],1)],1)])])},a=[],o=(s("4f37"),s("bc3a")),i=s.n(o),r={name:"login",data:function(){return{form:{username:"",password:""}}},mounted:function(){document.title="用户登录"},methods:{login:function(){var t=this;""!=this.form.username.trim()?""!=this.form.password.trim()?i.a.post("/auth/login",this.form).then((function(e){t.$store.commit("onChangeAdminInfo",e.data.data),t.$store.commit("onIsLogin",!0),localStorage.setItem("Authorization",e.data.data.token),t.$message({message:"登录成功!",type:"success"}),t.$router.push({path:"/index"})})).catch((function(e){console.log(e),t.$message.error(e.response.data.message)})):this.$message.error("密码不能为空!"):this.$message.error("用户名不能为空!")},dmac:function(){window.open("http://kf.aissz.com:666/static/app/mac-0.0.1.dmg")},dwin:function(){window.open("http://kf.aissz.com:666/static/app/win-0.0.1.exe")}}},c=r,l=(s("de49"),s("2877")),u=Object(l["a"])(c,n,a,!1,null,"27526a96",null);e["default"]=u.exports},de49:function(t,e,s){"use strict";var n=s("ed1b"),a=s.n(n);a.a},ed1b:function(t,e,s){},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
//# sourceMappingURL=chunk-35027968.79ffcf7b.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es6.string.trim.js","webpack:///./node_modules/core-js/modules/_string-trim.js","webpack:///./src/views/auth/login.vue?735a","webpack:///src/views/auth/login.vue","webpack:///./src/views/auth/login.vue?767d","webpack:///./src/views/auth/login.vue","webpack:///./src/views/auth/login.vue?d233","webpack:///./node_modules/core-js/modules/_string-ws.js"],"names":["$trim","this","$export","defined","fails","spaces","space","non","ltrim","RegExp","rtrim","exporter","KEY","exec","ALIAS","exp","FORCE","fn","trim","P","F","string","TYPE","String","replace","module","exports","render","_vm","_h","$createElement","_c","_self","staticClass","_v","attrs","on","dmac","dwin","ref","form","model","value","callback","$$v","$set","expression","login","staticRenderFns","name","data","username","password","mounted","document","title","methods","localStorage","setItem","response","token","message","type","console","log","error","$message","window","open","component"],"mappings":"kHAEA,EAAQ,OAAR,CAA0B,QAAQ,SAAUA,GAC1C,OAAO,WACL,OAAOA,EAAMC,KAAM,Q,qBCJvB,IAAIC,EAAU,EAAQ,QAClBC,EAAU,EAAQ,QAClBC,EAAQ,EAAQ,QAChBC,EAAS,EAAQ,QACjBC,EAAQ,IAAMD,EAAS,IACvBE,EAAM,KACNC,EAAQC,OAAO,IAAMH,EAAQA,EAAQ,KACrCI,EAAQD,OAAOH,EAAQA,EAAQ,MAE/BK,EAAW,SAAUC,EAAKC,EAAMC,GAClC,IAAIC,EAAM,GACNC,EAAQZ,GAAM,WAChB,QAASC,EA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XC,EAAY,eACd,EACA1C,EACAqB,GACA,EACA,KACA,WACA,MAIa,aAAAqB,E,2CCnBf,yBAAyjB,EAAG,G,0CCA5jB5C,EAAOC,QAAU","file":"js/chunk-35027968.79ffcf7b.js","sourcesContent":["'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login\"},[_c('div',{staticClass:\"form\"},[_c('div',{staticClass:\"left\"},[_c('div',{staticClass:\"tit\"},[_vm._v(\"欢迎回来, 请登录!\")]),_c('span',[_vm._v(\"客服系统-工作台\")]),_c('div',{staticClass:\"client\"},[_c('p',[_vm._v(\"客户端下载\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\",\"icon\":\"el-icon-download\"},on:{\"click\":_vm.dmac}},[_vm._v(\"Mac 版下载\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\",\"icon\":\"el-icon-download\"},on:{\"click\":_vm.dwin}},[_vm._v(\"Windows 版下载\")])],1)]),_c('div',{staticClass:\"right\"},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"onsubmit\":\"return false\",\"label-width\":\"80px\"}},[_c('span',{staticClass:\"lable\"},[_vm._v(\"用户登录\")]),_c('el-input',{staticClass:\"input\",attrs:{\"placeholder\":\"请输入用户名\",\"prefix-icon\":\"el-icon-user\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}}),_c('el-input',{staticClass:\"input\",attrs:{\"type\":\"password\",\"placeholder\":\"请输入密码\",\"prefix-icon\":\"el-icon-unlock\",\"show-password\":\"\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}}),_c('el-row',{staticClass:\"btn-group\",attrs:{\"type\":\"flex\"}},[_c('el-button',{attrs:{\"native-type\":\"submit\",\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.login}},[_vm._v(\"登录\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"info\"}},[_vm._v(\"重置\")])],1)],1)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"login\">\n <div class=\"form\">\n <div class=\"left\">\n <div class=\"tit\">欢迎回来, 请登录!</div>\n <span>客服系统-工作台</span>\n <div class=\"client\">\n <p>客户端下载</p>\n <el-button @click=\"dmac\" type=\"primary\" size=\"mini\" icon=\"el-icon-download\">Mac 版下载</el-button>\n <el-button @click=\"dwin\" type=\"primary\" size=\"mini\" icon=\"el-icon-download\">Windows 版下载</el-button>\n </div>\n </div>\n <div class=\"right\">\n <el-form ref=\"form\" :model=\"form\" onsubmit=\"return false\" label-width=\"80px\">\n <span class=\"lable\">用户登录</span>\n <el-input\n class=\"input\"\n placeholder=\"请输入用户名\"\n prefix-icon=\"el-icon-user\"\n v-model=\"form.username\">\n </el-input>\n <el-input\n class=\"input\"\n type=\"password\"\n placeholder=\"请输入密码\"\n prefix-icon=\"el-icon-unlock\"\n show-password\n v-model=\"form.password\">\n </el-input>\n <el-row type=\"flex\" class=\"btn-group\">\n <el-button native-type=\"submit\" @click=\"login\" size=\"small\" type=\"primary\">登录</el-button>\n <el-button size=\"small\" type=\"info\">重置</el-button>\n </el-row>\n </el-form>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport axios from 'axios'\nexport default {\n name: 'login',\n data(){\n return{\n form: {\n username: \"\",\n password: \"\"\n }\n }\n },\n mounted(){\n document.title = \"用户登录\"\n },\n methods: {\n // login\n login(){\n // valid\n if(this.form.username.trim() == \"\"){\n this.$message.error('用户名不能为空!')\n return\n }\n if(this.form.password.trim() == \"\"){\n this.$message.error('密码不能为空!')\n return\n }\n axios.post('/auth/login', this.form)\n .then(response => {\n this.$store.commit(\"onChangeAdminInfo\", response.data.data)\n this.$store.commit(\"onIsLogin\", true)\n localStorage.setItem(\"Authorization\", response.data.data.token)\n this.$message({\n message: '登录成功!',\n type: 'success'\n });\n this.$router.push({ path: '/index'})\n })\n .catch(error => {\n console.log(error)\n this.$message.error(error.response.data.message)\n });\n },\n dmac(){\n window.open(\"http://kf.aissz.com:666/static/app/mac-0.0.1.dmg\")\n },\n dwin(){\n window.open(\"http://kf.aissz.com:666/static/app/win-0.0.1.exe\")\n }\n }\n}\n</script>\n<style lang=\"stylus\" scoped>\n .login{\n display flex\n width 100%\n height 100%\n background url('../../assets/login_bg.jpg') center bottom no-repeat;\n background-size cover\n .form{\n display flex\n overflow hidden\n width 600px;\n height 300px;\n background-color #fff\n margin auto\n border-radius 5px;\n .left{\n width 350px\n height 100%\n padding 20px;\n box-sizing border-box\n background url('../../assets/login_bg1.jpg') center bottom no-repeat;\n background-size cover\n font-size 18px;\n color #fff\n display flex\n flex-direction column\n justify-content center\n .tit{\n margin-top: 50px;\n border-bottom 1px solid #fff\n }\n div{\n width 300px\n padding-bottom 10px;\n margin-bottom 10px;\n }\n span{\n font-size 14px;\n }\n .client{\n margin-top: 80px;\n button{\n margin-top 10px\n }\n }\n }\n .right{\n padding 20px;\n padding-top: 50px;\n .input{\n margin-bottom 20px;\n }\n .btn-group{\n margin-top: 15px;\n }\n .lable{\n font-size 18px;\n color: #606266;\n margin-bottom 15px;\n display block\n }\n }\n }\n }\n</style>\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./login.vue?vue&type=template&id=27526a96&scoped=true&\"\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&id=27526a96&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"27526a96\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&id=27526a96&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&id=27526a96&lang=stylus&scoped=true&\"","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4033950c"],{"0b10":function(t,e,i){},"11e9":function(t,e,i){var s=i("52a7"),n=i("4630"),o=i("6821"),a=i("6a99"),r=i("69a8"),c=i("c69a"),l=Object.getOwnPropertyDescriptor;e.f=i("9e1e")?l:function(t,e){if(t=o(t),e=a(e,!0),c)try{return l(t,e)}catch(i){}if(r(t,e))return n(!s.f.call(t,e),t[e])}},1826:function(t,e,i){"use strict";var s=i("fa4e"),n=i.n(s);n.a},"1c01":function(t,e,i){var s=i("5ca1");s(s.S+s.F*!i("9e1e"),"Object",{defineProperty:i("86cc").f})},"24fd":function(t,e,i){"use strict";var s=i("4e10"),n=i.n(s);n.a},"297c":function(t,e,i){"use strict";var s=i("0b10"),n=i.n(s);n.a},"29e5":function(t,e,i){"use strict";i.r(e);var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mini-im-workbench"},[i("div",{staticClass:"mini-im-session-list"},[i("div",{staticClass:"title"},[i("el-row",{attrs:{type:"flex",justify:"space-between",gutter:20}},[i("el-col",{attrs:{span:16}},[i("span",[i("i",{staticClass:"el-icon-s-custom"}),t._v("\n 会话列表 ( "+t._s(t.contacts.length)+"人 )\n ")]),i("i",{staticClass:"el-icon-delete",staticStyle:{cursor:"pointer"},attrs:{title:"清空列表"},on:{click:t.clearContact}})]),i("el-col",{attrs:{span:9}},[i("el-popover",{attrs:{placement:"bottom",width:"100"}},[i("div",{staticClass:"mini-im-online-setting"},[1!=t.adminInfo.online?i("div",{staticClass:"item",on:{click:function(){return t.online(1)}}},[i("i",{staticClass:"el-icon-circle-check",staticStyle:{color:"rgb(135, 208, 104)"}}),t._v("\n 我要上线\n ")]):t._e(),0!=t.adminInfo.online?i("div",{staticClass:"item",on:{click:function(){return t.online(0)}}},[i("i",{staticClass:"el-icon-switch-button",staticStyle:{color:"#ccc"}}),t._v("\n 我要下线\n ")]):t._e(),2!=t.adminInfo.online?i("div",{staticClass:"item",on:{click:function(){return t.online(2)}}},[i("i",{staticClass:"el-icon-remove-outline",staticStyle:{color:"#e6a23c"}}),t._v("\n 繁忙状态\n ")]):t._e()]),0==t.adminInfo.online?i("el-button",{attrs:{slot:"reference",size:"mini"},slot:"reference"},[i("i",{staticClass:"el-icon-switch-button"}),i("em",[t._v("离 线 ")]),i("i",{staticClass:"el-icon-arrow-right el-icon--right"})]):1==t.adminInfo.online?i("el-button",{attrs:{slot:"reference",size:"mini"},slot:"reference"},[i("span",{staticStyle:{color:"rgb(135, 208, 104)"}},[i("i",{staticClass:"el-icon-circle-check"}),i("em",[t._v("在 线")]),i("i",{staticClass:"el-icon-arrow-right el-icon--right"})])]):i("el-button",{attrs:{slot:"reference",size:"mini"},slot:"reference"},[i("span",{staticStyle:{color:"#e6a23c"}},[i("i",{staticClass:"el-icon-circle-check"}),i("em",[t._v("繁 忙")]),i("i",{staticClass:"el-icon-arrow-right el-icon--right"})])])],1)],1)],1)],1),i("div",{staticClass:"mini-im-session-content"},[i("div",{staticClass:"mini-im-flex"},[t.contacts.length<=0?i("div",{staticClass:"mini-im-no-data"},[t._v("暂无会话数据")]):t._e(),t._l(t.contacts,(function(e,s){return i("ContactComponent",{key:s,class:{"mini-im-chat-item-active":t.seviceCurrentUser.from_account==e.from_account},attrs:{deleteContact:t.deleteContact,clickItem:t.selectUser,item:e}})}))],2)])]),t.$store.getters.seviceCurrentUser.id?i("div",{staticClass:"mini-im-chat-view"},[i("div",{staticClass:"mini-im-chat-view-content-header"},[i("div",{staticClass:"mini-im-header-user-box"},[i("el-avatar",{staticClass:"mini-im-avatar",attrs:{size:35}},[""!=t.seviceCurrentUser.avatar?i("img",{attrs:{src:t.seviceCurrentUser.avatar}}):[t._v("访")]],2),i("div",{staticClass:"mini-im-header-user-info"},[i("div",[t._v("\n "+t._s(t.seviceCurrentUser.nickname)+"\n "),1==t.seviceCurrentUser.online?i("span",{staticStyle:{color:"rgb(135, 208, 104)"}},[t._v("● 在线")]):i("span",[t._v("● 离线")]),t.isInputPongIng?[i("span",{staticClass:"input-pong"},[t._v(t._s(t.inputPongIngString)+" "),i("i",{staticClass:"el-icon-edit"})])]:t._e()],2),i("span",[t._v("用户来至:"+t._s(t.$getPlatformItem(t.seviceCurrentUser.platform).title)+"客户端,所在地:"+t._s(t.seviceCurrentUser.address||"未知"))])])],1),i("el-row",{staticClass:"mini-im-buttons"},[i("el-popover",{attrs:{placement:"bottom",width:"200",trigger:"click"}},[i("div",{staticClass:"mini-im-customer-list"},[i("div",{staticClass:"mini-im-customer-title"},[t._v("请选择转接的客服 ("+t._s(t.filterAdmins.length)+"人在线)")]),t._l(t.filterAdmins,(function(e){return i("div",{key:e.id,staticClass:"mini-im-customer-item",on:{click:function(){return t.transferCustomer(e)}}},[i("el-avatar",{staticClass:"mini-im-avatar",attrs:{size:30}},[i("img",{attrs:{src:e.avatar}})]),i("span",[t._v(t._s(e.nickname||e.username))])],1)})),0==t.filterAdmins.length?i("div",{staticClass:"mini-im-customer-item",staticStyle:{background:"none",border:"0"}},[i("span",[t._v("当前没有其他客服在线")])]):t._e()],2),i("el-button",{directives:[{name:"show",rawName:"v-show",value:0==t.seviceCurrentUser.is_session_end&&0!=t.adminInfo.online,expression:"seviceCurrentUser.is_session_end == 0 && adminInfo.online != 0"}],attrs:{slot:"reference",icon:"el-icon-refresh",size:"small"},on:{click:t.getAdmins},slot:"reference"},[t._v("\n 转接客服\n ")])],1),0==t.seviceCurrentUser.is_session_end&&0!=t.adminInfo.online?i("el-button",{attrs:{icon:"el-icon-close",size:"small"},on:{click:t.closeSession}},[t._v("结束会话")]):t._e()],1)],1),i("div",{ref:"miniImChatViewBontentBody",staticClass:"mini-im-chat-view-content-body"},[i("div",{staticClass:"mini-im-chat-view-content"},[i("div",{directives:[{name:"show",rawName:"v-show",value:""!=t.advanceText.trim(),expression:"advanceText.trim() != ''"}],staticClass:"advance"},[i("div",[t._v("正在输入:")]),i("span",[t._v("\n "+t._s(t.advanceText)+"\n "),t.isInputPongIng?[i("span",{staticClass:"input-pong"},[t._v(t._s(t.inputPongIngString.replace("对方正在输入",""))+" "),i("i",{staticClass:"el-icon-edit"})])]:t._e()],2)]),i("div",{ref:"chatBody",staticClass:"mini-im-chat-body",attrs:{id:"chatBody"}},[i("ChatWindowComponent",{attrs:{onLoadMor:t.onLoadMorMessage,isMessageEnd:t.isMessageEnd,onCancelMessage:t.onCancelMessage,messages:t.messageRecord.list,loading:t.getMessageRecordLoading}})],1),i("div",{staticClass:"mini-im-chat-input"},[i("div",{staticClass:"mini-im-chat-input-bar"},[i("el-row",[i("EmojiComponent",{attrs:{clickEmoji:t.clickEmoji}}),i("span",{staticClass:"mini-im-button",attrs:{title:"选择图片"}},[t._v("\n 🌁\n "),i("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:t.sendPhotoMessageEvent}})])],1),i("el-row",[i("el-popover",{attrs:{placement:"top-start",width:"350",trigger:"hover"}},[i("div",{staticClass:"mini-im-shortcut"},[i("div",{staticClass:"mini-im-shortcut-head"},[i("span",[i("i",{staticClass:"el-icon-tickets"}),t._v("快捷语回复列表")]),i("div",[i("button",{attrs:{title:"添加"},on:{click:function(e){t.createShortcutDialogFormVisible=!0}}},[i("i",{staticClass:"el-icon-plus"})]),i("button",{attrs:{title:"编辑"},on:{click:function(e){t.shortcutEditVisible=!t.shortcutEditVisible}}},[i("i",{staticClass:"el-icon-edit"})])])]),i("div",{staticClass:"mini-im-shortcut-body"},[i("el-input",{staticStyle:{"margin-bottom":"10px"},attrs:{clearable:"",type:"text",placeholder:"请输入关键词",autocomplete:"off"},model:{value:t.shortcutKey,callback:function(e){t.shortcutKey=e},expression:"shortcutKey"}}),0==t.filterShortcuts.length?i("div",{staticClass:"mini-im-shortcut-item",staticStyle:{background:"none"}},[i("span",{staticStyle:{"text-align":"center","margin-top":"20px"}},[t._v("暂无快捷语")])]):t._e(),t._l(t.filterShortcuts,(function(e){return i("div",{key:e.id,staticClass:"mini-im-shortcut-item",attrs:{title:e.content}},[i("span",{domProps:{innerHTML:t._s(e.title.replace(/\n/g,"<br>"))},on:{"!click":function(i){return function(){return t.checkShortcut(e.content)}()}}}),i("button",{directives:[{name:"show",rawName:"v-show",value:t.shortcutEditVisible,expression:"shortcutEditVisible"}],attrs:{title:"修改"},on:{"!click":function(i){return function(){return t.editShortcut(e)}()}}},[i("i",{staticClass:"el-icon-edit"})]),i("button",{directives:[{name:"show",rawName:"v-show",value:t.shortcutEditVisible,expression:"shortcutEditVisible"}],attrs:{title:"删除"},on:{"!click":function(i){return function(){return t.deleteShortcut(e)}()}}},[i("i",{staticClass:"el-icon-delete"})])])}))],2)]),i("button",{staticClass:"mini-im-button",attrs:{slot:"reference"},slot:"reference"},[i("i",{staticClass:"el-icon-tickets",staticStyle:{"font-size":"15px"}}),i("span",{staticStyle:{"font-size":"14px"}},[t._v(" 快捷语")])])])],1)],1),i("div",{staticClass:"mini-im-chat-input-edit",on:{keyup:[function(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.keyUpEvent(e)},function(e){return!e.type.indexOf("key")&&13!==e.keyCode&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.shiftKey?t.enterShift(e):null},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.sendMessage(e)}]}},[i("el-input",{ref:"chatValueDom",staticClass:"mini-im-chat-text-input",attrs:{type:"textarea",rows:"3",resize:"none",autosize:!1,disabled:1==t.seviceCurrentUser.is_session_end||0==t.adminInfo.online,maxlength:"200","show-word-limit":"",placeholder:1==t.seviceCurrentUser.is_session_end?"当前会话已结束":"请输入内容"},model:{value:t.chatValue,callback:function(e){t.chatValue=e},expression:"chatValue"}})],1)])]),i("div",{staticClass:"mini-im-chat-view-user"},[i("el-tabs",{attrs:{type:"border-card"}},[i("el-tab-pane",{attrs:{label:"用户信息"}},[i("UserInfoComponent")],1)],1)],1)])]):i("div",{staticClass:"mini-im-chat-view no-window"},[t._m(0),i("span",[t._v("当前无对话")]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.chatWindowLoading,expression:"chatWindowLoading"}],staticClass:"mini-im-right-window-loading"},[i("i",{staticClass:"el-icon-loading"}),i("span",[t._v("数据加载中...")])])]),i("CreateShortcutComponent",{attrs:{complete:t.getShortcuts,dialogFormVisible:t.createShortcutDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.createShortcutDialogFormVisible=e},"update:dialog-form-visible":function(e){t.createShortcutDialogFormVisible=e}}}),i("EditShortcutComponent",{attrs:{formData:t.editShortcutItem,complete:t.getShortcuts,dialogFormVisible:t.editShortcutDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.editShortcutDialogFormVisible=e},"update:dialog-form-visible":function(e){t.editShortcutDialogFormVisible=e}}})],1)},n=[function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("i",{staticClass:"el-icon-service"})])}],o=(i("1c01"),i("58b2"),i("8e6e"),i("f3e2"),i("ac6a"),i("456d"),i("c5f6"),i("4917"),i("a481"),i("6d67"),i("57e7"),i("d25f"),i("4f37"),i("85f2")),a=i.n(o);function r(t,e,i){return e in t?a()(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var c=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-popover",{attrs:{placement:"top-start",width:"400",trigger:"hover"}},[i("div",{staticClass:"emoji-box"},t._l(t.emojis,(function(e,s){return i("span",{key:s,on:{click:function(i){return t.clickEmoji(e)}}},[t._v(t._s(e))])})),0),i("button",{staticClass:"mini-im-button",staticStyle:{"font-size":"20px"},attrs:{slot:"reference",title:"选择表情"},slot:"reference"},[t._v("😊")])])},l=[],u=i("eef3"),m={name:"mini-im-emoji",data:function(){return{emojis:u.emojiData}},props:{clickEmoji:Function}},d=m,f=(i("1826"),i("2877")),h=Object(f["a"])(d,c,l,!1,null,"3d019866",null),v=h.exports,g=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mini-im-chat-item"},[i("span",{staticClass:"delete_contact",attrs:{title:"删除该记录"},on:{"!click":function(e){return t.deleteContact(t.item)}}},[i("i",{staticClass:"el-icon-close"})]),i("el-avatar",{staticClass:"mini-im-avatar",on:{click:function(e){return t.clickItem(t.item)}}},[""!=t.item.avatar?i("img",{attrs:{src:t.item.avatar}}):[t._v("访")]],2),i("div",{staticClass:"mini-im-message-box",on:{click:function(e){return t.clickItem(t.item)}}},[i("div",{staticClass:"mini-im-user-date"},[i("div",{staticClass:"mini-im-nickname"},[i("span",{staticClass:"mini-im-online-status",class:{success:1==t.item.online}},[t._v("●")]),t._v(" "+t._s(t.item.nickname)+"\n ")]),i("div",{staticClass:"mini-im-date"},[t._v("\n "+t._s(t.$formatFromNowDate(t.item.contact_create_at))+"\n ")])]),i("div",{staticClass:"mini-im-message-badge"},["text"==t.item.last_message_type?i("div",{staticClass:"mini-im-message"},[t._v(t._s(t.item.last_message))]):t._e(),"photo"==t.item.last_message_type?i("div",{staticClass:"mini-im-message"},[t._v("收到图片文件")]):t._e(),"video"==t.item.last_message_type?i("div",{staticClass:"mini-im-message"},[t._v("收到视频文件")]):t._e(),"end"==t.item.last_message_type?i("div",{staticClass:"mini-im-message"},[t._v("会话结束")]):t._e(),"cancel"==t.item.last_message_type?i("div",{staticClass:"mini-im-message"},[t._v("对方撤回了一条消息")]):t._e(),"timeout"==t.item.last_message_type?i("div",{staticClass:"mini-im-message"},[t._v("会话超时,结束对话")]):t._e(),"transfer"==t.item.last_message_type||"handshake"==t.item.last_message_type?i("div",{staticClass:"mini-im-message"},[t._v("客服转接...")]):t._e(),t.item.read>0?i("div",{staticClass:"mini-im-badge"},[t._v(t._s(t.item.read))]):t._e()])])],1)},p=[],_={name:"mini-im-contact",data:function(){return{}},props:{item:Object,clickItem:Function,deleteContact:Function}},b=_,C=(i("297c"),Object(f["a"])(b,g,p,!1,null,"595d9a46",null)),y=C.exports,w=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mini-im-username-component-box"},[i("div",{staticClass:"mini-im-username-component"},[i("button",{attrs:{title:"编辑用户信息"},on:{click:function(e){t.isUserReadonly=!t.isUserReadonly}}},[i("i",{staticClass:"el-icon-edit"})])]),i("el-form",{ref:"form",class:{"form-item-readonly":t.isUserReadonly},attrs:{"label-width":"80px"}},[i("el-form-item",{staticClass:"form-item",attrs:{label:"用户昵称"}},[i("el-input",{attrs:{placeholder:"游客",readonly:t.isUserReadonly,type:"text"},model:{value:t.form.nickname,callback:function(e){t.$set(t.form,"nickname",e)},expression:"form.nickname"}})],1),i("el-form-item",{staticClass:"form-item",attrs:{label:"所在地区"}},[i("el-input",{attrs:{readonly:t.isUserReadonly,placeholder:"无",type:"text"},model:{value:t.form.address,callback:function(e){t.$set(t.form,"address",e)},expression:"form.address"}})],1),i("el-form-item",{staticClass:"form-item",attrs:{label:"联系方式"}},[i("el-input",{attrs:{readonly:t.isUserReadonly,placeholder:"无联系方式",type:"text"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1),i("el-form-item",{staticClass:"form-item no-border",attrs:{label:"所在平台"}},[i("el-input",{attrs:{readonly:"",value:t.$getPlatformItem(t.user.platform).title,resize:"none",type:"text"}})],1),i("el-form-item",{staticClass:"form-item no-border",attrs:{label:"创建时间"}},[i("el-input",{attrs:{readonly:"",value:t.$formatUnixDate(t.user.create_at,"YYYY/MM/DD"),resize:"none",type:"text"}})],1),i("el-form-item",{staticClass:"form-item",attrs:{label:"备注信息"}},[i("el-input",{attrs:{rows:"4",readonly:t.isUserReadonly,placeholder:"无备注",resize:"none",type:"textarea"},model:{value:t.form.remarks,callback:function(e){t.$set(t.form,"remarks",e)},expression:"form.remarks"}})],1),t.isUserReadonly?t._e():i("el-row",{attrs:{type:"flex",justify:"center"}},[i("el-button",{on:{click:function(e){t.isUserReadonly=!0}}},[t._v("取消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保存")])],1),t.isUserReadonly?t._e():i("div",{staticStyle:{"text-align":"center","font-size":"12px",color:"#666","margin-top":"15px"}},[t._v("当前为编辑模式")])],1)],1)},S=[],k=i("bc3a"),x=i.n(k),$={name:"mini-im-user-info",data:function(){return{form:{id:"",nickname:"",address:"",phone:"",remarks:""},isUserReadonly:!0}},computed:{user:function(){return this.$store.getters.seviceCurrentUser||{}}},methods:{save:function(){var t=this;x.a.put("/user",this.form).then((function(){t.isUserReadonly=!0})).catch((function(e){t.$message.error(e.response.data.message)}))}},watch:{user:function(t){t.id!=this.form.id&&(this.isUserReadonly=!0),(this.isUserReadonly||t.id!=this.form.id)&&(this.form=this.user)}}},I=$,M=(i("2b0b"),Object(f["a"])(I,w,S,!1,null,null,null)),U=M.exports,E=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{width:"600px",title:"添加快捷语","show-close":!1,visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[i("el-form",{attrs:{model:t.form}},[i("el-form-item",{attrs:{label:"标题","label-width":t.formLabelWidth}},[i("el-input",{attrs:{maxlength:"50","show-word-limit":"",type:"text",placeholder:"请输入标题",autocomplete:"off"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}})],1),i("el-form-item",{attrs:{label:"内容","label-width":t.formLabelWidth}},[i("el-input",{attrs:{rows:"8",resize:"none",autosize:!1,maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"请输入快捷语",autocomplete:"off"},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},T=[],O={name:"mini-im-create-shortcuts",data:function(){return{form:{content:"",title:""},formLabelWidth:"40px"}},props:{dialogFormVisible:Boolean,complete:Function},mounted:function(){},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},save:function(){var t=this;if(""!=this.form.title.trim()&&""!=this.form.content.trim()){var e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});x.a.post("/shortcut",this.form).then((function(i){try{console.log(i),e.close(),t.$message.success("添加成功"),t.closeModal(),t.complete(),t.form={content:"",title:""}}catch(s){console.log(s)}})).catch((function(i){e.close(),t.$message.error(i.response.data.message)}))}}}},R=O,P=Object(f["a"])(R,E,T,!1,null,"ae51b748",null),L=P.exports,V=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("el-dialog",{attrs:{width:"600px",title:"编辑快捷语","show-close":!1,visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[i("el-form",{attrs:{model:t.form}},[i("el-form-item",{attrs:{label:"标题","label-width":t.formLabelWidth}},[i("el-input",{attrs:{maxlength:"50","show-word-limit":"",type:"text",placeholder:"请输入标题",autocomplete:"off"},model:{value:t.form.title,callback:function(e){t.$set(t.form,"title",e)},expression:"form.title"}})],1),i("el-form-item",{attrs:{label:"内容","label-width":t.formLabelWidth}},[i("el-input",{attrs:{rows:"8",resize:"none",autosize:!1,maxlength:"200","show-word-limit":"",type:"textarea",placeholder:"请输入快捷语",autocomplete:"off"},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1)],1),i("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[i("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),i("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},N=[],F={name:"mini-im-edit-shortcuts",data:function(){return{form:{content:"",title:""},formLabelWidth:"40px"}},props:{dialogFormVisible:Boolean,complete:Function,formData:Object},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},save:function(){var t=this;if(""!=this.form.title.trim()&&""!=this.form.content.trim()){var e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});x.a.put("/shortcut",this.form).then((function(i){try{console.log(i),e.close(),t.$message.success("添加成功"),t.closeModal(),t.complete()}catch(s){console.log(s)}})).catch((function(i){e.close(),t.$message.error(i.response.data.message)}))}}},watch:{formData:function(){this.form=Object.assign({},this.form,this.formData)}}},z=F,j=Object(f["a"])(z,V,N,!1,null,"3714045a",null),D=j.exports,A=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mini-im-chat-list"},[i("div",{staticClass:"mini-im-chat-message-box"},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.loading,expression:"loading"}],staticClass:"loading"},[i("i",{staticClass:"el-icon-loading"}),i("span",[t._v("消息加载中...")])]),i("el-button",{directives:[{name:"show",rawName:"v-show",value:t.isMessageEnd,expression:"isMessageEnd"}],attrs:{type:"text",disabled:"",icon:"el-icon-refresh-right"}},[t._v("无更多聊天记录...")]),t.isMessageEnd||t.loading?t._e():i("el-button",{attrs:{type:"text",icon:"el-icon-refresh"},on:{click:t.onLoadMor}},[t._v("点击加载更多聊天记录")])],1),i("div",{staticClass:"mini-im-chat-message-box"},[i("div",{directives:[{name:"show",rawName:"v-show",value:t.messages.length<=0&&!t.loading,expression:"messages.length <= 0 && !loading"}],staticClass:"loading"},[i("i",{staticClass:"el-icon-time"}),i("span",[t._v("暂无聊天记录...")])])]),t._l(t.messages,(function(e,s){return i("div",{key:s,staticClass:"mini-im-chat-message-box",class:{self:e.from_account!=t.seviceCurrentUser.id}},["text"==e.biz_type||"photo"==e.biz_type||"knowledge"==e.biz_type||"knowledge_list"==e.biz_type?[i("div",{staticClass:"user-date"},[e.from_account==t.adminInfo.id?i("span",[t._v("\n "+t._s(t.adminInfo.nickname||t.adminInfo.username)+"\n ")]):e.from_account==t.seviceCurrentUser.from_account?i("span",[t._v("\n "+t._s(t.seviceCurrentUser.nickname)+"\n ")]):i("span",[i("span",{staticStyle:{"font-size":"12px",color:"#666"}},[t._v("(机器人)")]),t._v(t._s(t.$robotNickname(e.from_account))+"\n ")]),i("em",[t._v(t._s(t.$formatFromNowDate(e.timestamp)))])])]:t._e(),"text"==e.biz_type?[i("div",{staticClass:"text"},[e.from_account==t.adminInfo.id&&e.isShowCancel?i("div",{staticClass:"cancel-btn",attrs:{title:"撤回本条消息"},on:{click:function(){return t.onCancelMessage(e.key)}}},[t._v("\n 撤回\n ")]):t._e(),i("span",{domProps:{innerHTML:t._s(e.payload.replace(/\n/gi,"<br />"))}})])]:t._e(),"photo"==e.biz_type?[i("div",{staticClass:"photo"},[e.percent&&100!=e.percent?i("div",{staticClass:"loading"},[i("i",{staticClass:"el-icon-loading"}),i("span",[t._v(t._s(e.percent)+"%")])]):t._e(),e.from_account==t.adminInfo.id&&e.isShowCancel?i("div",{staticClass:"cancel-btn",attrs:{title:"撤回本条消息"},on:{click:function(){return t.onCancelMessage(e.key)}}},[t._v("\n 撤回\n ")]):t._e(),i("div",{staticClass:"img-content"},[i("img",{attrs:{src:e.payload,preview:"1"}})])])]:t._e(),"transfer"==e.biz_type?[i("div",{staticClass:"system"},[i("em",[t._v(t._s(t.$formatFromNowDate(e.timestamp)))]),i("span",[t._v(t._s(e.payload))])])]:t._e(),"end"==e.biz_type?[i("div",{staticClass:"system"},[i("em",[t._v(t._s(t.$formatFromNowDate(e.timestamp)))]),e.to_account!=t.adminInfo.id?i("span",[t._v("你结束了会话")]):i("span",[t._v("对方结束了会话")]),i("em",[t._v(t._s(t.$formatFromNowDate(e.timestamp)))])])]:t._e(),"timeout"==e.biz_type?[i("div",{staticClass:"system"},[i("em",[t._v(t._s(t.$formatFromNowDate(e.timestamp)))]),i("span",[t._v("用户长时间无应答,会话结束")])])]:t._e(),"cancel"==e.biz_type?[i("div",{staticClass:"system"},[i("em",[t._v(t._s(t.$formatFromNowDate(e.timestamp)))]),e.from_account==t.adminInfo.id?i("span",[t._v("您撤回了一条消息")]):i("span",[t._v("对方撤回了一条消息")])])]:t._e(),"knowledge"==e.biz_type?[i("div",{staticClass:"knowledge"},[i("div",{staticClass:"content"},[i("div",{staticClass:"title"},[t._v("以下是否是您关心的相关问题呢?")]),t._l(JSON.parse(e.payload),(function(e,s){return i("div",{key:s,staticClass:"item"},[t._v("\n "+t._s(s+1)+"."+t._s(e.title)+"\n ")])}))],2)])]:t._e()],2)}))],2)},B=[],G={name:"mini-im-contact",data:function(){return{}},computed:{seviceCurrentUser:function(){return this.$store.getters.seviceCurrentUser||{}},adminInfo:function(){return this.$store.getters.adminInfo||{}}},props:{loading:Boolean,onCancelMessage:Function,messages:Array,onLoadMor:Function,isMessageEnd:Boolean},watch:{messages:function(){var t=this;setTimeout((function(){t.$previewRefresh()}),1e3)}}},K=G,W=(i("24fd"),Object(f["a"])(K,A,B,!1,null,"019193ce",null)),H=W.exports,J=i("fb21"),Y=i("b730"),q=i.n(Y),X=i("2f62");function Q(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function Z(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Q(Object(i),!0).forEach((function(e){r(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Q(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var tt={name:"workbench",components:{EmojiComponent:v,ContactComponent:y,UserInfoComponent:U,ChatWindowComponent:H,CreateShortcutComponent:L,EditShortcutComponent:D},data:function(){return{chatValue:"",advanceText:"",admins:[],shortcuts:[],shortcutKey:"",createShortcutDialogFormVisible:!1,editShortcutDialogFormVisible:!1,editShortcutItem:null,shortcutEditVisible:!1,getMessageRecordLoading:!0,chatWindowLoading:!1,currentSessionIsEnd:!1,getMessageRecordPageSize:20,isInputPongIng:!1,isSendPong:!1,inputPongIngString:"对方正在输入...",isPush:!1,isMessageEnd:!1}},computed:Z({filterShortcuts:function(){var t=this.shortcutKey.trim();return""!=t?this.shortcuts.filter((function(e){return-1!=e.title.indexOf(t)})):this.shortcuts},filterAdmins:function(){var t=this;return this.admins.filter((function(e){return e.id!=t.adminInfo.id&&(1==e.online||2==e.online)}))}},Object(X["b"])(["contacts","adminInfo","seviceCurrentUser","messageRecord"])),mounted:function(){var t,e=this;document.ondblclick=function(){e.shortcutEditVisible=!1},this.init(),document.addEventListener("mousemove",(function(){e.$refs.miniImChatViewBontentBody&&(e.$refs.miniImChatViewBontentBody.style.height=document.body.clientHeight-155+"px"),e.isPush=!1,t&&clearTimeout(t),t=setTimeout((function(){e.isPush=!0}),3e4)})),document.addEventListener("paste",this.inputPaste,!1)},beforeDestroy:function(){this.changeCurrentUser()},methods:{init:function(){var t=this;if(!this.adminInfo)return this.$store.dispatch("ON_GET_ME"),void setTimeout((function(){return t.init()}),100);this.getShortcuts(),this.chatWindowLoading=!0,setTimeout((function(){t.chatWindowLoading=!1}),1500),setTimeout((function(){var e,i=t.$store.getters.seviceCurrentUser.id||t.$route.query.uid;(t.changeCurrentUser(i||0),i)&&(t.contacts.map((function(t){t.from_account==i&&(e=t)})),history.replaceState(null,null,location.href.replace(/uid=\d+/i,"uid="+i)),t.$store.commit("onChangeSeviceCurrentUser",e),e&&t.selectUser(e),t.getMessageRecord(),t.scrollIntoBottom())}),1e3),this.$mimcInstance.addEventListener("statusChange",(function(e){1==t.adminInfo.online?t.$message.success("您当前状态为在线"):2==t.adminInfo.online&&t.$message.warning("您当前状态为繁忙"),e||t.$store.dispatch("ON_GET_ME").then((function(){0!=t.adminInfo.online&&t.init()}))})),this.$mimcInstance.addEventListener("receiveP2PMsg",this.receiveP2PMsg),this.$mimcInstance.addEventListener("disconnect",(function(){console.log("链接断开!");var e=t.adminInfo;0!=e.online?(t.adminInfo=null,t.init()):(e.online=0,t.$store.commit("onChangeAdminInfo",e))}))},enterShift:function(t){"Enter"!=t.code&&(this.chatValue=this.chatValue+"\n")},scrollIntoBottom:function(){try{setTimeout((function(){var t=document.getElementById("chatBody");if(t){var e=t.clientHeight,i=t.scrollHeight;t.scrollTop=i-e}}),50)}catch(t){console.log(t)}},deleteContact:function(t){var e=this;t&&t.cid&&x.a.delete("/contact/"+t.cid).then((function(){e.$message.success("删除成功"),e.$store.dispatch("ON_GET_CONTACTS"),e.seviceCurrentUser.id==t.id&&(e.changeCurrentUser(),e.$store.commit("onChangeSeviceCurrentUser",null))})).catch((function(t){e.$message.error(t.response.data.message)}))},clearContact:function(){var t=this;this.$confirm("您确定要清空列表吗? ","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){x.a.delete("/contact/clear").then((function(){t.$message.success("清空成功"),t.$store.dispatch("ON_GET_CONTACTS"),t.changeCurrentUser(),t.$store.commit("onChangeSeviceCurrentUser",null)})).catch((function(e){t.$message.error(e.response.data.message)}))}))},clickEmoji:function(t){0!=this.adminInfo.online?1!=this.seviceCurrentUser.is_session_end?(this.chatValue=this.chatValue+t,this.$refs.chatValueDom.focus()):this.$message.info("当前会话已结束!"):this.$message.info("您当前为离线状态!")},checkShortcut:function(t){0!=this.adminInfo.online?1!=this.seviceCurrentUser.is_session_end?(this.shortcutKey="",this.chatValue=t,this.$refs.chatValueDom.focus()):this.$message.info("当前会话已结束!"):this.$message.info("您当前为离线状态!")},getShortcuts:function(){var t=this;x.a.get("/shortcut/list").then((function(e){t.shortcuts=e.data.data})).catch((function(e){t.$message.error(e.response.data.message)}))},editShortcut:function(t){this.editShortcutItem=t,this.editShortcutDialogFormVisible=!0},getAdmins:function(){var t=this;x.a.post("/admin/list",{page_on:1,page_size:1e4,online:3}).then((function(e){t.loading=!1,t.admins=e.data.data.list})).catch((function(e){t.$message.error(e.response.data.message)}))},deleteShortcut:function(t){var e=this;this.$confirm("您确定要删除该快捷语吗?","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){x.a.delete("/shortcut/"+t.id).then((function(){e.$message.success("删除成功"),e.getShortcuts()})).catch((function(t){e.$message.error(t.response.data.message)}))}))},onCancelMessage:function(t){var e=this.$mimcInstance.sendMessage("cancel",this.seviceCurrentUser.from_account,t);this.messageRecord.list.push(e),this.removeMessage(this.adminInfo.id,t),this.qiniuObservable&&this.qiniuObservable.unsubscribe()},transferCustomer:function(t){var e=this;this.$confirm("您确定将该客户转接给 "+(t.nickname||t.username)+" 吗?","温馨提示!",{confirmButtonText:"转接",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){x.a.post("/message/transfer",{to_account:t.id,user_account:e.seviceCurrentUser.from_account}).then((function(){var t=e.seviceCurrentUser;t.is_session_end=1,e.$store.commit("onChangeSeviceCurrentUser",t)})).catch((function(t){e.$message.error(t.response.data.message)}))}))},closeSession:function(){var t=this;this.$confirm("您确定结束当前会话吗?强制结束可能会被客户投诉!","温馨提示!",{confirmButtonText:"结束",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){var e=t.$mimcInstance.sendMessage("end",t.seviceCurrentUser.from_account,"");t.messageRecord.list.push(e);var i=t.seviceCurrentUser;i.is_session_end=1,t.$store.commit("onChangeSeviceCurrentUser",i)}))},changeUserOnlineStatus:function(t){var e=this;x.a.put("/admin/online/"+t).then((function(){e.$store.dispatch("ON_GET_ME"),0==t&&e.$message.info("当前状态为离线")})).catch((function(t){e.$message.error(t.response.data.message)}))},online:function(t){var e=this;e.adminInfo.online!=t&&e.$confirm("您确定"+(0==t?"下线":1==t?"上线":"设置繁忙")+"吗!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){0==t?(e.$mimcInstance.logout(),e.changeUserOnlineStatus(t),e.$store.commit("onChangeMimcUser",null)):e.$mimcInstance.login((function(){e.changeUserOnlineStatus(t),e.$store.dispatch("ON_RUN_LAST_ACTiIVITY"),e.$store.dispatch("ON_GET_CONTACTS"),e.$store.commit("onChangeMimcUser",e.$mimcInstance.user)}))}))},receiveP2PMsg:function(t){var e=this,i=parseInt(((new Date).getTime()+"").substr(0,10));if(t.timestamp=parseInt((t.timestamp+"").substr(0,10)),(t.from_account!=this.adminInfo.id||"pong"!=t.biz_type)&&"into"!=t.biz_type){if(t.from_account==this.adminInfo.id&&this.seviceCurrentUser.from_account==t.to_account)return this.messageRecord.list.push(t),"cancel"==t.biz_type&&this.removeMessage(t.from_account,t.payload),this.scrollIntoBottom(),void this.$previewRefresh();if("text"==t.biz_type&&t.from_account==this.seviceCurrentUser.from_account&&(this.advanceText=""),"contacts"!=t.biz_type){if(!(i-t.timestamp>=60))if("cancel"==t.biz_type&&this.removeMessage(t.from_account,t.payload),"handshake"!=t.biz_type){if("pong"==t.biz_type&&t.from_account==this.seviceCurrentUser.from_account)return this.advanceText=t.payload,void this.inputPongIng();if("contacts"!=t.biz_type&&"pong"!=t.biz_type&&"welcome"!=t.biz_type&&"cancel"!=t.biz_type&&"handshake"!=t.biz_type&&"end"!=t.biz_type&&"timeout"!=t.biz_type&&this.isPush&&q.a.Permission.has()&&q.a.create("收到一条新消息",{body:t.payload,icon:this.$store.state.pushIcon,timeout:5e3,onClick:function(){e.$router.push({path:"/workbench?uid="+t.from_account}),window.focus(),setTimeout((function(){return e.getMessageRecord()}),1e3)}}),t.from_account==this.seviceCurrentUser.from_account){if("end"==t.biz_type){var s=this.seviceCurrentUser;s.is_session_end=1,this.$store.commit("onChangeSeviceCurrentUser",s),this.advanceText=""}this.messageRecord.list.push(t);var n=JSON.stringify(this.messageRecord);this.$store.commit("onChangeMessageRecord",JSON.parse(n)),this.scrollIntoBottom(),this.$previewRefresh()}}else setTimeout((function(){e.$mimcInstance.sendMessage("text",t.from_account,e.adminInfo.auto_reply),void 0!=e.seviceCurrentUser&&null!=e.seviceCurrentUser&&setTimeout((function(){return e.getMessageRecord()}),1e3)}),500)}else{var o=JSON.parse(t.payload);this.$store.commit("onChangeContacts",o)}}},changeCurrentUser:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"{}"!=JSON.stringify(this.adminInfo)&&x.a.get("/admin/current/user/"+t)},sendMessage:function(){if(0!=this.adminInfo.online){if(1!=this.seviceCurrentUser.is_session_end)if(1!=this.seviceCurrentUser.is_session_end){var t=this.chatValue.trim();if(""!=t){this.shortcutEditVisible=!1,this.scrollIntoBottom();var e=this.$mimcInstance.sendMessage("text",this.seviceCurrentUser.from_account,this.chatValue.trim("\n"));e.isShowCancel=!0,setTimeout((function(){return e.isShowCancel=!1}),1e4),this.messageRecord.list.push(e),this.chatValue=""}else this.chatValue=""}else this.$message.info("当前会话已结束!")}else this.$message.info("您当前为离线状态!")},sendPhotoMessageEvent:function(t){var e=t.target,i=e.files[0];this.sendPhotoMessage(i)},sendPhotoMessage:function(t){if(0!=this.adminInfo.online)if(1!=this.seviceCurrentUser.is_session_end){var e=new FileReader;e.readAsDataURL(t);var i,s=this;e.onload=function(){i=s.$mimcInstance.createLocalMessage("photo",s.seviceCurrentUser.from_account,this.result),i["percent"]=0,i.isShowCancel=!0,s.messageRecord.list.push(i),setTimeout((function(){return i.isShowCancel=!1}),1e4),s.$previewRefresh(),s.scrollIntoBottom(),Object(J["a"])({file:t,progress:function(t){i.percent=t},success:function(t){i.percent=100;var e=s.$store.getters.uploadToken.host+"/"+t;s.$mimcInstance.sendMessage("photo",s.seviceCurrentUser.from_account,e)},error:function(t){i.percent=0,s.$message.error(t.message)}})}}else this.$message.info("当前会话已结束!");else this.$message.info("您当前为离线状态!")},selectUser:function(t){var e=location.href,i=e.indexOf("#");e=e.substr(0,-1!=i?i:e.length),history.replaceState(null,null,e+"#/workbench?uid="+t.from_account),this.isMessageEnd=!1,this.seviceCurrentUser.from_account!=t.from_account&&(this.messageRecord.list=[],this.$store.commit("onChangeSeviceCurrentUser",t),this.changeCurrentUser(t.from_account)),this.timestamp=void 0,this.getMessageRecord(),this.advanceText=""},getMessageRecord:function(t){var e=this;this.getMessageRecordLoading=!0,void 0==t&&(t=0);var i=parseInt(this.seviceCurrentUser.from_account);i&&x.a.post("/message/list",{timestamp:t,page_size:this.getMessageRecordPageSize,account:i}).then((function(i){e.getMessageRecordLoading=!1,i.data.data.list.length<e.getMessageRecordPageSize&&(e.isMessageEnd=!0),0==e.messageRecord.list.length||0==t?(e.$store.commit("onChangeMessageRecord",i.data.data),e.scrollIntoBottom()):(i.data.data.list=i.data.data.list.concat(e.messageRecord.list),e.$store.commit("onChangeMessageRecord",i.data.data)),setTimeout((function(){return e.$previewRefresh()}),1e3),e.$store.dispatch("ON_GET_CONTACTS")})).catch((function(){e.getMessageRecordLoading=!1}))},onLoadMorMessage:function(){this.getMessageRecordLoading||(this.messageRecord.list.length>=this.messageRecord.total||this.messageRecord.total<=this.getMessageRecordPageSize?this.isMessageEnd=!0:(this.getMessageRecord(this.messageRecord.list[0].timestamp),setTimeout((function(){var t=document.getElementById("chatBody");t.scrollTop=500}),50)))},inputPongIng:function(){var t=this;this.isInputPongIng||(this.isInputPongIng=!0,setTimeout((function(){t.inputPongIngString="对方正在输入."}),500),setTimeout((function(){t.inputPongIngString="对方正在输入.."}),1500),setTimeout((function(){t.inputPongIngString="对方正在输入...",t.isInputPongIng=!1}),3e3))},keyUpEvent:function(){var t=this;this.isSendPong||(this.isSendPong=!0,setTimeout((function(){return t.isSendPong=!1}),500),this.$mimcInstance.sendMessage("pong",this.seviceCurrentUser.from_account,""))},removeMessage:function(t,e){for(var i=[],s=this.messageRecord.list,n=0;n<s.length;n++)s[n].key==e&&s[n].from_account==t||i.push(s[n]);this.messageRecord.list=i,this.$store.commit("onChangeMessageRecord",this.messageRecord)},inputPaste:function(t){if(this.seviceCurrentUser.id&&1!=this.seviceCurrentUser.is_session_end){var e=this,i=t.clipboardData,s=window.navigator.userAgent;if(t.clipboardData&&t.clipboardData.items&&!(i.items&&2===i.items.length&&"string"===i.items[0].kind&&"file"===i.items[1].kind&&i.types&&2===i.types.length&&"text/plain"===i.types[0]&&"Files"===i.types[1]&&s.match(/Macintosh/i)&&Number(s.match(/Chrome\/(\d{2})/i)[1])<49))for(var n=0;n<i.items.length;n++){var o=i.items[n];if("file"==o.kind){var a=o.getAsFile();if(0===a.size)return;var r=new FileReader;r.readAsDataURL(a),r.onload=function(){var t=this.result;e.$alert('<img preview="1" style="width:100%;max-height: 500px;" src="'+t+'" />',"检测到图片是否要发送?",{dangerouslyUseHTMLString:!0,showCancelButton:!0,confirmButtonText:"发送"}).then((function(){e.sendPhotoMessage(a)})),e.$previewRefresh()}}}}}},watch:{messageRecord:function(){this.$previewRefresh()}}},et=tt,it=(i("4cc3"),Object(f["a"])(et,s,n,!1,null,"3486f320",null));e["default"]=it.exports},"2b0b":function(t,e,i){"use strict";var s=i("752b"),n=i.n(s);n.a},"454f":function(t,e,i){i("46a7");var s=i("584a").Object;t.exports=function(t,e,i){return s.defineProperty(t,e,i)}},"456d":function(t,e,i){var s=i("4bf8"),n=i("0d58");i("5eda")("keys",(function(){return function(t){return n(s(t))}}))},"46a7":function(t,e,i){var s=i("63b6");s(s.S+s.F*!i("8e60"),"Object",{defineProperty:i("d9f6").f})},4917:function(t,e,i){"use strict";var s=i("cb7c"),n=i("9def"),o=i("0390"),a=i("5f1b");i("214f")("match",1,(function(t,e,i,r){return[function(i){var s=t(this),n=void 0==i?void 0:i[e];return void 0!==n?n.call(i,s):new RegExp(i)[e](String(s))},function(t){var e=r(i,t,this);if(e.done)return e.value;var c=s(t),l=String(this);if(!c.global)return a(c,l);var u=c.unicode;c.lastIndex=0;var m,d=[],f=0;while(null!==(m=a(c,l))){var h=String(m[0]);d[f]=h,""===h&&(c.lastIndex=o(l,n(c.lastIndex),u)),f++}return 0===f?null:d}]}))},"4cc3":function(t,e,i){"use strict";var s=i("7f7c"),n=i.n(s);n.a},"4e10":function(t,e,i){},"4f37":function(t,e,i){"use strict";i("aa77")("trim",(function(t){return function(){return t(this,3)}}))},"58b2":function(t,e,i){var s=i("5ca1");s(s.S+s.F*!i("9e1e"),"Object",{defineProperties:i("1495")})},"5dbc":function(t,e,i){var s=i("d3f4"),n=i("8b97").set;t.exports=function(t,e,i){var o,a=e.constructor;return a!==i&&"function"==typeof a&&(o=a.prototype)!==i.prototype&&s(o)&&n&&n(t,o),t}},"5eda":function(t,e,i){var s=i("5ca1"),n=i("8378"),o=i("79e5");t.exports=function(t,e){var i=(n.Object||{})[t]||Object[t],a={};a[t]=e(i),s(s.S+s.F*o((function(){i(1)})),"Object",a)}},"752b":function(t,e,i){},"7f7c":function(t,e,i){},"85f2":function(t,e,i){t.exports=i("454f")},"8b97":function(t,e,i){var s=i("d3f4"),n=i("cb7c"),o=function(t,e){if(n(t),!s(e)&&null!==e)throw TypeError(e+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,e,s){try{s=i("9b43")(Function.call,i("11e9").f(Object.prototype,"__proto__").set,2),s(t,[]),e=!(t instanceof Array)}catch(n){e=!0}return function(t,i){return o(t,i),e?t.__proto__=i:s(t,i),t}}({},!1):void 0),check:o}},"8e6e":function(t,e,i){var s=i("5ca1"),n=i("990b"),o=i("6821"),a=i("11e9"),r=i("f1ae");s(s.S,"Object",{getOwnPropertyDescriptors:function(t){var e,i,s=o(t),c=a.f,l=n(s),u={},m=0;while(l.length>m)i=c(s,e=l[m++]),void 0!==i&&r(u,e,i);return u}})},9093:function(t,e,i){var s=i("ce10"),n=i("e11e").concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return s(t,n)}},"990b":function(t,e,i){var s=i("9093"),n=i("2621"),o=i("cb7c"),a=i("7726").Reflect;t.exports=a&&a.ownKeys||function(t){var e=s.f(o(t)),i=n.f;return i?e.concat(i(t)):e}},a481:function(t,e,i){"use strict";var s=i("cb7c"),n=i("4bf8"),o=i("9def"),a=i("4588"),r=i("0390"),c=i("5f1b"),l=Math.max,u=Math.min,m=Math.floor,d=/\$([$&`']|\d\d?|<[^>]*>)/g,f=/\$([$&`']|\d\d?)/g,h=function(t){return void 0===t?t:String(t)};i("214f")("replace",2,(function(t,e,i,v){return[function(s,n){var o=t(this),a=void 0==s?void 0:s[e];return void 0!==a?a.call(s,o,n):i.call(String(o),s,n)},function(t,e){var n=v(i,t,this,e);if(n.done)return n.value;var m=s(t),d=String(this),f="function"===typeof e;f||(e=String(e));var p=m.global;if(p){var _=m.unicode;m.lastIndex=0}var b=[];while(1){var C=c(m,d);if(null===C)break;if(b.push(C),!p)break;var y=String(C[0]);""===y&&(m.lastIndex=r(d,o(m.lastIndex),_))}for(var w="",S=0,k=0;k<b.length;k++){C=b[k];for(var x=String(C[0]),$=l(u(a(C.index),d.length),0),I=[],M=1;M<C.length;M++)I.push(h(C[M]));var U=C.groups;if(f){var E=[x].concat(I,$,d);void 0!==U&&E.push(U);var T=String(e.apply(void 0,E))}else T=g(x,d,$,I,U,e);$>=S&&(w+=d.slice(S,$)+T,S=$+x.length)}return w+d.slice(S)}];function g(t,e,s,o,a,r){var c=s+t.length,l=o.length,u=f;return void 0!==a&&(a=n(a),u=d),i.call(r,u,(function(i,n){var r;switch(n.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,s);case"'":return e.slice(c);case"<":r=a[n.slice(1,-1)];break;default:var u=+n;if(0===u)return i;if(u>l){var d=m(u/10);return 0===d?i:d<=l?void 0===o[d-1]?n.charAt(1):o[d-1]+n.charAt(1):i}r=o[u-1]}return void 0===r?"":r}))}}))},aa77:function(t,e,i){var s=i("5ca1"),n=i("be13"),o=i("79e5"),a=i("fdef"),r="["+a+"]",c="​…",l=RegExp("^"+r+r+"*"),u=RegExp(r+r+"*$"),m=function(t,e,i){var n={},r=o((function(){return!!a[t]()||c[t]()!=c})),l=n[t]=r?e(d):a[t];i&&(n[i]=l),s(s.P+s.F*r,"String",n)},d=m.trim=function(t,e){return t=String(n(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=m},ac6a:function(t,e,i){for(var s=i("cadf"),n=i("0d58"),o=i("2aba"),a=i("7726"),r=i("32e9"),c=i("84f2"),l=i("2b4c"),u=l("iterator"),m=l("toStringTag"),d=c.Array,f={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},h=n(f),v=0;v<h.length;v++){var g,p=h[v],_=f[p],b=a[p],C=b&&b.prototype;if(C&&(C[u]||r(C,u,d),C[m]||r(C,m,p),c[p]=d,_))for(g in s)C[g]||o(C,g,s[g],!0)}},c5f6:function(t,e,i){"use strict";var s=i("7726"),n=i("69a8"),o=i("2d95"),a=i("5dbc"),r=i("6a99"),c=i("79e5"),l=i("9093").f,u=i("11e9").f,m=i("86cc").f,d=i("aa77").trim,f="Number",h=s[f],v=h,g=h.prototype,p=o(i("2aeb")(g))==f,_="trim"in String.prototype,b=function(t){var e=r(t,!1);if("string"==typeof e&&e.length>2){e=_?e.trim():d(e,3);var i,s,n,o=e.charCodeAt(0);if(43===o||45===o){if(i=e.charCodeAt(2),88===i||120===i)return NaN}else if(48===o){switch(e.charCodeAt(1)){case 66:case 98:s=2,n=49;break;case 79:case 111:s=8,n=55;break;default:return+e}for(var a,c=e.slice(2),l=0,u=c.length;l<u;l++)if(a=c.charCodeAt(l),a<48||a>n)return NaN;return parseInt(c,s)}}return+e};if(!h(" 0o1")||!h("0b1")||h("+0x1")){h=function(t){var e=arguments.length<1?0:t,i=this;return i instanceof h&&(p?c((function(){g.valueOf.call(i)})):o(i)!=f)?a(new v(b(e)),i,h):b(e)};for(var C,y=i("9e1e")?l(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),w=0;y.length>w;w++)n(v,C=y[w])&&!n(h,C)&&m(h,C,u(v,C));h.prototype=g,g.constructor=h,i("2aba")(s,f,h)}},d25f:function(t,e,i){"use strict";var s=i("5ca1"),n=i("0a49")(2);s(s.P+s.F*!i("2f21")([].filter,!0),"Array",{filter:function(t){return n(this,t,arguments[1])}})},eef3:function(t,e){var i=["😀","😁","😂","🤣","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","🙂","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🙌","👏","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👌","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏"];e.emojiData=i},f1ae:function(t,e,i){"use strict";var s=i("86cc"),n=i("4630");t.exports=function(t,e,i){e in t?s.f(t,e,n(0,i)):t[e]=i}},f3e2:function(t,e,i){"use strict";var s=i("5ca1"),n=i("0a49")(0),o=i("2f21")([].forEach,!0);s(s.P+s.F*!o,"Array",{forEach:function(t){return n(this,t,arguments[1])}})},fa4e:function(t,e,i){},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
//# sourceMappingURL=chunk-4033950c.00c35915.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-487f5713"],{"3fe6":function(e,t,a){},4540:function(e,t,a){"use strict";var o=a("d8ee"),i=a.n(o);i.a},"4f37":function(e,t,a){"use strict";a("aa77")("trim",(function(e){return function(){return e(this,3)}}))},aa77:function(e,t,a){var o=a("5ca1"),i=a("be13"),l=a("79e5"),n=a("fdef"),r="["+n+"]",s="​…",c=RegExp("^"+r+r+"*"),m=RegExp(r+r+"*$"),d=function(e,t,a){var i={},r=l((function(){return!!n[e]()||s[e]()!=s})),c=i[e]=r?t(u):n[e];a&&(i[a]=c),o(o.P+o.F*r,"String",i)},u=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(m,"")),e};e.exports=d},aedf:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"mini-im-head"},[a("span",[a("i",{staticClass:"el-icon-headset"}),a("span",{attrs:{slot:"title"},slot:"title"},[e._v("客服管理")])]),1==e.adminInfo.root?a("el-button",{attrs:{size:"mini"},on:{click:function(t){e.createDialogFormVisible=!0}}},[e._v("添 加")]):e._e()],1),a("el-divider"),a("div",{staticClass:"search"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:2.1}},[a("el-form",{ref:"form",attrs:{"label-width":"120px"}},[a("el-form-item",{attrs:{label:"按关键字:"}})],1)],1),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{placeholder:"请输入关键词",clearable:"","prefix-icon":"el-icon-search"},on:{change:e.changeInput,clear:e.clearKeyword},model:{value:e.tableData.keyword,callback:function(t){e.$set(e.tableData,"keyword",t)},expression:"tableData.keyword"}})],1),a("el-col",{attrs:{span:3}},[a("el-button",{on:{click:e.search}},[e._v("查 找")])],1)],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableData.list}},[a("el-table-column",{attrs:{type:"index",index:e.indexMethod,width:"60"}}),a("el-table-column",{attrs:{prop:"avatar",label:"头像",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-avatar",{attrs:{size:40,src:t.row.avatar||e.$store.state.avatar}})]}}])}),a("el-table-column",{attrs:{prop:"username",label:"客服账号"}}),a("el-table-column",{attrs:{prop:"nickname",label:"客服昵称"}}),a("el-table-column",{attrs:{prop:"online",align:"center",label:"在线状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.online?a("el-tag",{attrs:{type:"success"}},[e._v("在线")]):e._e(),2==t.row.online?a("el-tag",{attrs:{type:"warning"}},[e._v("繁忙")]):e._e(),0==t.row.online?a("el-tag",{attrs:{type:"info"}},[e._v("离线")]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"root",align:"center",label:"角色"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.root?a("el-tag",{attrs:{effect:"dark",type:"warning"}},[e._v("超级管理")]):e._e(),0==t.row.root?a("el-tag",[e._v("客服人员")]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"last_activity",label:"最后在线时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.$formatUnixDate(t.row.last_activity,"YYYY/MM/DD HH:mm"))+"\n ")]}}])}),a("el-table-column",{attrs:{prop:"create_at",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.$formatUnixDate(t.row.create_at,"YYYY/MM/DD"))+"\n ")]}}])}),1==e.adminInfo.root?a("el-table-column",{attrs:{prop:"operating",align:"center",width:"150",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.root?a("el-button",{attrs:{size:"mini"},on:{click:function(a){return e.edit(t.row)}}},[e._v("编 辑")]):e._e(),0==t.row.root?a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){return e.deleteAdmin(t.row)}}},[e._v("删 除")]):e._e()]}}],null,!1,1757062568)}):e._e()],1),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{type:"flex",justify:"space-between"}},[a("span",{staticStyle:{color:"#666","font-size":"14px"}},[e._v("共找到"+e._s(e.tableData.total)+"条数据")]),a("el-pagination",{attrs:{background:"",layout:"sizes, prev, pager, next","current-page":e.tableData.page_on,"page-sizes":[5,10,15,20],total:e.tableData.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),a("CreateDialog",{attrs:{complete:e.getAdmins,dialogFormVisible:e.createDialogFormVisible},on:{"update:dialogFormVisible":function(t){e.createDialogFormVisible=t},"update:dialog-form-visible":function(t){e.createDialogFormVisible=t}}}),a("EditDialog",{attrs:{formData:e.editItem,complete:e.getAdmins,dialogFormVisible:e.editDialogFormVisible},on:{"update:dialogFormVisible":function(t){e.editDialogFormVisible=t},"update:dialog-form-visible":function(t){e.editDialogFormVisible=t}}})],1)},i=[],l=(a("4f37"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{width:"600px",title:"添加客服","show-close":!1,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{attrs:{model:e.form}},[a("el-form-item",{attrs:{label:"客服账号","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入客服账号",autocomplete:"off"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),a("el-form-item",{attrs:{label:"客服昵称","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入客服昵称",autocomplete:"off"},model:{value:e.form.nickname,callback:function(t){e.$set(e.form,"nickname",t)},expression:"form.nickname"}})],1),a("el-form-item",{attrs:{label:"登录密码","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入登录密码",autocomplete:"off"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),a("el-form-item",{attrs:{label:"确认密码","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入确认密码",autocomplete:"off"},model:{value:e.cCassword,callback:function(t){e.cCassword=t},expression:"cCassword"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.closeModal}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1)],1)}),n=[],r=a("bc3a"),s=a.n(r),c={name:"mini-im-create-admin",data:function(){return{form:{username:"",nickname:"",password:""},cCassword:"",formLabelWidth:"80px"}},props:{dialogFormVisible:Boolean,complete:Function},mounted:function(){},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},save:function(){var e=this;if(""!=this.form.username.trim())if(""!=this.form.nickname.trim())if(""!=this.form.password.trim())if(this.form.password.trim()==this.cCassword.trim()){var t=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});s.a.post("/admin",this.form).then((function(a){try{console.log(a),t.close(),e.$message.success("添加成功"),e.closeModal(),e.resize(),e.complete(1)}catch(o){console.log(o)}})).catch((function(a){t.close(),e.$message.error(a.response.data.message)}))}else this.$message.error("两次密码不一致!");else this.$message.error("密码不能为空!");else this.$message.error("昵称不能为空!");else this.$message.error("账号不能为空!")},resize:function(){this.cCassword="",this.form={username:"",nickname:"",password:""}}}},m=c,d=a("2877"),u=Object(d["a"])(m,l,n,!1,null,"56150a82",null),f=u.exports,p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{width:"600px",title:"修改客服资料","show-close":!1,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{attrs:{model:e.form}},[a("el-form-item",{attrs:{label:"头像","label-width":e.formLabelWidth}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:3}},[a("div",{staticClass:"mini-im-file-button",attrs:{title:"点击上传图片"}},[a("el-avatar",{attrs:{size:50,src:e.form.avatar||e.$store.state.avatar}}),a("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:e.changeFile}}),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isUploading,expression:"isUploading"}],staticClass:"mini-im-file-percent"},[a("span",[e._v(e._s(e.uploadPercent))])])],1)]),a("el-col",{attrs:{span:6}})],1)],1),a("el-form-item",{attrs:{label:"客服账号","label-width":e.formLabelWidth}},[a("span",[e._v(e._s(e.form.username))])]),a("el-form-item",{attrs:{label:"客服昵称","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入客服昵称",autocomplete:"off"},model:{value:e.form.nickname,callback:function(t){e.$set(e.form,"nickname",t)},expression:"form.nickname"}})],1),a("el-form-item",{attrs:{label:"手机号","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入登录密码",autocomplete:"off"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),a("el-form-item",{attrs:{label:"自动回复语","label-width":e.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入自动回复语,不支持emoji,请使用简单语句描述",autocomplete:"off"},model:{value:e.form.auto_reply,callback:function(t){e.$set(e.form,"auto_reply",t)},expression:"form.auto_reply"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.closeModal}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1)],1)},g=[],h=a("fb21"),b={name:"mini-im-create-admin",data:function(){return{form:{phone:"",nickname:"",avatar:"",auto_reply:""},formLabelWidth:"90px",isUploading:!1,uploadPercent:""}},props:{dialogFormVisible:Boolean,complete:Function,formData:Object},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},changeFile:function(e){var t=this,a=e.target.files[0];Object(h["a"])({file:a,progress:function(e){t.isUploading=!0,t.uploadPercent=e+"%"},success:function(e){t.isUploading=!1,t.uploadPercent="",t.$message.success("上传成功");var a=t.$store.getters.uploadToken.host+"/"+e;t.form.avatar=a},error:function(e){t.isUploading=!1,t.uploadPercent="",t.$message.error(e.message)}})},save:function(){var e=this,t=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});s.a.put("/admin",this.form).then((function(a){try{t.close(),e.$message.success("添加成功"),e.closeModal(),e.complete(1)}catch(o){console.log(o,a)}})).catch((function(a){t.close(),e.$message.error(a.response.data.message)}))}},watch:{formData:function(){this.form=Object.assign({},this.form,this.formData)}}},v=b,w=(a("4540"),Object(d["a"])(v,p,g,!1,null,"0a24570c",null)),_=w.exports,k={name:"admins",components:{CreateDialog:f,EditDialog:_},data:function(){return{tableData:{list:[],page_on:1,page_size:10,keyword:"",total:0},createDialogFormVisible:!1,editDialogFormVisible:!1,loading:!0,editItem:{}}},computed:{adminInfo:function(){return this.$store.getters.adminInfo}},created:function(){var e=this;setTimeout((function(){return e.getAdmins(1)}),500)},methods:{indexMethod:function(e){return(this.tableData.page_on-1)*this.tableData.page_size+e+1},deleteAdmin:function(e){var t=this;this.$confirm("您确定要删除该客服吗? 删除后不可恢复!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){s.a.delete("/admin/"+e.id).then((function(e){console.log(e.data),t.$message.success("删除成功"),t.getAdmins(1)})).catch((function(e){t.$message.error(e.response.data.message)}))}))},edit:function(e){this.editItem=e,this.editDialogFormVisible=!0},handleSizeChange:function(e){this.tableData.page_size=e,this.getAdmins()},handleCurrentChange:function(e){this.tableData.page_on=e,this.getAdmins()},clearKeyword:function(){this.getAdmins(1)},changeInput:function(){""==this.tableData.keyword&&this.getAdmins(1)},search:function(){this.tableData.keyword=this.tableData.keyword.trim(),this.tableData.keyword&&this.getAdmins(1)},getAdmins:function(e){var t=this;e&&(this.tableData.page_on=e);var a=this.tableData,o=a.page_on,i=a.page_size,l=a.keyword;s.a.post("/admin/list",{page_on:o,page_size:i,keyword:l,online:3}).then((function(e){t.loading=!1,t.tableData=e.data.data})).catch((function(e){t.loading=!1,t.$message.error(e.response.data.message)}))}}},y=k,D=(a("b4a5"),Object(d["a"])(y,o,i,!1,null,"0aee8f9a",null));t["default"]=D.exports},b4a5:function(e,t,a){"use strict";var o=a("3fe6"),i=a.n(o);i.a},d8ee:function(e,t,a){},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
//# sourceMappingURL=chunk-487f5713.773eab50.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-99e15be2"],{"0980":function(t,e,a){"use strict";var o=a("89c6"),i=a.n(o);i.a},2157:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"mini-im-head"},[a("span",[a("i",{staticClass:"el-icon-picture-outline-round"}),a("span",{attrs:{slot:"title"},slot:"title"},[t._v("机器人管理")])]),1==t.adminInfo.root?a("el-button",{attrs:{size:"mini"},on:{click:function(e){t.createDialogFormVisible=!0}}},[t._v("添 加")]):t._e()],1),a("el-divider"),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData}},[a("el-table-column",{attrs:{type:"index",width:"60"}}),a("el-table-column",{attrs:{prop:"avatar",label:"头像",width:"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("el-avatar",{attrs:{size:40,src:t.row.avatar}})]}}])}),a("el-table-column",{attrs:{prop:"nickname",label:"机器人昵称"}}),a("el-table-column",{attrs:{prop:"welcome",label:"欢迎语"}}),a("el-table-column",{attrs:{prop:"understand",label:"无匹配知识库语"}}),a("el-table-column",{attrs:{prop:"timeout_text",label:"超时结束提示"}}),a("el-table-column",{attrs:{prop:"no_services",label:"无人工在线提示"}}),a("el-table-column",{attrs:{prop:"loog_time_wait_text",label:"长时间等待提示"}}),a("el-table-column",{attrs:{prop:"keyword",label:"检索知识库热词"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.keyword.replace(/\|/g," , ")))])]}}])}),a("el-table-column",{attrs:{prop:"artificial",label:"转人工关键词"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.artificial.replace(/\|/g," , ")))])]}}])}),a("el-table-column",{attrs:{prop:"switch",align:"center",label:"运行状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.switch?a("el-tag",{attrs:{type:"success"}},[t._v("服务中")]):t._e(),0==e.row.switch?a("el-tag",{attrs:{type:"danger"}},[t._v("服务暂停")]):t._e()]}}])}),a("el-table-column",{attrs:{align:"center",prop:"platform",label:"服务平台"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tag",[t._v(t._s(t.$getPlatformItem(e.row.platform).title))])]}}])}),a("el-table-column",{attrs:{prop:"create_at",label:"创建时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t.$formatUnixDate(e.row.create_at,"YYYY/MM/DD"))+"\n ")]}}])}),1==t.adminInfo.root?a("el-table-column",{attrs:{prop:"operating",align:"center",label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{size:"mini"},on:{click:function(a){return t.edit(e.row)}}},[t._v("编 辑")]),a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){return t.deleteRobot(e.row)}}},[t._v("删 除")])]}}],null,!1,289946275)}):t._e()],1),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{type:"flex",justify:"space-between"}},[a("span",{staticStyle:{color:"#666","font-size":"14px"}},[t._v("当前有"+t._s(t.tableData.length)+"个机器人")])]),a("CreateDialog",{attrs:{complete:t.getRobotList,dialogFormVisible:t.createDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.createDialogFormVisible=e},"update:dialog-form-visible":function(e){t.createDialogFormVisible=e}}}),a("EditDialog",{attrs:{complete:t.getRobotList,formData:t.editItem,dialogFormVisible:t.editDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.editDialogFormVisible=e},"update:dialog-form-visible":function(e){t.editDialogFormVisible=e}}})],1)},i=[],l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{width:"600px",title:"添加机器人","show-close":!1,visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[a("el-form",{attrs:{model:t.form}},[a("el-form-item",{attrs:{label:"头像","label-width":t.formLabelWidth}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:3}},[a("div",{staticClass:"mini-im-file-button",attrs:{title:"点击上传图片"}},[a("el-avatar",{attrs:{size:50,src:t.form.avatar}}),a("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:t.changeFile}}),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isUploading,expression:"isUploading"}],staticClass:"mini-im-file-percent"},[a("span",[t._v(t._s(t.uploadPercent))])])],1)]),a("el-col",{attrs:{span:6}})],1)],1),a("el-form-item",{attrs:{label:"机器人昵称","label-width":t.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入机器人昵称",autocomplete:"off"},model:{value:t.form.nickname,callback:function(e){t.$set(t.form,"nickname",e)},expression:"form.nickname"}})],1),a("el-form-item",{attrs:{label:"机器人欢迎语","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入机器人欢迎语",autocomplete:"off"},model:{value:t.form.welcome,callback:function(e){t.$set(t.form,"welcome",e)},expression:"form.welcome"}})],1),a("el-form-item",{attrs:{label:"无匹配知识库语","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入无法识别回复语",autocomplete:"off"},model:{value:t.form.understand,callback:function(e){t.$set(t.form,"understand",e)},expression:"form.understand"}})],1),a("el-form-item",{attrs:{label:"超时结束提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入会话超时结束提示",autocomplete:"off"},model:{value:t.form.timeout_text,callback:function(e){t.$set(t.form,"timeout_text",e)},expression:"form.timeout_text"}})],1),a("el-form-item",{attrs:{label:"无人工在线提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入无人工在线提示",autocomplete:"off"},model:{value:t.form.no_services,callback:function(e){t.$set(t.form,"no_services",e)},expression:"form.no_services"}})],1),a("el-form-item",{attrs:{label:"长时间等待提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入长时间等待提示语",autocomplete:"off"},model:{value:t.form.loog_time_wait_text,callback:function(e){t.$set(t.form,"loog_time_wait_text",e)},expression:"form.loog_time_wait_text"}})],1),a("el-form-item",{attrs:{label:"检索知识库热词","label-width":t.formLabelWidth}},[t._l(t.keyWordTags,(function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return t.handleKeyWordDel(e,"keyWordTagsInput")}}},[t._v(t._s(e))])})),t.showkeyWordTagsInput?a("el-input",{ref:"keyWordTagsInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleInputConfirm(e)}},model:{value:t.inputkeyWordTagValue,callback:function(e){t.inputkeyWordTagValue=e},expression:"inputkeyWordTagValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(e){return t.showTagInput("keyWordTagsInput")}}},[t._v("+ 新增")]),a("div",{staticStyle:{"font-size":"12px"}},[t._v("* 该词库会在用户输入的时候去匹配检索提示")])],2),a("el-form-item",{attrs:{label:"转人工关键词","label-width":t.formLabelWidth}},[t._l(t.dynamicTags,(function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return t.handleKeyWordDel(e,"dynamicTagsInput")}}},[t._v(t._s(e))])})),t.showDynamicTagsInput?a("el-input",{ref:"dynamicTagsInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleInputConfirm(e)}},model:{value:t.inputDynamicTagValue,callback:function(e){t.inputDynamicTagValue=e},expression:"inputDynamicTagValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(e){return t.showTagInput("dynamicTagsInput")}}},[t._v("+ 新增")]),a("div",{staticStyle:{"font-size":"12px"}},[t._v('* 匹配该关键词进入人工,系统已内置: "人工"')])],2),a("el-form-item",{attrs:{label:"运行状态","label-width":t.formLabelWidth}},[a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:t.robotSwitch,callback:function(e){t.robotSwitch=e},expression:"robotSwitch"}})],1),a("el-form-item",{attrs:{label:"匹配平台","label-width":t.formLabelWidth}},[a("el-select",{attrs:{placeholder:"请选择匹配平台"},model:{value:t.form.platform,callback:function(e){t.$set(t.form,"platform",e)},expression:"form.platform"}},t._l(t.$store.getters.platformConfig,(function(t,e){return a("el-option",{key:e,attrs:{label:t.title,value:t.id}})})),1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},n=[],s=(a("57e7"),a("bc3a")),r=a.n(s),c=a("fb21"),u={name:"mini-im-create-robot",data:function(){return{dynamicTags:[],keyWordTags:[],showkeyWordTagsInput:!1,inputkeyWordTagValue:"",showDynamicTagsInput:!1,inputDynamicTagValue:"",form:{nickname:"",avatar:"",welcome:"",understand:"",artificial:"",keyword:"",timeout_text:"",no_services:"",loog_time_wait_text:"",platform:1,switch:1},robotSwitch:!0,formLabelWidth:"120px",isUploading:!1,uploadPercent:""}},props:{dialogFormVisible:Boolean,complete:Function},methods:{closeModal:function(){this.resize(),this.$emit("update:dialogFormVisible",!1)},changeFile:function(t){var e=this,a=t.target.files[0];Object(c["a"])({file:a,progress:function(t){e.isUploading=!0,e.uploadPercent=t+"%"},success:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.success("上传成功");var a=e.$store.getters.uploadToken.host+"/"+t;e.form.avatar=a},error:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.error(t.message)}})},handleKeyWordDel:function(t,e){"dynamicTagsInput"==e?this.dynamicTags.splice(this.dynamicTags.indexOf(t),1):"keyWordTagsInput"==e&&this.keyWordTags.splice(this.keyWordTags.indexOf(t),1)},showTagInput:function(t){var e=this;"dynamicTagsInput"==t?(this.showDynamicTagsInput=!0,this.$nextTick((function(){e.$refs.dynamicTagsInput.$refs.input.focus()}))):"keyWordTagsInput"==t&&(this.showkeyWordTagsInput=!0,this.$nextTick((function(){e.$refs.keyWordTagsInput.$refs.input.focus()})))},handleInputConfirm:function(){var t=this.inputDynamicTagValue,e=this.inputkeyWordTagValue;t&&this.dynamicTags.push(t),e&&this.keyWordTags.push(e),this.showkeyWordTagsInput=!1,this.showDynamicTagsInput=!1,this.inputDynamicTagValue="",this.inputkeyWordTagValue=""},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});this.form.artificial=this.dynamicTags.join("|"),this.form.keyword=this.keyWordTags.join("|"),this.form.switch=this.robotSwitch?1:0,r.a.post("/robot",this.form).then((function(a){try{console.log(a),e.close(),t.$message.success("添加成功"),t.closeModal(),t.resize(),t.complete()}catch(o){console.log(o)}})).catch((function(a){e.close(),t.$message.error(a.response.data.message)}))},resize:function(){this.dynamicTags=[],this.inputVisible=!1,this.inputValue="",this.form={nickname:"",avatar:"",welcome:"",timeout_text:"",no_services:"",loog_time_wait_text:"",understand:"",artificial:"",platform:1,switch:1}}}},m=u,d=(a("ea25"),a("2877")),f=Object(d["a"])(m,l,n,!1,null,"2e63f8e9",null),p=f.exports,h=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{width:"600px",title:"编辑机器人","show-close":!1,visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[a("el-form",{attrs:{model:t.form}},[a("el-form-item",{attrs:{label:"头像","label-width":t.formLabelWidth}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:3}},[a("div",{staticClass:"mini-im-file-button",attrs:{title:"点击上传图片"}},[a("el-avatar",{attrs:{size:50,src:t.form.avatar}}),a("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:t.changeFile}}),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isUploading,expression:"isUploading"}],staticClass:"mini-im-file-percent"},[a("span",[t._v(t._s(t.uploadPercent))])])],1)]),a("el-col",{attrs:{span:6}})],1)],1),a("el-form-item",{attrs:{label:"机器人昵称","label-width":t.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入机器人昵称",autocomplete:"off"},model:{value:t.form.nickname,callback:function(e){t.$set(t.form,"nickname",e)},expression:"form.nickname"}})],1),a("el-form-item",{attrs:{type:"textarea",rows:2,label:"机器人欢迎语","label-width":t.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入机器人欢迎语",autocomplete:"off"},model:{value:t.form.welcome,callback:function(e){t.$set(t.form,"welcome",e)},expression:"form.welcome"}})],1),a("el-form-item",{attrs:{label:"无匹配知识库语","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入无法识别回复语",autocomplete:"off"},model:{value:t.form.understand,callback:function(e){t.$set(t.form,"understand",e)},expression:"form.understand"}})],1),a("el-form-item",{attrs:{label:"超时结束提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入会话超时结束提示",autocomplete:"off"},model:{value:t.form.timeout_text,callback:function(e){t.$set(t.form,"timeout_text",e)},expression:"form.timeout_text"}})],1),a("el-form-item",{attrs:{label:"无人工在线提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入无人工在线提示",autocomplete:"off"},model:{value:t.form.no_services,callback:function(e){t.$set(t.form,"no_services",e)},expression:"form.no_services"}})],1),a("el-form-item",{attrs:{label:"长时间等待提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入长时间等待提示语",autocomplete:"off"},model:{value:t.form.loog_time_wait_text,callback:function(e){t.$set(t.form,"loog_time_wait_text",e)},expression:"form.loog_time_wait_text"}})],1),a("el-form-item",{attrs:{label:"检索知识库热词","label-width":t.formLabelWidth}},[t._l(t.keyWordTags,(function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return t.handleKeyWordDel(e,"keyWordTagsInput")}}},[t._v(t._s(e))])})),t.showkeyWordTagsInput?a("el-input",{ref:"keyWordTagsInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleInputConfirm(e)}},model:{value:t.inputkeyWordTagValue,callback:function(e){t.inputkeyWordTagValue=e},expression:"inputkeyWordTagValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(e){return t.showTagInput("keyWordTagsInput")}}},[t._v("+ 新增")]),a("div",{staticStyle:{"font-size":"12px"}},[t._v("* 该词库会在用户输入的时候去匹配检索提示")])],2),a("el-form-item",{attrs:{label:"转人工关键词","label-width":t.formLabelWidth}},[t._l(t.dynamicTags,(function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return t.handleKeyWordDel(e,"dynamicTagsInput")}}},[t._v(t._s(e))])})),t.showDynamicTagsInput?a("el-input",{ref:"dynamicTagsInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleInputConfirm(e)}},model:{value:t.inputDynamicTagValue,callback:function(e){t.inputDynamicTagValue=e},expression:"inputDynamicTagValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(e){return t.showTagInput("dynamicTagsInput")}}},[t._v("+ 新增")]),a("div",{staticStyle:{"font-size":"12px"}},[t._v('* 匹配该关键词进入人工,系统已内置: "人工"')])],2),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:1e9!=t.formData.id,expression:"formData.id != 1000000000"}],attrs:{label:"运行状态","label-width":t.formLabelWidth}},[a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:t.robotSwitch,callback:function(e){t.robotSwitch=e},expression:"robotSwitch"}})],1),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:1e9!=t.formData.id,expression:"formData.id != 1000000000"}],attrs:{label:"匹配平台","label-width":t.formLabelWidth}},[a("el-select",{attrs:{placeholder:"请选择匹配平台"},model:{value:t.form.platform,callback:function(e){t.$set(t.form,"platform",e)},expression:"form.platform"}},t._l(t.$store.getters.platformConfig,(function(t,e){return a("el-option",{key:e,attrs:{label:t.title,value:t.id}})})),1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},g=[],b=(a("28a5"),{name:"mini-im-edit-robot",data:function(){return{dynamicTags:[],keyWordTags:[],showkeyWordTagsInput:!1,inputkeyWordTagValue:"",showDynamicTagsInput:!1,inputDynamicTagValue:"",form:{nickname:"",avatar:"",welcome:"",understand:"",artificial:"",keyword:"",timeout_text:"",no_services:"",loog_time_wait_text:"",platform:1,switch:1},robotSwitch:!0,formLabelWidth:"120px",isUploading:!1,uploadPercent:""}},props:{dialogFormVisible:Boolean,complete:Function,formData:Object},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},changeFile:function(t){var e=this,a=t.target.files[0];Object(c["a"])({file:a,progress:function(t){e.isUploading=!0,e.uploadPercent=t+"%"},success:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.success("上传成功");var a=e.$store.getters.uploadToken.host+"/"+t;e.form.avatar=a},error:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.error(t.message)}})},handleKeyWordDel:function(t,e){"dynamicTagsInput"==e?this.dynamicTags.splice(this.dynamicTags.indexOf(t),1):"keyWordTagsInput"==e&&this.keyWordTags.splice(this.keyWordTags.indexOf(t),1)},showTagInput:function(t){var e=this;"dynamicTagsInput"==t?(this.showDynamicTagsInput=!0,this.$nextTick((function(){e.$refs.dynamicTagsInput.$refs.input.focus()}))):"keyWordTagsInput"==t&&(this.showkeyWordTagsInput=!0,this.$nextTick((function(){e.$refs.keyWordTagsInput.$refs.input.focus()})))},handleInputConfirm:function(){var t=this.inputDynamicTagValue,e=this.inputkeyWordTagValue;t&&this.dynamicTags.push(t),e&&this.keyWordTags.push(e),this.showkeyWordTagsInput=!1,this.showDynamicTagsInput=!1,this.inputDynamicTagValue="",this.inputkeyWordTagValue=""},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});this.form.artificial=this.dynamicTags.join("|"),this.form.keyword=this.keyWordTags.join("|"),this.form.switch=this.robotSwitch?1:0,r.a.put("/robot",this.form).then((function(a){try{console.log(a),e.close(),t.$message.success("修改成功"),t.closeModal(),t.complete()}catch(o){console.log(o)}})).catch((function(a){e.close(),t.$message.error(a.response.data.message)}))}},watch:{formData:function(){this.platformConfig=this.$store.getters.platformConfig,this.form=Object.assign({},this.form,this.formData),""!=this.formData.artificial&&(this.dynamicTags=this.formData.artificial.split("|")),""!=this.formData.keyword&&(this.keyWordTags=this.formData.keyword.split("|")),this.robotSwitch=1==this.form.switch}}}),y=b,w=(a("a900"),Object(d["a"])(y,h,g,!1,null,"6b34f2e3",null)),k=w.exports,v={name:"robot",components:{CreateDialog:p,EditDialog:k},data:function(){return{createDialogFormVisible:!1,editDialogFormVisible:!1,loading:!0,editItem:{}}},created:function(){var t=this;setTimeout((function(){return t.getRobotList()}),500)},computed:{tableData:function(){return this.$store.getters.robots||[]},adminInfo:function(){return this.$store.getters.adminInfo||{}}},methods:{deleteRobot:function(t){var e=this;this.$confirm("您确定要删除该机器人吗? 删除后不可恢复!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){r.a.delete("/robot/"+t.id).then((function(t){console.log(t.data),e.$message.success("删除成功"),e.getRobotList()})).catch((function(t){e.$message.error(t.response.data.message)}))}))},edit:function(t){this.editItem=t,this.editDialogFormVisible=!0},getRobotList:function(){var t=this;r.a.get("/robot/list").then((function(e){t.loading=!1,t.$store.commit("onChangeRobos",e.data.data)})).catch((function(e){t.loading=!1,t.$message.error(e.response.data.message)}))}}},_=v,T=(a("0980"),Object(d["a"])(_,o,i,!1,null,"dea0f158",null));e["default"]=T.exports},"89c6":function(t,e,a){},9104:function(t,e,a){},a900:function(t,e,a){"use strict";var o=a("9104"),i=a.n(o);i.a},c19b:function(t,e,a){},ea25:function(t,e,a){"use strict";var o=a("c19b"),i=a.n(o);i.a}}]);
//# sourceMappingURL=chunk-99e15be2.69d71101.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4bc425fc"],{"0980":function(t,e,a){"use strict";var o=a("89c6"),i=a.n(o);i.a},2157:function(t,e,a){"use strict";a.r(e);var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"mini-im-head"},[a("span",[a("i",{staticClass:"el-icon-picture-outline-round"}),a("span",{attrs:{slot:"title"},slot:"title"},[t._v("机器人管理")])]),1==t.adminInfo.root?a("el-button",{attrs:{size:"mini"},on:{click:function(e){t.createDialogFormVisible=!0}}},[t._v("添 加")]):t._e()],1),a("el-divider"),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData}},[a("el-table-column",{attrs:{type:"index",width:"60"}}),a("el-table-column",{attrs:{prop:"avatar",label:"头像",width:"80"},scopedSlots:t._u([{key:"default",fn:function(t){return[a("el-avatar",{attrs:{size:40,src:t.row.avatar}})]}}])}),a("el-table-column",{attrs:{prop:"nickname",label:"机器人昵称"}}),a("el-table-column",{attrs:{prop:"welcome",label:"欢迎语"}}),a("el-table-column",{attrs:{prop:"understand",label:"无匹配知识库语"}}),a("el-table-column",{attrs:{prop:"timeout_text",label:"超时结束提示"}}),a("el-table-column",{attrs:{prop:"no_services",label:"无人工在线提示"}}),a("el-table-column",{attrs:{prop:"loog_time_wait_text",label:"长时间等待提示"}}),a("el-table-column",{attrs:{prop:"keyword",label:"检索知识库热词"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.keyword.replace(/\|/g," , ")))])]}}])}),a("el-table-column",{attrs:{prop:"artificial",label:"转人工关键词"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("span",[t._v(t._s(e.row.artificial.replace(/\|/g," , ")))])]}}])}),a("el-table-column",{attrs:{prop:"switch",align:"center",label:"运行状态"},scopedSlots:t._u([{key:"default",fn:function(e){return[1==e.row.switch?a("el-tag",{attrs:{type:"success"}},[t._v("服务中")]):t._e(),0==e.row.switch?a("el-tag",{attrs:{type:"danger"}},[t._v("服务暂停")]):t._e()]}}])}),a("el-table-column",{attrs:{align:"center",prop:"platform",label:"服务平台"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-tag",[t._v(t._s(t.$getPlatformItem(e.row.platform).title))])]}}])}),a("el-table-column",{attrs:{prop:"create_at",label:"创建时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v("\n "+t._s(t.$formatUnixDate(e.row.create_at,"YYYY/MM/DD"))+"\n ")]}}])}),1==t.adminInfo.root?a("el-table-column",{attrs:{prop:"operating",align:"center",label:"操作",width:"150"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{size:"mini"},on:{click:function(a){return t.edit(e.row)}}},[t._v("编 辑")]),a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){return t.deleteRobot(e.row)}}},[t._v("删 除")])]}}],null,!1,289946275)}):t._e()],1),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{type:"flex",justify:"space-between"}},[a("span",{staticStyle:{color:"#666","font-size":"14px"}},[t._v("当前有"+t._s(t.tableData.length)+"个机器人")])]),a("CreateDialog",{attrs:{complete:t.getRobotList,dialogFormVisible:t.createDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.createDialogFormVisible=e},"update:dialog-form-visible":function(e){t.createDialogFormVisible=e}}}),a("EditDialog",{attrs:{complete:t.getRobotList,formData:t.editItem,dialogFormVisible:t.editDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.editDialogFormVisible=e},"update:dialog-form-visible":function(e){t.editDialogFormVisible=e}}})],1)},i=[],l=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{width:"600px",title:"添加机器人","show-close":!1,visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[a("el-form",{attrs:{model:t.form}},[a("el-form-item",{attrs:{label:"头像","label-width":t.formLabelWidth}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:3}},[a("div",{staticClass:"mini-im-file-button",attrs:{title:"点击上传图片"}},[a("el-avatar",{attrs:{size:50,src:t.form.avatar}}),a("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:t.changeFile}}),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isUploading,expression:"isUploading"}],staticClass:"mini-im-file-percent"},[a("span",[t._v(t._s(t.uploadPercent))])])],1)]),a("el-col",{attrs:{span:6}})],1)],1),a("el-form-item",{attrs:{label:"机器人昵称","label-width":t.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入机器人昵称",autocomplete:"off"},model:{value:t.form.nickname,callback:function(e){t.$set(t.form,"nickname",e)},expression:"form.nickname"}})],1),a("el-form-item",{attrs:{label:"机器人欢迎语","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入机器人欢迎语",autocomplete:"off"},model:{value:t.form.welcome,callback:function(e){t.$set(t.form,"welcome",e)},expression:"form.welcome"}})],1),a("el-form-item",{attrs:{label:"无匹配知识库语","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入无法识别回复语",autocomplete:"off"},model:{value:t.form.understand,callback:function(e){t.$set(t.form,"understand",e)},expression:"form.understand"}})],1),a("el-form-item",{attrs:{label:"超时结束提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入会话超时结束提示",autocomplete:"off"},model:{value:t.form.timeout_text,callback:function(e){t.$set(t.form,"timeout_text",e)},expression:"form.timeout_text"}})],1),a("el-form-item",{attrs:{label:"无人工在线提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入无人工在线提示",autocomplete:"off"},model:{value:t.form.no_services,callback:function(e){t.$set(t.form,"no_services",e)},expression:"form.no_services"}})],1),a("el-form-item",{attrs:{label:"长时间等待提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入长时间等待提示语",autocomplete:"off"},model:{value:t.form.loog_time_wait_text,callback:function(e){t.$set(t.form,"loog_time_wait_text",e)},expression:"form.loog_time_wait_text"}})],1),a("el-form-item",{attrs:{label:"检索知识库热词","label-width":t.formLabelWidth}},[t._l(t.keyWordTags,(function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return t.handleKeyWordDel(e,"keyWordTagsInput")}}},[t._v(t._s(e))])})),t.showkeyWordTagsInput?a("el-input",{ref:"keyWordTagsInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleInputConfirm(e)}},model:{value:t.inputkeyWordTagValue,callback:function(e){t.inputkeyWordTagValue=e},expression:"inputkeyWordTagValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(e){return t.showTagInput("keyWordTagsInput")}}},[t._v("+ 新增")]),a("div",{staticStyle:{"font-size":"12px"}},[t._v("* 该词库会在用户输入的时候去匹配检索提示")])],2),a("el-form-item",{attrs:{label:"转人工关键词","label-width":t.formLabelWidth}},[t._l(t.dynamicTags,(function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return t.handleKeyWordDel(e,"dynamicTagsInput")}}},[t._v(t._s(e))])})),t.showDynamicTagsInput?a("el-input",{ref:"dynamicTagsInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleInputConfirm(e)}},model:{value:t.inputDynamicTagValue,callback:function(e){t.inputDynamicTagValue=e},expression:"inputDynamicTagValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(e){return t.showTagInput("dynamicTagsInput")}}},[t._v("+ 新增")]),a("div",{staticStyle:{"font-size":"12px"}},[t._v('* 匹配该关键词进入人工,系统已内置: "人工"')])],2),a("el-form-item",{attrs:{label:"运行状态","label-width":t.formLabelWidth}},[a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:t.robotSwitch,callback:function(e){t.robotSwitch=e},expression:"robotSwitch"}})],1),a("el-form-item",{attrs:{label:"匹配平台","label-width":t.formLabelWidth}},[a("el-select",{attrs:{placeholder:"请选择匹配平台"},model:{value:t.form.platform,callback:function(e){t.$set(t.form,"platform",e)},expression:"form.platform"}},t._l(t.$store.getters.platformConfig,(function(t,e){return a("el-option",{key:e,attrs:{label:t.title,value:t.id}})})),1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},n=[],s=(a("57e7"),a("bc3a")),r=a.n(s),c=a("fb21"),u={name:"mini-im-create-robot",data:function(){return{dynamicTags:[],keyWordTags:[],showkeyWordTagsInput:!1,inputkeyWordTagValue:"",showDynamicTagsInput:!1,inputDynamicTagValue:"",form:{nickname:"",avatar:"",welcome:"",understand:"",artificial:"",keyword:"",timeout_text:"",no_services:"",loog_time_wait_text:"",platform:1,switch:1},robotSwitch:!0,formLabelWidth:"120px",isUploading:!1,uploadPercent:""}},props:{dialogFormVisible:Boolean,complete:Function},methods:{closeModal:function(){this.resize(),this.$emit("update:dialogFormVisible",!1)},changeFile:function(t){var e=this,a=t.target.files[0];Object(c["a"])({file:a,progress:function(t){e.isUploading=!0,e.uploadPercent=t+"%"},success:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.success("上传成功");var a=e.$store.getters.uploadToken.host+"/"+t;e.form.avatar=a},error:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.error(t.message)}})},handleKeyWordDel:function(t,e){"dynamicTagsInput"==e?this.dynamicTags.splice(this.dynamicTags.indexOf(t),1):"keyWordTagsInput"==e&&this.keyWordTags.splice(this.keyWordTags.indexOf(t),1)},showTagInput:function(t){var e=this;"dynamicTagsInput"==t?(this.showDynamicTagsInput=!0,this.$nextTick((function(){e.$refs.dynamicTagsInput.$refs.input.focus()}))):"keyWordTagsInput"==t&&(this.showkeyWordTagsInput=!0,this.$nextTick((function(){e.$refs.keyWordTagsInput.$refs.input.focus()})))},handleInputConfirm:function(){var t=this.inputDynamicTagValue,e=this.inputkeyWordTagValue;t&&this.dynamicTags.push(t),e&&this.keyWordTags.push(e),this.showkeyWordTagsInput=!1,this.showDynamicTagsInput=!1,this.inputDynamicTagValue="",this.inputkeyWordTagValue=""},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});this.form.artificial=this.dynamicTags.join("|"),this.form.keyword=this.keyWordTags.join("|"),this.form.switch=this.robotSwitch?1:0,r.a.post("/robot",this.form).then((function(a){try{console.log(a),e.close(),t.$message.success("添加成功"),t.closeModal(),t.resize(),t.complete()}catch(o){console.log(o)}})).catch((function(a){e.close(),t.$message.error(a.response.data.message)}))},resize:function(){this.dynamicTags=[],this.inputVisible=!1,this.inputValue="",this.form={nickname:"",avatar:"",welcome:"",timeout_text:"",no_services:"",loog_time_wait_text:"",understand:"",artificial:"",platform:1,switch:1}}}},m=u,d=(a("ea25"),a("2877")),f=Object(d["a"])(m,l,n,!1,null,"2e63f8e9",null),p=f.exports,h=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("el-dialog",{attrs:{width:"600px",title:"编辑机器人","show-close":!1,visible:t.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){t.dialogFormVisible=e}}},[a("el-form",{attrs:{model:t.form}},[a("el-form-item",{attrs:{label:"头像","label-width":t.formLabelWidth}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:3}},[a("div",{staticClass:"mini-im-file-button",attrs:{title:"点击上传图片"}},[a("el-avatar",{attrs:{size:50,src:t.form.avatar}}),a("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:t.changeFile}}),a("div",{directives:[{name:"show",rawName:"v-show",value:t.isUploading,expression:"isUploading"}],staticClass:"mini-im-file-percent"},[a("span",[t._v(t._s(t.uploadPercent))])])],1)]),a("el-col",{attrs:{span:6}})],1)],1),a("el-form-item",{attrs:{label:"机器人昵称","label-width":t.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入机器人昵称",autocomplete:"off"},model:{value:t.form.nickname,callback:function(e){t.$set(t.form,"nickname",e)},expression:"form.nickname"}})],1),a("el-form-item",{attrs:{type:"textarea",rows:2,label:"机器人欢迎语","label-width":t.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入机器人欢迎语",autocomplete:"off"},model:{value:t.form.welcome,callback:function(e){t.$set(t.form,"welcome",e)},expression:"form.welcome"}})],1),a("el-form-item",{attrs:{label:"无匹配知识库语","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入无法识别回复语",autocomplete:"off"},model:{value:t.form.understand,callback:function(e){t.$set(t.form,"understand",e)},expression:"form.understand"}})],1),a("el-form-item",{attrs:{label:"超时结束提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入会话超时结束提示",autocomplete:"off"},model:{value:t.form.timeout_text,callback:function(e){t.$set(t.form,"timeout_text",e)},expression:"form.timeout_text"}})],1),a("el-form-item",{attrs:{label:"无人工在线提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入无人工在线提示",autocomplete:"off"},model:{value:t.form.no_services,callback:function(e){t.$set(t.form,"no_services",e)},expression:"form.no_services"}})],1),a("el-form-item",{attrs:{label:"长时间等待提示","label-width":t.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",rows:2,placeholder:"请输入长时间等待提示语",autocomplete:"off"},model:{value:t.form.loog_time_wait_text,callback:function(e){t.$set(t.form,"loog_time_wait_text",e)},expression:"form.loog_time_wait_text"}})],1),a("el-form-item",{attrs:{label:"检索知识库热词","label-width":t.formLabelWidth}},[t._l(t.keyWordTags,(function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return t.handleKeyWordDel(e,"keyWordTagsInput")}}},[t._v(t._s(e))])})),t.showkeyWordTagsInput?a("el-input",{ref:"keyWordTagsInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleInputConfirm(e)}},model:{value:t.inputkeyWordTagValue,callback:function(e){t.inputkeyWordTagValue=e},expression:"inputkeyWordTagValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(e){return t.showTagInput("keyWordTagsInput")}}},[t._v("+ 新增")]),a("div",{staticStyle:{"font-size":"12px"}},[t._v("* 该词库会在用户输入的时候去匹配检索提示")])],2),a("el-form-item",{attrs:{label:"转人工关键词","label-width":t.formLabelWidth}},[t._l(t.dynamicTags,(function(e){return a("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(a){return t.handleKeyWordDel(e,"dynamicTagsInput")}}},[t._v(t._s(e))])})),t.showDynamicTagsInput?a("el-input",{ref:"dynamicTagsInput",staticClass:"input-new-tag",attrs:{size:"small"},on:{blur:t.handleInputConfirm},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleInputConfirm(e)}},model:{value:t.inputDynamicTagValue,callback:function(e){t.inputDynamicTagValue=e},expression:"inputDynamicTagValue"}}):a("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:function(e){return t.showTagInput("dynamicTagsInput")}}},[t._v("+ 新增")]),a("div",{staticStyle:{"font-size":"12px"}},[t._v('* 匹配该关键词进入人工,系统已内置: "人工"')])],2),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:1!=t.formData.system,expression:"formData.system != 1"}],attrs:{label:"运行状态","label-width":t.formLabelWidth}},[a("el-switch",{attrs:{"active-color":"#13ce66","inactive-color":"#ff4949"},model:{value:t.robotSwitch,callback:function(e){t.robotSwitch=e},expression:"robotSwitch"}})],1),a("el-form-item",{directives:[{name:"show",rawName:"v-show",value:1!=t.formData.system,expression:"formData.system != 1"}],attrs:{label:"匹配平台","label-width":t.formLabelWidth}},[a("el-select",{attrs:{placeholder:"请选择匹配平台"},model:{value:t.form.platform,callback:function(e){t.$set(t.form,"platform",e)},expression:"form.platform"}},t._l(t.$store.getters.platformConfig,(function(t,e){return a("el-option",{key:e,attrs:{label:t.title,value:t.id}})})),1)],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},g=[],b=(a("28a5"),{name:"mini-im-edit-robot",data:function(){return{dynamicTags:[],keyWordTags:[],showkeyWordTagsInput:!1,inputkeyWordTagValue:"",showDynamicTagsInput:!1,inputDynamicTagValue:"",form:{nickname:"",avatar:"",welcome:"",understand:"",artificial:"",keyword:"",timeout_text:"",no_services:"",loog_time_wait_text:"",platform:1,switch:1},robotSwitch:!0,formLabelWidth:"120px",isUploading:!1,uploadPercent:""}},props:{dialogFormVisible:Boolean,complete:Function,formData:Object},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},changeFile:function(t){var e=this,a=t.target.files[0];Object(c["a"])({file:a,progress:function(t){e.isUploading=!0,e.uploadPercent=t+"%"},success:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.success("上传成功");var a=e.$store.getters.uploadToken.host+"/"+t;e.form.avatar=a},error:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.error(t.message)}})},handleKeyWordDel:function(t,e){"dynamicTagsInput"==e?this.dynamicTags.splice(this.dynamicTags.indexOf(t),1):"keyWordTagsInput"==e&&this.keyWordTags.splice(this.keyWordTags.indexOf(t),1)},showTagInput:function(t){var e=this;"dynamicTagsInput"==t?(this.showDynamicTagsInput=!0,this.$nextTick((function(){e.$refs.dynamicTagsInput.$refs.input.focus()}))):"keyWordTagsInput"==t&&(this.showkeyWordTagsInput=!0,this.$nextTick((function(){e.$refs.keyWordTagsInput.$refs.input.focus()})))},handleInputConfirm:function(){var t=this.inputDynamicTagValue,e=this.inputkeyWordTagValue;t&&this.dynamicTags.push(t),e&&this.keyWordTags.push(e),this.showkeyWordTagsInput=!1,this.showDynamicTagsInput=!1,this.inputDynamicTagValue="",this.inputkeyWordTagValue=""},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});this.form.artificial=this.dynamicTags.join("|"),this.form.keyword=this.keyWordTags.join("|"),this.form.switch=this.robotSwitch?1:0,r.a.put("/robot",this.form).then((function(a){try{console.log(a),e.close(),t.$message.success("修改成功"),t.closeModal(),t.complete()}catch(o){console.log(o)}})).catch((function(a){e.close(),t.$message.error(a.response.data.message)}))}},watch:{formData:function(){this.platformConfig=this.$store.getters.platformConfig,this.form=Object.assign({},this.form,this.formData),""!=this.formData.artificial&&(this.dynamicTags=this.formData.artificial.split("|")),""!=this.formData.keyword&&(this.keyWordTags=this.formData.keyword.split("|")),this.robotSwitch=1==this.form.switch}}}),y=b,w=(a("f06e"),Object(d["a"])(y,h,g,!1,null,"b0d0c25e",null)),k=w.exports,v={name:"robot",components:{CreateDialog:p,EditDialog:k},data:function(){return{createDialogFormVisible:!1,editDialogFormVisible:!1,loading:!0,editItem:{}}},created:function(){var t=this;setTimeout((function(){return t.getRobotList()}),500)},computed:{tableData:function(){return this.$store.getters.robots||[]},adminInfo:function(){return this.$store.getters.adminInfo||{}}},methods:{deleteRobot:function(t){var e=this;this.$confirm("您确定要删除该机器人吗? 删除后不可恢复!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){r.a.delete("/robot/"+t.id).then((function(t){console.log(t.data),e.$message.success("删除成功"),e.getRobotList()})).catch((function(t){e.$message.error(t.response.data.message)}))}))},edit:function(t){this.editItem=t,this.editDialogFormVisible=!0},getRobotList:function(){var t=this;r.a.get("/robot/list").then((function(e){t.loading=!1,t.$store.commit("onChangeRobos",e.data.data)})).catch((function(e){t.loading=!1,t.$message.error(e.response.data.message)}))}}},_=v,T=(a("0980"),Object(d["a"])(_,o,i,!1,null,"dea0f158",null));e["default"]=T.exports},"6bdb":function(t,e,a){},"89c6":function(t,e,a){},c19b:function(t,e,a){},ea25:function(t,e,a){"use strict";var o=a("c19b"),i=a.n(o);i.a},f06e:function(t,e,a){"use strict";var o=a("6bdb"),i=a.n(o);i.a}}]);
//# sourceMappingURL=chunk-4bc425fc.0bbe4f9b.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/robot/index.vue?32d5","webpack:///./src/views/robot/index.vue?8601","webpack:///./src/views/robot/create.vue?788e","webpack:///src/views/robot/create.vue","webpack:///./src/views/robot/create.vue?68be","webpack:///./src/views/robot/create.vue","webpack:///./src/views/robot/edit.vue?ee12","webpack:///src/views/robot/edit.vue","webpack:///./src/views/robot/edit.vue?8ee4","webpack:///./src/views/robot/edit.vue","webpack:///src/views/robot/index.vue","webpack:///./src/views/robot/index.vue?870d","webpack:///./src/views/robot/index.vue","webpack:///./src/views/robot/create.vue?2d57","webpack:///./src/views/robot/edit.vue?9b51"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","adminInfo","root","on","$event","createDialogFormVisible","_e","directives","name","rawName","value","expression","staticStyle","tableData","scopedSlots","_u","key","fn","scope","row","avatar","_s","keyword","replace","artificial","switch","$getPlatformItem","platform","title","$formatUnixDate","create_at","edit","deleteRobot","length","getRobotList","editItem","editDialogFormVisible","staticRenderFns","dialogFormVisible","form","formLabelWidth","changeFile","uploadPercent","model","callback","$$v","$set","_l","tag","handleKeyWordDel","ref","handleInputConfirm","nativeOn","type","indexOf","_k","keyCode","inputkeyWordTagValue","showTagInput","inputDynamicTagValue","robotSwitch","$store","getters","item","index","id","closeModal","save","data","dynamicTags","keyWordTags","showkeyWordTagsInput","showDynamicTagsInput","nickname","welcome","understand","timeout_text","no_services","loog_time_wait_text","isUploading","props","Boolean","complete","Function","methods","resize","$emit","fileData","file","target","files","imgUrl","splice","$nextTick","push","lock","text","spinner","background","join","inputVisible","inputValue","component","formData","system","Object","watch","platformConfig","assign","components","CreateDialog","EditDialog","loading","created","setTimeout","computed","robots","$confirm","confirmButtonText","cancelButtonText","center"],"mappings":"kHAAA,yBAAyjB,EAAG,G,yCCA5jB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,OAAO,CAACA,EAAG,IAAI,CAACE,YAAY,kCAAkCF,EAAG,OAAO,CAACG,MAAM,CAAC,KAAO,SAASC,KAAK,SAAS,CAACR,EAAIS,GAAG,aAAoC,GAAtBT,EAAIU,UAAUC,KAAWP,EAAG,YAAY,CAACG,MAAM,CAAC,KAAO,QAAQK,GAAG,CAAC,MAAQ,SAASC,GAAQb,EAAIc,yBAA0B,KAAQ,CAACd,EAAIS,GAAG,SAAST,EAAIe,MAAM,GAAGX,EAAG,cAAcA,EAAG,WAAW,CAACY,WAAW,CAAC,CAACC,KAAK,UAAUC,QAAQ,YAAYC,MAAOnB,EAAW,QAAEoB,WAAW,YAAYC,YAAY,CAAC,MAAQ,QAAQd,MAAM,CAAC,KAAOP,E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A,EACA,KACA,WACA,OAIa,I,QCqGf,GACEjB,KAAM,QACNqG,WAAY,CACVC,aAAJ,EACIC,WAAJ,GAEE3C,KANF,WAOI,MAAO,CACL/D,yBAAyB,EACzB+B,uBAAuB,EACvB4E,SAAS,EACT7E,SAAU,KAGd8E,QAdF,WAcA,WACIC,YAAW,WAAf,gCAEEC,SAAU,CACRtG,UADJ,WAEM,OAAOrB,KAAKqE,OAAOC,QAAQsD,QAAU,IAEvCnH,UAJJ,WAKM,OAAOT,KAAKqE,OAAOC,QAAQ7D,WAAa,KAG5CmF,QAAS,CAEPpD,YAFJ,SAEA,cACMxC,KAAK6H,SAAS,wBAAyB,QAAS,CAC9CC,kBAAmB,KACnBC,iBAAkB,KAClBC,QAAQ,EACRnE,KAAM,YACd,iBACQ,EAAR,yBACA,kBACU,QAAV,YACU,EAAV,yBACU,EAAV,kBAEA,mBACU,EAAV,+CAKItB,KArBJ,SAqBA,GACMvC,KAAK2C,SAAW4B,EAChBvE,KAAK4C,uBAAwB,GAG/BF,aA1BJ,WA0BA,WACM,EAAN,qBACA,kBACQ,EAAR,WACQ,EAAR,8CAEA,mBACQ,EAAR,WACQ,EAAR,8CCnLiY,ICQ7X,G,UAAY,eACd,EACA5C,EACA+C,GACA,EACA,KACA,WACA,OAIa,e,oHCnBf,yBAA0jB,EAAG,G,kCCA7jB,yBAAwjB,EAAG","file":"js/chunk-4bc425fc.0bbe4f9b.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=dea0f158&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=dea0f158&lang=stylus&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"mini-im-head\"},[_c('span',[_c('i',{staticClass:\"el-icon-picture-outline-round\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"机器人管理\")])]),(_vm.adminInfo.root == 1)?_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.createDialogFormVisible = true}}},[_vm._v(\"添 加\")]):_vm._e()],1),_c('el-divider'),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"width\":\"60\"}}),_c('el-table-column',{attrs:{\"prop\":\"avatar\",\"label\":\"头像\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-avatar',{attrs:{\"size\":40,\"src\":scope.row.avatar}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"nickname\",\"label\":\"机器人昵称\"}}),_c('el-table-column',{attrs:{\"prop\":\"welcome\",\"label\":\"欢迎语\"}}),_c('el-table-column',{attrs:{\"prop\":\"understand\",\"label\":\"无匹配知识库语\"}}),_c('el-table-column',{attrs:{\"prop\":\"timeout_text\",\"label\":\"超时结束提示\"}}),_c('el-table-column',{attrs:{\"prop\":\"no_services\",\"label\":\"无人工在线提示\"}}),_c('el-table-column',{attrs:{\"prop\":\"loog_time_wait_text\",\"label\":\"长时间等待提示\"}}),_c('el-table-column',{attrs:{\"prop\":\"keyword\",\"label\":\"检索知识库热词\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.keyword.replace(/\\|/g, \" , \")))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"artificial\",\"label\":\"转人工关键词\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.artificial.replace(/\\|/g, \" , \")))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"switch\",\"align\":\"center\",\"label\":\"运行状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.switch == 1)?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"服务中\")]):_vm._e(),(scope.row.switch == 0)?_c('el-tag',{attrs:{\"type\":\"danger\"}},[_vm._v(\"服务暂停\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"platform\",\"label\":\"服务平台\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',[_vm._v(_vm._s(_vm.$getPlatformItem(scope.row.platform).title))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"create_at\",\"label\":\"创建时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\"))+\"\\n \")]}}])}),(_vm.adminInfo.root == 1)?_c('el-table-column',{attrs:{\"prop\":\"operating\",\"align\":\"center\",\"label\":\"操作\",\"width\":\"150\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.edit(scope.row)}}},[_vm._v(\"编 辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.deleteRobot(scope.row)}}},[_vm._v(\"删 除\")])]}}],null,false,289946275)}):_vm._e()],1),_c('el-row',{staticStyle:{\"margin-top\":\"20px\"},attrs:{\"type\":\"flex\",\"justify\":\"space-between\"}},[_c('span',{staticStyle:{\"color\":\"#666\",\"font-size\":\"14px\"}},[_vm._v(\"当前有\"+_vm._s(_vm.tableData.length)+\"个机器人\")])]),_c('CreateDialog',{attrs:{\"complete\":_vm.getRobotList,\"dialogFormVisible\":_vm.createDialogFormVisible},on:{\"update:dialogFormVisible\":function($event){_vm.createDialogFormVisible=$event},\"update:dialog-form-visible\":function($event){_vm.createDialogFormVisible=$event}}}),_c('EditDialog',{attrs:{\"complete\":_vm.getRobotList,\"formData\":_vm.editItem,\"dialogFormVisible\":_vm.editDialogFormVisible},on:{\"update:dialogFormVisible\":function($event){_vm.editDialogFormVisible=$event},\"update:dialog-form-visible\":function($event){_vm.editDialogFormVisible=$event}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"600px\",\"title\":\"添加机器人\",\"show-close\":false,\"visible\":_vm.dialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"头像\",\"label-width\":_vm.formLabelWidth}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":3}},[_c('div',{staticClass:\"mini-im-file-button\",attrs:{\"title\":\"点击上传图片\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.form.avatar}}),_c('input',{attrs:{\"onClick\":\"this.value = null\",\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.changeFile}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUploading),expression:\"isUploading\"}],staticClass:\"mini-im-file-percent\"},[_c('span',[_vm._v(_vm._s(_vm.uploadPercent))])])],1)]),_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"机器人昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入机器人昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"机器人欢迎语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入机器人欢迎语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.welcome),callback:function ($$v) {_vm.$set(_vm.form, \"welcome\", $$v)},expression:\"form.welcome\"}})],1),_c('el-form-item',{attrs:{\"label\":\"无匹配知识库语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入无法识别回复语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.understand),callback:function ($$v) {_vm.$set(_vm.form, \"understand\", $$v)},expression:\"form.understand\"}})],1),_c('el-form-item',{attrs:{\"label\":\"超时结束提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入会话超时结束提示\",\"autocomplete\":\"off\"},model:{value:(_vm.form.timeout_text),callback:function ($$v) {_vm.$set(_vm.form, \"timeout_text\", $$v)},expression:\"form.timeout_text\"}})],1),_c('el-form-item',{attrs:{\"label\":\"无人工在线提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入无人工在线提示\",\"autocomplete\":\"off\"},model:{value:(_vm.form.no_services),callback:function ($$v) {_vm.$set(_vm.form, \"no_services\", $$v)},expression:\"form.no_services\"}})],1),_c('el-form-item',{attrs:{\"label\":\"长时间等待提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入长时间等待提示语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.loog_time_wait_text),callback:function ($$v) {_vm.$set(_vm.form, \"loog_time_wait_text\", $$v)},expression:\"form.loog_time_wait_text\"}})],1),_c('el-form-item',{attrs:{\"label\":\"检索知识库热词\",\"label-width\":_vm.formLabelWidth}},[_vm._l((_vm.keyWordTags),function(tag){return _c('el-tag',{key:tag,attrs:{\"closable\":\"\",\"disable-transitions\":false},on:{\"close\":function($event){return _vm.handleKeyWordDel(tag, 'keyWordTagsInput')}}},[_vm._v(_vm._s(tag))])}),(_vm.showkeyWordTagsInput)?_c('el-input',{ref:\"keyWordTagsInput\",staticClass:\"input-new-tag\",attrs:{\"size\":\"small\"},on:{\"blur\":_vm.handleInputConfirm},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleInputConfirm($event)}},model:{value:(_vm.inputkeyWordTagValue),callback:function ($$v) {_vm.inputkeyWordTagValue=$$v},expression:\"inputkeyWordTagValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.showTagInput('keyWordTagsInput')}}},[_vm._v(\"+ 新增\")]),_c('div',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"* 该词库会在用户输入的时候去匹配检索提示\")])],2),_c('el-form-item',{attrs:{\"label\":\"转人工关键词\",\"label-width\":_vm.formLabelWidth}},[_vm._l((_vm.dynamicTags),function(tag){return _c('el-tag',{key:tag,attrs:{\"closable\":\"\",\"disable-transitions\":false},on:{\"close\":function($event){return _vm.handleKeyWordDel(tag, 'dynamicTagsInput')}}},[_vm._v(_vm._s(tag))])}),(_vm.showDynamicTagsInput)?_c('el-input',{ref:\"dynamicTagsInput\",staticClass:\"input-new-tag\",attrs:{\"size\":\"small\"},on:{\"blur\":_vm.handleInputConfirm},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleInputConfirm($event)}},model:{value:(_vm.inputDynamicTagValue),callback:function ($$v) {_vm.inputDynamicTagValue=$$v},expression:\"inputDynamicTagValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.showTagInput('dynamicTagsInput')}}},[_vm._v(\"+ 新增\")]),_c('div',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"* 匹配该关键词进入人工,系统已内置: \\\"人工\\\"\")])],2),_c('el-form-item',{attrs:{\"label\":\"运行状态\",\"label-width\":_vm.formLabelWidth}},[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\"},model:{value:(_vm.robotSwitch),callback:function ($$v) {_vm.robotSwitch=$$v},expression:\"robotSwitch\"}})],1),_c('el-form-item',{attrs:{\"label\":\"匹配平台\",\"label-width\":_vm.formLabelWidth}},[_c('el-select',{attrs:{\"placeholder\":\"请选择匹配平台\"},model:{value:(_vm.form.platform),callback:function ($$v) {_vm.$set(_vm.form, \"platform\", $$v)},expression:\"form.platform\"}},_vm._l((_vm.$store.getters.platformConfig),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.title,\"value\":item.id}})}),1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog\n width=\"600px\"\n title=\"添加机器人\"\n :show-close=\"false\"\n :visible.sync=\"dialogFormVisible\"\n :close-on-click-modal=\"false\"\n >\n <el-form :model=\"form\">\n <el-form-item label=\"头像\" :label-width=\"formLabelWidth\">\n <el-row :gutter=\"10\">\n <el-col :span=\"3\">\n <div class=\"mini-im-file-button\" title=\"点击上传图片\">\n <el-avatar\n :size=\"50\"\n :src=\"form.avatar\"\n ></el-avatar>\n <input onClick=\"this.value = null\" @change=\"changeFile\" type=\"file\" accept=\"image/*\" />\n <div v-show=\"isUploading\" class=\"mini-im-file-percent\">\n <span>{{uploadPercent}}</span>\n </div>\n </div>\n </el-col>\n <el-col :span=\"6\"></el-col>\n </el-row>\n </el-form-item>\n <el-form-item label=\"机器人昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入机器人昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"机器人欢迎语\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.welcome\" placeholder=\"请输入机器人欢迎语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"无匹配知识库语\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.understand\" placeholder=\"请输入无法识别回复语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"超时结束提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.timeout_text\" placeholder=\"请输入会话超时结束提示\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"无人工在线提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.no_services\" placeholder=\"请输入无人工在线提示\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"长时间等待提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.loog_time_wait_text\" placeholder=\"请输入长时间等待提示语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"检索知识库热词\" :label-width=\"formLabelWidth\">\n <el-tag\n :key=\"tag\"\n v-for=\"tag in keyWordTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleKeyWordDel(tag, 'keyWordTagsInput')\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"showkeyWordTagsInput\"\n v-model=\"inputkeyWordTagValue\"\n ref=\"keyWordTagsInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n ></el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showTagInput('keyWordTagsInput')\">+ 新增</el-button>\n <div style=\"font-size:12px;\">* 该词库会在用户输入的时候去匹配检索提示</div>\n </el-form-item>\n <el-form-item label=\"转人工关键词\" :label-width=\"formLabelWidth\">\n <el-tag\n :key=\"tag\"\n v-for=\"tag in dynamicTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleKeyWordDel(tag, 'dynamicTagsInput')\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"showDynamicTagsInput\"\n v-model=\"inputDynamicTagValue\"\n ref=\"dynamicTagsInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n ></el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showTagInput('dynamicTagsInput')\">+ 新增</el-button>\n <div style=\"font-size:12px;\">* 匹配该关键词进入人工,系统已内置: \"人工\"</div>\n </el-form-item>\n <el-form-item label=\"运行状态\" :label-width=\"formLabelWidth\">\n <el-switch v-model=\"robotSwitch\" active-color=\"#13ce66\" inactive-color=\"#ff4949\"></el-switch>\n </el-form-item>\n <el-form-item label=\"匹配平台\" :label-width=\"formLabelWidth\">\n <el-select v-model=\"form.platform\" placeholder=\"请选择匹配平台\">\n <el-option\n :label=\"item.title\"\n :value=\"item.id\"\n :key=\"index\"\n v-for=\"(item, index) in $store.getters.platformConfig\"\n ></el-option>\n </el-select>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from 'axios'\nimport upload from '../../common/upload'\nexport default {\n name: \"mini-im-create-robot\",\n data() {\n return {\n dynamicTags: [],\n keyWordTags: [],\n showkeyWordTagsInput: false,\n inputkeyWordTagValue: \"\",\n showDynamicTagsInput: false,\n inputDynamicTagValue: \"\",\n form: {\n nickname: \"\",\n avatar: \"\",\n welcome: \"\",\n understand: \"\",\n artificial: \"\",\n keyword: \"\",\n timeout_text: \"\",\n no_services: \"\",\n loog_time_wait_text: \"\",\n platform: 1,\n switch: 1\n },\n robotSwitch: true,\n formLabelWidth: \"120px\",\n isUploading: false,\n uploadPercent: \"\"\n };\n },\n props: {\n dialogFormVisible: Boolean,\n complete: Function\n },\n methods: {\n // 关闭\n closeModal() {\n this.resize();\n this.$emit(\"update:dialogFormVisible\", false);\n },\n // 上传\n changeFile(file) {\n \n var fileData = file.target.files[0];\n upload({\n file: fileData,\n progress: (percent) => {\n this.isUploading = true;\n this.uploadPercent = percent + \"%\";\n },\n success: (url) => {\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.success(\"上传成功\");\n var imgUrl = this.$store.getters.uploadToken.host + \"/\" + url\n this.form.avatar = imgUrl;\n },\n error: (err)=>{\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.error(err.message);\n }\n });\n\n\n },\n // 删除标签\n handleKeyWordDel(tag, type) {\n if(type == \"dynamicTagsInput\"){\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);\n }\n else if(type == \"keyWordTagsInput\"){\n this.keyWordTags.splice(this.keyWordTags.indexOf(tag), 1);\n }\n },\n // 显示子标题输入框\n showTagInput(type) {\n if(type == \"dynamicTagsInput\"){\n this.showDynamicTagsInput = true;\n this.$nextTick(() => {\n this.$refs.dynamicTagsInput.$refs.input.focus();\n });\n }else if(type == \"keyWordTagsInput\"){\n this.showkeyWordTagsInput = true;\n this.$nextTick(() => {\n this.$refs.keyWordTagsInput.$refs.input.focus();\n });\n }\n \n },\n // 标签确定\n handleInputConfirm() {\n let inputDynamicTagValue = this.inputDynamicTagValue;\n let inputkeyWordTagValue = this.inputkeyWordTagValue;\n if (inputDynamicTagValue) {\n this.dynamicTags.push(inputDynamicTagValue);\n }\n if (inputkeyWordTagValue) {\n this.keyWordTags.push(inputkeyWordTagValue);\n }\n this.showkeyWordTagsInput = false;\n this.showDynamicTagsInput = false;\n this.inputDynamicTagValue = \"\";\n this.inputkeyWordTagValue = \"\";\n },\n // 保存\n save(){\n // 验证字段 !! 算了前端不验证了\n const loading = this.$loading({\n lock: true,\n text: \"保存中...\",\n spinner: \"el-icon-loading\",\n background: \"rgba(0, 0, 0, 0.5)\"\n });\n this.form.artificial = this.dynamicTags.join(\"|\");\n this.form.keyword = this.keyWordTags.join(\"|\");\n this.form.switch = this.robotSwitch ? 1 : 0\n axios\n .post(\"/robot\", this.form)\n .then(response => {\n try {\n console.log(response);\n loading.close();\n this.$message.success(\"添加成功\");\n this.closeModal();\n this.resize();\n this.complete();\n } catch (e) {\n console.log(e);\n }\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message);\n });\n },\n // 重置\n resize(){\n this.dynamicTags = []\n this.inputVisible = false\n this.inputValue = \"\"\n this.form = {\n nickname: \"\",\n avatar: \"\",\n welcome: \"\",\n timeout_text: \"\",\n no_services: \"\",\n loog_time_wait_text: \"\",\n understand: \"\",\n artificial: \"\",\n platform: 1,\n switch: 1\n }\n }\n }\n};\n</script>\n<style scoped lang=\"stylus\">\n.mini-im-file-button {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n\n input {\n font-size: 100px;\n position: absolute;\n top: 0px;\n left: 0px;\n cursor: pointer;\n opacity 0\n }\n\n cursor: pointer;\n\n .mini-im-file-percent {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.5);\n color: #fff;\n font-size: 12px;\n }\n}\n\n.el-tag + .el-tag {\n margin-left: 10px;\n}\n\n.button-new-tag {\n margin-left: 10px;\n height: 32px;\n line-height: 30px;\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.input-new-tag {\n width: 150px;\n margin-left: 10px;\n vertical-align: bottom;\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./create.vue?vue&type=template&id=2e63f8e9&scoped=true&\"\nimport script from \"./create.vue?vue&type=script&lang=js&\"\nexport * from \"./create.vue?vue&type=script&lang=js&\"\nimport style0 from \"./create.vue?vue&type=style&index=0&id=2e63f8e9&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2e63f8e9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"600px\",\"title\":\"编辑机器人\",\"show-close\":false,\"visible\":_vm.dialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"头像\",\"label-width\":_vm.formLabelWidth}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":3}},[_c('div',{staticClass:\"mini-im-file-button\",attrs:{\"title\":\"点击上传图片\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.form.avatar}}),_c('input',{attrs:{\"onClick\":\"this.value = null\",\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.changeFile}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUploading),expression:\"isUploading\"}],staticClass:\"mini-im-file-percent\"},[_c('span',[_vm._v(_vm._s(_vm.uploadPercent))])])],1)]),_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"机器人昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入机器人昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"type\":\"textarea\",\"rows\":2,\"label\":\"机器人欢迎语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入机器人欢迎语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.welcome),callback:function ($$v) {_vm.$set(_vm.form, \"welcome\", $$v)},expression:\"form.welcome\"}})],1),_c('el-form-item',{attrs:{\"label\":\"无匹配知识库语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入无法识别回复语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.understand),callback:function ($$v) {_vm.$set(_vm.form, \"understand\", $$v)},expression:\"form.understand\"}})],1),_c('el-form-item',{attrs:{\"label\":\"超时结束提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入会话超时结束提示\",\"autocomplete\":\"off\"},model:{value:(_vm.form.timeout_text),callback:function ($$v) {_vm.$set(_vm.form, \"timeout_text\", $$v)},expression:\"form.timeout_text\"}})],1),_c('el-form-item',{attrs:{\"label\":\"无人工在线提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入无人工在线提示\",\"autocomplete\":\"off\"},model:{value:(_vm.form.no_services),callback:function ($$v) {_vm.$set(_vm.form, \"no_services\", $$v)},expression:\"form.no_services\"}})],1),_c('el-form-item',{attrs:{\"label\":\"长时间等待提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入长时间等待提示语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.loog_time_wait_text),callback:function ($$v) {_vm.$set(_vm.form, \"loog_time_wait_text\", $$v)},expression:\"form.loog_time_wait_text\"}})],1),_c('el-form-item',{attrs:{\"label\":\"检索知识库热词\",\"label-width\":_vm.formLabelWidth}},[_vm._l((_vm.keyWordTags),function(tag){return _c('el-tag',{key:tag,attrs:{\"closable\":\"\",\"disable-transitions\":false},on:{\"close\":function($event){return _vm.handleKeyWordDel(tag, 'keyWordTagsInput')}}},[_vm._v(_vm._s(tag))])}),(_vm.showkeyWordTagsInput)?_c('el-input',{ref:\"keyWordTagsInput\",staticClass:\"input-new-tag\",attrs:{\"size\":\"small\"},on:{\"blur\":_vm.handleInputConfirm},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleInputConfirm($event)}},model:{value:(_vm.inputkeyWordTagValue),callback:function ($$v) {_vm.inputkeyWordTagValue=$$v},expression:\"inputkeyWordTagValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.showTagInput('keyWordTagsInput')}}},[_vm._v(\"+ 新增\")]),_c('div',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"* 该词库会在用户输入的时候去匹配检索提示\")])],2),_c('el-form-item',{attrs:{\"label\":\"转人工关键词\",\"label-width\":_vm.formLabelWidth}},[_vm._l((_vm.dynamicTags),function(tag){return _c('el-tag',{key:tag,attrs:{\"closable\":\"\",\"disable-transitions\":false},on:{\"close\":function($event){return _vm.handleKeyWordDel(tag, 'dynamicTagsInput')}}},[_vm._v(_vm._s(tag))])}),(_vm.showDynamicTagsInput)?_c('el-input',{ref:\"dynamicTagsInput\",staticClass:\"input-new-tag\",attrs:{\"size\":\"small\"},on:{\"blur\":_vm.handleInputConfirm},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleInputConfirm($event)}},model:{value:(_vm.inputDynamicTagValue),callback:function ($$v) {_vm.inputDynamicTagValue=$$v},expression:\"inputDynamicTagValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.showTagInput('dynamicTagsInput')}}},[_vm._v(\"+ 新增\")]),_c('div',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"* 匹配该关键词进入人工,系统已内置: \\\"人工\\\"\")])],2),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.formData.system != 1),expression:\"formData.system != 1\"}],attrs:{\"label\":\"运行状态\",\"label-width\":_vm.formLabelWidth}},[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\"},model:{value:(_vm.robotSwitch),callback:function ($$v) {_vm.robotSwitch=$$v},expression:\"robotSwitch\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.formData.system != 1),expression:\"formData.system != 1\"}],attrs:{\"label\":\"匹配平台\",\"label-width\":_vm.formLabelWidth}},[_c('el-select',{attrs:{\"placeholder\":\"请选择匹配平台\"},model:{value:(_vm.form.platform),callback:function ($$v) {_vm.$set(_vm.form, \"platform\", $$v)},expression:\"form.platform\"}},_vm._l((_vm.$store.getters.platformConfig),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.title,\"value\":item.id}})}),1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog\n width=\"600px\"\n title=\"编辑机器人\"\n :show-close=\"false\"\n :visible.sync=\"dialogFormVisible\"\n :close-on-click-modal=\"false\"\n >\n <el-form :model=\"form\">\n <el-form-item label=\"头像\" :label-width=\"formLabelWidth\">\n <el-row :gutter=\"10\">\n <el-col :span=\"3\">\n <div class=\"mini-im-file-button\" title=\"点击上传图片\">\n <el-avatar\n :size=\"50\"\n :src=\"form.avatar\"\n ></el-avatar>\n <input onClick=\"this.value = null\" @change=\"changeFile\" type=\"file\" accept=\"image/*\" />\n <div v-show=\"isUploading\" class=\"mini-im-file-percent\">\n <span>{{uploadPercent}}</span>\n </div>\n </div>\n </el-col>\n <el-col :span=\"6\"></el-col>\n </el-row>\n </el-form-item>\n <el-form-item label=\"机器人昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入机器人昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item type=\"textarea\" :rows=\"2\" label=\"机器人欢迎语\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.welcome\" placeholder=\"请输入机器人欢迎语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"无匹配知识库语\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.understand\" placeholder=\"请输入无法识别回复语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"超时结束提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.timeout_text\" placeholder=\"请输入会话超时结束提示\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"无人工在线提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.no_services\" placeholder=\"请输入无人工在线提示\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"长时间等待提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.loog_time_wait_text\" placeholder=\"请输入长时间等待提示语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"检索知识库热词\" :label-width=\"formLabelWidth\">\n <el-tag\n :key=\"tag\"\n v-for=\"tag in keyWordTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleKeyWordDel(tag, 'keyWordTagsInput')\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"showkeyWordTagsInput\"\n v-model=\"inputkeyWordTagValue\"\n ref=\"keyWordTagsInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n ></el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showTagInput('keyWordTagsInput')\">+ 新增</el-button>\n <div style=\"font-size:12px;\">* 该词库会在用户输入的时候去匹配检索提示</div>\n </el-form-item>\n <el-form-item label=\"转人工关键词\" :label-width=\"formLabelWidth\">\n <el-tag\n :key=\"tag\"\n v-for=\"tag in dynamicTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleKeyWordDel(tag, 'dynamicTagsInput')\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"showDynamicTagsInput\"\n v-model=\"inputDynamicTagValue\"\n ref=\"dynamicTagsInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n ></el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showTagInput('dynamicTagsInput')\">+ 新增</el-button>\n <div style=\"font-size:12px;\">* 匹配该关键词进入人工,系统已内置: \"人工\"</div>\n </el-form-item>\n <el-form-item v-show=\"formData.system != 1\" label=\"运行状态\" :label-width=\"formLabelWidth\">\n <el-switch v-model=\"robotSwitch\" active-color=\"#13ce66\" inactive-color=\"#ff4949\"></el-switch>\n </el-form-item>\n <el-form-item v-show=\"formData.system != 1\" label=\"匹配平台\" :label-width=\"formLabelWidth\">\n <el-select v-model=\"form.platform\" placeholder=\"请选择匹配平台\">\n <el-option\n :label=\"item.title\"\n :value=\"item.id\"\n :key=\"index\"\n v-for=\"(item, index) in $store.getters.platformConfig\"\n ></el-option>\n </el-select>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from 'axios'\nimport upload from '../../common/upload'\nexport default {\n name: \"mini-im-edit-robot\",\n data() {\n return {\n dynamicTags: [],\n keyWordTags: [],\n showkeyWordTagsInput: false,\n inputkeyWordTagValue: \"\",\n showDynamicTagsInput: false,\n inputDynamicTagValue: \"\",\n form: {\n nickname: \"\",\n avatar: \"\",\n welcome: \"\",\n understand: \"\",\n artificial: \"\",\n keyword: \"\",\n timeout_text: \"\",\n no_services: \"\",\n loog_time_wait_text: \"\",\n platform: 1,\n switch: 1\n },\n robotSwitch: true,\n formLabelWidth: \"120px\",\n isUploading: false,\n uploadPercent: \"\"\n };\n },\n props: {\n dialogFormVisible: Boolean,\n complete: Function,\n formData: Object\n },\n methods: {\n // 关闭\n closeModal() {\n this.$emit(\"update:dialogFormVisible\", false);\n },\n // 上传\n changeFile(file) {\n var fileData = file.target.files[0];\n upload({\n file: fileData,\n progress: (percent) => {\n this.isUploading = true;\n this.uploadPercent = percent + \"%\";\n },\n success: (url) => {\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.success(\"上传成功\");\n var imgUrl = this.$store.getters.uploadToken.host + \"/\" + url\n this.form.avatar = imgUrl;\n },\n error: (err)=>{\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.error(err.message);\n }\n });\n \n },\n // 删除标签\n handleKeyWordDel(tag, type) {\n if(type == \"dynamicTagsInput\"){\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);\n }\n else if(type == \"keyWordTagsInput\"){\n this.keyWordTags.splice(this.keyWordTags.indexOf(tag), 1);\n }\n },\n // 显示子标题输入框\n showTagInput(type) {\n if(type == \"dynamicTagsInput\"){\n this.showDynamicTagsInput = true;\n this.$nextTick(() => {\n this.$refs.dynamicTagsInput.$refs.input.focus();\n });\n }else if(type == \"keyWordTagsInput\"){\n this.showkeyWordTagsInput = true;\n this.$nextTick(() => {\n this.$refs.keyWordTagsInput.$refs.input.focus();\n });\n }\n \n },\n // 标签确定\n handleInputConfirm() {\n let inputDynamicTagValue = this.inputDynamicTagValue;\n let inputkeyWordTagValue = this.inputkeyWordTagValue;\n if (inputDynamicTagValue) {\n this.dynamicTags.push(inputDynamicTagValue);\n }\n if (inputkeyWordTagValue) {\n this.keyWordTags.push(inputkeyWordTagValue);\n }\n this.showkeyWordTagsInput = false;\n this.showDynamicTagsInput = false;\n this.inputDynamicTagValue = \"\";\n this.inputkeyWordTagValue = \"\";\n },\n // 保存\n save(){\n // 验证字段 !! 算了前端不验证了\n const loading = this.$loading({\n lock: true,\n text: \"保存中...\",\n spinner: \"el-icon-loading\",\n background: \"rgba(0, 0, 0, 0.5)\"\n });\n this.form.artificial = this.dynamicTags.join(\"|\");\n this.form.keyword = this.keyWordTags.join(\"|\");\n this.form.switch = this.robotSwitch ? 1 : 0\n axios\n .put(\"/robot\", this.form)\n .then(response => {\n try {\n console.log(response);\n loading.close();\n this.$message.success(\"修改成功\");\n this.closeModal();\n this.complete();\n } catch (e) {\n console.log(e);\n }\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message);\n });\n },\n },\n watch:{\n formData(){\n this.platformConfig = this.$store.getters.platformConfig\n this.form = Object.assign({},this.form, this.formData)\n if(this.formData.artificial != \"\") this.dynamicTags = this.formData.artificial.split(\"|\")\n if(this.formData.keyword != \"\") this.keyWordTags = this.formData.keyword.split(\"|\")\n this.robotSwitch = this.form.switch == 1 ? true : false\n }\n }\n};\n</script>\n<style scoped lang=\"stylus\">\n.mini-im-file-button {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n\n input {\n font-size: 100px;\n position: absolute;\n top: 0px;\n left: 0px;\n cursor: pointer;\n opacity 0\n }\n\n cursor: pointer;\n\n .mini-im-file-percent {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.5);\n color: #fff;\n font-size: 12px;\n }\n}\n\n.el-tag + .el-tag {\n margin-left: 10px;\n}\n\n.button-new-tag {\n margin-left: 10px;\n height: 32px;\n line-height: 30px;\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.input-new-tag {\n width: 150px;\n margin-left: 10px;\n vertical-align: bottom;\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./edit.vue?vue&type=template&id=b0d0c25e&scoped=true&\"\nimport script from \"./edit.vue?vue&type=script&lang=js&\"\nexport * from \"./edit.vue?vue&type=script&lang=js&\"\nimport style0 from \"./edit.vue?vue&type=style&index=0&id=b0d0c25e&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"b0d0c25e\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div class=\"mini-im-head\">\n <span>\n <i class=\"el-icon-picture-outline-round\"></i>\n <span slot=\"title\">机器人管理</span>\n </span>\n <el-button v-if=\"adminInfo.root == 1\" @click=\"createDialogFormVisible = true\" size=\"mini\">添 加</el-button>\n </div>\n <el-divider />\n <el-table\n :data=\"tableData\"\n style=\"width: 100%\"\n v-loading=\"loading\"\n >\n <el-table-column\n type=\"index\"\n width=\"60\">\n </el-table-column>\n <el-table-column\n prop=\"avatar\"\n label=\"头像\"\n width=\"80\">\n <template slot-scope=\"scope\">\n <el-avatar :size=\"40\" :src=\"scope.row.avatar\"></el-avatar>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"nickname\"\n label=\"机器人昵称\">\n </el-table-column>\n <el-table-column\n prop=\"welcome\"\n label=\"欢迎语\">\n </el-table-column>\n <el-table-column\n prop=\"understand\"\n label=\"无匹配知识库语\">\n </el-table-column>\n <el-table-column\n prop=\"timeout_text\"\n label=\"超时结束提示\">\n </el-table-column>\n <el-table-column\n prop=\"no_services\"\n label=\"无人工在线提示\">\n </el-table-column>\n <el-table-column\n prop=\"loog_time_wait_text\"\n label=\"长时间等待提示\">\n </el-table-column>\n <el-table-column\n prop=\"keyword\"\n label=\"检索知识库热词\">\n <template slot-scope=\"scope\">\n <span>{{scope.row.keyword.replace(/\\|/g, \" , \")}}</span>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"artificial\"\n label=\"转人工关键词\">\n <template slot-scope=\"scope\">\n <span>{{scope.row.artificial.replace(/\\|/g, \" , \")}}</span>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"switch\"\n align=\"center\"\n label=\"运行状态\">\n <template slot-scope=\"scope\">\n <el-tag type=\"success\" v-if=\"scope.row.switch == 1\">服务中</el-tag>\n <el-tag type=\"danger\" v-if=\"scope.row.switch == 0\">服务暂停</el-tag>\n </template>\n </el-table-column>\n <el-table-column\n align=\"center\"\n prop=\"platform\"\n label=\"服务平台\">\n <template slot-scope=\"scope\">\n <el-tag>{{$getPlatformItem(scope.row.platform).title}}</el-tag>\n </template>\n </el-table-column>\n\n <el-table-column\n prop=\"create_at\"\n label=\"创建时间\">\n <template slot-scope=\"scope\">\n {{$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\")}}\n </template>\n </el-table-column>\n <el-table-column\n v-if=\"adminInfo.root == 1\"\n prop=\"operating\"\n align=\"center\"\n label=\"操作\"\n width=\"150\"\n >\n <template slot-scope=\"scope\">\n <el-button\n size=\"mini\"\n @click=\"edit(scope.row)\">编 辑</el-button>\n <el-button\n size=\"mini\"\n type=\"danger\"\n @click=\"deleteRobot(scope.row)\">删 除</el-button>\n </template>\n </el-table-column>\n </el-table>\n <el-row type=\"flex\" style=\"margin-top: 20px;\" justify=\"space-between\">\n <span style=\"color:#666;font-size: 14px;\">当前有{{tableData.length}}个机器人</span>\n </el-row>\n <CreateDialog :complete=\"getRobotList\" :dialogFormVisible.sync=\"createDialogFormVisible\" />\n <EditDialog :complete=\"getRobotList\" :formData=\"editItem\" :dialogFormVisible.sync=\"editDialogFormVisible\" />\n </div>\n</template>\n\n<script>\nimport CreateDialog from \"./create\"\nimport EditDialog from \"./edit\"\nimport axios from 'axios'\nexport default {\n name: \"robot\",\n components: {\n CreateDialog,\n EditDialog\n },\n data() {\n return {\n createDialogFormVisible: false,\n editDialogFormVisible: false,\n loading: true,\n editItem: {}\n }\n },\n created(){\n setTimeout( ()=> this.getRobotList(), 500)\n },\n computed: {\n tableData(){\n return this.$store.getters.robots || []\n },\n adminInfo(){\n return this.$store.getters.adminInfo || {}\n }\n },\n methods: {\n // 删除\n deleteRobot(item){\n this.$confirm('您确定要删除该机器人吗? 删除后不可恢复!', '温馨提示!', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n center: true,\n type: 'warning'\n }).then(() => {\n axios.delete('/robot/' + item.id)\n .then(response => {\n console.log(response.data)\n this.$message.success(\"删除成功\")\n this.getRobotList()\n })\n .catch(error => {\n this.$message.error(error.response.data.message)\n });\n })\n },\n // 编辑\n edit(item){\n this.editItem = item\n this.editDialogFormVisible = true\n },\n // 获取数据\n getRobotList(){\n axios.get('/robot/list')\n .then(response => {\n this.loading = false\n this.$store.commit('onChangeRobos', response.data.data)\n })\n .catch(error => {\n this.loading = false\n this.$message.error(error.response.data.message)\n });\n },\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n .mini-im-head{\n height 30px\n display flex\n align-items center\n font-size 20px\n justify-content space-between\n color #666\n i{\n margin-right 5px\n }\n }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=dea0f158&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=dea0f158&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dea0f158\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=style&index=0&id=2e63f8e9&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=style&index=0&id=2e63f8e9&scoped=true&lang=stylus&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=b0d0c25e&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=b0d0c25e&scoped=true&lang=stylus&\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4d213a0b"],{"4f37":function(t,e,s){"use strict";s("aa77")("trim",(function(t){return function(){return t(this,3)}}))},a84c:function(t,e,s){"use strict";var n=s("ed2b"),a=s.n(n);a.a},aa77:function(t,e,s){var n=s("5ca1"),a=s("be13"),o=s("79e5"),i=s("fdef"),r="["+i+"]",c="​…",l=RegExp("^"+r+r+"*"),u=RegExp(r+r+"*$"),m=function(t,e,s){var a={},r=o((function(){return!!i[t]()||c[t]()!=c})),l=a[t]=r?e(p):i[t];s&&(a[s]=l),n(n.P+n.F*r,"String",a)},p=m.trim=function(t,e){return t=String(a(t)),1&e&&(t=t.replace(l,"")),2&e&&(t=t.replace(u,"")),t};t.exports=m},bd01:function(t,e,s){"use strict";s.r(e);var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"login"},[s("div",{staticClass:"form"},[s("div",{staticClass:"left"},[s("div",{staticClass:"tit"},[t._v("欢迎回来, 请登录!")]),s("span",[t._v("客服系统-工作台")]),s("div",{staticClass:"client"},[s("p",[t._v("客户端下载")]),s("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-download"},on:{click:t.dmac}},[t._v("Mac 版下载")]),s("el-button",{attrs:{type:"primary",size:"mini",icon:"el-icon-download"},on:{click:t.dwin}},[t._v("Windows 版下载")])],1)]),s("div",{staticClass:"right"},[s("el-form",{ref:"form",attrs:{model:t.form,onsubmit:"return false","label-width":"80px"}},[s("span",{staticClass:"lable"},[t._v("用户登录")]),s("el-input",{staticClass:"input",attrs:{placeholder:"请输入用户名","prefix-icon":"el-icon-user"},model:{value:t.form.username,callback:function(e){t.$set(t.form,"username",e)},expression:"form.username"}}),s("el-input",{staticClass:"input",attrs:{type:"password",placeholder:"请输入密码","prefix-icon":"el-icon-unlock","show-password":""},model:{value:t.form.password,callback:function(e){t.$set(t.form,"password",e)},expression:"form.password"}}),s("el-row",{staticClass:"btn-group",attrs:{type:"flex"}},[s("el-button",{attrs:{"native-type":"submit",size:"small",type:"primary"},on:{click:t.login}},[t._v("登录")]),s("el-button",{attrs:{size:"small",type:"info"}},[t._v("重置")])],1)],1)],1)])])},a=[],o=(s("4f37"),s("bc3a")),i=s.n(o),r={name:"login",data:function(){return{form:{auth_type:1,username:"",password:""}}},mounted:function(){document.title="用户登录"},methods:{login:function(){var t=this;""!=this.form.username.trim()?""!=this.form.password.trim()?i.a.post("/auth/login",this.form).then((function(e){t.$store.commit("onChangeAdminInfo",e.data.data),t.$store.commit("onIsLogin",!0),localStorage.setItem("Authorization",e.data.data.token),t.$message({message:"登录成功!",type:"success"}),t.$router.push({path:"/index"})})).catch((function(e){console.log(e),t.$message.error(e.response.data.message)})):this.$message.error("密码不能为空!"):this.$message.error("用户名不能为空!")},dmac:function(){window.open("http://kf.aissz.com:666/static/app/mac-0.0.1.dmg")},dwin:function(){window.open("http://kf.aissz.com:666/static/app/win-0.0.1.exe")}}},c=r,l=(s("a84c"),s("2877")),u=Object(l["a"])(c,n,a,!1,null,"11ae6484",null);e["default"]=u.exports},ed2b:function(t,e,s){},fdef:function(t,e){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
//# sourceMappingURL=chunk-4d213a0b.fb158f44.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es6.string.trim.js","webpack:///./src/views/auth/login.vue?fc67","webpack:///./node_modules/core-js/modules/_string-trim.js","webpack:///./src/views/auth/login.vue?df22","webpack:///src/views/auth/login.vue","webpack:///./src/views/auth/login.vue?767d","webpack:///./src/views/auth/login.vue","webpack:///./node_modules/core-js/modules/_string-ws.js"],"names":["$trim","this","$export","defined","fails","spaces","space","non","ltrim","RegExp","rtrim","exporter","KEY","exec","ALIAS","exp","FORCE","fn","trim","P","F","string","TYPE","String","replace","module","exports","render","_vm","_h","$createElement","_c","_self","staticClass","_v","attrs","on","dmac","dwin","ref","form","model","value","callback","$$v","$set","expression","login","staticRenderFns","name","data","auth_type","username","password","mounted","document","title","methods","localStorage","setItem","response","token","message","type","console","log","error","$message","window","open","component"],"mappings":"kHAEA,EAAQ,OAAR,CAA0B,QAAQ,SAAUA,GAC1C,OAAO,WACL,OAAOA,EAAMC,KAAM,Q,kCCJvB,yBAAyjB,EAAG,G,qBCA5jB,IAAIC,EAAU,EAAQ,QAClBC,EAAU,EAAQ,QAClBC,EAAQ,EAAQ,QAChBC,EAAS,EAAQ,QACjBC,EAAQ,IAAMD,EAAS,IACvBE,EAAM,KACNC,EAAQC,OAAO,IAAMH,EAAQA,EAAQ,KACrCI,EAAQD,OAAOH,EAAQA,EAAQ,MAE/BK,EAAW,SAAUC,EAAKC,EAAMC,GAClC,IAAIC,EAAM,GACNC,EAAQZ,GAAM,WAChB,QAASC,EAAOO,MAAUL,EAAIK,MAAUL,KAEtCU,EAAKF,EAAIH,GAAOI,EAAQH,EAAKK,GAAQb,EAAOO,GAC5CE,IAAOC,EAAID,GAASG,GACxBf,EAAQA,EAAQiB,EAAIjB,EAAQkB,EAAIJ,EAAO,SAAUD,IAM/CG,EAAOP,EAASO,KAAO,SAAUG,EAAQC,GAI3C,OAHAD,EAASE,OAAOpB,EAAQkB,IACb,EAAPC,IAAUD,EAASA,EAAOG,QAAQhB,EAAO,KAClC,EAAPc,IAAUD,EAASA,EAAOG,QAAQ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AAUC,GAAMhB,EAAIiB,KAAKjB,EAAIY,KAAM,WAAYI,IAAME,WAAW,mBAAmBf,EAAG,SAAS,CAACE,YAAY,YAAYE,MAAM,CAAC,KAAO,SAAS,CAACJ,EAAG,YAAY,CAACI,MAAM,CAAC,cAAc,SAAS,KAAO,QAAQ,KAAO,WAAWC,GAAG,CAAC,MAAQR,EAAImB,QAAQ,CAACnB,EAAIM,GAAG,QAAQH,EAAG,YAAY,CAACI,MAAM,CAAC,KAAO,QAAQ,KAAO,SAAS,CAACP,EAAIM,GAAG,SAAS,IAAI,IAAI,QACp+Cc,EAAkB,G,iCCuCtB,GACEC,KAAM,QACNC,KAFF,WAGI,MAAJ,CACMV,KAAM,CACJW,UAAW,EACXC,SAAU,GACVC,SAAU,MAIhBC,QAXF,WAYIC,SAASC,MAAQ,QAEnBC,QAAS,CAEPV,MAFJ,WAEA,WAEA,8BAIA,8BAIM,EAAN,gCACA,kBACQ,EAAR,+CACQ,EAAR,8BACQW,aAAaC,QAAQ,gBAAiBC,EAASV,KAAKA,KAAKW,OACzD,EAAR,UACUC,QAAS,QACTC,KAAM,YAER,EAAR,iCAEA,mBACQC,QAAQC,IAAIC,GACZ,EAAR,2CAhBQjE,KAAKkE,SAASD,MAAM,WAJpBjE,KAAKkE,SAASD,MAAM,aAuBxB7B,KA5BJ,WA6BM+B,OAAOC,KAAK,qDAEd/B,KA/BJ,WAgCM8B,OAAOC,KAAK,uDCtF+W,I,wBCQ7XC,EAAY,eACd,EACA3C,EACAqB,GACA,EACA,KACA,WACA,MAIa,aAAAsB,E,mDCnBf7C,EAAOC,QAAU","file":"js/chunk-4d213a0b.fb158f44.js","sourcesContent":["'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&id=11ae6484&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=style&index=0&id=11ae6484&lang=stylus&scoped=true&\"","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"login\"},[_c('div',{staticClass:\"form\"},[_c('div',{staticClass:\"left\"},[_c('div',{staticClass:\"tit\"},[_vm._v(\"欢迎回来, 请登录!\")]),_c('span',[_vm._v(\"客服系统-工作台\")]),_c('div',{staticClass:\"client\"},[_c('p',[_vm._v(\"客户端下载\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\",\"icon\":\"el-icon-download\"},on:{\"click\":_vm.dmac}},[_vm._v(\"Mac 版下载\")]),_c('el-button',{attrs:{\"type\":\"primary\",\"size\":\"mini\",\"icon\":\"el-icon-download\"},on:{\"click\":_vm.dwin}},[_vm._v(\"Windows 版下载\")])],1)]),_c('div',{staticClass:\"right\"},[_c('el-form',{ref:\"form\",attrs:{\"model\":_vm.form,\"onsubmit\":\"return false\",\"label-width\":\"80px\"}},[_c('span',{staticClass:\"lable\"},[_vm._v(\"用户登录\")]),_c('el-input',{staticClass:\"input\",attrs:{\"placeholder\":\"请输入用户名\",\"prefix-icon\":\"el-icon-user\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}}),_c('el-input',{staticClass:\"input\",attrs:{\"type\":\"password\",\"placeholder\":\"请输入密码\",\"prefix-icon\":\"el-icon-unlock\",\"show-password\":\"\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}}),_c('el-row',{staticClass:\"btn-group\",attrs:{\"type\":\"flex\"}},[_c('el-button',{attrs:{\"native-type\":\"submit\",\"size\":\"small\",\"type\":\"primary\"},on:{\"click\":_vm.login}},[_vm._v(\"登录\")]),_c('el-button',{attrs:{\"size\":\"small\",\"type\":\"info\"}},[_vm._v(\"重置\")])],1)],1)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"login\">\n <div class=\"form\">\n <div class=\"left\">\n <div class=\"tit\">欢迎回来, 请登录!</div>\n <span>客服系统-工作台</span>\n <div class=\"client\">\n <p>客户端下载</p>\n <el-button @click=\"dmac\" type=\"primary\" size=\"mini\" icon=\"el-icon-download\">Mac 版下载</el-button>\n <el-button @click=\"dwin\" type=\"primary\" size=\"mini\" icon=\"el-icon-download\">Windows 版下载</el-button>\n </div>\n </div>\n <div class=\"right\">\n <el-form ref=\"form\" :model=\"form\" onsubmit=\"return false\" label-width=\"80px\">\n <span class=\"lable\">用户登录</span>\n <el-input\n class=\"input\"\n placeholder=\"请输入用户名\"\n prefix-icon=\"el-icon-user\"\n v-model=\"form.username\">\n </el-input>\n <el-input\n class=\"input\"\n type=\"password\"\n placeholder=\"请输入密码\"\n prefix-icon=\"el-icon-unlock\"\n show-password\n v-model=\"form.password\">\n </el-input>\n <el-row type=\"flex\" class=\"btn-group\">\n <el-button native-type=\"submit\" @click=\"login\" size=\"small\" type=\"primary\">登录</el-button>\n <el-button size=\"small\" type=\"info\">重置</el-button>\n </el-row>\n </el-form>\n </div>\n </div>\n </div>\n</template>\n<script>\nimport axios from 'axios'\nexport default {\n name: 'login',\n data(){\n return{\n form: {\n auth_type: 1,\n username: \"\",\n password: \"\"\n }\n }\n },\n mounted(){\n document.title = \"用户登录\"\n },\n methods: {\n // login\n login(){\n // valid\n if(this.form.username.trim() == \"\"){\n this.$message.error('用户名不能为空!')\n return\n }\n if(this.form.password.trim() == \"\"){\n this.$message.error('密码不能为空!')\n return\n }\n axios.post('/auth/login', this.form)\n .then(response => {\n this.$store.commit(\"onChangeAdminInfo\", response.data.data)\n this.$store.commit(\"onIsLogin\", true)\n localStorage.setItem(\"Authorization\", response.data.data.token)\n this.$message({\n message: '登录成功!',\n type: 'success'\n });\n this.$router.push({ path: '/index'})\n })\n .catch(error => {\n console.log(error)\n this.$message.error(error.response.data.message)\n });\n },\n dmac(){\n window.open(\"http://kf.aissz.com:666/static/app/mac-0.0.1.dmg\")\n },\n dwin(){\n window.open(\"http://kf.aissz.com:666/static/app/win-0.0.1.exe\")\n }\n }\n}\n</script>\n<style lang=\"stylus\" scoped>\n .login{\n display flex\n width 100%\n height 100%\n background url('../../assets/login_bg.jpg') center bottom no-repeat;\n background-size cover\n .form{\n display flex\n overflow hidden\n width 600px;\n height 300px;\n background-color #fff\n margin auto\n border-radius 5px;\n .left{\n width 350px\n height 100%\n padding 20px;\n box-sizing border-box\n background url('../../assets/login_bg1.jpg') center bottom no-repeat;\n background-size cover\n font-size 18px;\n color #fff\n display flex\n flex-direction column\n justify-content center\n .tit{\n margin-top: 50px;\n border-bottom 1px solid #fff\n }\n div{\n width 300px\n padding-bottom 10px;\n margin-bottom 10px;\n }\n span{\n font-size 14px;\n }\n .client{\n margin-top: 80px;\n button{\n margin-top 10px\n }\n }\n }\n .right{\n padding 20px;\n padding-top: 50px;\n .input{\n margin-bottom 20px;\n }\n .btn-group{\n margin-top: 15px;\n }\n .lable{\n font-size 18px;\n color: #606266;\n margin-bottom 15px;\n display block\n }\n }\n }\n }\n</style>\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./login.vue?vue&type=template&id=11ae6484&scoped=true&\"\nimport script from \"./login.vue?vue&type=script&lang=js&\"\nexport * from \"./login.vue?vue&type=script&lang=js&\"\nimport style0 from \"./login.vue?vue&type=style&index=0&id=11ae6484&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"11ae6484\",\n null\n \n)\n\nexport default component.exports","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-615380b5"],{"0219":function(e,t,a){},"3fe6":function(e,t,a){},4218:function(e,t,a){"use strict";var o=a("0219"),i=a.n(o);i.a},"4f37":function(e,t,a){"use strict";a("aa77")("trim",(function(e){return function(){return e(this,3)}}))},aa77:function(e,t,a){var o=a("5ca1"),i=a("be13"),l=a("79e5"),n=a("fdef"),r="["+n+"]",s="​…",c=RegExp("^"+r+r+"*"),m=RegExp(r+r+"*$"),d=function(e,t,a){var i={},r=l((function(){return!!n[e]()||s[e]()!=s})),c=i[e]=r?t(u):n[e];a&&(i[a]=c),o(o.P+o.F*r,"String",i)},u=d.trim=function(e,t){return e=String(i(e)),1&t&&(e=e.replace(c,"")),2&t&&(e=e.replace(m,"")),e};e.exports=d},aedf:function(e,t,a){"use strict";a.r(t);var o=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"mini-im-head"},[a("span",[a("i",{staticClass:"el-icon-headset"}),a("span",{attrs:{slot:"title"},slot:"title"},[e._v("客服管理")])]),1==e.adminInfo.root?a("el-button",{attrs:{size:"mini"},on:{click:function(t){e.createDialogFormVisible=!0}}},[e._v("添 加")]):e._e()],1),a("el-divider"),a("div",{staticClass:"search"},[a("el-row",{attrs:{gutter:20}},[a("el-col",{attrs:{span:2.1}},[a("el-form",{ref:"form",attrs:{"label-width":"120px"}},[a("el-form-item",{attrs:{label:"按关键字:"}})],1)],1),a("el-col",{attrs:{span:5}},[a("el-input",{attrs:{placeholder:"请输入关键词",clearable:"","prefix-icon":"el-icon-search"},on:{change:e.changeInput,clear:e.clearKeyword},model:{value:e.tableData.keyword,callback:function(t){e.$set(e.tableData,"keyword",t)},expression:"tableData.keyword"}})],1),a("el-col",{attrs:{span:3}},[a("el-button",{on:{click:e.search}},[e._v("查 找")])],1)],1)],1),a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:e.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:e.tableData.list}},[a("el-table-column",{attrs:{type:"index",index:e.indexMethod,width:"60"}}),a("el-table-column",{attrs:{prop:"avatar",label:"头像",width:"120"},scopedSlots:e._u([{key:"default",fn:function(t){return[a("el-avatar",{attrs:{size:40,src:t.row.avatar||e.$store.state.avatar}})]}}])}),a("el-table-column",{attrs:{prop:"username",label:"客服账号"}}),a("el-table-column",{attrs:{prop:"nickname",label:"客服昵称"}}),a("el-table-column",{attrs:{prop:"online",align:"center",label:"在线状态"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.online?a("el-tag",{attrs:{type:"success"}},[e._v("在线")]):e._e(),2==t.row.online?a("el-tag",{attrs:{type:"warning"}},[e._v("繁忙")]):e._e(),0==t.row.online?a("el-tag",{attrs:{type:"info"}},[e._v("离线")]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"root",align:"center",label:"角色"},scopedSlots:e._u([{key:"default",fn:function(t){return[1==t.row.root?a("el-tag",{attrs:{effect:"dark",type:"warning"}},[e._v("超级管理")]):e._e(),0==t.row.root?a("el-tag",[e._v("客服人员")]):e._e()]}}])}),a("el-table-column",{attrs:{prop:"last_activity",label:"最后在线时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.$formatUnixDate(t.row.last_activity,"YYYY/MM/DD HH:mm"))+"\n ")]}}])}),a("el-table-column",{attrs:{prop:"create_at",label:"创建时间"},scopedSlots:e._u([{key:"default",fn:function(t){return[e._v("\n "+e._s(e.$formatUnixDate(t.row.create_at,"YYYY/MM/DD"))+"\n ")]}}])}),1==e.adminInfo.root?a("el-table-column",{attrs:{prop:"operating",align:"center",width:"150",label:"操作"},scopedSlots:e._u([{key:"default",fn:function(t){return[0==t.row.root?a("el-button",{attrs:{size:"mini"},on:{click:function(a){return e.edit(t.row)}}},[e._v("编 辑")]):e._e(),0==t.row.root?a("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(a){return e.deleteAdmin(t.row)}}},[e._v("删 除")]):e._e()]}}],null,!1,1757062568)}):e._e()],1),a("el-row",{staticStyle:{"margin-top":"20px"},attrs:{type:"flex",justify:"space-between"}},[a("span",{staticStyle:{color:"#666","font-size":"14px"}},[e._v("共找到"+e._s(e.tableData.total)+"条数据")]),a("el-pagination",{attrs:{background:"",layout:"sizes, prev, pager, next","current-page":e.tableData.page_on,"page-sizes":[5,10,15,20],total:e.tableData.total},on:{"size-change":e.handleSizeChange,"current-change":e.handleCurrentChange}})],1),a("CreateDialog",{attrs:{complete:e.getAdmins,dialogFormVisible:e.createDialogFormVisible},on:{"update:dialogFormVisible":function(t){e.createDialogFormVisible=t},"update:dialog-form-visible":function(t){e.createDialogFormVisible=t}}}),a("EditDialog",{attrs:{formData:e.editItem,complete:e.getAdmins,dialogFormVisible:e.editDialogFormVisible},on:{"update:dialogFormVisible":function(t){e.editDialogFormVisible=t},"update:dialog-form-visible":function(t){e.editDialogFormVisible=t}}})],1)},i=[],l=(a("4f37"),function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{width:"600px",title:"添加客服","show-close":!1,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{attrs:{model:e.form}},[a("el-form-item",{attrs:{label:"客服账号","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入客服账号",autocomplete:"off"},model:{value:e.form.username,callback:function(t){e.$set(e.form,"username",t)},expression:"form.username"}})],1),a("el-form-item",{attrs:{label:"客服昵称","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入客服昵称",autocomplete:"off"},model:{value:e.form.nickname,callback:function(t){e.$set(e.form,"nickname",t)},expression:"form.nickname"}})],1),a("el-form-item",{attrs:{label:"登录密码","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入登录密码",autocomplete:"off"},model:{value:e.form.password,callback:function(t){e.$set(e.form,"password",t)},expression:"form.password"}})],1),a("el-form-item",{attrs:{label:"确认密码","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入确认密码",autocomplete:"off"},model:{value:e.cCassword,callback:function(t){e.cCassword=t},expression:"cCassword"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.closeModal}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1)],1)}),n=[],r=a("bc3a"),s=a.n(r),c={name:"mini-im-create-admin",data:function(){return{form:{username:"",nickname:"",password:""},cCassword:"",formLabelWidth:"80px"}},props:{dialogFormVisible:Boolean,complete:Function},mounted:function(){},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},save:function(){var e=this;if(""!=this.form.username.trim())if(""!=this.form.nickname.trim())if(""!=this.form.password.trim())if(this.form.password.trim()==this.cCassword.trim()){var t=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});s.a.post("/admin",this.form).then((function(a){try{console.log(a),t.close(),e.$message.success("添加成功"),e.closeModal(),e.resize(),e.complete(1)}catch(o){console.log(o)}})).catch((function(a){t.close(),e.$message.error(a.response.data.message)}))}else this.$message.error("两次密码不一致!");else this.$message.error("密码不能为空!");else this.$message.error("昵称不能为空!");else this.$message.error("账号不能为空!")},resize:function(){this.cCassword="",this.form={username:"",nickname:"",password:""}}}},m=c,d=a("2877"),u=Object(d["a"])(m,l,n,!1,null,"56150a82",null),f=u.exports,p=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("el-dialog",{attrs:{width:"600px",title:"修改客服资料","show-close":!1,visible:e.dialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(t){e.dialogFormVisible=t}}},[a("el-form",{attrs:{model:e.form}},[a("el-form-item",{attrs:{label:"头像","label-width":e.formLabelWidth}},[a("el-row",{attrs:{gutter:10}},[a("el-col",{attrs:{span:3}},[a("div",{staticClass:"mini-im-file-button",attrs:{title:"点击上传图片"}},[a("el-avatar",{attrs:{size:50,src:e.form.avatar||e.$store.state.avatar}}),a("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:e.changeFile}}),a("div",{directives:[{name:"show",rawName:"v-show",value:e.isUploading,expression:"isUploading"}],staticClass:"mini-im-file-percent"},[a("span",[e._v(e._s(e.uploadPercent))])])],1)]),a("el-col",{attrs:{span:6}})],1)],1),a("el-form-item",{attrs:{label:"客服账号","label-width":e.formLabelWidth}},[a("span",[e._v(e._s(e.form.username))])]),a("el-form-item",{attrs:{label:"客服昵称","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入客服昵称",autocomplete:"off"},model:{value:e.form.nickname,callback:function(t){e.$set(e.form,"nickname",t)},expression:"form.nickname"}})],1),a("el-form-item",{attrs:{label:"手机号","label-width":e.formLabelWidth}},[a("el-input",{attrs:{placeholder:"请输入登录密码",autocomplete:"off"},model:{value:e.form.phone,callback:function(t){e.$set(e.form,"phone",t)},expression:"form.phone"}})],1),a("el-form-item",{attrs:{label:"自动回复语","label-width":e.formLabelWidth}},[a("el-input",{attrs:{type:"textarea",placeholder:"请输入自动回复语,不支持emoji,请使用简单语句描述",autocomplete:"off"},model:{value:e.form.auto_reply,callback:function(t){e.$set(e.form,"auto_reply",t)},expression:"form.auto_reply"}})],1)],1),a("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[a("el-button",{on:{click:e.closeModal}},[e._v("取 消")]),a("el-button",{attrs:{type:"primary"},on:{click:e.save}},[e._v("保 存")])],1)],1)},g=[],h=a("fb21"),b={name:"mini-im-create-admin",data:function(){return{form:{phone:"",nickname:"",avatar:"",auto_reply:""},formLabelWidth:"90px",isUploading:!1,uploadPercent:""}},props:{dialogFormVisible:Boolean,complete:Function,formData:Object},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},changeFile:function(e){var t=this,a=e.target.files[0];Object(h["a"])({file:a,progress:function(e){t.isUploading=!0,t.uploadPercent=e+"%"},success:function(e){t.isUploading=!1,t.uploadPercent="",t.$message.success("上传成功");var a=t.$store.getters.uploadToken.host+"/"+e;t.form.avatar=a},error:function(e){t.isUploading=!1,t.uploadPercent="",t.$message.error(e.message)}})},save:function(){var e=this,t=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});s.a.put("/admin",this.form).then((function(a){try{t.close(),e.$message.success("修改成功"),e.closeModal(),e.complete(1)}catch(o){console.log(o,a)}})).catch((function(a){t.close(),e.$message.error(a.response.data.message)}))}},watch:{formData:function(){this.form=Object.assign({},this.form,this.formData)}}},v=b,w=(a("4218"),Object(d["a"])(v,p,g,!1,null,"3e845274",null)),_=w.exports,k={name:"admins",components:{CreateDialog:f,EditDialog:_},data:function(){return{tableData:{list:[],page_on:1,page_size:10,keyword:"",total:0},createDialogFormVisible:!1,editDialogFormVisible:!1,loading:!0,editItem:{}}},computed:{adminInfo:function(){return this.$store.getters.adminInfo}},created:function(){var e=this;setTimeout((function(){return e.getAdmins(1)}),500)},methods:{indexMethod:function(e){return(this.tableData.page_on-1)*this.tableData.page_size+e+1},deleteAdmin:function(e){var t=this;this.$confirm("您确定要删除该客服吗? 删除后不可恢复!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){s.a.delete("/admin/"+e.id).then((function(e){console.log(e.data),t.$message.success("删除成功"),t.getAdmins(1)})).catch((function(e){t.$message.error(e.response.data.message)}))}))},edit:function(e){this.editItem=e,this.editDialogFormVisible=!0},handleSizeChange:function(e){this.tableData.page_size=e,this.getAdmins()},handleCurrentChange:function(e){this.tableData.page_on=e,this.getAdmins()},clearKeyword:function(){this.getAdmins(1)},changeInput:function(){""==this.tableData.keyword&&this.getAdmins(1)},search:function(){this.tableData.keyword=this.tableData.keyword.trim(),this.tableData.keyword&&this.getAdmins(1)},getAdmins:function(e){var t=this;e&&(this.tableData.page_on=e);var a=this.tableData,o=a.page_on,i=a.page_size,l=a.keyword;s.a.post("/admin/list",{page_on:o,page_size:i,keyword:l,online:3}).then((function(e){t.loading=!1,t.tableData=e.data.data})).catch((function(e){t.loading=!1,t.$message.error(e.response.data.message)}))}}},y=k,D=(a("b4a5"),Object(d["a"])(y,o,i,!1,null,"0aee8f9a",null));t["default"]=D.exports},b4a5:function(e,t,a){"use strict";var o=a("3fe6"),i=a.n(o);i.a},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"}}]);
//# sourceMappingURL=chunk-615380b5.8e004b72.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/customer/edit.vue?f087","webpack:///./node_modules/core-js/modules/es6.string.trim.js","webpack:///./node_modules/core-js/modules/_string-trim.js","webpack:///./src/views/customer/index.vue?cf9f","webpack:///./src/views/customer/create.vue?dff4","webpack:///src/views/customer/create.vue","webpack:///./src/views/customer/create.vue?c0ff","webpack:///./src/views/customer/create.vue","webpack:///./src/views/customer/edit.vue?ccfb","webpack:///src/views/customer/edit.vue","webpack:///./src/views/customer/edit.vue?939e","webpack:///./src/views/customer/edit.vue","webpack:///src/views/customer/index.vue","webpack:///./src/views/customer/index.vue?3888","webpack:///./src/views/customer/index.vue","webpack:///./src/views/customer/index.vue?ae5a","webpack:///./node_modules/core-js/modules/_string-ws.js"],"names":["$trim","this","$export","defined","fails","spaces","space","non","ltrim","RegExp","rtrim","exporter","KEY","exec","ALIAS","exp","FORCE","fn","trim","P","F","string","TYPE","String","replace","module","exports","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","adminInfo","root","on","$event","createDialogFormVisible","_e","ref","changeInput","clearKeyword","model","value","tableData","callback","$$v","$set","expression","search","directives","name","rawName","staticStyle","list","indexMethod","scopedSlots","_u","key","scope","row","avatar","$store","state","online","_s","$formatUnixDate","last_activity","create_at","edit","deleteAdmin","total","page_on","handleSizeChange","handleCurrentChange","getAdmins","editItem","editDialogFormVisible","staticRenderFns","dialogFormVisible","form","formLabelWidth","cCassword","closeModal","save","data","props","Boolean","complete","Function","mounted","methods","$emit","lock","text","spinner","background","$message","error","resize","username","nickname","password","component","changeFile","uploadPercent","phone","auto_reply","isUploading","formData","Object","fileData","file","target","files","imgUrl","watch","assign","components","CreateDialog","EditDialog","page_size","keyword","loading","computed","getters","created","setTimeout","index","$confirm","confirmButtonText","cancelButtonText","center","type","item","val"],"mappings":"yIAAA,yBAAwjB,EAAG,G,oCCE3jB,EAAQ,OAAR,CAA0B,QAAQ,SAAUA,GAC1C,OAAO,WACL,OAAOA,EAAMC,KAAM,Q,qBCJvB,IAAIC,EAAU,EAAQ,QAClBC,EAAU,EAAQ,QAClBC,EAAQ,EAAQ,QAChBC,EAAS,EAAQ,QACjBC,EAAQ,IAAMD,EAAS,IACvBE,EAAM,KACNC,EAAQC,OAAO,IAAMH,EAAQA,EAAQ,KACrCI,EAAQD,OAAOH,EAAQA,EAAQ,MAE/BK,EAAW,SAAUC,EAAKC,EAAMC,GAClC,IAAIC,EAAM,GACNC,EAAQZ,GAAM,WAChB,QAASC,EAAOO,MAAUL,EAAIK,MAAUL,KAEtCU,EAAKF,EAAIH,GAAOI,EAAQH,EAAKK,GAAQb,EAAOO,GAC5CE,IAAOC,EAAID,GAASG,GACxBf,EAAQA,EAAQiB,EAAIjB,EAAQkB,EAAIJ,EAAO,SAAUD,IAM/CG,EAAOP,EAASO,KAAO,SAAUG,EAAQC,GAI3C,OAHAD,EAASE,OAAOpB,EAAQkB,IACb,EAAPC,IAAUD,EAASA,EAAOG,QAAQhB,EAAO,KAClC,EAAPc,IAAUD,EAASA,EAAOG,QAAQd,EAAO,KACtCW,GAGTI,EAAOC,QAAUf,G,yCC7BjB,IA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AG/BJ,iBA9BJ,SA8BA,GACM5E,KAAK+C,UAAU6E,UAAYc,EAC3B1I,KAAK8E,aAGPD,oBAnCJ,SAmCA,GACM7E,KAAK+C,UAAU4B,QAAU+D,EACzB1I,KAAK8E,aAGPlC,aAxCJ,WAyCM5C,KAAK8E,UAAU,IAGjBnC,YA5CJ,WA6CA,4BACQ3C,KAAK8E,UAAU,IAInB1B,OAlDJ,WAmDMpD,KAAK+C,UAAU8E,QAAU7H,KAAK+C,UAAU8E,QAAQ5G,OACtD,wBACMjB,KAAK8E,UAAU,IAGjBA,UAxDJ,SAwDA,cACA,8BADA,MAEA,iBAFA,EAEA,UAFA,EAEA,YAFA,EAEA,QACM,EAAN,iEACA,kBACQ,EAAR,WACQ,EAAR,yBAEA,mBACQ,EAAR,WACQ,EAAR,8CC3NiY,ICQ7X,G,UAAY,eACd,EACApD,EACAuD,GACA,EACA,KACA,WACA,OAIa,e,2CCnBf,yBAAyjB,EAAG,G,0CCA5jBzD,EAAOC,QAAU","file":"js/chunk-487f5713.773eab50.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=0a24570c&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=0a24570c&scoped=true&lang=stylus&\"","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"mini-im-head\"},[_c('span',[_c('i',{staticClass:\"el-icon-headset\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"客服管理\")])]),(_vm.adminInfo.root == 1)?_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.createDialogFormVisible = true}}},[_vm._v(\"添 加\")]):_vm._e()],1),_c('el-divider'),_c('div',{staticClass:\"search\"},[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":2.1}},[_c('el-form',{ref:\"form\",attrs:{\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":\"按关键字:\"}})],1)],1),_c('el-col',{attrs:{\"span\":5}},[_c('el-input',{attrs:{\"placeholder\":\"请输入关键词\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-search\"},on:{\"change\":_vm.changeInput,\"clear\":_vm.clearKeyword},model:{value:(_vm.tableData.keyword),callback:function ($$v) {_vm.$set(_vm.tableData, \"keyword\", $$v)},expression:\"tableData.keyword\"}})],1),_c('el-col',{attrs:{\"span\":3}},[_c('el-button',{on:{\"click\":_vm.search}},[_vm._v(\"查 找\")])],1)],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData.list}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"index\":_vm.indexMethod,\"width\":\"60\"}}),_c('el-table-column',{attrs:{\"prop\":\"avatar\",\"label\":\"头像\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-avatar',{attrs:{\"size\":40,\"src\":scope.row.avatar || _vm.$store.state.avatar}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"username\",\"label\":\"客服账号\"}}),_c('el-table-column',{attrs:{\"prop\":\"nickname\",\"label\":\"客服昵称\"}}),_c('el-table-column',{attrs:{\"prop\":\"online\",\"align\":\"center\",\"label\":\"在线状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.online == 1)?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"在线\")]):_vm._e(),(scope.row.online == 2)?_c('el-tag',{attrs:{\"type\":\"warning\"}},[_vm._v(\"繁忙\")]):_vm._e(),(scope.row.online == 0)?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(\"离线\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"root\",\"align\":\"center\",\"label\":\"角色\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.root == 1)?_c('el-tag',{attrs:{\"effect\":\"dark\",\"type\":\"warning\"}},[_vm._v(\"超级管理\")]):_vm._e(),(scope.row.root == 0)?_c('el-tag',[_vm._v(\"客服人员\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"last_activity\",\"label\":\"最后在线时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.$formatUnixDate(scope.row.last_activity, \"YYYY/MM/DD HH:mm\"))+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"create_at\",\"label\":\"创建时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\"))+\"\\n \")]}}])}),(_vm.adminInfo.root == 1)?_c('el-table-column',{attrs:{\"prop\":\"operating\",\"align\":\"center\",\"width\":\"150\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.root == 0)?_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.edit(scope.row)}}},[_vm._v(\"编 辑\")]):_vm._e(),(scope.row.root == 0)?_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.deleteAdmin(scope.row)}}},[_vm._v(\"删 除\")]):_vm._e()]}}],null,false,1757062568)}):_vm._e()],1),_c('el-row',{staticStyle:{\"margin-top\":\"20px\"},attrs:{\"type\":\"flex\",\"justify\":\"space-between\"}},[_c('span',{staticStyle:{\"color\":\"#666\",\"font-size\":\"14px\"}},[_vm._v(\"共找到\"+_vm._s(_vm.tableData.total)+\"条数据\")]),_c('el-pagination',{attrs:{\"background\":\"\",\"layout\":\"sizes, prev, pager, next\",\"current-page\":_vm.tableData.page_on,\"page-sizes\":[5, 10, 15, 20],\"total\":_vm.tableData.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('CreateDialog',{attrs:{\"complete\":_vm.getAdmins,\"dialogFormVisible\":_vm.createDialogFormVisible},on:{\"update:dialogFormVisible\":function($event){_vm.createDialogFormVisible=$event},\"update:dialog-form-visible\":function($event){_vm.createDialogFormVisible=$event}}}),_c('EditDialog',{attrs:{\"formData\":_vm.editItem,\"complete\":_vm.getAdmins,\"dialogFormVisible\":_vm.editDialogFormVisible},on:{\"update:dialogFormVisible\":function($event){_vm.editDialogFormVisible=$event},\"update:dialog-form-visible\":function($event){_vm.editDialogFormVisible=$event}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"600px\",\"title\":\"添加客服\",\"show-close\":false,\"visible\":_vm.dialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"客服账号\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入客服账号\",\"autocomplete\":\"off\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}})],1),_c('el-form-item',{attrs:{\"label\":\"客服昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入客服昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"登录密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入登录密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"确认密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入确认密码\",\"autocomplete\":\"off\"},model:{value:(_vm.cCassword),callback:function ($$v) {_vm.cCassword=$$v},expression:\"cCassword\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog width=\"600px\" title=\"添加客服\" :show-close=\"false\" :visible.sync=\"dialogFormVisible\" :close-on-click-modal=\"false\">\n <el-form :model=\"form\">\n <el-form-item label=\"客服账号\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.username\" placeholder=\"请输入客服账号\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"客服昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入客服昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"登录密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.password\" placeholder=\"请输入登录密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"确认密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"cCassword\" placeholder=\"请输入确认密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from \"axios\";\nexport default {\n name: 'mini-im-create-admin',\n data(){\n return {\n form: {\n username: '',\n nickname: '',\n password: ''\n },\n cCassword: '',\n formLabelWidth: \"80px\"\n }\n },\n props:{\n dialogFormVisible: Boolean,\n complete: Function\n },\n mounted(){\n },\n methods: {\n // 关闭\n closeModal(){\n this.$emit('update:dialogFormVisible', false);\n },\n // 保存\n save() {\n // 验证一下密码字段\n if(this.form.username.trim() == \"\"){\n this.$message.error(\"账号不能为空!\")\n return;\n }\n if(this.form.nickname.trim() == \"\"){\n this.$message.error(\"昵称不能为空!\")\n return;\n }\n if(this.form.password.trim() == \"\"){\n this.$message.error(\"密码不能为空!\")\n return;\n }\n if(this.form.password.trim() != this.cCassword.trim()){\n this.$message.error(\"两次密码不一致!\")\n return;\n }\n\n // 验证字段 !! 算了其它前端不验证了\n const loading = this.$loading({\n lock: true,\n text: \"保存中...\",\n spinner: \"el-icon-loading\",\n background: \"rgba(0, 0, 0, 0.5)\"\n });\n axios\n .post(\"/admin\", this.form)\n .then(response => {\n try {\n console.log(response);\n loading.close();\n this.$message.success(\"添加成功\");\n this.closeModal();\n this.resize();\n this.complete(1);\n } catch (e) {\n console.log(e);\n }\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message);\n });\n },\n resize() {\n this.cCassword = '';\n this.form = {\n username: '',\n nickname: '',\n password: ''\n };\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n \n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./create.vue?vue&type=template&id=56150a82&scoped=true&\"\nimport script from \"./create.vue?vue&type=script&lang=js&\"\nexport * from \"./create.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"56150a82\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"600px\",\"title\":\"修改客服资料\",\"show-close\":false,\"visible\":_vm.dialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"头像\",\"label-width\":_vm.formLabelWidth}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":3}},[_c('div',{staticClass:\"mini-im-file-button\",attrs:{\"title\":\"点击上传图片\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.form.avatar || _vm.$store.state.avatar}}),_c('input',{attrs:{\"onClick\":\"this.value = null\",\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.changeFile}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUploading),expression:\"isUploading\"}],staticClass:\"mini-im-file-percent\"},[_c('span',[_vm._v(_vm._s(_vm.uploadPercent))])])],1)]),_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"客服账号\",\"label-width\":_vm.formLabelWidth}},[_c('span',[_vm._v(_vm._s(_vm.form.username))])]),_c('el-form-item',{attrs:{\"label\":\"客服昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入客服昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入登录密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"自动回复语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入自动回复语,不支持emoji,请使用简单语句描述\",\"autocomplete\":\"off\"},model:{value:(_vm.form.auto_reply),callback:function ($$v) {_vm.$set(_vm.form, \"auto_reply\", $$v)},expression:\"form.auto_reply\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog\n width=\"600px\" \n title=\"修改客服资料\"\n :show-close=\"false\"\n :visible.sync=\"dialogFormVisible\"\n :close-on-click-modal=\"false\"\n >\n <el-form :model=\"form\">\n <el-form-item label=\"头像\" :label-width=\"formLabelWidth\">\n <el-row :gutter=\"10\">\n <el-col :span=\"3\">\n <div class=\"mini-im-file-button\" title=\"点击上传图片\">\n <el-avatar\n :size=\"50\"\n :src=\"form.avatar || $store.state.avatar\"\n ></el-avatar>\n <input onClick=\"this.value = null\" @change=\"changeFile\" type=\"file\" accept=\"image/*\" />\n <div v-show=\"isUploading\" class=\"mini-im-file-percent\">\n <span>{{uploadPercent}}</span>\n </div>\n </div>\n </el-col>\n <el-col :span=\"6\"></el-col>\n </el-row>\n </el-form-item>\n <el-form-item label=\"客服账号\" :label-width=\"formLabelWidth\">\n <span>{{form.username}}</span>\n </el-form-item>\n <el-form-item label=\"客服昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入客服昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"手机号\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.phone\" placeholder=\"请输入登录密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"自动回复语\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.auto_reply\" type=\"textarea\" placeholder=\"请输入自动回复语,不支持emoji,请使用简单语句描述\" autocomplete=\"off\"></el-input>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from \"axios\";\nimport upload from '../../common/upload'\nexport default {\n name: \"mini-im-create-admin\",\n data() {\n return {\n form: {\n phone: \"\",\n nickname: \"\",\n avatar: \"\",\n auto_reply: \"\"\n },\n formLabelWidth: \"90px\",\n isUploading: false,\n uploadPercent: \"\"\n };\n },\n props: {\n dialogFormVisible: Boolean,\n complete: Function,\n formData: Object\n },\n methods: {\n // 关闭\n closeModal() {\n this.$emit(\"update:dialogFormVisible\", false);\n },\n // 上传\n changeFile(file) {\n\n var fileData = file.target.files[0];\n upload({\n file: fileData,\n progress: (percent) => {\n this.isUploading = true;\n this.uploadPercent = percent + \"%\";\n },\n success: (url) => {\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.success(\"上传成功\");\n var imgUrl = this.$store.getters.uploadToken.host + \"/\" + url\n this.form.avatar = imgUrl;\n },\n error: (err)=>{\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.error(err.message);\n }\n });\n\n\n },\n // 保存\n save() {\n // 验证字段 !! 算了其它前端不验证了\n const loading = this.$loading({\n lock: true,\n text: \"保存中...\",\n spinner: \"el-icon-loading\",\n background: \"rgba(0, 0, 0, 0.5)\"\n });\n axios\n .put(\"/admin\", this.form)\n .then(response => {\n try {\n loading.close();\n this.$message.success(\"添加成功\");\n this.closeModal();\n this.complete(1);\n } catch (e) {\n console.log(e, response);\n }\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message);\n });\n }\n },\n watch: {\n formData() {\n this.form = Object.assign({}, this.form, this.formData);\n }\n }\n};\n</script>\n<style scoped lang=\"stylus\">\n.mini-im-file-button {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n\n input {\n font-size: 100px;\n position: absolute;\n top: 0px;\n left: 0px;\n cursor: pointer;\n opacity 0\n }\n\n cursor: pointer;\n\n .mini-im-file-percent {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.5);\n color: #fff;\n font-size: 12px;\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./edit.vue?vue&type=template&id=0a24570c&scoped=true&\"\nimport script from \"./edit.vue?vue&type=script&lang=js&\"\nexport * from \"./edit.vue?vue&type=script&lang=js&\"\nimport style0 from \"./edit.vue?vue&type=style&index=0&id=0a24570c&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0a24570c\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div class=\"mini-im-head\">\n <span>\n <i class=\"el-icon-headset\"></i>\n <span slot=\"title\">客服管理</span>\n </span>\n <el-button v-if=\"adminInfo.root == 1\" @click=\"createDialogFormVisible = true\" size=\"mini\">添 加</el-button>\n </div>\n <el-divider />\n <div class=\"search\">\n <el-row :gutter=\"20\">\n <el-col :span=\"2.1\">\n <el-form ref=\"form\" label-width=\"120px\">\n <el-form-item label=\"按关键字:\"></el-form-item>\n </el-form>\n </el-col>\n <el-col :span=\"5\">\n <el-input @change=\"changeInput\" @clear=\"clearKeyword\" placeholder=\"请输入关键词\" v-model=\"tableData.keyword\" clearable prefix-icon=\"el-icon-search\"></el-input>\n </el-col>\n <el-col :span=\"3\">\n <el-button @click=\"search\">查 找</el-button>\n </el-col>\n </el-row>\n </div>\n <el-table\n :data=\"tableData.list\"\n style=\"width: 100%\"\n v-loading=\"loading\"\n >\n <el-table-column\n type=\"index\"\n :index=\"indexMethod\"\n width=\"60\">\n </el-table-column>\n <el-table-column\n prop=\"avatar\"\n label=\"头像\"\n width=\"120\">\n <template slot-scope=\"scope\">\n <el-avatar :size=\"40\" :src=\"scope.row.avatar || $store.state.avatar\"></el-avatar>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"username\"\n label=\"客服账号\">\n </el-table-column>\n <el-table-column\n prop=\"nickname\"\n label=\"客服昵称\">\n </el-table-column>\n <el-table-column\n prop=\"online\"\n align=\"center\"\n label=\"在线状态\">\n <template slot-scope=\"scope\">\n <el-tag type=\"success\" v-if=\"scope.row.online == 1\">在线</el-tag>\n <el-tag type=\"warning\" v-if=\"scope.row.online == 2\">繁忙</el-tag>\n <el-tag type=\"info\" v-if=\"scope.row.online == 0\">离线</el-tag>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"root\"\n align=\"center\"\n label=\"角色\">\n <template slot-scope=\"scope\">\n <el-tag effect=\"dark\" type=\"warning\" v-if=\"scope.row.root == 1\">超级管理</el-tag>\n <el-tag v-if=\"scope.row.root == 0\">客服人员</el-tag>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"last_activity\"\n label=\"最后在线时间\">\n <template slot-scope=\"scope\">\n {{$formatUnixDate(scope.row.last_activity, \"YYYY/MM/DD HH:mm\")}}\n </template>\n </el-table-column>\n <el-table-column\n prop=\"create_at\"\n label=\"创建时间\">\n <template slot-scope=\"scope\">\n {{$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\")}}\n </template>\n </el-table-column>\n <el-table-column\n prop=\"operating\"\n align=\"center\"\n width=\"150\"\n v-if=\"adminInfo.root == 1\"\n label=\"操作\">\n <template slot-scope=\"scope\">\n <el-button\n size=\"mini\"\n v-if=\"scope.row.root == 0\"\n @click=\"edit(scope.row)\">编 辑</el-button>\n <el-button\n size=\"mini\"\n type=\"danger\"\n v-if=\"scope.row.root == 0\"\n @click=\"deleteAdmin(scope.row)\">删 除</el-button>\n </template>\n </el-table-column>\n </el-table>\n <el-row type=\"flex\" style=\"margin-top: 20px;\" justify=\"space-between\">\n <span style=\"color:#666;font-size: 14px;\">共找到{{tableData.total}}条数据</span>\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n layout=\"sizes, prev, pager, next\"\n :current-page=\"tableData.page_on\"\n :page-sizes=\"[5, 10, 15, 20]\"\n :total=\"tableData.total\">\n </el-pagination>\n </el-row>\n <CreateDialog :complete=\"getAdmins\" :dialogFormVisible.sync=\"createDialogFormVisible\" />\n <EditDialog :formData=\"editItem\" :complete=\"getAdmins\" :dialogFormVisible.sync=\"editDialogFormVisible\" />\n </div>\n</template>\n\n<script>\nimport CreateDialog from \"./create\"\nimport EditDialog from \"./edit\"\nimport axios from 'axios'\nexport default {\n name: \"admins\",\n components: {\n CreateDialog,\n EditDialog\n },\n data() {\n return {\n tableData: {\n list: [],\n page_on: 1,\n page_size: 10,\n keyword: \"\",\n total: 0,\n },\n createDialogFormVisible: false,\n editDialogFormVisible: false,\n loading: true,\n editItem: {}\n }\n },\n computed: {\n adminInfo(){\n return this.$store.getters.adminInfo\n }\n },\n created(){\n setTimeout(()=> this.getAdmins(1), 500)\n },\n methods: {\n // 行号\n indexMethod(index) {\n return (this.tableData.page_on - 1) * this.tableData.page_size + index +1;\n },\n // 删除\n deleteAdmin(item){\n this.$confirm('您确定要删除该客服吗? 删除后不可恢复!', '温馨提示!', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n center: true,\n type: 'warning'\n }).then(() => {\n axios.delete('/admin/' + item.id)\n .then(response => {\n console.log(response.data)\n this.$message.success(\"删除成功\")\n this.getAdmins(1)\n })\n .catch(error => {\n this.$message.error(error.response.data.message)\n });\n })\n },\n // 编辑\n edit(item){\n this.editItem = item\n this.editDialogFormVisible = true\n },\n // 改变每页条数\n handleSizeChange(val) {\n this.tableData.page_size = val\n this.getAdmins()\n },\n // 分页\n handleCurrentChange(val) {\n this.tableData.page_on = val\n this.getAdmins()\n },\n // 清空关键字\n clearKeyword(){\n this.getAdmins(1)\n },\n // 关键字input变动\n changeInput(){\n if(this.tableData.keyword == \"\"){\n this.getAdmins(1)\n }\n },\n // 查找\n search(){\n this.tableData.keyword = this.tableData.keyword.trim()\n if(!this.tableData.keyword) return\n this.getAdmins(1)\n },\n // 获取数据\n getAdmins(index){\n if(index) this.tableData.page_on = index\n const {page_on, page_size, keyword} = this.tableData\n axios.post('/admin/list', {page_on, page_size, keyword, \"online\": 3})\n .then(response => {\n this.loading = false\n this.tableData = response.data.data\n })\n .catch(error => {\n this.loading = false\n this.$message.error(error.response.data.message)\n });\n }\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n .mini-im-head{\n height 30px\n display flex\n align-items center\n font-size 20px\n justify-content space-between\n color #666\n i{\n margin-right 5px\n }\n }\n .el-select .el-input {\n width: 130px;\n }\n .input-with-select .el-input-group__prepend {\n background-color: #fff;\n }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0aee8f9a&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=0aee8f9a&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0aee8f9a\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=0aee8f9a&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=0aee8f9a&lang=stylus&scoped=true&\"","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/customer/edit.vue?7f89","webpack:///./node_modules/core-js/modules/es6.string.trim.js","webpack:///./node_modules/core-js/modules/_string-trim.js","webpack:///./src/views/customer/index.vue?cf9f","webpack:///./src/views/customer/create.vue?dff4","webpack:///src/views/customer/create.vue","webpack:///./src/views/customer/create.vue?c0ff","webpack:///./src/views/customer/create.vue","webpack:///./src/views/customer/edit.vue?a880","webpack:///src/views/customer/edit.vue","webpack:///./src/views/customer/edit.vue?939e","webpack:///./src/views/customer/edit.vue","webpack:///src/views/customer/index.vue","webpack:///./src/views/customer/index.vue?3888","webpack:///./src/views/customer/index.vue","webpack:///./src/views/customer/index.vue?ae5a","webpack:///./node_modules/core-js/modules/_string-ws.js"],"names":["$trim","this","$export","defined","fails","spaces","space","non","ltrim","RegExp","rtrim","exporter","KEY","exec","ALIAS","exp","FORCE","fn","trim","P","F","string","TYPE","String","replace","module","exports","render","_vm","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","adminInfo","root","on","$event","createDialogFormVisible","_e","ref","changeInput","clearKeyword","model","value","tableData","callback","$$v","$set","expression","search","directives","name","rawName","staticStyle","list","indexMethod","scopedSlots","_u","key","scope","row","avatar","$store","state","online","_s","$formatUnixDate","last_activity","create_at","edit","deleteAdmin","total","page_on","handleSizeChange","handleCurrentChange","getAdmins","editItem","editDialogFormVisible","staticRenderFns","dialogFormVisible","form","formLabelWidth","cCassword","closeModal","save","data","props","Boolean","complete","Function","mounted","methods","$emit","lock","text","spinner","background","$message","error","resize","username","nickname","password","component","changeFile","uploadPercent","phone","auto_reply","isUploading","formData","Object","fileData","file","target","files","imgUrl","watch","assign","components","CreateDialog","EditDialog","page_size","keyword","loading","computed","getters","created","setTimeout","index","$confirm","confirmButtonText","cancelButtonText","center","type","item","val"],"mappings":"kKAAA,yBAAwjB,EAAG,G,oCCE3jB,EAAQ,OAAR,CAA0B,QAAQ,SAAUA,GAC1C,OAAO,WACL,OAAOA,EAAMC,KAAM,Q,qBCJvB,IAAIC,EAAU,EAAQ,QAClBC,EAAU,EAAQ,QAClBC,EAAQ,EAAQ,QAChBC,EAAS,EAAQ,QACjBC,EAAQ,IAAMD,EAAS,IACvBE,EAAM,KACNC,EAAQC,OAAO,IAAMH,EAAQA,EAAQ,KACrCI,EAAQD,OAAOH,EAAQA,EAAQ,MAE/BK,EAAW,SAAUC,EAAKC,EAAMC,GAClC,IAAIC,EAAM,GACNC,EAAQZ,GAAM,WAChB,QAASC,EAAOO,MAAUL,EAAIK,MAAUL,KAEtCU,EAAKF,EAAIH,GAAOI,EAAQH,EAAKK,GAAQb,EAAOO,GAC5CE,IAAOC,EAAID,GAASG,GACxBf,EAAQA,EAAQiB,EAAIjB,EAAQkB,EAAIJ,EAAO,SAAUD,IAM/CG,EAAOP,EAASO,KAAO,SAAUG,EAAQC,GAI3C,OAHAD,EAASE,OAAOpB,EAAQkB,IACb,EAAPC,IAAUD,EAASA,EAAOG,QAAQhB,EAAO,KAClC,EAAPc,IAAUD,EAASA,EAAOG,QAAQd,EAAO,KACtCW,GAGTI,EAAOC,QAAUf,G,yCC7BjB,IAAIgB,EAAS,WAAa,IAAIC,EAAI3B,KAAS4B,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAACF,EAAG,OAAO,CAACA,EAAG,IAAI,CAACE,YAAY,oBAAoBF,EAAG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3C,KAAK8E,UAAU,IAInB1B,OAlDJ,WAmDMpD,KAAK+C,UAAU8E,QAAU7H,KAAK+C,UAAU8E,QAAQ5G,OACtD,wBACMjB,KAAK8E,UAAU,IAGjBA,UAxDJ,SAwDA,cACA,8BADA,MAEA,iBAFA,EAEA,UAFA,EAEA,YAFA,EAEA,QACM,EAAN,iEACA,kBACQ,EAAR,WACQ,EAAR,yBAEA,mBACQ,EAAR,WACQ,EAAR,8CC3NiY,ICQ7X,G,UAAY,eACd,EACApD,EACAuD,GACA,EACA,KACA,WACA,OAIa,e,2CCnBf,yBAAyjB,EAAG,G,mBCA5jBzD,EAAOC,QAAU","file":"js/chunk-615380b5.8e004b72.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=3e845274&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=3e845274&scoped=true&lang=stylus&\"","'use strict';\n// 21.1.3.25 String.prototype.trim()\nrequire('./_string-trim')('trim', function ($trim) {\n return function trim() {\n return $trim(this, 3);\n };\n});\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"mini-im-head\"},[_c('span',[_c('i',{staticClass:\"el-icon-headset\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"客服管理\")])]),(_vm.adminInfo.root == 1)?_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.createDialogFormVisible = true}}},[_vm._v(\"添 加\")]):_vm._e()],1),_c('el-divider'),_c('div',{staticClass:\"search\"},[_c('el-row',{attrs:{\"gutter\":20}},[_c('el-col',{attrs:{\"span\":2.1}},[_c('el-form',{ref:\"form\",attrs:{\"label-width\":\"120px\"}},[_c('el-form-item',{attrs:{\"label\":\"按关键字:\"}})],1)],1),_c('el-col',{attrs:{\"span\":5}},[_c('el-input',{attrs:{\"placeholder\":\"请输入关键词\",\"clearable\":\"\",\"prefix-icon\":\"el-icon-search\"},on:{\"change\":_vm.changeInput,\"clear\":_vm.clearKeyword},model:{value:(_vm.tableData.keyword),callback:function ($$v) {_vm.$set(_vm.tableData, \"keyword\", $$v)},expression:\"tableData.keyword\"}})],1),_c('el-col',{attrs:{\"span\":3}},[_c('el-button',{on:{\"click\":_vm.search}},[_vm._v(\"查 找\")])],1)],1)],1),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData.list}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"index\":_vm.indexMethod,\"width\":\"60\"}}),_c('el-table-column',{attrs:{\"prop\":\"avatar\",\"label\":\"头像\",\"width\":\"120\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-avatar',{attrs:{\"size\":40,\"src\":scope.row.avatar || _vm.$store.state.avatar}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"username\",\"label\":\"客服账号\"}}),_c('el-table-column',{attrs:{\"prop\":\"nickname\",\"label\":\"客服昵称\"}}),_c('el-table-column',{attrs:{\"prop\":\"online\",\"align\":\"center\",\"label\":\"在线状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.online == 1)?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"在线\")]):_vm._e(),(scope.row.online == 2)?_c('el-tag',{attrs:{\"type\":\"warning\"}},[_vm._v(\"繁忙\")]):_vm._e(),(scope.row.online == 0)?_c('el-tag',{attrs:{\"type\":\"info\"}},[_vm._v(\"离线\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"root\",\"align\":\"center\",\"label\":\"角色\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.root == 1)?_c('el-tag',{attrs:{\"effect\":\"dark\",\"type\":\"warning\"}},[_vm._v(\"超级管理\")]):_vm._e(),(scope.row.root == 0)?_c('el-tag',[_vm._v(\"客服人员\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"prop\":\"last_activity\",\"label\":\"最后在线时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.$formatUnixDate(scope.row.last_activity, \"YYYY/MM/DD HH:mm\"))+\"\\n \")]}}])}),_c('el-table-column',{attrs:{\"prop\":\"create_at\",\"label\":\"创建时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\"))+\"\\n \")]}}])}),(_vm.adminInfo.root == 1)?_c('el-table-column',{attrs:{\"prop\":\"operating\",\"align\":\"center\",\"width\":\"150\",\"label\":\"操作\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.root == 0)?_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.edit(scope.row)}}},[_vm._v(\"编 辑\")]):_vm._e(),(scope.row.root == 0)?_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.deleteAdmin(scope.row)}}},[_vm._v(\"删 除\")]):_vm._e()]}}],null,false,1757062568)}):_vm._e()],1),_c('el-row',{staticStyle:{\"margin-top\":\"20px\"},attrs:{\"type\":\"flex\",\"justify\":\"space-between\"}},[_c('span',{staticStyle:{\"color\":\"#666\",\"font-size\":\"14px\"}},[_vm._v(\"共找到\"+_vm._s(_vm.tableData.total)+\"条数据\")]),_c('el-pagination',{attrs:{\"background\":\"\",\"layout\":\"sizes, prev, pager, next\",\"current-page\":_vm.tableData.page_on,\"page-sizes\":[5, 10, 15, 20],\"total\":_vm.tableData.total},on:{\"size-change\":_vm.handleSizeChange,\"current-change\":_vm.handleCurrentChange}})],1),_c('CreateDialog',{attrs:{\"complete\":_vm.getAdmins,\"dialogFormVisible\":_vm.createDialogFormVisible},on:{\"update:dialogFormVisible\":function($event){_vm.createDialogFormVisible=$event},\"update:dialog-form-visible\":function($event){_vm.createDialogFormVisible=$event}}}),_c('EditDialog',{attrs:{\"formData\":_vm.editItem,\"complete\":_vm.getAdmins,\"dialogFormVisible\":_vm.editDialogFormVisible},on:{\"update:dialogFormVisible\":function($event){_vm.editDialogFormVisible=$event},\"update:dialog-form-visible\":function($event){_vm.editDialogFormVisible=$event}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"600px\",\"title\":\"添加客服\",\"show-close\":false,\"visible\":_vm.dialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"客服账号\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入客服账号\",\"autocomplete\":\"off\"},model:{value:(_vm.form.username),callback:function ($$v) {_vm.$set(_vm.form, \"username\", $$v)},expression:\"form.username\"}})],1),_c('el-form-item',{attrs:{\"label\":\"客服昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入客服昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"登录密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入登录密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"确认密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入确认密码\",\"autocomplete\":\"off\"},model:{value:(_vm.cCassword),callback:function ($$v) {_vm.cCassword=$$v},expression:\"cCassword\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog width=\"600px\" title=\"添加客服\" :show-close=\"false\" :visible.sync=\"dialogFormVisible\" :close-on-click-modal=\"false\">\n <el-form :model=\"form\">\n <el-form-item label=\"客服账号\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.username\" placeholder=\"请输入客服账号\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"客服昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入客服昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"登录密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.password\" placeholder=\"请输入登录密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"确认密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"cCassword\" placeholder=\"请输入确认密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from \"axios\";\nexport default {\n name: 'mini-im-create-admin',\n data(){\n return {\n form: {\n username: '',\n nickname: '',\n password: ''\n },\n cCassword: '',\n formLabelWidth: \"80px\"\n }\n },\n props:{\n dialogFormVisible: Boolean,\n complete: Function\n },\n mounted(){\n },\n methods: {\n // 关闭\n closeModal(){\n this.$emit('update:dialogFormVisible', false);\n },\n // 保存\n save() {\n // 验证一下密码字段\n if(this.form.username.trim() == \"\"){\n this.$message.error(\"账号不能为空!\")\n return;\n }\n if(this.form.nickname.trim() == \"\"){\n this.$message.error(\"昵称不能为空!\")\n return;\n }\n if(this.form.password.trim() == \"\"){\n this.$message.error(\"密码不能为空!\")\n return;\n }\n if(this.form.password.trim() != this.cCassword.trim()){\n this.$message.error(\"两次密码不一致!\")\n return;\n }\n\n // 验证字段 !! 算了其它前端不验证了\n const loading = this.$loading({\n lock: true,\n text: \"保存中...\",\n spinner: \"el-icon-loading\",\n background: \"rgba(0, 0, 0, 0.5)\"\n });\n axios\n .post(\"/admin\", this.form)\n .then(response => {\n try {\n console.log(response);\n loading.close();\n this.$message.success(\"添加成功\");\n this.closeModal();\n this.resize();\n this.complete(1);\n } catch (e) {\n console.log(e);\n }\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message);\n });\n },\n resize() {\n this.cCassword = '';\n this.form = {\n username: '',\n nickname: '',\n password: ''\n };\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n \n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./create.vue?vue&type=template&id=56150a82&scoped=true&\"\nimport script from \"./create.vue?vue&type=script&lang=js&\"\nexport * from \"./create.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"56150a82\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"600px\",\"title\":\"修改客服资料\",\"show-close\":false,\"visible\":_vm.dialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"头像\",\"label-width\":_vm.formLabelWidth}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":3}},[_c('div',{staticClass:\"mini-im-file-button\",attrs:{\"title\":\"点击上传图片\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.form.avatar || _vm.$store.state.avatar}}),_c('input',{attrs:{\"onClick\":\"this.value = null\",\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.changeFile}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUploading),expression:\"isUploading\"}],staticClass:\"mini-im-file-percent\"},[_c('span',[_vm._v(_vm._s(_vm.uploadPercent))])])],1)]),_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"客服账号\",\"label-width\":_vm.formLabelWidth}},[_c('span',[_vm._v(_vm._s(_vm.form.username))])]),_c('el-form-item',{attrs:{\"label\":\"客服昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入客服昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"手机号\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入登录密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"自动回复语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入自动回复语,不支持emoji,请使用简单语句描述\",\"autocomplete\":\"off\"},model:{value:(_vm.form.auto_reply),callback:function ($$v) {_vm.$set(_vm.form, \"auto_reply\", $$v)},expression:\"form.auto_reply\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog\n width=\"600px\" \n title=\"修改客服资料\"\n :show-close=\"false\"\n :visible.sync=\"dialogFormVisible\"\n :close-on-click-modal=\"false\"\n >\n <el-form :model=\"form\">\n <el-form-item label=\"头像\" :label-width=\"formLabelWidth\">\n <el-row :gutter=\"10\">\n <el-col :span=\"3\">\n <div class=\"mini-im-file-button\" title=\"点击上传图片\">\n <el-avatar\n :size=\"50\"\n :src=\"form.avatar || $store.state.avatar\"\n ></el-avatar>\n <input onClick=\"this.value = null\" @change=\"changeFile\" type=\"file\" accept=\"image/*\" />\n <div v-show=\"isUploading\" class=\"mini-im-file-percent\">\n <span>{{uploadPercent}}</span>\n </div>\n </div>\n </el-col>\n <el-col :span=\"6\"></el-col>\n </el-row>\n </el-form-item>\n <el-form-item label=\"客服账号\" :label-width=\"formLabelWidth\">\n <span>{{form.username}}</span>\n </el-form-item>\n <el-form-item label=\"客服昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入客服昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"手机号\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.phone\" placeholder=\"请输入登录密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"自动回复语\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.auto_reply\" type=\"textarea\" placeholder=\"请输入自动回复语,不支持emoji,请使用简单语句描述\" autocomplete=\"off\"></el-input>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from \"axios\";\nimport upload from '../../common/upload'\nexport default {\n name: \"mini-im-create-admin\",\n data() {\n return {\n form: {\n phone: \"\",\n nickname: \"\",\n avatar: \"\",\n auto_reply: \"\"\n },\n formLabelWidth: \"90px\",\n isUploading: false,\n uploadPercent: \"\"\n };\n },\n props: {\n dialogFormVisible: Boolean,\n complete: Function,\n formData: Object\n },\n methods: {\n // 关闭\n closeModal() {\n this.$emit(\"update:dialogFormVisible\", false);\n },\n // 上传\n changeFile(file) {\n\n var fileData = file.target.files[0];\n upload({\n file: fileData,\n progress: (percent) => {\n this.isUploading = true;\n this.uploadPercent = percent + \"%\";\n },\n success: (url) => {\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.success(\"上传成功\");\n var imgUrl = this.$store.getters.uploadToken.host + \"/\" + url\n this.form.avatar = imgUrl;\n },\n error: (err)=>{\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.error(err.message);\n }\n });\n\n\n },\n // 保存\n save() {\n // 验证字段 !! 算了其它前端不验证了\n const loading = this.$loading({\n lock: true,\n text: \"保存中...\",\n spinner: \"el-icon-loading\",\n background: \"rgba(0, 0, 0, 0.5)\"\n });\n axios\n .put(\"/admin\", this.form)\n .then(response => {\n try {\n loading.close();\n this.$message.success(\"修改成功\");\n this.closeModal();\n this.complete(1);\n } catch (e) {\n console.log(e, response);\n }\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message);\n });\n }\n },\n watch: {\n formData() {\n this.form = Object.assign({}, this.form, this.formData);\n }\n }\n};\n</script>\n<style scoped lang=\"stylus\">\n.mini-im-file-button {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n\n input {\n font-size: 100px;\n position: absolute;\n top: 0px;\n left: 0px;\n cursor: pointer;\n opacity 0\n }\n\n cursor: pointer;\n\n .mini-im-file-percent {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.5);\n color: #fff;\n font-size: 12px;\n }\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./edit.vue?vue&type=template&id=3e845274&scoped=true&\"\nimport script from \"./edit.vue?vue&type=script&lang=js&\"\nexport * from \"./edit.vue?vue&type=script&lang=js&\"\nimport style0 from \"./edit.vue?vue&type=style&index=0&id=3e845274&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3e845274\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div class=\"mini-im-head\">\n <span>\n <i class=\"el-icon-headset\"></i>\n <span slot=\"title\">客服管理</span>\n </span>\n <el-button v-if=\"adminInfo.root == 1\" @click=\"createDialogFormVisible = true\" size=\"mini\">添 加</el-button>\n </div>\n <el-divider />\n <div class=\"search\">\n <el-row :gutter=\"20\">\n <el-col :span=\"2.1\">\n <el-form ref=\"form\" label-width=\"120px\">\n <el-form-item label=\"按关键字:\"></el-form-item>\n </el-form>\n </el-col>\n <el-col :span=\"5\">\n <el-input @change=\"changeInput\" @clear=\"clearKeyword\" placeholder=\"请输入关键词\" v-model=\"tableData.keyword\" clearable prefix-icon=\"el-icon-search\"></el-input>\n </el-col>\n <el-col :span=\"3\">\n <el-button @click=\"search\">查 找</el-button>\n </el-col>\n </el-row>\n </div>\n <el-table\n :data=\"tableData.list\"\n style=\"width: 100%\"\n v-loading=\"loading\"\n >\n <el-table-column\n type=\"index\"\n :index=\"indexMethod\"\n width=\"60\">\n </el-table-column>\n <el-table-column\n prop=\"avatar\"\n label=\"头像\"\n width=\"120\">\n <template slot-scope=\"scope\">\n <el-avatar :size=\"40\" :src=\"scope.row.avatar || $store.state.avatar\"></el-avatar>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"username\"\n label=\"客服账号\">\n </el-table-column>\n <el-table-column\n prop=\"nickname\"\n label=\"客服昵称\">\n </el-table-column>\n <el-table-column\n prop=\"online\"\n align=\"center\"\n label=\"在线状态\">\n <template slot-scope=\"scope\">\n <el-tag type=\"success\" v-if=\"scope.row.online == 1\">在线</el-tag>\n <el-tag type=\"warning\" v-if=\"scope.row.online == 2\">繁忙</el-tag>\n <el-tag type=\"info\" v-if=\"scope.row.online == 0\">离线</el-tag>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"root\"\n align=\"center\"\n label=\"角色\">\n <template slot-scope=\"scope\">\n <el-tag effect=\"dark\" type=\"warning\" v-if=\"scope.row.root == 1\">超级管理</el-tag>\n <el-tag v-if=\"scope.row.root == 0\">客服人员</el-tag>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"last_activity\"\n label=\"最后在线时间\">\n <template slot-scope=\"scope\">\n {{$formatUnixDate(scope.row.last_activity, \"YYYY/MM/DD HH:mm\")}}\n </template>\n </el-table-column>\n <el-table-column\n prop=\"create_at\"\n label=\"创建时间\">\n <template slot-scope=\"scope\">\n {{$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\")}}\n </template>\n </el-table-column>\n <el-table-column\n prop=\"operating\"\n align=\"center\"\n width=\"150\"\n v-if=\"adminInfo.root == 1\"\n label=\"操作\">\n <template slot-scope=\"scope\">\n <el-button\n size=\"mini\"\n v-if=\"scope.row.root == 0\"\n @click=\"edit(scope.row)\">编 辑</el-button>\n <el-button\n size=\"mini\"\n type=\"danger\"\n v-if=\"scope.row.root == 0\"\n @click=\"deleteAdmin(scope.row)\">删 除</el-button>\n </template>\n </el-table-column>\n </el-table>\n <el-row type=\"flex\" style=\"margin-top: 20px;\" justify=\"space-between\">\n <span style=\"color:#666;font-size: 14px;\">共找到{{tableData.total}}条数据</span>\n <el-pagination\n background\n @size-change=\"handleSizeChange\"\n @current-change=\"handleCurrentChange\"\n layout=\"sizes, prev, pager, next\"\n :current-page=\"tableData.page_on\"\n :page-sizes=\"[5, 10, 15, 20]\"\n :total=\"tableData.total\">\n </el-pagination>\n </el-row>\n <CreateDialog :complete=\"getAdmins\" :dialogFormVisible.sync=\"createDialogFormVisible\" />\n <EditDialog :formData=\"editItem\" :complete=\"getAdmins\" :dialogFormVisible.sync=\"editDialogFormVisible\" />\n </div>\n</template>\n\n<script>\nimport CreateDialog from \"./create\"\nimport EditDialog from \"./edit\"\nimport axios from 'axios'\nexport default {\n name: \"admins\",\n components: {\n CreateDialog,\n EditDialog\n },\n data() {\n return {\n tableData: {\n list: [],\n page_on: 1,\n page_size: 10,\n keyword: \"\",\n total: 0,\n },\n createDialogFormVisible: false,\n editDialogFormVisible: false,\n loading: true,\n editItem: {}\n }\n },\n computed: {\n adminInfo(){\n return this.$store.getters.adminInfo\n }\n },\n created(){\n setTimeout(()=> this.getAdmins(1), 500)\n },\n methods: {\n // 行号\n indexMethod(index) {\n return (this.tableData.page_on - 1) * this.tableData.page_size + index +1;\n },\n // 删除\n deleteAdmin(item){\n this.$confirm('您确定要删除该客服吗? 删除后不可恢复!', '温馨提示!', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n center: true,\n type: 'warning'\n }).then(() => {\n axios.delete('/admin/' + item.id)\n .then(response => {\n console.log(response.data)\n this.$message.success(\"删除成功\")\n this.getAdmins(1)\n })\n .catch(error => {\n this.$message.error(error.response.data.message)\n });\n })\n },\n // 编辑\n edit(item){\n this.editItem = item\n this.editDialogFormVisible = true\n },\n // 改变每页条数\n handleSizeChange(val) {\n this.tableData.page_size = val\n this.getAdmins()\n },\n // 分页\n handleCurrentChange(val) {\n this.tableData.page_on = val\n this.getAdmins()\n },\n // 清空关键字\n clearKeyword(){\n this.getAdmins(1)\n },\n // 关键字input变动\n changeInput(){\n if(this.tableData.keyword == \"\"){\n this.getAdmins(1)\n }\n },\n // 查找\n search(){\n this.tableData.keyword = this.tableData.keyword.trim()\n if(!this.tableData.keyword) return\n this.getAdmins(1)\n },\n // 获取数据\n getAdmins(index){\n if(index) this.tableData.page_on = index\n const {page_on, page_size, keyword} = this.tableData\n axios.post('/admin/list', {page_on, page_size, keyword, \"online\": 3})\n .then(response => {\n this.loading = false\n this.tableData = response.data.data\n })\n .catch(error => {\n this.loading = false\n this.$message.error(error.response.data.message)\n });\n }\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n .mini-im-head{\n height 30px\n display flex\n align-items center\n font-size 20px\n justify-content space-between\n color #666\n i{\n margin-right 5px\n }\n }\n .el-select .el-input {\n width: 130px;\n }\n .input-with-select .el-input-group__prepend {\n background-color: #fff;\n }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=0aee8f9a&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=0aee8f9a&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0aee8f9a\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=0aee8f9a&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=0aee8f9a&lang=stylus&scoped=true&\"","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/robot/index.vue?32d5","webpack:///./src/views/robot/index.vue?8601","webpack:///./src/views/robot/create.vue?788e","webpack:///src/views/robot/create.vue","webpack:///./src/views/robot/create.vue?68be","webpack:///./src/views/robot/create.vue","webpack:///./src/views/robot/edit.vue?97e5","webpack:///src/views/robot/edit.vue","webpack:///./src/views/robot/edit.vue?8ee4","webpack:///./src/views/robot/edit.vue","webpack:///src/views/robot/index.vue","webpack:///./src/views/robot/index.vue?870d","webpack:///./src/views/robot/index.vue","webpack:///./src/views/robot/edit.vue?66a2","webpack:///./src/views/robot/create.vue?2d57"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","adminInfo","root","on","$event","createDialogFormVisible","_e","directives","name","rawName","value","expression","staticStyle","tableData","scopedSlots","_u","key","fn","scope","row","avatar","_s","keyword","replace","artificial","switch","$getPlatformItem","platform","title","$formatUnixDate","create_at","edit","deleteRobot","length","getRobotList","editItem","editDialogFormVisible","staticRenderFns","dialogFormVisible","form","formLabelWidth","changeFile","uploadPercent","model","callback","$$v","$set","_l","tag","handleKeyWordDel","ref","handleInputConfirm","nativeOn","type","indexOf","_k","keyCode","inputkeyWordTagValue","showTagInput","inputDynamicTagValue","robotSwitch","$store","getters","item","index","id","closeModal","save","data","dynamicTags","keyWordTags","showkeyWordTagsInput","showDynamicTagsInput","nickname","welcome","understand","timeout_text","no_services","loog_time_wait_text","isUploading","props","Boolean","complete","Function","methods","resize","$emit","fileData","file","target","files","imgUrl","splice","$nextTick","push","lock","text","spinner","background","join","inputVisible","inputValue","component","formData","Object","watch","platformConfig","assign","components","CreateDialog","EditDialog","loading","created","setTimeout","computed","robots","$confirm","confirmButtonText","cancelButtonText","center"],"mappings":"kHAAA,yBAAyjB,EAAG,G,yCCA5jB,IAAIA,EAAS,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AAK4C,uBAAwB,GAG/BF,aA1BJ,WA0BA,WACM,EAAN,qBACA,kBACQ,EAAR,WACQ,EAAR,8CAEA,mBACQ,EAAR,WACQ,EAAR,8CCnLiY,ICQ7X,G,UAAY,eACd,EACA5C,EACA+C,GACA,EACA,KACA,WACA,OAIa,e,2FCnBf,yBAAwjB,EAAG,G,yDCA3jB,yBAA0jB,EAAG","file":"js/chunk-99e15be2.69d71101.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=dea0f158&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=dea0f158&lang=stylus&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"mini-im-head\"},[_c('span',[_c('i',{staticClass:\"el-icon-picture-outline-round\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"机器人管理\")])]),(_vm.adminInfo.root == 1)?_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.createDialogFormVisible = true}}},[_vm._v(\"添 加\")]):_vm._e()],1),_c('el-divider'),_c('el-table',{directives:[{name:\"loading\",rawName:\"v-loading\",value:(_vm.loading),expression:\"loading\"}],staticStyle:{\"width\":\"100%\"},attrs:{\"data\":_vm.tableData}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"width\":\"60\"}}),_c('el-table-column',{attrs:{\"prop\":\"avatar\",\"label\":\"头像\",\"width\":\"80\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-avatar',{attrs:{\"size\":40,\"src\":scope.row.avatar}})]}}])}),_c('el-table-column',{attrs:{\"prop\":\"nickname\",\"label\":\"机器人昵称\"}}),_c('el-table-column',{attrs:{\"prop\":\"welcome\",\"label\":\"欢迎语\"}}),_c('el-table-column',{attrs:{\"prop\":\"understand\",\"label\":\"无匹配知识库语\"}}),_c('el-table-column',{attrs:{\"prop\":\"timeout_text\",\"label\":\"超时结束提示\"}}),_c('el-table-column',{attrs:{\"prop\":\"no_services\",\"label\":\"无人工在线提示\"}}),_c('el-table-column',{attrs:{\"prop\":\"loog_time_wait_text\",\"label\":\"长时间等待提示\"}}),_c('el-table-column',{attrs:{\"prop\":\"keyword\",\"label\":\"检索知识库热词\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.keyword.replace(/\\|/g, \" , \")))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"artificial\",\"label\":\"转人工关键词\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('span',[_vm._v(_vm._s(scope.row.artificial.replace(/\\|/g, \" , \")))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"switch\",\"align\":\"center\",\"label\":\"运行状态\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.switch == 1)?_c('el-tag',{attrs:{\"type\":\"success\"}},[_vm._v(\"服务中\")]):_vm._e(),(scope.row.switch == 0)?_c('el-tag',{attrs:{\"type\":\"danger\"}},[_vm._v(\"服务暂停\")]):_vm._e()]}}])}),_c('el-table-column',{attrs:{\"align\":\"center\",\"prop\":\"platform\",\"label\":\"服务平台\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-tag',[_vm._v(_vm._s(_vm.$getPlatformItem(scope.row.platform).title))])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"create_at\",\"label\":\"创建时间\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_vm._v(\"\\n \"+_vm._s(_vm.$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\"))+\"\\n \")]}}])}),(_vm.adminInfo.root == 1)?_c('el-table-column',{attrs:{\"prop\":\"operating\",\"align\":\"center\",\"label\":\"操作\",\"width\":\"150\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){return _vm.edit(scope.row)}}},[_vm._v(\"编 辑\")]),_c('el-button',{attrs:{\"size\":\"mini\",\"type\":\"danger\"},on:{\"click\":function($event){return _vm.deleteRobot(scope.row)}}},[_vm._v(\"删 除\")])]}}],null,false,289946275)}):_vm._e()],1),_c('el-row',{staticStyle:{\"margin-top\":\"20px\"},attrs:{\"type\":\"flex\",\"justify\":\"space-between\"}},[_c('span',{staticStyle:{\"color\":\"#666\",\"font-size\":\"14px\"}},[_vm._v(\"当前有\"+_vm._s(_vm.tableData.length)+\"个机器人\")])]),_c('CreateDialog',{attrs:{\"complete\":_vm.getRobotList,\"dialogFormVisible\":_vm.createDialogFormVisible},on:{\"update:dialogFormVisible\":function($event){_vm.createDialogFormVisible=$event},\"update:dialog-form-visible\":function($event){_vm.createDialogFormVisible=$event}}}),_c('EditDialog',{attrs:{\"complete\":_vm.getRobotList,\"formData\":_vm.editItem,\"dialogFormVisible\":_vm.editDialogFormVisible},on:{\"update:dialogFormVisible\":function($event){_vm.editDialogFormVisible=$event},\"update:dialog-form-visible\":function($event){_vm.editDialogFormVisible=$event}}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"600px\",\"title\":\"添加机器人\",\"show-close\":false,\"visible\":_vm.dialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"头像\",\"label-width\":_vm.formLabelWidth}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":3}},[_c('div',{staticClass:\"mini-im-file-button\",attrs:{\"title\":\"点击上传图片\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.form.avatar}}),_c('input',{attrs:{\"onClick\":\"this.value = null\",\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.changeFile}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUploading),expression:\"isUploading\"}],staticClass:\"mini-im-file-percent\"},[_c('span',[_vm._v(_vm._s(_vm.uploadPercent))])])],1)]),_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"机器人昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入机器人昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"机器人欢迎语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入机器人欢迎语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.welcome),callback:function ($$v) {_vm.$set(_vm.form, \"welcome\", $$v)},expression:\"form.welcome\"}})],1),_c('el-form-item',{attrs:{\"label\":\"无匹配知识库语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入无法识别回复语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.understand),callback:function ($$v) {_vm.$set(_vm.form, \"understand\", $$v)},expression:\"form.understand\"}})],1),_c('el-form-item',{attrs:{\"label\":\"超时结束提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入会话超时结束提示\",\"autocomplete\":\"off\"},model:{value:(_vm.form.timeout_text),callback:function ($$v) {_vm.$set(_vm.form, \"timeout_text\", $$v)},expression:\"form.timeout_text\"}})],1),_c('el-form-item',{attrs:{\"label\":\"无人工在线提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入无人工在线提示\",\"autocomplete\":\"off\"},model:{value:(_vm.form.no_services),callback:function ($$v) {_vm.$set(_vm.form, \"no_services\", $$v)},expression:\"form.no_services\"}})],1),_c('el-form-item',{attrs:{\"label\":\"长时间等待提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入长时间等待提示语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.loog_time_wait_text),callback:function ($$v) {_vm.$set(_vm.form, \"loog_time_wait_text\", $$v)},expression:\"form.loog_time_wait_text\"}})],1),_c('el-form-item',{attrs:{\"label\":\"检索知识库热词\",\"label-width\":_vm.formLabelWidth}},[_vm._l((_vm.keyWordTags),function(tag){return _c('el-tag',{key:tag,attrs:{\"closable\":\"\",\"disable-transitions\":false},on:{\"close\":function($event){return _vm.handleKeyWordDel(tag, 'keyWordTagsInput')}}},[_vm._v(_vm._s(tag))])}),(_vm.showkeyWordTagsInput)?_c('el-input',{ref:\"keyWordTagsInput\",staticClass:\"input-new-tag\",attrs:{\"size\":\"small\"},on:{\"blur\":_vm.handleInputConfirm},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleInputConfirm($event)}},model:{value:(_vm.inputkeyWordTagValue),callback:function ($$v) {_vm.inputkeyWordTagValue=$$v},expression:\"inputkeyWordTagValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.showTagInput('keyWordTagsInput')}}},[_vm._v(\"+ 新增\")]),_c('div',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"* 该词库会在用户输入的时候去匹配检索提示\")])],2),_c('el-form-item',{attrs:{\"label\":\"转人工关键词\",\"label-width\":_vm.formLabelWidth}},[_vm._l((_vm.dynamicTags),function(tag){return _c('el-tag',{key:tag,attrs:{\"closable\":\"\",\"disable-transitions\":false},on:{\"close\":function($event){return _vm.handleKeyWordDel(tag, 'dynamicTagsInput')}}},[_vm._v(_vm._s(tag))])}),(_vm.showDynamicTagsInput)?_c('el-input',{ref:\"dynamicTagsInput\",staticClass:\"input-new-tag\",attrs:{\"size\":\"small\"},on:{\"blur\":_vm.handleInputConfirm},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleInputConfirm($event)}},model:{value:(_vm.inputDynamicTagValue),callback:function ($$v) {_vm.inputDynamicTagValue=$$v},expression:\"inputDynamicTagValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.showTagInput('dynamicTagsInput')}}},[_vm._v(\"+ 新增\")]),_c('div',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"* 匹配该关键词进入人工,系统已内置: \\\"人工\\\"\")])],2),_c('el-form-item',{attrs:{\"label\":\"运行状态\",\"label-width\":_vm.formLabelWidth}},[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\"},model:{value:(_vm.robotSwitch),callback:function ($$v) {_vm.robotSwitch=$$v},expression:\"robotSwitch\"}})],1),_c('el-form-item',{attrs:{\"label\":\"匹配平台\",\"label-width\":_vm.formLabelWidth}},[_c('el-select',{attrs:{\"placeholder\":\"请选择匹配平台\"},model:{value:(_vm.form.platform),callback:function ($$v) {_vm.$set(_vm.form, \"platform\", $$v)},expression:\"form.platform\"}},_vm._l((_vm.$store.getters.platformConfig),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.title,\"value\":item.id}})}),1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog\n width=\"600px\"\n title=\"添加机器人\"\n :show-close=\"false\"\n :visible.sync=\"dialogFormVisible\"\n :close-on-click-modal=\"false\"\n >\n <el-form :model=\"form\">\n <el-form-item label=\"头像\" :label-width=\"formLabelWidth\">\n <el-row :gutter=\"10\">\n <el-col :span=\"3\">\n <div class=\"mini-im-file-button\" title=\"点击上传图片\">\n <el-avatar\n :size=\"50\"\n :src=\"form.avatar\"\n ></el-avatar>\n <input onClick=\"this.value = null\" @change=\"changeFile\" type=\"file\" accept=\"image/*\" />\n <div v-show=\"isUploading\" class=\"mini-im-file-percent\">\n <span>{{uploadPercent}}</span>\n </div>\n </div>\n </el-col>\n <el-col :span=\"6\"></el-col>\n </el-row>\n </el-form-item>\n <el-form-item label=\"机器人昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入机器人昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"机器人欢迎语\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.welcome\" placeholder=\"请输入机器人欢迎语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"无匹配知识库语\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.understand\" placeholder=\"请输入无法识别回复语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"超时结束提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.timeout_text\" placeholder=\"请输入会话超时结束提示\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"无人工在线提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.no_services\" placeholder=\"请输入无人工在线提示\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"长时间等待提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.loog_time_wait_text\" placeholder=\"请输入长时间等待提示语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"检索知识库热词\" :label-width=\"formLabelWidth\">\n <el-tag\n :key=\"tag\"\n v-for=\"tag in keyWordTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleKeyWordDel(tag, 'keyWordTagsInput')\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"showkeyWordTagsInput\"\n v-model=\"inputkeyWordTagValue\"\n ref=\"keyWordTagsInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n ></el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showTagInput('keyWordTagsInput')\">+ 新增</el-button>\n <div style=\"font-size:12px;\">* 该词库会在用户输入的时候去匹配检索提示</div>\n </el-form-item>\n <el-form-item label=\"转人工关键词\" :label-width=\"formLabelWidth\">\n <el-tag\n :key=\"tag\"\n v-for=\"tag in dynamicTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleKeyWordDel(tag, 'dynamicTagsInput')\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"showDynamicTagsInput\"\n v-model=\"inputDynamicTagValue\"\n ref=\"dynamicTagsInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n ></el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showTagInput('dynamicTagsInput')\">+ 新增</el-button>\n <div style=\"font-size:12px;\">* 匹配该关键词进入人工,系统已内置: \"人工\"</div>\n </el-form-item>\n <el-form-item label=\"运行状态\" :label-width=\"formLabelWidth\">\n <el-switch v-model=\"robotSwitch\" active-color=\"#13ce66\" inactive-color=\"#ff4949\"></el-switch>\n </el-form-item>\n <el-form-item label=\"匹配平台\" :label-width=\"formLabelWidth\">\n <el-select v-model=\"form.platform\" placeholder=\"请选择匹配平台\">\n <el-option\n :label=\"item.title\"\n :value=\"item.id\"\n :key=\"index\"\n v-for=\"(item, index) in $store.getters.platformConfig\"\n ></el-option>\n </el-select>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from 'axios'\nimport upload from '../../common/upload'\nexport default {\n name: \"mini-im-create-robot\",\n data() {\n return {\n dynamicTags: [],\n keyWordTags: [],\n showkeyWordTagsInput: false,\n inputkeyWordTagValue: \"\",\n showDynamicTagsInput: false,\n inputDynamicTagValue: \"\",\n form: {\n nickname: \"\",\n avatar: \"\",\n welcome: \"\",\n understand: \"\",\n artificial: \"\",\n keyword: \"\",\n timeout_text: \"\",\n no_services: \"\",\n loog_time_wait_text: \"\",\n platform: 1,\n switch: 1\n },\n robotSwitch: true,\n formLabelWidth: \"120px\",\n isUploading: false,\n uploadPercent: \"\"\n };\n },\n props: {\n dialogFormVisible: Boolean,\n complete: Function\n },\n methods: {\n // 关闭\n closeModal() {\n this.resize();\n this.$emit(\"update:dialogFormVisible\", false);\n },\n // 上传\n changeFile(file) {\n \n var fileData = file.target.files[0];\n upload({\n file: fileData,\n progress: (percent) => {\n this.isUploading = true;\n this.uploadPercent = percent + \"%\";\n },\n success: (url) => {\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.success(\"上传成功\");\n var imgUrl = this.$store.getters.uploadToken.host + \"/\" + url\n this.form.avatar = imgUrl;\n },\n error: (err)=>{\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.error(err.message);\n }\n });\n\n\n },\n // 删除标签\n handleKeyWordDel(tag, type) {\n if(type == \"dynamicTagsInput\"){\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);\n }\n else if(type == \"keyWordTagsInput\"){\n this.keyWordTags.splice(this.keyWordTags.indexOf(tag), 1);\n }\n },\n // 显示子标题输入框\n showTagInput(type) {\n if(type == \"dynamicTagsInput\"){\n this.showDynamicTagsInput = true;\n this.$nextTick(() => {\n this.$refs.dynamicTagsInput.$refs.input.focus();\n });\n }else if(type == \"keyWordTagsInput\"){\n this.showkeyWordTagsInput = true;\n this.$nextTick(() => {\n this.$refs.keyWordTagsInput.$refs.input.focus();\n });\n }\n \n },\n // 标签确定\n handleInputConfirm() {\n let inputDynamicTagValue = this.inputDynamicTagValue;\n let inputkeyWordTagValue = this.inputkeyWordTagValue;\n if (inputDynamicTagValue) {\n this.dynamicTags.push(inputDynamicTagValue);\n }\n if (inputkeyWordTagValue) {\n this.keyWordTags.push(inputkeyWordTagValue);\n }\n this.showkeyWordTagsInput = false;\n this.showDynamicTagsInput = false;\n this.inputDynamicTagValue = \"\";\n this.inputkeyWordTagValue = \"\";\n },\n // 保存\n save(){\n // 验证字段 !! 算了前端不验证了\n const loading = this.$loading({\n lock: true,\n text: \"保存中...\",\n spinner: \"el-icon-loading\",\n background: \"rgba(0, 0, 0, 0.5)\"\n });\n this.form.artificial = this.dynamicTags.join(\"|\");\n this.form.keyword = this.keyWordTags.join(\"|\");\n this.form.switch = this.robotSwitch ? 1 : 0\n axios\n .post(\"/robot\", this.form)\n .then(response => {\n try {\n console.log(response);\n loading.close();\n this.$message.success(\"添加成功\");\n this.closeModal();\n this.resize();\n this.complete();\n } catch (e) {\n console.log(e);\n }\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message);\n });\n },\n // 重置\n resize(){\n this.dynamicTags = []\n this.inputVisible = false\n this.inputValue = \"\"\n this.form = {\n nickname: \"\",\n avatar: \"\",\n welcome: \"\",\n timeout_text: \"\",\n no_services: \"\",\n loog_time_wait_text: \"\",\n understand: \"\",\n artificial: \"\",\n platform: 1,\n switch: 1\n }\n }\n }\n};\n</script>\n<style scoped lang=\"stylus\">\n.mini-im-file-button {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n\n input {\n font-size: 100px;\n position: absolute;\n top: 0px;\n left: 0px;\n cursor: pointer;\n opacity 0\n }\n\n cursor: pointer;\n\n .mini-im-file-percent {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.5);\n color: #fff;\n font-size: 12px;\n }\n}\n\n.el-tag + .el-tag {\n margin-left: 10px;\n}\n\n.button-new-tag {\n margin-left: 10px;\n height: 32px;\n line-height: 30px;\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.input-new-tag {\n width: 150px;\n margin-left: 10px;\n vertical-align: bottom;\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./create.vue?vue&type=template&id=2e63f8e9&scoped=true&\"\nimport script from \"./create.vue?vue&type=script&lang=js&\"\nexport * from \"./create.vue?vue&type=script&lang=js&\"\nimport style0 from \"./create.vue?vue&type=style&index=0&id=2e63f8e9&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2e63f8e9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"600px\",\"title\":\"编辑机器人\",\"show-close\":false,\"visible\":_vm.dialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){_vm.dialogFormVisible=$event}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"头像\",\"label-width\":_vm.formLabelWidth}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":3}},[_c('div',{staticClass:\"mini-im-file-button\",attrs:{\"title\":\"点击上传图片\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.form.avatar}}),_c('input',{attrs:{\"onClick\":\"this.value = null\",\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.changeFile}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUploading),expression:\"isUploading\"}],staticClass:\"mini-im-file-percent\"},[_c('span',[_vm._v(_vm._s(_vm.uploadPercent))])])],1)]),_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"机器人昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入机器人昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"type\":\"textarea\",\"rows\":2,\"label\":\"机器人欢迎语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入机器人欢迎语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.welcome),callback:function ($$v) {_vm.$set(_vm.form, \"welcome\", $$v)},expression:\"form.welcome\"}})],1),_c('el-form-item',{attrs:{\"label\":\"无匹配知识库语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入无法识别回复语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.understand),callback:function ($$v) {_vm.$set(_vm.form, \"understand\", $$v)},expression:\"form.understand\"}})],1),_c('el-form-item',{attrs:{\"label\":\"超时结束提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入会话超时结束提示\",\"autocomplete\":\"off\"},model:{value:(_vm.form.timeout_text),callback:function ($$v) {_vm.$set(_vm.form, \"timeout_text\", $$v)},expression:\"form.timeout_text\"}})],1),_c('el-form-item',{attrs:{\"label\":\"无人工在线提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入无人工在线提示\",\"autocomplete\":\"off\"},model:{value:(_vm.form.no_services),callback:function ($$v) {_vm.$set(_vm.form, \"no_services\", $$v)},expression:\"form.no_services\"}})],1),_c('el-form-item',{attrs:{\"label\":\"长时间等待提示\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"rows\":2,\"placeholder\":\"请输入长时间等待提示语\",\"autocomplete\":\"off\"},model:{value:(_vm.form.loog_time_wait_text),callback:function ($$v) {_vm.$set(_vm.form, \"loog_time_wait_text\", $$v)},expression:\"form.loog_time_wait_text\"}})],1),_c('el-form-item',{attrs:{\"label\":\"检索知识库热词\",\"label-width\":_vm.formLabelWidth}},[_vm._l((_vm.keyWordTags),function(tag){return _c('el-tag',{key:tag,attrs:{\"closable\":\"\",\"disable-transitions\":false},on:{\"close\":function($event){return _vm.handleKeyWordDel(tag, 'keyWordTagsInput')}}},[_vm._v(_vm._s(tag))])}),(_vm.showkeyWordTagsInput)?_c('el-input',{ref:\"keyWordTagsInput\",staticClass:\"input-new-tag\",attrs:{\"size\":\"small\"},on:{\"blur\":_vm.handleInputConfirm},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleInputConfirm($event)}},model:{value:(_vm.inputkeyWordTagValue),callback:function ($$v) {_vm.inputkeyWordTagValue=$$v},expression:\"inputkeyWordTagValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.showTagInput('keyWordTagsInput')}}},[_vm._v(\"+ 新增\")]),_c('div',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"* 该词库会在用户输入的时候去匹配检索提示\")])],2),_c('el-form-item',{attrs:{\"label\":\"转人工关键词\",\"label-width\":_vm.formLabelWidth}},[_vm._l((_vm.dynamicTags),function(tag){return _c('el-tag',{key:tag,attrs:{\"closable\":\"\",\"disable-transitions\":false},on:{\"close\":function($event){return _vm.handleKeyWordDel(tag, 'dynamicTagsInput')}}},[_vm._v(_vm._s(tag))])}),(_vm.showDynamicTagsInput)?_c('el-input',{ref:\"dynamicTagsInput\",staticClass:\"input-new-tag\",attrs:{\"size\":\"small\"},on:{\"blur\":_vm.handleInputConfirm},nativeOn:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\")){ return null; }return _vm.handleInputConfirm($event)}},model:{value:(_vm.inputDynamicTagValue),callback:function ($$v) {_vm.inputDynamicTagValue=$$v},expression:\"inputDynamicTagValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.showTagInput('dynamicTagsInput')}}},[_vm._v(\"+ 新增\")]),_c('div',{staticStyle:{\"font-size\":\"12px\"}},[_vm._v(\"* 匹配该关键词进入人工,系统已内置: \\\"人工\\\"\")])],2),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.formData.id != 1000000000),expression:\"formData.id != 1000000000\"}],attrs:{\"label\":\"运行状态\",\"label-width\":_vm.formLabelWidth}},[_c('el-switch',{attrs:{\"active-color\":\"#13ce66\",\"inactive-color\":\"#ff4949\"},model:{value:(_vm.robotSwitch),callback:function ($$v) {_vm.robotSwitch=$$v},expression:\"robotSwitch\"}})],1),_c('el-form-item',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.formData.id != 1000000000),expression:\"formData.id != 1000000000\"}],attrs:{\"label\":\"匹配平台\",\"label-width\":_vm.formLabelWidth}},[_c('el-select',{attrs:{\"placeholder\":\"请选择匹配平台\"},model:{value:(_vm.form.platform),callback:function ($$v) {_vm.$set(_vm.form, \"platform\", $$v)},expression:\"form.platform\"}},_vm._l((_vm.$store.getters.platformConfig),function(item,index){return _c('el-option',{key:index,attrs:{\"label\":item.title,\"value\":item.id}})}),1)],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog\n width=\"600px\"\n title=\"编辑机器人\"\n :show-close=\"false\"\n :visible.sync=\"dialogFormVisible\"\n :close-on-click-modal=\"false\"\n >\n <el-form :model=\"form\">\n <el-form-item label=\"头像\" :label-width=\"formLabelWidth\">\n <el-row :gutter=\"10\">\n <el-col :span=\"3\">\n <div class=\"mini-im-file-button\" title=\"点击上传图片\">\n <el-avatar\n :size=\"50\"\n :src=\"form.avatar\"\n ></el-avatar>\n <input onClick=\"this.value = null\" @change=\"changeFile\" type=\"file\" accept=\"image/*\" />\n <div v-show=\"isUploading\" class=\"mini-im-file-percent\">\n <span>{{uploadPercent}}</span>\n </div>\n </div>\n </el-col>\n <el-col :span=\"6\"></el-col>\n </el-row>\n </el-form-item>\n <el-form-item label=\"机器人昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入机器人昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item type=\"textarea\" :rows=\"2\" label=\"机器人欢迎语\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.welcome\" placeholder=\"请输入机器人欢迎语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"无匹配知识库语\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.understand\" placeholder=\"请输入无法识别回复语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"超时结束提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.timeout_text\" placeholder=\"请输入会话超时结束提示\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"无人工在线提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.no_services\" placeholder=\"请输入无人工在线提示\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"长时间等待提示\" :label-width=\"formLabelWidth\">\n <el-input type=\"textarea\" :rows=\"2\" v-model=\"form.loog_time_wait_text\" placeholder=\"请输入长时间等待提示语\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"检索知识库热词\" :label-width=\"formLabelWidth\">\n <el-tag\n :key=\"tag\"\n v-for=\"tag in keyWordTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleKeyWordDel(tag, 'keyWordTagsInput')\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"showkeyWordTagsInput\"\n v-model=\"inputkeyWordTagValue\"\n ref=\"keyWordTagsInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n ></el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showTagInput('keyWordTagsInput')\">+ 新增</el-button>\n <div style=\"font-size:12px;\">* 该词库会在用户输入的时候去匹配检索提示</div>\n </el-form-item>\n <el-form-item label=\"转人工关键词\" :label-width=\"formLabelWidth\">\n <el-tag\n :key=\"tag\"\n v-for=\"tag in dynamicTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleKeyWordDel(tag, 'dynamicTagsInput')\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"showDynamicTagsInput\"\n v-model=\"inputDynamicTagValue\"\n ref=\"dynamicTagsInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n ></el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showTagInput('dynamicTagsInput')\">+ 新增</el-button>\n <div style=\"font-size:12px;\">* 匹配该关键词进入人工,系统已内置: \"人工\"</div>\n </el-form-item>\n <el-form-item v-show=\"formData.id != 1000000000\" label=\"运行状态\" :label-width=\"formLabelWidth\">\n <el-switch v-model=\"robotSwitch\" active-color=\"#13ce66\" inactive-color=\"#ff4949\"></el-switch>\n </el-form-item>\n <el-form-item v-show=\"formData.id != 1000000000\" label=\"匹配平台\" :label-width=\"formLabelWidth\">\n <el-select v-model=\"form.platform\" placeholder=\"请选择匹配平台\">\n <el-option\n :label=\"item.title\"\n :value=\"item.id\"\n :key=\"index\"\n v-for=\"(item, index) in $store.getters.platformConfig\"\n ></el-option>\n </el-select>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from 'axios'\nimport upload from '../../common/upload'\nexport default {\n name: \"mini-im-edit-robot\",\n data() {\n return {\n dynamicTags: [],\n keyWordTags: [],\n showkeyWordTagsInput: false,\n inputkeyWordTagValue: \"\",\n showDynamicTagsInput: false,\n inputDynamicTagValue: \"\",\n form: {\n nickname: \"\",\n avatar: \"\",\n welcome: \"\",\n understand: \"\",\n artificial: \"\",\n keyword: \"\",\n timeout_text: \"\",\n no_services: \"\",\n loog_time_wait_text: \"\",\n platform: 1,\n switch: 1\n },\n robotSwitch: true,\n formLabelWidth: \"120px\",\n isUploading: false,\n uploadPercent: \"\"\n };\n },\n props: {\n dialogFormVisible: Boolean,\n complete: Function,\n formData: Object\n },\n methods: {\n // 关闭\n closeModal() {\n this.$emit(\"update:dialogFormVisible\", false);\n },\n // 上传\n changeFile(file) {\n var fileData = file.target.files[0];\n upload({\n file: fileData,\n progress: (percent) => {\n this.isUploading = true;\n this.uploadPercent = percent + \"%\";\n },\n success: (url) => {\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.success(\"上传成功\");\n var imgUrl = this.$store.getters.uploadToken.host + \"/\" + url\n this.form.avatar = imgUrl;\n },\n error: (err)=>{\n this.isUploading = false;\n this.uploadPercent = \"\";\n this.$message.error(err.message);\n }\n });\n \n },\n // 删除标签\n handleKeyWordDel(tag, type) {\n if(type == \"dynamicTagsInput\"){\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);\n }\n else if(type == \"keyWordTagsInput\"){\n this.keyWordTags.splice(this.keyWordTags.indexOf(tag), 1);\n }\n },\n // 显示子标题输入框\n showTagInput(type) {\n if(type == \"dynamicTagsInput\"){\n this.showDynamicTagsInput = true;\n this.$nextTick(() => {\n this.$refs.dynamicTagsInput.$refs.input.focus();\n });\n }else if(type == \"keyWordTagsInput\"){\n this.showkeyWordTagsInput = true;\n this.$nextTick(() => {\n this.$refs.keyWordTagsInput.$refs.input.focus();\n });\n }\n \n },\n // 标签确定\n handleInputConfirm() {\n let inputDynamicTagValue = this.inputDynamicTagValue;\n let inputkeyWordTagValue = this.inputkeyWordTagValue;\n if (inputDynamicTagValue) {\n this.dynamicTags.push(inputDynamicTagValue);\n }\n if (inputkeyWordTagValue) {\n this.keyWordTags.push(inputkeyWordTagValue);\n }\n this.showkeyWordTagsInput = false;\n this.showDynamicTagsInput = false;\n this.inputDynamicTagValue = \"\";\n this.inputkeyWordTagValue = \"\";\n },\n // 保存\n save(){\n // 验证字段 !! 算了前端不验证了\n const loading = this.$loading({\n lock: true,\n text: \"保存中...\",\n spinner: \"el-icon-loading\",\n background: \"rgba(0, 0, 0, 0.5)\"\n });\n this.form.artificial = this.dynamicTags.join(\"|\");\n this.form.keyword = this.keyWordTags.join(\"|\");\n this.form.switch = this.robotSwitch ? 1 : 0\n axios\n .put(\"/robot\", this.form)\n .then(response => {\n try {\n console.log(response);\n loading.close();\n this.$message.success(\"修改成功\");\n this.closeModal();\n this.complete();\n } catch (e) {\n console.log(e);\n }\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message);\n });\n },\n },\n watch:{\n formData(){\n this.platformConfig = this.$store.getters.platformConfig\n this.form = Object.assign({},this.form, this.formData)\n if(this.formData.artificial != \"\") this.dynamicTags = this.formData.artificial.split(\"|\")\n if(this.formData.keyword != \"\") this.keyWordTags = this.formData.keyword.split(\"|\")\n this.robotSwitch = this.form.switch == 1 ? true : false\n }\n }\n};\n</script>\n<style scoped lang=\"stylus\">\n.mini-im-file-button {\n width: 50px;\n height: 50px;\n border-radius: 50%;\n position: relative;\n overflow: hidden;\n\n input {\n font-size: 100px;\n position: absolute;\n top: 0px;\n left: 0px;\n cursor: pointer;\n opacity 0\n }\n\n cursor: pointer;\n\n .mini-im-file-percent {\n position: absolute;\n top: 0px;\n left: 0px;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-radius: 50%;\n background-color: rgba(0, 0, 0, 0.5);\n color: #fff;\n font-size: 12px;\n }\n}\n\n.el-tag + .el-tag {\n margin-left: 10px;\n}\n\n.button-new-tag {\n margin-left: 10px;\n height: 32px;\n line-height: 30px;\n padding-top: 0;\n padding-bottom: 0;\n}\n\n.input-new-tag {\n width: 150px;\n margin-left: 10px;\n vertical-align: bottom;\n}\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./edit.vue?vue&type=template&id=6b34f2e3&scoped=true&\"\nimport script from \"./edit.vue?vue&type=script&lang=js&\"\nexport * from \"./edit.vue?vue&type=script&lang=js&\"\nimport style0 from \"./edit.vue?vue&type=style&index=0&id=6b34f2e3&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6b34f2e3\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div class=\"mini-im-head\">\n <span>\n <i class=\"el-icon-picture-outline-round\"></i>\n <span slot=\"title\">机器人管理</span>\n </span>\n <el-button v-if=\"adminInfo.root == 1\" @click=\"createDialogFormVisible = true\" size=\"mini\">添 加</el-button>\n </div>\n <el-divider />\n <el-table\n :data=\"tableData\"\n style=\"width: 100%\"\n v-loading=\"loading\"\n >\n <el-table-column\n type=\"index\"\n width=\"60\">\n </el-table-column>\n <el-table-column\n prop=\"avatar\"\n label=\"头像\"\n width=\"80\">\n <template slot-scope=\"scope\">\n <el-avatar :size=\"40\" :src=\"scope.row.avatar\"></el-avatar>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"nickname\"\n label=\"机器人昵称\">\n </el-table-column>\n <el-table-column\n prop=\"welcome\"\n label=\"欢迎语\">\n </el-table-column>\n <el-table-column\n prop=\"understand\"\n label=\"无匹配知识库语\">\n </el-table-column>\n <el-table-column\n prop=\"timeout_text\"\n label=\"超时结束提示\">\n </el-table-column>\n <el-table-column\n prop=\"no_services\"\n label=\"无人工在线提示\">\n </el-table-column>\n <el-table-column\n prop=\"loog_time_wait_text\"\n label=\"长时间等待提示\">\n </el-table-column>\n <el-table-column\n prop=\"keyword\"\n label=\"检索知识库热词\">\n <template slot-scope=\"scope\">\n <span>{{scope.row.keyword.replace(/\\|/g, \" , \")}}</span>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"artificial\"\n label=\"转人工关键词\">\n <template slot-scope=\"scope\">\n <span>{{scope.row.artificial.replace(/\\|/g, \" , \")}}</span>\n </template>\n </el-table-column>\n <el-table-column\n prop=\"switch\"\n align=\"center\"\n label=\"运行状态\">\n <template slot-scope=\"scope\">\n <el-tag type=\"success\" v-if=\"scope.row.switch == 1\">服务中</el-tag>\n <el-tag type=\"danger\" v-if=\"scope.row.switch == 0\">服务暂停</el-tag>\n </template>\n </el-table-column>\n <el-table-column\n align=\"center\"\n prop=\"platform\"\n label=\"服务平台\">\n <template slot-scope=\"scope\">\n <el-tag>{{$getPlatformItem(scope.row.platform).title}}</el-tag>\n </template>\n </el-table-column>\n\n <el-table-column\n prop=\"create_at\"\n label=\"创建时间\">\n <template slot-scope=\"scope\">\n {{$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\")}}\n </template>\n </el-table-column>\n <el-table-column\n v-if=\"adminInfo.root == 1\"\n prop=\"operating\"\n align=\"center\"\n label=\"操作\"\n width=\"150\"\n >\n <template slot-scope=\"scope\">\n <el-button\n size=\"mini\"\n @click=\"edit(scope.row)\">编 辑</el-button>\n <el-button\n size=\"mini\"\n type=\"danger\"\n @click=\"deleteRobot(scope.row)\">删 除</el-button>\n </template>\n </el-table-column>\n </el-table>\n <el-row type=\"flex\" style=\"margin-top: 20px;\" justify=\"space-between\">\n <span style=\"color:#666;font-size: 14px;\">当前有{{tableData.length}}个机器人</span>\n </el-row>\n <CreateDialog :complete=\"getRobotList\" :dialogFormVisible.sync=\"createDialogFormVisible\" />\n <EditDialog :complete=\"getRobotList\" :formData=\"editItem\" :dialogFormVisible.sync=\"editDialogFormVisible\" />\n </div>\n</template>\n\n<script>\nimport CreateDialog from \"./create\"\nimport EditDialog from \"./edit\"\nimport axios from 'axios'\nexport default {\n name: \"robot\",\n components: {\n CreateDialog,\n EditDialog\n },\n data() {\n return {\n createDialogFormVisible: false,\n editDialogFormVisible: false,\n loading: true,\n editItem: {}\n }\n },\n created(){\n setTimeout( ()=> this.getRobotList(), 500)\n },\n computed: {\n tableData(){\n return this.$store.getters.robots || []\n },\n adminInfo(){\n return this.$store.getters.adminInfo || {}\n }\n },\n methods: {\n // 删除\n deleteRobot(item){\n this.$confirm('您确定要删除该机器人吗? 删除后不可恢复!', '温馨提示!', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n center: true,\n type: 'warning'\n }).then(() => {\n axios.delete('/robot/' + item.id)\n .then(response => {\n console.log(response.data)\n this.$message.success(\"删除成功\")\n this.getRobotList()\n })\n .catch(error => {\n this.$message.error(error.response.data.message)\n });\n })\n },\n // 编辑\n edit(item){\n this.editItem = item\n this.editDialogFormVisible = true\n },\n // 获取数据\n getRobotList(){\n axios.get('/robot/list')\n .then(response => {\n this.loading = false\n this.$store.commit('onChangeRobos', response.data.data)\n })\n .catch(error => {\n this.loading = false\n this.$message.error(error.response.data.message)\n });\n },\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n .mini-im-head{\n height 30px\n display flex\n align-items center\n font-size 20px\n justify-content space-between\n color #666\n i{\n margin-right 5px\n }\n }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=dea0f158&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=dea0f158&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"dea0f158\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=6b34f2e3&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./edit.vue?vue&type=style&index=0&id=6b34f2e3&scoped=true&lang=stylus&\"","import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=style&index=0&id=2e63f8e9&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./create.vue?vue&type=style&index=0&id=2e63f8e9&scoped=true&lang=stylus&\""],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0499e026"],{"0e51":function(t,e,o){"use strict";var s=o("99fd"),a=o.n(s);a.a},"1e4b":function(t,e,o){"use strict";o.r(e);var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-container",[t.$store.state.isShowAside?o("me-aside"):t._e(),o("el-container",{staticStyle:{"min-width":"800px"}},[o("el-header",{staticClass:"mini-im-header"},[o("me-heaser",{attrs:{title:"sdfsd"}})],1),o("el-main",{style:"background-color:"+t.workbenchBgColor},[o("router-view")],1)],1),o("EditProfile"),o("EditPassword")],1)},a=[],i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-aside",{staticClass:"mini-im-aside",attrs:{width:"200px"}},[s("div",{staticClass:"mini-im-logo",on:{click:function(e){return t.$router.push({path:"/index"})}}},[t.$store.getters.systemInfo.logo?s("div",[s("img",{attrs:{src:t.$store.getters.systemInfo.logo+"?id="+Date.now(),alt:""}})]):s("div",[s("img",{attrs:{src:o("8e69"),alt:""}})])]),s("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":t.menuActive,"background-color":"#3e444a","text-color":"#fff",router:!0,"active-text-color":"#ffd04b"}},[s("el-menu-item",{attrs:{index:"/index"}},[s("i",{staticClass:"el-icon-s-home"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("首页")])]),s("el-menu-item",{attrs:{index:"/workbench"}},[s("el-badge",{staticStyle:{width:"100%"},attrs:{hidden:0==t.$store.getters.readCount,value:t.$store.getters.readCount,max:99}},[s("div",[s("i",{staticClass:"el-icon-s-platform"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("工作台")])])])],1),s("el-menu-item",{attrs:{index:"/knowledge"}},[s("i",{staticClass:"el-icon-reading"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("知识库")])]),s("el-menu-item",{attrs:{index:"/robot"}},[s("i",{staticClass:"el-icon-picture-outline-round"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("机器人")])]),s("el-menu-item",{attrs:{index:"/customer"}},[s("i",{staticClass:"el-icon-headset"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("客服管理")])]),s("el-menu-item",{attrs:{index:"/users"}},[s("i",{staticClass:"el-icon-user"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("用户管理")])]),s("el-menu-item",{attrs:{index:"/chat_record"}},[s("i",{staticClass:"el-icon-time"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("服务记录")])]),s("el-menu-item",{attrs:{index:"/system"}},[s("i",{staticClass:"el-icon-setting"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("系统设置")])])],1),s("div",{staticClass:"fix-bottom"},[s("a",{attrs:{title:"去给作者Star",target:"_blank",href:"https://github.com/chenxianqi/kefu_server.git"}},[s("svg",{staticClass:"github-logo",attrs:{height:"23",viewBox:"0 0 16 16",version:"1.1",width:"23","aria-hidden":"true"}},[s("path",{attrs:{fill:"#fff","fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"}})]),s("span",[t._v(" Github")])])])],1)},n=[],r={name:"mini-im-aside",data:function(){return{menuActive:"/index"}},mounted:function(){this.setHeaderTitle()},methods:{setHeaderTitle:function(){var t;switch(this.menuActive=this.$route.path,this.menuActive){case"/index":t="首页";break;case"/workbench":t="工作台";break;case"/knowledge":t="知识库";break;case"/robot":t="机器人";break;case"/customer":t="客服管理";break;case"/users":t="用户管理";break;case"/system":t="系统设置";break}this.$store.commit("onChangeHeaserTitle",t)}},watch:{$route:function(){this.setHeaderTitle()}}},l=r,c=(o("0e51"),o("2877")),d=Object(c["a"])(l,i,n,!1,null,null,null),m=d.exports,u=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-row",{attrs:{type:"flex",justify:"end",gutter:20}},[o("el-col",{attrs:{span:5}},[o("el-button",{staticClass:"mini-im-button",attrs:{type:"info",icon:t.$store.state.isShowAside?"el-icon-s-fold":"el-icon-s-unfold"},on:{click:function(e){return t.$store.commit("onChangeToggleAside",!t.$store.state.isShowAside)}}})],1),o("el-col",{attrs:{span:16}},[o("div",{staticClass:"mini-im-title"},[t._v(t._s(t.$store.state.heaserTitle))])]),o("el-col",{attrs:{span:5}},[o("el-row",{staticClass:"mini-im-dropdown",attrs:{type:"flex",justify:"end"}},[o("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleCommand}},[o("div",{staticClass:"el-dropdown-link"},[o("el-avatar",{staticClass:"mini-im-avatar",attrs:{size:25}},[o("img",{attrs:{src:t.$store.getters.avatar}})]),o("span",{staticStyle:{padding:"0 5px"}},[t._v(" "+t._s(t.$store.getters.nickname)+" ")]),o("i",{staticClass:"el-icon-arrow-down el-icon--right"})],1),o("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[o("el-dropdown-item",{attrs:{command:"a"}},[o("i",{staticClass:"el-icon-user icon"}),t._v("\n 修改资料\n ")]),o("el-dropdown-item",{attrs:{command:"b"}},[o("i",{staticClass:"el-icon-unlock icon"}),t._v("\n 修改密码\n ")]),o("el-dropdown-item",{attrs:{command:"c",divided:""}},[o("i",{staticClass:"el-icon-caret-right icon"}),t._v("\n 退出登录\n ")])],1)],1)],1)],1)],1)},f=[],p=o("bc3a"),h=o.n(p),g={name:"mini-im-aside",data:function(){return{bgColor:"#ffffff"}},props:{title:String},methods:{logout:function(){var t=this;h.a.put("/admin/online/0"),h.a.get("/auth/logout").then((function(){t.$store.commit("onReset"),t.$store.commit("onChangeAdminInfo",null),t.$router.push({path:"/login"}),t.$mimcInstance.logout(),t.$store.commit("onIsLogin",!1),localStorage.clear()})).catch((function(e){t.$message.error("退出失败"),console.log(e)}))},handleCommand:function(t){var e=this;switch(t){case"a":this.$store.commit("onChangeEditDialogFormVisible",!0);break;case"b":this.$store.commit("onChangeEditPasswordDialogFormVisible",!0);break;case"c":this.$confirm("您确定要退出登录吗? 退出登录后工作台也同时下线!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){return e.logout()}));break}}}},b=g,v=(o("70ad"),Object(c["a"])(b,u,f,!1,null,"432b9ecd",null)),w=v.exports,_=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{attrs:{width:"500px",title:"修改资料","show-close":!1,visible:t.$store.state.editDialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){return t.$set(t.$store.state,"editDialogFormVisible",e)}}},[o("el-form",{attrs:{model:t.form}},[o("el-form-item",{attrs:{label:"头像","label-width":t.formLabelWidth}},[o("el-row",{attrs:{gutter:10}},[o("el-col",{attrs:{span:3}},[o("div",{staticClass:"mini-im-file-button",attrs:{title:"点击上传图片"}},[o("el-avatar",{attrs:{size:50,src:t.form.avatar||t.$store.state.avatar}}),o("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:t.changeFile}}),o("div",{directives:[{name:"show",rawName:"v-show",value:t.isUploading,expression:"isUploading"}],staticClass:"mini-im-file-percent"},[o("span",[t._v(t._s(t.uploadPercent))])])],1)]),o("el-col",{attrs:{span:6}})],1)],1),o("el-form-item",{attrs:{label:"账号","label-width":t.formLabelWidth}},[t._v("\n "+t._s(t.form.username)+"\n ")]),o("el-form-item",{attrs:{label:"昵称","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请输入昵称",autocomplete:"off"},model:{value:t.form.nickname,callback:function(e){t.$set(t.form,"nickname",e)},expression:"form.nickname"}})],1),o("el-form-item",{attrs:{label:"联系方式","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请输入联系方式",autocomplete:"off"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1),o("el-form-item",{attrs:{label:"自动回复语","label-width":t.formLabelWidth}},[o("el-input",{attrs:{type:"textarea",placeholder:"请输入自动回复语,不支持emoji,请使用简单语句描述",autocomplete:"off"},model:{value:t.form.auto_reply,callback:function(e){t.$set(t.form,"auto_reply",e)},expression:"form.auto_reply"}})],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),o("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},$=[],k=o("fb21"),x={name:"mini-im-edit-profile",data:function(){return{form:{id:"",avatar:"",username:"",nickname:"",phone:"",auto_reply:""},formLabelWidth:"90px",isUploading:!1,uploadPercent:""}},computed:{adminInfo:function(){return this.$store.state.adminInfo}},methods:{closeModal:function(){this.$store.commit("onChangeEditDialogFormVisible",!1)},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});h.a.put("/admin",this.form).then((function(o){console.log(o),e.close(),t.$message.success("资料修改成功"),t.closeModal(),t.$store.dispatch("ON_GET_ME")})).catch((function(o){e.close(),t.$message.error(o.response.data.message)}))},changeFile:function(t){var e=this;Object(k["a"])({file:t.target.files[0],progress:function(t){e.isUploading=!0,e.uploadPercent=t+"%"},success:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.success("上传成功");var o=e.$store.getters.uploadToken.host+"/"+t;e.form.avatar=o},error:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.error(t.message)}})}},watch:{adminInfo:function(){if(this.adminInfo){var t=this.$store.state.adminInfo,e=t.avatar,o=t.username,s=t.nickname,a=t.phone,i=t.id,n=t.auto_reply;this.form={avatar:e,username:o,nickname:s,phone:a,id:i,auto_reply:n}}}}},C=x,y=(o("5d0e"),Object(c["a"])(C,_,$,!1,null,"0d4bcba3",null)),E=y.exports,P=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{attrs:{width:"500px",title:"修改密码","show-close":!1,visible:t.$store.state.editPasswordDialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){return t.$set(t.$store.state,"editPasswordDialogFormVisible",e)}}},[o("el-form",{attrs:{model:t.form}},[o("el-form-item",{attrs:{label:"旧密码","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请输入旧密码",autocomplete:"off"},model:{value:t.form.old_password,callback:function(e){t.$set(t.form,"old_password",e)},expression:"form.old_password"}})],1),o("el-form-item",{attrs:{label:"新密码","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请输入新密码",autocomplete:"off"},model:{value:t.form.new_password,callback:function(e){t.$set(t.form,"new_password",e)},expression:"form.new_password"}})],1),o("el-form-item",{attrs:{label:"确认密码","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请再次输入新密码",autocomplete:"off"},model:{value:t.form.enter_password,callback:function(e){t.$set(t.form,"enter_password",e)},expression:"form.enter_password"}})],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),o("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},A=[],F={name:"mini-im-create-knowledge",data:function(){return{form:{old_password:"",new_password:"",enter_password:""},robotSwitch:!0,formLabelWidth:"80px"}},props:{dialogFormVisible:Boolean},mounted:function(){},methods:{closeModal:function(){this.resize(),this.$store.commit("onChangeEditPasswordDialogFormVisible",!1)},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});h.a.put("/admin/password",this.form).then((function(o){console.log(o),e.close(),t.$message.success("资料修改成功"),t.closeModal(),t.resize()})).catch((function(o){e.close(),t.$message.error(o.response.data.message)}))},resize:function(){this.form={old_password:"",new_password:"",enter_password:""}}}},L=F,I=Object(c["a"])(L,P,A,!1,null,"5987490c",null),M=I.exports,S={name:"home",components:{MeAside:m,MeHeaser:w,EditProfile:E,EditPassword:M},computed:{workbenchBgColor:function(){return"/workbench"==this.$route.path?this.$store.getters.workbenchBgColor:"#ffffff"}}},T=S,W=(o("c5f8"),Object(c["a"])(T,s,a,!1,null,"61095d10",null));e["default"]=W.exports},"3d9e":function(t,e,o){},"5d0e":function(t,e,o){"use strict";var s=o("710f"),a=o.n(s);a.a},"70ad":function(t,e,o){"use strict";var s=o("3d9e"),a=o.n(s);a.a},"710f":function(t,e,o){},"8e69":function(t,e,o){t.exports=o.p+"img/kefu_logo.9c308a55.png"},"98be":function(t,e,o){},"99fd":function(t,e,o){},c5f8:function(t,e,o){"use strict";var s=o("98be"),a=o.n(s);a.a}}]);
//# sourceMappingURL=chunk-0499e026.accfa348.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-d086e898"],{"0e51":function(t,e,o){"use strict";var s=o("99fd"),a=o.n(s);a.a},"1e4b":function(t,e,o){"use strict";o.r(e);var s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-container",[t.$store.state.isShowAside?o("me-aside"):t._e(),o("el-container",{staticStyle:{"min-width":"800px"}},[o("el-header",{staticClass:"mini-im-header"},[o("me-heaser",{attrs:{title:"sdfsd"}})],1),o("el-main",{style:"background-color:"+t.workbenchBgColor},[o("router-view")],1)],1),o("EditProfile"),o("EditPassword")],1)},a=[],i=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("el-aside",{staticClass:"mini-im-aside",attrs:{width:"200px"}},[s("div",{staticClass:"mini-im-logo",on:{click:function(e){return t.$router.push({path:"/index"})}}},[t.$store.getters.systemInfo.logo?s("div",[s("img",{attrs:{src:t.$store.getters.systemInfo.logo+"?id="+Date.now(),alt:""}})]):s("div",[s("img",{attrs:{src:o("8e69"),alt:""}})])]),s("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{"default-active":t.menuActive,"background-color":"#3e444a","text-color":"#fff",router:!0,"active-text-color":"#ffd04b"}},[s("el-menu-item",{attrs:{index:"/index"}},[s("i",{staticClass:"el-icon-s-home"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("首页")])]),s("el-menu-item",{attrs:{index:"/workbench"}},[s("el-badge",{staticStyle:{width:"100%"},attrs:{hidden:0==t.$store.getters.readCount,value:t.$store.getters.readCount,max:99}},[s("div",[s("i",{staticClass:"el-icon-s-platform"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("工作台")])])])],1),s("el-menu-item",{attrs:{index:"/knowledge"}},[s("i",{staticClass:"el-icon-reading"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("知识库")])]),s("el-menu-item",{attrs:{index:"/robot"}},[s("i",{staticClass:"el-icon-picture-outline-round"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("机器人")])]),s("el-menu-item",{attrs:{index:"/customer"}},[s("i",{staticClass:"el-icon-headset"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("客服管理")])]),s("el-menu-item",{attrs:{index:"/users"}},[s("i",{staticClass:"el-icon-user"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("用户管理")])]),s("el-menu-item",{attrs:{index:"/chat_record"}},[s("i",{staticClass:"el-icon-time"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("服务记录")])]),s("el-menu-item",{attrs:{index:"/system"}},[s("i",{staticClass:"el-icon-setting"}),s("span",{attrs:{slot:"title"},slot:"title"},[t._v("系统设置")])])],1),s("div",{staticClass:"fix-bottom"},[s("a",{attrs:{title:"去给作者Star",target:"_blank",href:"https://github.com/chenxianqi/kefu_server.git"}},[s("svg",{staticClass:"github-logo",attrs:{height:"23",viewBox:"0 0 16 16",version:"1.1",width:"23","aria-hidden":"true"}},[s("path",{attrs:{fill:"#fff","fill-rule":"evenodd",d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"}})]),s("span",[t._v(" Github")])])])],1)},n=[],r={name:"mini-im-aside",data:function(){return{menuActive:"/index"}},mounted:function(){this.setHeaderTitle()},methods:{setHeaderTitle:function(){var t;switch(this.menuActive=this.$route.path,this.menuActive){case"/index":t="首页";break;case"/workbench":t="工作台";break;case"/knowledge":t="知识库";break;case"/robot":t="机器人";break;case"/customer":t="客服管理";break;case"/users":t="用户管理";break;case"/system":t="系统设置";break}this.$store.commit("onChangeHeaserTitle",t)}},watch:{$route:function(){this.setHeaderTitle()}}},l=r,c=(o("0e51"),o("2877")),d=Object(c["a"])(l,i,n,!1,null,null,null),m=d.exports,u=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-row",{attrs:{type:"flex",justify:"end",gutter:20}},[o("el-col",{attrs:{span:5}},[o("el-button",{staticClass:"mini-im-button",attrs:{type:"info",icon:t.$store.state.isShowAside?"el-icon-s-fold":"el-icon-s-unfold"},on:{click:function(e){return t.$store.commit("onChangeToggleAside",!t.$store.state.isShowAside)}}})],1),o("el-col",{attrs:{span:16}},[o("div",{staticClass:"mini-im-title"},[t._v(t._s(t.$store.state.heaserTitle))])]),o("el-col",{attrs:{span:5}},[o("el-row",{staticClass:"mini-im-dropdown",attrs:{type:"flex",justify:"end"}},[o("el-dropdown",{attrs:{trigger:"click"},on:{command:t.handleCommand}},[o("div",{staticClass:"el-dropdown-link"},[o("el-avatar",{staticClass:"mini-im-avatar",attrs:{size:25}},[o("img",{attrs:{src:t.$store.getters.avatar}})]),o("span",{staticStyle:{padding:"0 5px"}},[t._v(" "+t._s(t.$store.getters.nickname)+" ")]),o("i",{staticClass:"el-icon-arrow-down el-icon--right"})],1),o("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[o("el-dropdown-item",{attrs:{command:"a"}},[o("i",{staticClass:"el-icon-user icon"}),t._v("\n 修改资料\n ")]),o("el-dropdown-item",{attrs:{command:"b"}},[o("i",{staticClass:"el-icon-unlock icon"}),t._v("\n 修改密码\n ")]),o("el-dropdown-item",{attrs:{command:"c",divided:""}},[o("i",{staticClass:"el-icon-caret-right icon"}),t._v("\n 退出登录\n ")])],1)],1)],1)],1)],1)},f=[],p=o("bc3a"),h=o.n(p),g={name:"mini-im-aside",data:function(){return{bgColor:"#ffffff"}},props:{title:String},methods:{logout:function(){var t=this;h.a.put("/admin/online/0"),h.a.get("/auth/logout").then((function(){t.$store.commit("onReset"),t.$store.commit("onChangeAdminInfo",null),t.$router.push({path:"/login"}),t.$mimcInstance.logout(),t.$store.commit("onIsLogin",!1),localStorage.clear()})).catch((function(e){t.$message.error("退出失败"),console.log(e)}))},handleCommand:function(t){var e=this;switch(t){case"a":this.$store.commit("onChangeEditDialogFormVisible",!0);break;case"b":this.$store.commit("onChangeEditPasswordDialogFormVisible",!0);break;case"c":this.$confirm("您确定要退出登录吗? ","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){return e.logout()}));break}}}},b=g,v=(o("8a1c"),Object(c["a"])(b,u,f,!1,null,"7a297760",null)),w=v.exports,_=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{attrs:{width:"500px",title:"修改资料","show-close":!1,visible:t.$store.state.editDialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){return t.$set(t.$store.state,"editDialogFormVisible",e)}}},[o("el-form",{attrs:{model:t.form}},[o("el-form-item",{attrs:{label:"头像","label-width":t.formLabelWidth}},[o("el-row",{attrs:{gutter:10}},[o("el-col",{attrs:{span:3}},[o("div",{staticClass:"mini-im-file-button",attrs:{title:"点击上传图片"}},[o("el-avatar",{attrs:{size:50,src:t.form.avatar||t.$store.state.avatar}}),o("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:t.changeFile}}),o("div",{directives:[{name:"show",rawName:"v-show",value:t.isUploading,expression:"isUploading"}],staticClass:"mini-im-file-percent"},[o("span",[t._v(t._s(t.uploadPercent))])])],1)]),o("el-col",{attrs:{span:6}})],1)],1),o("el-form-item",{attrs:{label:"账号","label-width":t.formLabelWidth}},[t._v("\n "+t._s(t.form.username)+"\n ")]),o("el-form-item",{attrs:{label:"昵称","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请输入昵称",autocomplete:"off"},model:{value:t.form.nickname,callback:function(e){t.$set(t.form,"nickname",e)},expression:"form.nickname"}})],1),o("el-form-item",{attrs:{label:"联系方式","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请输入联系方式",autocomplete:"off"},model:{value:t.form.phone,callback:function(e){t.$set(t.form,"phone",e)},expression:"form.phone"}})],1),o("el-form-item",{attrs:{label:"自动回复语","label-width":t.formLabelWidth}},[o("el-input",{attrs:{type:"textarea",placeholder:"请输入自动回复语,不支持emoji,请使用简单语句描述",autocomplete:"off"},model:{value:t.form.auto_reply,callback:function(e){t.$set(t.form,"auto_reply",e)},expression:"form.auto_reply"}})],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),o("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},$=[],k=o("fb21"),x={name:"mini-im-edit-profile",data:function(){return{form:{id:"",avatar:"",username:"",nickname:"",phone:"",auto_reply:""},formLabelWidth:"90px",isUploading:!1,uploadPercent:""}},computed:{adminInfo:function(){return this.$store.state.adminInfo}},methods:{closeModal:function(){this.$store.commit("onChangeEditDialogFormVisible",!1)},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});h.a.put("/admin",this.form).then((function(o){console.log(o),e.close(),t.$message.success("资料修改成功"),t.closeModal(),t.$store.dispatch("ON_GET_ME")})).catch((function(o){e.close(),t.$message.error(o.response.data.message)}))},changeFile:function(t){var e=this;Object(k["a"])({file:t.target.files[0],progress:function(t){e.isUploading=!0,e.uploadPercent=t+"%"},success:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.success("上传成功");var o=e.$store.getters.uploadToken.host+"/"+t;e.form.avatar=o},error:function(t){e.isUploading=!1,e.uploadPercent="",e.$message.error(t.message)}})}},watch:{adminInfo:function(){if(this.adminInfo){var t=this.$store.state.adminInfo,e=t.avatar,o=t.username,s=t.nickname,a=t.phone,i=t.id,n=t.auto_reply;this.form={avatar:e,username:o,nickname:s,phone:a,id:i,auto_reply:n}}}}},C=x,y=(o("5d0e"),Object(c["a"])(C,_,$,!1,null,"0d4bcba3",null)),E=y.exports,P=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("el-dialog",{attrs:{width:"500px",title:"修改密码","show-close":!1,visible:t.$store.state.editPasswordDialogFormVisible,"close-on-click-modal":!1},on:{"update:visible":function(e){return t.$set(t.$store.state,"editPasswordDialogFormVisible",e)}}},[o("el-form",{attrs:{model:t.form}},[o("el-form-item",{attrs:{label:"旧密码","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请输入旧密码",autocomplete:"off"},model:{value:t.form.old_password,callback:function(e){t.$set(t.form,"old_password",e)},expression:"form.old_password"}})],1),o("el-form-item",{attrs:{label:"新密码","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请输入新密码",autocomplete:"off"},model:{value:t.form.new_password,callback:function(e){t.$set(t.form,"new_password",e)},expression:"form.new_password"}})],1),o("el-form-item",{attrs:{label:"确认密码","label-width":t.formLabelWidth}},[o("el-input",{attrs:{placeholder:"请再次输入新密码",autocomplete:"off"},model:{value:t.form.enter_password,callback:function(e){t.$set(t.form,"enter_password",e)},expression:"form.enter_password"}})],1)],1),o("div",{staticClass:"dialog-footer",attrs:{slot:"footer"},slot:"footer"},[o("el-button",{on:{click:t.closeModal}},[t._v("取 消")]),o("el-button",{attrs:{type:"primary"},on:{click:t.save}},[t._v("保 存")])],1)],1)},A=[],F={name:"mini-im-create-knowledge",data:function(){return{form:{old_password:"",new_password:"",enter_password:""},robotSwitch:!0,formLabelWidth:"80px"}},props:{dialogFormVisible:Boolean},mounted:function(){},methods:{closeModal:function(){this.resize(),this.$store.commit("onChangeEditPasswordDialogFormVisible",!1)},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});h.a.put("/admin/password",this.form).then((function(o){console.log(o),e.close(),t.$message.success("资料修改成功"),t.closeModal(),t.resize()})).catch((function(o){e.close(),t.$message.error(o.response.data.message)}))},resize:function(){this.form={old_password:"",new_password:"",enter_password:""}}}},L=F,I=Object(c["a"])(L,P,A,!1,null,"5987490c",null),M=I.exports,S={name:"home",components:{MeAside:m,MeHeaser:w,EditProfile:E,EditPassword:M},computed:{workbenchBgColor:function(){return"/workbench"==this.$route.path?this.$store.getters.workbenchBgColor:"#ffffff"}}},T=S,W=(o("c5f8"),Object(c["a"])(T,s,a,!1,null,"61095d10",null));e["default"]=W.exports},"5d0e":function(t,e,o){"use strict";var s=o("710f"),a=o.n(s);a.a},"710f":function(t,e,o){},"8a1c":function(t,e,o){"use strict";var s=o("9aba"),a=o.n(s);a.a},"8e69":function(t,e,o){t.exports=o.p+"img/kefu_logo.9c308a55.png"},"98be":function(t,e,o){},"99fd":function(t,e,o){},"9aba":function(t,e,o){},c5f8:function(t,e,o){"use strict";var s=o("98be"),a=o.n(s);a.a}}]);
//# sourceMappingURL=chunk-d086e898.72fb38e4.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/components/me-aside.vue?48f3","webpack:///./src/views/index.vue?1588","webpack:///./src/components/me-aside.vue?4e46","webpack:///src/components/me-aside.vue","webpack:///./src/components/me-aside.vue?761f","webpack:///./src/components/me-aside.vue","webpack:///./src/components/me-header.vue?6981","webpack:///src/components/me-header.vue","webpack:///./src/components/me-header.vue?8b81","webpack:///./src/components/me-header.vue","webpack:///./src/components/me-edit-profile.vue?f354","webpack:///src/components/me-edit-profile.vue","webpack:///./src/components/me-edit-profile.vue?b167","webpack:///./src/components/me-edit-profile.vue","webpack:///./src/components/me-edit-password.vue?c2bd","webpack:///src/components/me-edit-password.vue","webpack:///./src/components/me-edit-password.vue?7d42","webpack:///./src/components/me-edit-password.vue","webpack:///src/views/index.vue","webpack:///./src/views/index.vue?a66e","webpack:///./src/views/index.vue","webpack:///./src/components/me-edit-profile.vue?ef1b","webpack:///./src/components/me-header.vue?f81c","webpack:///./src/assets/kefu_logo.png","webpack:///./src/views/index.vue?c757"],"names":["render","_vm","this","_h","$createElement","_c","_self","$store","state","_e","staticStyle","staticClass","attrs","style","workbenchBgColor","staticRenderFns","on","$event","$router","push","path","getters","systemInfo","logo","Date","now","menuActive","slot","_v","readCount","name","data","mounted","methods","setHeaderTitle","title","$route","commit","watch","component","isShowAside","_s","heaserTitle","handleCommand","avatar","nickname","bgColor","props","String","logout","console","log","error","editDialogFormVisible","$set","form","formLabelWidth","changeFile","directives","rawName","value","expression","uploadPercent","username","model","callback","$$v","closeModal","save","computed","adminInfo","lock","text","spinner","background","loading","close","editPasswordDialogFormVisible","dialogFormVisible","Boolean","resize","components","MeAside","module","exports"],"mappings":"kHAAA,yBAA+gB,EAAG,G,2CCAlhB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAG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EACAe,GACA,EACA,KACA,WACA,OAIa,e,sECnBf,yBAA8iB,EAAG,G,oCCAjjB,yBAAwiB,EAAG,G,gDCA3iBoE,EAAOC,QAAU,IAA0B,8B,oFCA3C,yBAAoiB,EAAG","file":"js/chunk-0499e026.accfa348.js","sourcesContent":["import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-aside.vue?vue&type=style&index=0&lang=stylus&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-aside.vue?vue&type=style&index=0&lang=stylus&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-container',[(_vm.$store.state.isShowAside)?_c('me-aside'):_vm._e(),_c('el-container',{staticStyle:{\"min-width\":\"800px\"}},[_c('el-header',{staticClass:\"mini-im-header\"},[_c('me-heaser',{attrs:{\"title\":\"sdfsd\"}})],1),_c('el-main',{style:('background-color:' + _vm.workbenchBgColor)},[_c('router-view')],1)],1),_c('EditProfile'),_c('EditPassword')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-aside',{staticClass:\"mini-im-aside\",attrs:{\"width\":\"200px\"}},[_c('div',{staticClass:\"mini-im-logo\",on:{\"click\":function($event){return _vm.$router.push({ path: '/index'})}}},[(_vm.$store.getters.systemInfo.logo)?_c('div',[_c('img',{attrs:{\"src\":_vm.$store.getters.systemInfo.logo + '?id=' + Date.now(),\"alt\":\"\"}})]):_c('div',[_c('img',{attrs:{\"src\":require(\"../assets/kefu_logo.png\"),\"alt\":\"\"}})])]),_c('el-menu',{staticClass:\"el-menu-vertical-demo\",attrs:{\"default-active\":_vm.menuActive,\"background-color\":\"#3e444a\",\"text-color\":\"#fff\",\"router\":true,\"active-text-color\":\"#ffd04b\"}},[_c('el-menu-item',{attrs:{\"index\":\"/index\"}},[_c('i',{staticClass:\"el-icon-s-home\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"首页\")])]),_c('el-menu-item',{attrs:{\"index\":\"/workbench\"}},[_c('el-badge',{staticStyle:{\"width\":\"100%\"},attrs:{\"hidden\":_vm.$store.getters.readCount == 0,\"value\":_vm.$store.getters.readCount,\"max\":99}},[_c('div',[_c('i',{staticClass:\"el-icon-s-platform\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"工作台\")])])])],1),_c('el-menu-item',{attrs:{\"index\":\"/knowledge\"}},[_c('i',{staticClass:\"el-icon-reading\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"知识库\")])]),_c('el-menu-item',{attrs:{\"index\":\"/robot\"}},[_c('i',{staticClass:\"el-icon-picture-outline-round\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"机器人\")])]),_c('el-menu-item',{attrs:{\"index\":\"/customer\"}},[_c('i',{staticClass:\"el-icon-headset\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"客服管理\")])]),_c('el-menu-item',{attrs:{\"index\":\"/users\"}},[_c('i',{staticClass:\"el-icon-user\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"用户管理\")])]),_c('el-menu-item',{attrs:{\"index\":\"/chat_record\"}},[_c('i',{staticClass:\"el-icon-time\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"服务记录\")])]),_c('el-menu-item',{attrs:{\"index\":\"/system\"}},[_c('i',{staticClass:\"el-icon-setting\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"系统设置\")])])],1),_c('div',{staticClass:\"fix-bottom\"},[_c('a',{attrs:{\"title\":\"去给作者Star\",\"target\":\"_blank\",\"href\":\"https://github.com/chenxianqi/kefu_server.git\"}},[_c('svg',{staticClass:\"github-logo\",attrs:{\"height\":\"23\",\"viewBox\":\"0 0 16 16\",\"version\":\"1.1\",\"width\":\"23\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill\":\"#fff\",\"fill-rule\":\"evenodd\",\"d\":\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z\"}})]),_c('span',[_vm._v(\" Github\")])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-aside width=\"200px\" class=\"mini-im-aside\">\n <div class=\"mini-im-logo\" @click=\"$router.push({ path: '/index'})\">\n <div v-if=\"$store.getters.systemInfo.logo\"><img :src=\"$store.getters.systemInfo.logo + '?id=' + Date.now()\" alt=\"\"></div>\n <div v-else><img src=\"../assets/kefu_logo.png\" alt=\"\"></div>\n </div>\n <el-menu\n :default-active=\"menuActive\"\n class=\"el-menu-vertical-demo\"\n background-color=\"#3e444a\"\n text-color=\"#fff\"\n :router=\"true\"\n active-text-color=\"#ffd04b\"\n >\n <el-menu-item index=\"/index\">\n <i class=\"el-icon-s-home\"></i>\n <span slot=\"title\">首页</span>\n </el-menu-item>\n <el-menu-item index=\"/workbench\">\n <el-badge :hidden=\"$store.getters.readCount == 0\" :value=\"$store.getters.readCount\" :max=\"99\" style=\"width: 100%;\">\n <div>\n <i class=\"el-icon-s-platform\"></i>\n <span slot=\"title\">工作台</span>\n </div>\n </el-badge>\n </el-menu-item>\n <el-menu-item index=\"/knowledge\">\n <i class=\"el-icon-reading\"></i>\n <span slot=\"title\">知识库</span>\n </el-menu-item>\n <el-menu-item index=\"/robot\">\n <i class=\"el-icon-picture-outline-round\"></i>\n <span slot=\"title\">机器人</span>\n </el-menu-item>\n <el-menu-item index=\"/customer\">\n <i class=\"el-icon-headset\"></i>\n <span slot=\"title\">客服管理</span>\n </el-menu-item>\n <el-menu-item index=\"/users\">\n <i class=\"el-icon-user\"></i>\n <span slot=\"title\">用户管理</span>\n </el-menu-item>\n <el-menu-item index=\"/chat_record\">\n <i class=\"el-icon-time\"></i>\n <span slot=\"title\">服务记录</span>\n </el-menu-item>\n <el-menu-item index=\"/system\">\n <i class=\"el-icon-setting\"></i>\n <span slot=\"title\">系统设置</span>\n </el-menu-item>\n \n </el-menu>\n <div class=\"fix-bottom\">\n <a title=\"去给作者Star\" target=\"_blank\" href=\"https://github.com/chenxianqi/kefu_server.git\">\n <svg class=\"github-logo\" height=\"23\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"23\" aria-hidden=\"true\"><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z\"></path></svg>\n <span> Github</span>\n </a>\n </div>\n </el-aside>\n</template>\n<script>\nexport default {\n name: 'mini-im-aside',\n data(){\n return {\n menuActive: \"/index\"\n }\n },\n mounted(){\n this.setHeaderTitle()\n },\n methods: {\n setHeaderTitle(){\n this.menuActive = this.$route.path\n var title\n switch(this.menuActive){\n case \"/index\":\n title = \"首页\"\n break\n case \"/workbench\":\n title = \"工作台\"\n break\n case \"/knowledge\":\n title = \"知识库\"\n break\n case \"/robot\":\n title = \"机器人\"\n break\n case \"/customer\":\n title = \"客服管理\"\n break\n case \"/users\":\n title = \"用户管理\"\n break\n case \"/system\":\n title = \"系统设置\"\n break\n }\n this.$store.commit(\"onChangeHeaserTitle\", title)\n }\n },\n watch: {\n \"$route\"(){\n this.setHeaderTitle()\n }\n }\n}\n</script>\n<style lang=\"stylus\">\n .mini-im-aside{\n background-color: #3e444a\n display flex\n flex-direction column\n .mini-im-logo{\n width 100%;\n height: 100px;\n display flex\n justify-content center\n flex-direction column\n align-items center\n border-bottom 1px solid #ddd\n img{\n height : 30px\n }\n }\n .el-menu{\n border-right 0\n }\n .el-badge__content{\n border 0\n top 30px\n }\n .fix-bottom{\n flex-grow 1\n display flex\n flex-direction column\n justify-content flex-end\n padding-bottom 30px\n a{\n cursor pointer\n padding 0 30px\n text-align center\n align-items center\n color #fff\n display flex\n align-content center\n .github-log{\n width 50px\n }\n span{\n margin-top 3px\n margin-left 5px\n }\n }\n }\n }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-aside.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-aside.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./me-aside.vue?vue&type=template&id=b3aabc52&\"\nimport script from \"./me-aside.vue?vue&type=script&lang=js&\"\nexport * from \"./me-aside.vue?vue&type=script&lang=js&\"\nimport style0 from \"./me-aside.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-row',{attrs:{\"type\":\"flex\",\"justify\":\"end\",\"gutter\":20}},[_c('el-col',{attrs:{\"span\":5}},[_c('el-button',{staticClass:\"mini-im-button\",attrs:{\"type\":\"info\",\"icon\":_vm.$store.state.isShowAside ? 'el-icon-s-fold' : 'el-icon-s-unfold'},on:{\"click\":function($event){return _vm.$store.commit('onChangeToggleAside', !_vm.$store.state.isShowAside)}}})],1),_c('el-col',{attrs:{\"span\":16}},[_c('div',{staticClass:\"mini-im-title\"},[_vm._v(_vm._s(_vm.$store.state.heaserTitle))])]),_c('el-col',{attrs:{\"span\":5}},[_c('el-row',{staticClass:\"mini-im-dropdown\",attrs:{\"type\":\"flex\",\"justify\":\"end\"}},[_c('el-dropdown',{attrs:{\"trigger\":\"click\"},on:{\"command\":_vm.handleCommand}},[_c('div',{staticClass:\"el-dropdown-link\"},[_c('el-avatar',{staticClass:\"mini-im-avatar\",attrs:{\"size\":25}},[_c('img',{attrs:{\"src\":_vm.$store.getters.avatar}})]),_c('span',{staticStyle:{\"padding\":\"0 5px\"}},[_vm._v(\" \"+_vm._s(_vm.$store.getters.nickname)+\" \")]),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})],1),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{attrs:{\"command\":\"a\"}},[_c('i',{staticClass:\"el-icon-user icon\"}),_vm._v(\"\\n 修改资料\\n \")]),_c('el-dropdown-item',{attrs:{\"command\":\"b\"}},[_c('i',{staticClass:\"el-icon-unlock icon\"}),_vm._v(\"\\n 修改密码\\n \")]),_c('el-dropdown-item',{attrs:{\"command\":\"c\",\"divided\":\"\"}},[_c('i',{staticClass:\"el-icon-caret-right icon\"}),_vm._v(\"\\n 退出登录\\n \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-row type=\"flex\" justify=\"end\" :gutter=\"20\">\n <el-col :span=\"5\">\n <el-button\n @click=\"$store.commit('onChangeToggleAside', !$store.state.isShowAside)\"\n class=\"mini-im-button\"\n type=\"info\"\n :icon=\"$store.state.isShowAside ? 'el-icon-s-fold' : 'el-icon-s-unfold'\"\n >\n </el-button>\n </el-col>\n <el-col :span=\"16\" >\n <div class=\"mini-im-title\">{{$store.state.heaserTitle}}</div>\n </el-col>\n <el-col :span=\"5\">\n <el-row type=\"flex\" justify=\"end\" class=\"mini-im-dropdown\">\n <el-dropdown @command=\"handleCommand\" trigger=\"click\">\n <div class=\"el-dropdown-link\">\n <el-avatar :size=\"25\" class=\"mini-im-avatar\">\n <img :src=\"$store.getters.avatar\"/>\n </el-avatar>\n <span style=\"padding:0 5px;\"> {{$store.getters.nickname}} </span>\n <i class=\"el-icon-arrow-down el-icon--right\"></i>\n </div>\n <el-dropdown-menu slot=\"dropdown\">\n <el-dropdown-item command=\"a\">\n <i class=\"el-icon-user icon\"></i>\n 修改资料\n </el-dropdown-item>\n <el-dropdown-item command=\"b\">\n <i class=\"el-icon-unlock icon\"></i>\n 修改密码\n </el-dropdown-item>\n <el-dropdown-item command=\"c\" divided>\n <i class=\"el-icon-caret-right icon\"></i>\n 退出登录\n </el-dropdown-item>\n </el-dropdown-menu>\n </el-dropdown>\n </el-row>\n </el-col>\n </el-row>\n</template>\n<script>\nimport axios from 'axios'\nexport default {\n name: \"mini-im-aside\",\n data(){\n return {\n bgColor: \"#ffffff\"\n }\n },\n props: {\n title: String\n },\n methods: {\n // 退出登录\n logout(){\n axios.put('/admin/online/0')\n axios.get('/auth/logout')\n .then(() => {\n this.$store.commit(\"onReset\")\n this.$store.commit(\"onChangeAdminInfo\", null)\n this.$router.push({ path: '/login'})\n this.$mimcInstance.logout()\n this.$store.commit(\"onIsLogin\", false)\n localStorage.clear()\n })\n .catch(error => {\n this.$message.error('退出失败')\n console.log(error)\n })\n },\n handleCommand(command){\n switch(command){\n case 'a':\n this.$store.commit(\"onChangeEditDialogFormVisible\", true)\n break\n case 'b':\n this.$store.commit(\"onChangeEditPasswordDialogFormVisible\", true)\n break\n case 'c':\n this.$confirm('您确定要退出登录吗? 退出登录后工作台也同时下线!', '温馨提示!', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n center: true,\n type: 'warning'\n }).then(() => this.logout())\n break\n\n }\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n.mini-im-header {\n background-color: #545c64;\n border-bottom: 1px solid #545c64;\n .mini-im-dropdown{\n height 100%\n }\n .mini-im-button{\n border 0\n font-size 35px\n display block\n background 0\n padding-left 0\n }\n .mini-im-title{\n color #fff\n font-size 16px\n text-align center\n line-height 60px\n }\n .icon {\n color: #fff;\n }\n .el-dropdown-link {\n cursor: pointer;\n display flex\n height 100%\n line-height 60px\n align-items center\n color: #fff;\n }\n .el-icon-arrow-down {\n font-size: 12px;\n }\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./me-header.vue?vue&type=template&id=432b9ecd&scoped=true&\"\nimport script from \"./me-header.vue?vue&type=script&lang=js&\"\nexport * from \"./me-header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./me-header.vue?vue&type=style&index=0&id=432b9ecd&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"432b9ecd\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"500px\",\"title\":\"修改资料\",\"show-close\":false,\"visible\":_vm.$store.state.editDialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){return _vm.$set(_vm.$store.state, \"editDialogFormVisible\", $event)}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"头像\",\"label-width\":_vm.formLabelWidth}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":3}},[_c('div',{staticClass:\"mini-im-file-button\",attrs:{\"title\":\"点击上传图片\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.form.avatar || _vm.$store.state.avatar}}),_c('input',{attrs:{\"onClick\":\"this.value = null\",\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.changeFile}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUploading),expression:\"isUploading\"}],staticClass:\"mini-im-file-percent\"},[_c('span',[_vm._v(_vm._s(_vm.uploadPercent))])])],1)]),_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"账号\",\"label-width\":_vm.formLabelWidth}},[_vm._v(\"\\n \"+_vm._s(_vm.form.username)+\"\\n \")]),_c('el-form-item',{attrs:{\"label\":\"昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"联系方式\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入联系方式\",\"autocomplete\":\"off\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"自动回复语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入自动回复语,不支持emoji,请使用简单语句描述\",\"autocomplete\":\"off\"},model:{value:(_vm.form.auto_reply),callback:function ($$v) {_vm.$set(_vm.form, \"auto_reply\", $$v)},expression:\"form.auto_reply\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog width=\"500px\" title=\"修改资料\" :show-close=\"false\" :visible.sync=\"$store.state.editDialogFormVisible\" :close-on-click-modal=\"false\">\n <el-form :model=\"form\">\n <el-form-item label=\"头像\" :label-width=\"formLabelWidth\">\n <el-row :gutter=\"10\">\n <el-col :span=\"3\">\n <div class=\"mini-im-file-button\" title=\"点击上传图片\">\n <el-avatar :size=\"50\" :src=\"form.avatar || $store.state.avatar\"></el-avatar>\n <input onClick=\"this.value = null\" @change=\"changeFile\" type=\"file\" accept=\"image/*\">\n <div v-show=\"isUploading\" class=\"mini-im-file-percent\">\n <span>{{uploadPercent}}</span>\n </div>\n </div>\n </el-col>\n <el-col :span=\"6\">\n </el-col>\n </el-row>\n </el-form-item>\n <el-form-item label=\"账号\" :label-width=\"formLabelWidth\">\n {{form.username}}\n </el-form-item>\n <el-form-item label=\"昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"联系方式\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.phone\" placeholder=\"请输入联系方式\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"自动回复语\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.auto_reply\" type=\"textarea\" placeholder=\"请输入自动回复语,不支持emoji,请使用简单语句描述\" autocomplete=\"off\"></el-input>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from 'axios'\nimport upload from '../common/upload'\nexport default {\n name: 'mini-im-edit-profile',\n data(){\n return {\n form: {\n id: \"\",\n avatar: \"\",\n username: \"\",\n nickname: '',\n phone: '',\n auto_reply: ''\n },\n formLabelWidth: \"90px\",\n isUploading: false,\n uploadPercent: \"\"\n }\n },\n computed: {\n adminInfo(){\n return this.$store.state.adminInfo\n }\n },\n methods: {\n // 关闭窗口\n closeModal(){\n this.$store.commit(\"onChangeEditDialogFormVisible\", false)\n },\n // 保存\n save(){\n const loading = this.$loading({\n lock: true,\n text: '保存中...',\n spinner: 'el-icon-loading',\n background: 'rgba(0, 0, 0, 0.5)'\n });\n axios.put('/admin', this.form)\n .then(response => {\n console.log(response)\n loading.close();\n this.$message.success(\"资料修改成功\")\n this.closeModal()\n this.$store.dispatch('ON_GET_ME')\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message)\n });\n\n },\n // 上传头像\n changeFile(file){\n\n upload({\n file: file.target.files[0],\n progress: (percent) => {\n this.isUploading = true\n this.uploadPercent = percent + \"%\"\n },\n success: (url) => {\n this.isUploading = false\n this.uploadPercent = \"\"\n this.$message.success(\"上传成功\")\n var imgUrl = this.$store.getters.uploadToken.host +\"/\"+ url\n this.form.avatar = imgUrl\n },\n error: (err)=>{\n this.isUploading = false\n this.uploadPercent = \"\"\n this.$message.error(err.message)\n }\n });\n \n }\n },\n watch: {\n adminInfo(){\n if(!this.adminInfo) return\n const {avatar,username, nickname, phone, id, auto_reply } = this.$store.state.adminInfo\n this.form = {avatar,username, nickname, phone, id, auto_reply }\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n .mini-im-file-button{\n width 50px\n height 50px\n border-radius 50%\n position relative\n overflow hidden\n input{\n font-size 100px\n position absolute\n top 0px\n left 0px\n cursor pointer\n opacity 0\n }\n cursor pointer\n .mini-im-file-percent{\n position absolute\n top 0px\n left 0px\n width 100%\n height 100%\n display flex\n align-items center\n justify-content center\n border-radius 50%\n background-color rgba(0,0,0, .5)\n color #fff\n font-size 12px\n }\n }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-profile.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-profile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./me-edit-profile.vue?vue&type=template&id=0d4bcba3&scoped=true&\"\nimport script from \"./me-edit-profile.vue?vue&type=script&lang=js&\"\nexport * from \"./me-edit-profile.vue?vue&type=script&lang=js&\"\nimport style0 from \"./me-edit-profile.vue?vue&type=style&index=0&id=0d4bcba3&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0d4bcba3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"500px\",\"title\":\"修改密码\",\"show-close\":false,\"visible\":_vm.$store.state.editPasswordDialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){return _vm.$set(_vm.$store.state, \"editPasswordDialogFormVisible\", $event)}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"旧密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入旧密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.old_password),callback:function ($$v) {_vm.$set(_vm.form, \"old_password\", $$v)},expression:\"form.old_password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"新密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入新密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.new_password),callback:function ($$v) {_vm.$set(_vm.form, \"new_password\", $$v)},expression:\"form.new_password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"确认密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请再次输入新密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.enter_password),callback:function ($$v) {_vm.$set(_vm.form, \"enter_password\", $$v)},expression:\"form.enter_password\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog width=\"500px\" title=\"修改密码\" :show-close=\"false\" :visible.sync=\"$store.state.editPasswordDialogFormVisible\" :close-on-click-modal=\"false\">\n <el-form :model=\"form\">\n <el-form-item label=\"旧密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.old_password\" placeholder=\"请输入旧密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"新密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.new_password\" placeholder=\"请输入新密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"确认密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.enter_password\" placeholder=\"请再次输入新密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from 'axios'\nexport default {\n name: 'mini-im-create-knowledge',\n data(){\n return {\n form: {\n old_password: \"\",\n new_password: \"\",\n enter_password: \"\"\n },\n robotSwitch: true,\n formLabelWidth: \"80px\"\n }\n },\n props:{\n dialogFormVisible: Boolean\n },\n mounted(){\n },\n methods: {\n // 关闭\n closeModal(){\n this.resize()\n this.$store.commit(\"onChangeEditPasswordDialogFormVisible\", false)\n },\n // 保存\n save(){\n // 验证字段 !! 算了前端不验证了\n const loading = this.$loading({\n lock: true,\n text: '保存中...',\n spinner: 'el-icon-loading',\n background: 'rgba(0, 0, 0, 0.5)'\n });\n axios.put('/admin/password', this.form)\n .then(response => {\n console.log(response)\n loading.close();\n this.$message.success(\"资料修改成功\")\n this.closeModal()\n this.resize()\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message)\n });\n\n },\n resize(){\n this.form = {\n old_password: \"\",\n new_password: \"\",\n enter_password: \"\"\n }\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n \n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-password.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-password.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./me-edit-password.vue?vue&type=template&id=5987490c&scoped=true&\"\nimport script from \"./me-edit-password.vue?vue&type=script&lang=js&\"\nexport * from \"./me-edit-password.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5987490c\",\n null\n \n)\n\nexport default component.exports","<template>\n <el-container>\n <me-aside v-if=\"$store.state.isShowAside\"></me-aside>\n <el-container style=\"min-width: 800px;\">\n <el-header class=\"mini-im-header\">\n <me-heaser title=\"sdfsd\"></me-heaser>\n </el-header>\n <el-main :style=\"'background-color:' + workbenchBgColor\">\n <router-view></router-view>\n </el-main>\n </el-container>\n <EditProfile />\n <EditPassword />\n </el-container>\n</template>\n\n<script>\n\nimport MeAside from \"@/components/me-aside.vue\";\nimport MeHeaser from \"@/components/me-header.vue\";\nimport EditProfile from \"@/components/me-edit-profile.vue\";\nimport EditPassword from \"@/components/me-edit-password.vue\";\n\nexport default {\n name: \"home\",\n components: {\n MeAside,MeHeaser,EditProfile,EditPassword\n },\n computed: {\n workbenchBgColor(){\n if(this.$route.path == \"/workbench\"){\n return this.$store.getters.workbenchBgColor\n }\n return \"#ffffff\"\n }\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n .mini-im-header{\n background-color #545c64\n border-bottom 1px solid #545c64\n }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=61095d10&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=61095d10&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"61095d10\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-profile.vue?vue&type=style&index=0&id=0d4bcba3&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-profile.vue?vue&type=style&index=0&id=0d4bcba3&scoped=true&lang=stylus&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-header.vue?vue&type=style&index=0&id=432b9ecd&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-header.vue?vue&type=style&index=0&id=432b9ecd&scoped=true&lang=stylus&\"","module.exports = __webpack_public_path__ + \"img/kefu_logo.9c308a55.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=61095d10&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=61095d10&lang=stylus&scoped=true&\""],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/components/me-aside.vue?48f3","webpack:///./src/views/index.vue?1588","webpack:///./src/components/me-aside.vue?4e46","webpack:///src/components/me-aside.vue","webpack:///./src/components/me-aside.vue?761f","webpack:///./src/components/me-aside.vue","webpack:///./src/components/me-header.vue?d953","webpack:///src/components/me-header.vue","webpack:///./src/components/me-header.vue?8b81","webpack:///./src/components/me-header.vue","webpack:///./src/components/me-edit-profile.vue?f354","webpack:///src/components/me-edit-profile.vue","webpack:///./src/components/me-edit-profile.vue?b167","webpack:///./src/components/me-edit-profile.vue","webpack:///./src/components/me-edit-password.vue?c2bd","webpack:///src/components/me-edit-password.vue","webpack:///./src/components/me-edit-password.vue?7d42","webpack:///./src/components/me-edit-password.vue","webpack:///src/views/index.vue","webpack:///./src/views/index.vue?a66e","webpack:///./src/views/index.vue","webpack:///./src/components/me-edit-profile.vue?ef1b","webpack:///./src/components/me-header.vue?35bc","webpack:///./src/assets/kefu_logo.png","webpack:///./src/views/index.vue?c757"],"names":["render","_vm","this","_h","$createElement","_c","_self","$store","state","_e","staticStyle","staticClass","attrs","style","workbenchBgColor","staticRenderFns","on","$event","$router","push","path","getters","systemInfo","logo","Date","now","menuActive","slot","_v","readCount","name","data","mounted","methods","setHeaderTitle","title","$route","commit","watch","component","isShowAside","_s","heaserTitle","handleCommand","avatar","nickname","bgColor","props","String","logout","console","log","error","editDialogFormVisible","$set","form","formLabelWidth","changeFile","directives","rawName","value","expression","uploadPercent","username","model","callback","$$v","closeModal","save","computed","adminInfo","lock","text","spinner","background","loading","close","editPasswordDialogFormVisible","dialogFormVisible","Boolean","resize","components","MeAside","module","exports"],"mappings":"kHAAA,yBAA+gB,EAAG,G,2CCAlhB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,eAAe,CAAEJ,EAAIM,OAAOC,MAAiB,YAAEH,EAAG,YAAYJ,EAAIQ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AU,IAA0B,8B,6GCA3C,yBAAoiB,EAAG","file":"js/chunk-d086e898.72fb38e4.js","sourcesContent":["import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-aside.vue?vue&type=style&index=0&lang=stylus&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-aside.vue?vue&type=style&index=0&lang=stylus&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-container',[(_vm.$store.state.isShowAside)?_c('me-aside'):_vm._e(),_c('el-container',{staticStyle:{\"min-width\":\"800px\"}},[_c('el-header',{staticClass:\"mini-im-header\"},[_c('me-heaser',{attrs:{\"title\":\"sdfsd\"}})],1),_c('el-main',{style:('background-color:' + _vm.workbenchBgColor)},[_c('router-view')],1)],1),_c('EditProfile'),_c('EditPassword')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-aside',{staticClass:\"mini-im-aside\",attrs:{\"width\":\"200px\"}},[_c('div',{staticClass:\"mini-im-logo\",on:{\"click\":function($event){return _vm.$router.push({ path: '/index'})}}},[(_vm.$store.getters.systemInfo.logo)?_c('div',[_c('img',{attrs:{\"src\":_vm.$store.getters.systemInfo.logo + '?id=' + Date.now(),\"alt\":\"\"}})]):_c('div',[_c('img',{attrs:{\"src\":require(\"../assets/kefu_logo.png\"),\"alt\":\"\"}})])]),_c('el-menu',{staticClass:\"el-menu-vertical-demo\",attrs:{\"default-active\":_vm.menuActive,\"background-color\":\"#3e444a\",\"text-color\":\"#fff\",\"router\":true,\"active-text-color\":\"#ffd04b\"}},[_c('el-menu-item',{attrs:{\"index\":\"/index\"}},[_c('i',{staticClass:\"el-icon-s-home\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"首页\")])]),_c('el-menu-item',{attrs:{\"index\":\"/workbench\"}},[_c('el-badge',{staticStyle:{\"width\":\"100%\"},attrs:{\"hidden\":_vm.$store.getters.readCount == 0,\"value\":_vm.$store.getters.readCount,\"max\":99}},[_c('div',[_c('i',{staticClass:\"el-icon-s-platform\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"工作台\")])])])],1),_c('el-menu-item',{attrs:{\"index\":\"/knowledge\"}},[_c('i',{staticClass:\"el-icon-reading\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"知识库\")])]),_c('el-menu-item',{attrs:{\"index\":\"/robot\"}},[_c('i',{staticClass:\"el-icon-picture-outline-round\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"机器人\")])]),_c('el-menu-item',{attrs:{\"index\":\"/customer\"}},[_c('i',{staticClass:\"el-icon-headset\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"客服管理\")])]),_c('el-menu-item',{attrs:{\"index\":\"/users\"}},[_c('i',{staticClass:\"el-icon-user\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"用户管理\")])]),_c('el-menu-item',{attrs:{\"index\":\"/chat_record\"}},[_c('i',{staticClass:\"el-icon-time\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"服务记录\")])]),_c('el-menu-item',{attrs:{\"index\":\"/system\"}},[_c('i',{staticClass:\"el-icon-setting\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"系统设置\")])])],1),_c('div',{staticClass:\"fix-bottom\"},[_c('a',{attrs:{\"title\":\"去给作者Star\",\"target\":\"_blank\",\"href\":\"https://github.com/chenxianqi/kefu_server.git\"}},[_c('svg',{staticClass:\"github-logo\",attrs:{\"height\":\"23\",\"viewBox\":\"0 0 16 16\",\"version\":\"1.1\",\"width\":\"23\",\"aria-hidden\":\"true\"}},[_c('path',{attrs:{\"fill\":\"#fff\",\"fill-rule\":\"evenodd\",\"d\":\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z\"}})]),_c('span',[_vm._v(\" Github\")])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-aside width=\"200px\" class=\"mini-im-aside\">\n <div class=\"mini-im-logo\" @click=\"$router.push({ path: '/index'})\">\n <div v-if=\"$store.getters.systemInfo.logo\"><img :src=\"$store.getters.systemInfo.logo + '?id=' + Date.now()\" alt=\"\"></div>\n <div v-else><img src=\"../assets/kefu_logo.png\" alt=\"\"></div>\n </div>\n <el-menu\n :default-active=\"menuActive\"\n class=\"el-menu-vertical-demo\"\n background-color=\"#3e444a\"\n text-color=\"#fff\"\n :router=\"true\"\n active-text-color=\"#ffd04b\"\n >\n <el-menu-item index=\"/index\">\n <i class=\"el-icon-s-home\"></i>\n <span slot=\"title\">首页</span>\n </el-menu-item>\n <el-menu-item index=\"/workbench\">\n <el-badge :hidden=\"$store.getters.readCount == 0\" :value=\"$store.getters.readCount\" :max=\"99\" style=\"width: 100%;\">\n <div>\n <i class=\"el-icon-s-platform\"></i>\n <span slot=\"title\">工作台</span>\n </div>\n </el-badge>\n </el-menu-item>\n <el-menu-item index=\"/knowledge\">\n <i class=\"el-icon-reading\"></i>\n <span slot=\"title\">知识库</span>\n </el-menu-item>\n <el-menu-item index=\"/robot\">\n <i class=\"el-icon-picture-outline-round\"></i>\n <span slot=\"title\">机器人</span>\n </el-menu-item>\n <el-menu-item index=\"/customer\">\n <i class=\"el-icon-headset\"></i>\n <span slot=\"title\">客服管理</span>\n </el-menu-item>\n <el-menu-item index=\"/users\">\n <i class=\"el-icon-user\"></i>\n <span slot=\"title\">用户管理</span>\n </el-menu-item>\n <el-menu-item index=\"/chat_record\">\n <i class=\"el-icon-time\"></i>\n <span slot=\"title\">服务记录</span>\n </el-menu-item>\n <el-menu-item index=\"/system\">\n <i class=\"el-icon-setting\"></i>\n <span slot=\"title\">系统设置</span>\n </el-menu-item>\n \n </el-menu>\n <div class=\"fix-bottom\">\n <a title=\"去给作者Star\" target=\"_blank\" href=\"https://github.com/chenxianqi/kefu_server.git\">\n <svg class=\"github-logo\" height=\"23\" viewBox=\"0 0 16 16\" version=\"1.1\" width=\"23\" aria-hidden=\"true\"><path fill=\"#fff\" fill-rule=\"evenodd\" d=\"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z\"></path></svg>\n <span> Github</span>\n </a>\n </div>\n </el-aside>\n</template>\n<script>\nexport default {\n name: 'mini-im-aside',\n data(){\n return {\n menuActive: \"/index\"\n }\n },\n mounted(){\n this.setHeaderTitle()\n },\n methods: {\n setHeaderTitle(){\n this.menuActive = this.$route.path\n var title\n switch(this.menuActive){\n case \"/index\":\n title = \"首页\"\n break\n case \"/workbench\":\n title = \"工作台\"\n break\n case \"/knowledge\":\n title = \"知识库\"\n break\n case \"/robot\":\n title = \"机器人\"\n break\n case \"/customer\":\n title = \"客服管理\"\n break\n case \"/users\":\n title = \"用户管理\"\n break\n case \"/system\":\n title = \"系统设置\"\n break\n }\n this.$store.commit(\"onChangeHeaserTitle\", title)\n }\n },\n watch: {\n \"$route\"(){\n this.setHeaderTitle()\n }\n }\n}\n</script>\n<style lang=\"stylus\">\n .mini-im-aside{\n background-color: #3e444a\n display flex\n flex-direction column\n .mini-im-logo{\n width 100%;\n height: 100px;\n display flex\n justify-content center\n flex-direction column\n align-items center\n border-bottom 1px solid #ddd\n img{\n height : 30px\n }\n }\n .el-menu{\n border-right 0\n }\n .el-badge__content{\n border 0\n top 30px\n }\n .fix-bottom{\n flex-grow 1\n display flex\n flex-direction column\n justify-content flex-end\n padding-bottom 30px\n a{\n cursor pointer\n padding 0 30px\n text-align center\n align-items center\n color #fff\n display flex\n align-content center\n .github-log{\n width 50px\n }\n span{\n margin-top 3px\n margin-left 5px\n }\n }\n }\n }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-aside.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-aside.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./me-aside.vue?vue&type=template&id=b3aabc52&\"\nimport script from \"./me-aside.vue?vue&type=script&lang=js&\"\nexport * from \"./me-aside.vue?vue&type=script&lang=js&\"\nimport style0 from \"./me-aside.vue?vue&type=style&index=0&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-row',{attrs:{\"type\":\"flex\",\"justify\":\"end\",\"gutter\":20}},[_c('el-col',{attrs:{\"span\":5}},[_c('el-button',{staticClass:\"mini-im-button\",attrs:{\"type\":\"info\",\"icon\":_vm.$store.state.isShowAside ? 'el-icon-s-fold' : 'el-icon-s-unfold'},on:{\"click\":function($event){return _vm.$store.commit('onChangeToggleAside', !_vm.$store.state.isShowAside)}}})],1),_c('el-col',{attrs:{\"span\":16}},[_c('div',{staticClass:\"mini-im-title\"},[_vm._v(_vm._s(_vm.$store.state.heaserTitle))])]),_c('el-col',{attrs:{\"span\":5}},[_c('el-row',{staticClass:\"mini-im-dropdown\",attrs:{\"type\":\"flex\",\"justify\":\"end\"}},[_c('el-dropdown',{attrs:{\"trigger\":\"click\"},on:{\"command\":_vm.handleCommand}},[_c('div',{staticClass:\"el-dropdown-link\"},[_c('el-avatar',{staticClass:\"mini-im-avatar\",attrs:{\"size\":25}},[_c('img',{attrs:{\"src\":_vm.$store.getters.avatar}})]),_c('span',{staticStyle:{\"padding\":\"0 5px\"}},[_vm._v(\" \"+_vm._s(_vm.$store.getters.nickname)+\" \")]),_c('i',{staticClass:\"el-icon-arrow-down el-icon--right\"})],1),_c('el-dropdown-menu',{attrs:{\"slot\":\"dropdown\"},slot:\"dropdown\"},[_c('el-dropdown-item',{attrs:{\"command\":\"a\"}},[_c('i',{staticClass:\"el-icon-user icon\"}),_vm._v(\"\\n 修改资料\\n \")]),_c('el-dropdown-item',{attrs:{\"command\":\"b\"}},[_c('i',{staticClass:\"el-icon-unlock icon\"}),_vm._v(\"\\n 修改密码\\n \")]),_c('el-dropdown-item',{attrs:{\"command\":\"c\",\"divided\":\"\"}},[_c('i',{staticClass:\"el-icon-caret-right icon\"}),_vm._v(\"\\n 退出登录\\n \")])],1)],1)],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-row type=\"flex\" justify=\"end\" :gutter=\"20\">\n <el-col :span=\"5\">\n <el-button\n @click=\"$store.commit('onChangeToggleAside', !$store.state.isShowAside)\"\n class=\"mini-im-button\"\n type=\"info\"\n :icon=\"$store.state.isShowAside ? 'el-icon-s-fold' : 'el-icon-s-unfold'\"\n >\n </el-button>\n </el-col>\n <el-col :span=\"16\" >\n <div class=\"mini-im-title\">{{$store.state.heaserTitle}}</div>\n </el-col>\n <el-col :span=\"5\">\n <el-row type=\"flex\" justify=\"end\" class=\"mini-im-dropdown\">\n <el-dropdown @command=\"handleCommand\" trigger=\"click\">\n <div class=\"el-dropdown-link\">\n <el-avatar :size=\"25\" class=\"mini-im-avatar\">\n <img :src=\"$store.getters.avatar\"/>\n </el-avatar>\n <span style=\"padding:0 5px;\"> {{$store.getters.nickname}} </span>\n <i class=\"el-icon-arrow-down el-icon--right\"></i>\n </div>\n <el-dropdown-menu slot=\"dropdown\">\n <el-dropdown-item command=\"a\">\n <i class=\"el-icon-user icon\"></i>\n 修改资料\n </el-dropdown-item>\n <el-dropdown-item command=\"b\">\n <i class=\"el-icon-unlock icon\"></i>\n 修改密码\n </el-dropdown-item>\n <el-dropdown-item command=\"c\" divided>\n <i class=\"el-icon-caret-right icon\"></i>\n 退出登录\n </el-dropdown-item>\n </el-dropdown-menu>\n </el-dropdown>\n </el-row>\n </el-col>\n </el-row>\n</template>\n<script>\nimport axios from 'axios'\nexport default {\n name: \"mini-im-aside\",\n data(){\n return {\n bgColor: \"#ffffff\"\n }\n },\n props: {\n title: String\n },\n methods: {\n // 退出登录\n logout(){\n axios.put('/admin/online/0')\n axios.get('/auth/logout')\n .then(() => {\n this.$store.commit(\"onReset\")\n this.$store.commit(\"onChangeAdminInfo\", null)\n this.$router.push({ path: '/login'})\n this.$mimcInstance.logout()\n this.$store.commit(\"onIsLogin\", false)\n localStorage.clear()\n })\n .catch(error => {\n this.$message.error('退出失败')\n console.log(error)\n })\n },\n handleCommand(command){\n switch(command){\n case 'a':\n this.$store.commit(\"onChangeEditDialogFormVisible\", true)\n break\n case 'b':\n this.$store.commit(\"onChangeEditPasswordDialogFormVisible\", true)\n break\n case 'c':\n this.$confirm('您确定要退出登录吗? ', '温馨提示!', {\n confirmButtonText: '确定',\n cancelButtonText: '取消',\n center: true,\n type: 'warning'\n }).then(() => this.logout())\n break\n\n }\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n.mini-im-header {\n background-color: #545c64;\n border-bottom: 1px solid #545c64;\n .mini-im-dropdown{\n height 100%\n }\n .mini-im-button{\n border 0\n font-size 35px\n display block\n background 0\n padding-left 0\n }\n .mini-im-title{\n color #fff\n font-size 16px\n text-align center\n line-height 60px\n }\n .icon {\n color: #fff;\n }\n .el-dropdown-link {\n cursor: pointer;\n display flex\n height 100%\n line-height 60px\n align-items center\n color: #fff;\n }\n .el-icon-arrow-down {\n font-size: 12px;\n }\n}\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-header.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-header.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./me-header.vue?vue&type=template&id=7a297760&scoped=true&\"\nimport script from \"./me-header.vue?vue&type=script&lang=js&\"\nexport * from \"./me-header.vue?vue&type=script&lang=js&\"\nimport style0 from \"./me-header.vue?vue&type=style&index=0&id=7a297760&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7a297760\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"500px\",\"title\":\"修改资料\",\"show-close\":false,\"visible\":_vm.$store.state.editDialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){return _vm.$set(_vm.$store.state, \"editDialogFormVisible\", $event)}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"头像\",\"label-width\":_vm.formLabelWidth}},[_c('el-row',{attrs:{\"gutter\":10}},[_c('el-col',{attrs:{\"span\":3}},[_c('div',{staticClass:\"mini-im-file-button\",attrs:{\"title\":\"点击上传图片\"}},[_c('el-avatar',{attrs:{\"size\":50,\"src\":_vm.form.avatar || _vm.$store.state.avatar}}),_c('input',{attrs:{\"onClick\":\"this.value = null\",\"type\":\"file\",\"accept\":\"image/*\"},on:{\"change\":_vm.changeFile}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.isUploading),expression:\"isUploading\"}],staticClass:\"mini-im-file-percent\"},[_c('span',[_vm._v(_vm._s(_vm.uploadPercent))])])],1)]),_c('el-col',{attrs:{\"span\":6}})],1)],1),_c('el-form-item',{attrs:{\"label\":\"账号\",\"label-width\":_vm.formLabelWidth}},[_vm._v(\"\\n \"+_vm._s(_vm.form.username)+\"\\n \")]),_c('el-form-item',{attrs:{\"label\":\"昵称\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入昵称\",\"autocomplete\":\"off\"},model:{value:(_vm.form.nickname),callback:function ($$v) {_vm.$set(_vm.form, \"nickname\", $$v)},expression:\"form.nickname\"}})],1),_c('el-form-item',{attrs:{\"label\":\"联系方式\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入联系方式\",\"autocomplete\":\"off\"},model:{value:(_vm.form.phone),callback:function ($$v) {_vm.$set(_vm.form, \"phone\", $$v)},expression:\"form.phone\"}})],1),_c('el-form-item',{attrs:{\"label\":\"自动回复语\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"type\":\"textarea\",\"placeholder\":\"请输入自动回复语,不支持emoji,请使用简单语句描述\",\"autocomplete\":\"off\"},model:{value:(_vm.form.auto_reply),callback:function ($$v) {_vm.$set(_vm.form, \"auto_reply\", $$v)},expression:\"form.auto_reply\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog width=\"500px\" title=\"修改资料\" :show-close=\"false\" :visible.sync=\"$store.state.editDialogFormVisible\" :close-on-click-modal=\"false\">\n <el-form :model=\"form\">\n <el-form-item label=\"头像\" :label-width=\"formLabelWidth\">\n <el-row :gutter=\"10\">\n <el-col :span=\"3\">\n <div class=\"mini-im-file-button\" title=\"点击上传图片\">\n <el-avatar :size=\"50\" :src=\"form.avatar || $store.state.avatar\"></el-avatar>\n <input onClick=\"this.value = null\" @change=\"changeFile\" type=\"file\" accept=\"image/*\">\n <div v-show=\"isUploading\" class=\"mini-im-file-percent\">\n <span>{{uploadPercent}}</span>\n </div>\n </div>\n </el-col>\n <el-col :span=\"6\">\n </el-col>\n </el-row>\n </el-form-item>\n <el-form-item label=\"账号\" :label-width=\"formLabelWidth\">\n {{form.username}}\n </el-form-item>\n <el-form-item label=\"昵称\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.nickname\" placeholder=\"请输入昵称\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"联系方式\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.phone\" placeholder=\"请输入联系方式\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"自动回复语\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.auto_reply\" type=\"textarea\" placeholder=\"请输入自动回复语,不支持emoji,请使用简单语句描述\" autocomplete=\"off\"></el-input>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from 'axios'\nimport upload from '../common/upload'\nexport default {\n name: 'mini-im-edit-profile',\n data(){\n return {\n form: {\n id: \"\",\n avatar: \"\",\n username: \"\",\n nickname: '',\n phone: '',\n auto_reply: ''\n },\n formLabelWidth: \"90px\",\n isUploading: false,\n uploadPercent: \"\"\n }\n },\n computed: {\n adminInfo(){\n return this.$store.state.adminInfo\n }\n },\n methods: {\n // 关闭窗口\n closeModal(){\n this.$store.commit(\"onChangeEditDialogFormVisible\", false)\n },\n // 保存\n save(){\n const loading = this.$loading({\n lock: true,\n text: '保存中...',\n spinner: 'el-icon-loading',\n background: 'rgba(0, 0, 0, 0.5)'\n });\n axios.put('/admin', this.form)\n .then(response => {\n console.log(response)\n loading.close();\n this.$message.success(\"资料修改成功\")\n this.closeModal()\n this.$store.dispatch('ON_GET_ME')\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message)\n });\n\n },\n // 上传头像\n changeFile(file){\n\n upload({\n file: file.target.files[0],\n progress: (percent) => {\n this.isUploading = true\n this.uploadPercent = percent + \"%\"\n },\n success: (url) => {\n this.isUploading = false\n this.uploadPercent = \"\"\n this.$message.success(\"上传成功\")\n var imgUrl = this.$store.getters.uploadToken.host +\"/\"+ url\n this.form.avatar = imgUrl\n },\n error: (err)=>{\n this.isUploading = false\n this.uploadPercent = \"\"\n this.$message.error(err.message)\n }\n });\n \n }\n },\n watch: {\n adminInfo(){\n if(!this.adminInfo) return\n const {avatar,username, nickname, phone, id, auto_reply } = this.$store.state.adminInfo\n this.form = {avatar,username, nickname, phone, id, auto_reply }\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n .mini-im-file-button{\n width 50px\n height 50px\n border-radius 50%\n position relative\n overflow hidden\n input{\n font-size 100px\n position absolute\n top 0px\n left 0px\n cursor pointer\n opacity 0\n }\n cursor pointer\n .mini-im-file-percent{\n position absolute\n top 0px\n left 0px\n width 100%\n height 100%\n display flex\n align-items center\n justify-content center\n border-radius 50%\n background-color rgba(0,0,0, .5)\n color #fff\n font-size 12px\n }\n }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-profile.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-profile.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./me-edit-profile.vue?vue&type=template&id=0d4bcba3&scoped=true&\"\nimport script from \"./me-edit-profile.vue?vue&type=script&lang=js&\"\nexport * from \"./me-edit-profile.vue?vue&type=script&lang=js&\"\nimport style0 from \"./me-edit-profile.vue?vue&type=style&index=0&id=0d4bcba3&scoped=true&lang=stylus&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0d4bcba3\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('el-dialog',{attrs:{\"width\":\"500px\",\"title\":\"修改密码\",\"show-close\":false,\"visible\":_vm.$store.state.editPasswordDialogFormVisible,\"close-on-click-modal\":false},on:{\"update:visible\":function($event){return _vm.$set(_vm.$store.state, \"editPasswordDialogFormVisible\", $event)}}},[_c('el-form',{attrs:{\"model\":_vm.form}},[_c('el-form-item',{attrs:{\"label\":\"旧密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入旧密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.old_password),callback:function ($$v) {_vm.$set(_vm.form, \"old_password\", $$v)},expression:\"form.old_password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"新密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请输入新密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.new_password),callback:function ($$v) {_vm.$set(_vm.form, \"new_password\", $$v)},expression:\"form.new_password\"}})],1),_c('el-form-item',{attrs:{\"label\":\"确认密码\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"placeholder\":\"请再次输入新密码\",\"autocomplete\":\"off\"},model:{value:(_vm.form.enter_password),callback:function ($$v) {_vm.$set(_vm.form, \"enter_password\", $$v)},expression:\"form.enter_password\"}})],1)],1),_c('div',{staticClass:\"dialog-footer\",attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('el-button',{on:{\"click\":_vm.closeModal}},[_vm._v(\"取 消\")]),_c('el-button',{attrs:{\"type\":\"primary\"},on:{\"click\":_vm.save}},[_vm._v(\"保 存\")])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <el-dialog width=\"500px\" title=\"修改密码\" :show-close=\"false\" :visible.sync=\"$store.state.editPasswordDialogFormVisible\" :close-on-click-modal=\"false\">\n <el-form :model=\"form\">\n <el-form-item label=\"旧密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.old_password\" placeholder=\"请输入旧密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"新密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.new_password\" placeholder=\"请输入新密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"确认密码\" :label-width=\"formLabelWidth\">\n <el-input v-model=\"form.enter_password\" placeholder=\"请再次输入新密码\" autocomplete=\"off\"></el-input>\n </el-form-item>\n </el-form>\n <div slot=\"footer\" class=\"dialog-footer\">\n <el-button @click=\"closeModal\">取 消</el-button>\n <el-button type=\"primary\" @click=\"save\">保 存</el-button>\n </div>\n </el-dialog>\n</template>\n<script>\nimport axios from 'axios'\nexport default {\n name: 'mini-im-create-knowledge',\n data(){\n return {\n form: {\n old_password: \"\",\n new_password: \"\",\n enter_password: \"\"\n },\n robotSwitch: true,\n formLabelWidth: \"80px\"\n }\n },\n props:{\n dialogFormVisible: Boolean\n },\n mounted(){\n },\n methods: {\n // 关闭\n closeModal(){\n this.resize()\n this.$store.commit(\"onChangeEditPasswordDialogFormVisible\", false)\n },\n // 保存\n save(){\n // 验证字段 !! 算了前端不验证了\n const loading = this.$loading({\n lock: true,\n text: '保存中...',\n spinner: 'el-icon-loading',\n background: 'rgba(0, 0, 0, 0.5)'\n });\n axios.put('/admin/password', this.form)\n .then(response => {\n console.log(response)\n loading.close();\n this.$message.success(\"资料修改成功\")\n this.closeModal()\n this.resize()\n })\n .catch(error => {\n loading.close();\n this.$message.error(error.response.data.message)\n });\n\n },\n resize(){\n this.form = {\n old_password: \"\",\n new_password: \"\",\n enter_password: \"\"\n }\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n \n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-password.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-password.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./me-edit-password.vue?vue&type=template&id=5987490c&scoped=true&\"\nimport script from \"./me-edit-password.vue?vue&type=script&lang=js&\"\nexport * from \"./me-edit-password.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5987490c\",\n null\n \n)\n\nexport default component.exports","<template>\n <el-container>\n <me-aside v-if=\"$store.state.isShowAside\"></me-aside>\n <el-container style=\"min-width: 800px;\">\n <el-header class=\"mini-im-header\">\n <me-heaser title=\"sdfsd\"></me-heaser>\n </el-header>\n <el-main :style=\"'background-color:' + workbenchBgColor\">\n <router-view></router-view>\n </el-main>\n </el-container>\n <EditProfile />\n <EditPassword />\n </el-container>\n</template>\n\n<script>\n\nimport MeAside from \"@/components/me-aside.vue\";\nimport MeHeaser from \"@/components/me-header.vue\";\nimport EditProfile from \"@/components/me-edit-profile.vue\";\nimport EditPassword from \"@/components/me-edit-password.vue\";\n\nexport default {\n name: \"home\",\n components: {\n MeAside,MeHeaser,EditProfile,EditPassword\n },\n computed: {\n workbenchBgColor(){\n if(this.$route.path == \"/workbench\"){\n return this.$store.getters.workbenchBgColor\n }\n return \"#ffffff\"\n }\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n .mini-im-header{\n background-color #545c64\n border-bottom 1px solid #545c64\n }\n</style>\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./index.vue?vue&type=template&id=61095d10&scoped=true&\"\nimport script from \"./index.vue?vue&type=script&lang=js&\"\nexport * from \"./index.vue?vue&type=script&lang=js&\"\nimport style0 from \"./index.vue?vue&type=style&index=0&id=61095d10&lang=stylus&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"61095d10\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-profile.vue?vue&type=style&index=0&id=0d4bcba3&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-edit-profile.vue?vue&type=style&index=0&id=0d4bcba3&scoped=true&lang=stylus&\"","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-header.vue?vue&type=style&index=0&id=7a297760&scoped=true&lang=stylus&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./me-header.vue?vue&type=style&index=0&id=7a297760&scoped=true&lang=stylus&\"","module.exports = __webpack_public_path__ + \"img/kefu_logo.9c308a55.png\";","import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=61095d10&lang=stylus&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../node_modules/css-loader/index.js??ref--11-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--11-oneOf-1-2!../../node_modules/stylus-loader/index.js??ref--11-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./index.vue?vue&type=style&index=0&id=61095d10&lang=stylus&scoped=true&\""],"sourceRoot":""}
\ No newline at end of file
body{min-width:240px;overflow:hidden;height:100vh;background-color:#f3f3f3}.mint-header.is-fixed{height:50px!important;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde)}.mint-header.is-fixed .mint-header-title{font-size:15px}.mint-header,.mint-tabbar{min-width:240px;z-index:999999999!important}.mint-header .is-right img{width:25px}.mint-header .mint-button .mintui{font-size:23px!important}.mint-tabbar{z-index:999999999!important;background-color:#fff!important}.mint-loadmore-spinner{width:15px!important;height:15px!important}.mini-im-container{margin:0 auto;padding:50px 0 100px;overflow:hidden;height:100vh;-webkit-box-sizing:border-box;box-sizing:border-box}.mini-im-container .input-ing{width:100vw;height:25px;position:fixed;top:0;left:0;right:0;background-color:#26a2ff!important;z-index:9;color:#fff;margin:auto;text-align:center;font-size:14px;line-height:25px}.mini-im-container .mini-im-loading{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:240px;width:100%;position:fixed;top:0;left:0;right:0;background-color:#fff!important;margin:auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mini-im-container-no-pto{padding-top:0!important}.mini-im-tabbar-input{width:100%;padding:5px 10px;overflow:hidden;height:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:fixed;bottom:0;z-index:9;background-color:#fff!important;border-top:1px solid #f2f2f2;left:0;right:0;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box}.mini-im-tabbar-input textarea{outline:none;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;border-radius:5px;height:65px;-webkit-box-flex:1;-ms-flex-positive:1;padding:8px 0;font-size:14px;color:#666;background-color:#fff;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-ms-flex-negative:1;flex-shrink:1;flex-grow:1;width:100px}.mini-im-tabbar-input span{width:25px;height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mini-im-tabbar-input span img{width:28px}.mini-im-tabbar-input span.expression-btn{position:absolute;left:40px;top:6px;z-index:99}.mini-im-tabbar-input span.photo-btn{position:absolute;left:10px;top:5px;overflow:hidden;z-index:99}.mini-im-tabbar-input span.photo-btn img{width:22px}.mini-im-tabbar-input span.photo-btn input{width:100%;height:100%;position:absolute;top:0;left:0;opacity:0}.mini-im-tabbar-input span.serverci{width:70px;position:absolute;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;top:5px;right:10px}.mini-im-tabbar-input span.serverci img{width:26px}.mini-im-tabbar-input span.serverci span{width:70px;background-color:hsla(0,0%,95.3%,.439);color:#999;font-size:14px}.mini-im-tabbar-input span.serverci.on{left:75px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;right:auto}.mini-im-tabbar-input .mini-input-send{width:55px;height:30px;color:#fff;line-height:30px;text-align:center;border-radius:3px;border:none;font-size:14px;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde);-ms-flex-negative:0;flex-shrink:0}.mini-im-tabbar-input .mini-input-send:active{opacity:.8}.mini-im-emoji{position:fixed;top:0;padding:5px 0;z-index:9}.mini-im-emoji,.mini-im-emoji .mini-im-emoji-content{width:100%;height:100vh;left:0;right:0;margin:0 auto;background-color:#fff}.mini-im-emoji .mini-im-emoji-content{padding:50px 0 5px;position:absolute;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;overflow:hidden;bottom:0;text-align:center;-webkit-box-shadow:0 2px 2px 1px rgba(0,0,0,.1);box-shadow:0 2px 2px 1px rgba(0,0,0,.1)}.mini-im-emoji .mini-im-emoji-content span{display:inline-block;width:28px;height:28px;padding:2px;text-align:center;font-size:23px}.mini-im-body{position:relative;height:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:#f3f3f3;margin:0 auto;overflow:hidden;z-index:1}.mini-im-body ul{position:absolute;z-index:1;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;-o-text-size-adjust:none;text-size-adjust:none}.mini-im-body .loading{position:fixed;bottom:0;margin:auto}.mini-im-body .loading,.mini-im-body .no-network{height:100%;top:0;left:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mini-im-body .no-network{width:100%;background-color:#fff;position:absolute;margin:0 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;z-index:9}.mini-im-body .no-network span{color:#999;font-size:13px;margin:20px 0}.mini-im-body .no-network button{width:100px;height:30px;color:#fff;line-height:30px;text-align:center;border-radius:3px;border:none;font-size:14px;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde);-ms-flex-negative:0;flex-shrink:0}.mini-im-knowledge{width:100vw;height:100vh;background-color:rgba(0,0,0,.2);position:fixed;z-index:8;top:0;left:0;right:0;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-bottom:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mini-im-knowledge .mask{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:100vw;height:100px}.mini-im-knowledge span{background-color:#fff;font-size:14px;color:#666;padding:10px}.mini-im-knowledge ul{background-color:#fff}.mini-im-knowledge ul li{font-size:13px;cursor:pointer;color:#56b7ff;padding:6px 10px;border-top:1px solid #f2f2f2}.mint-loadmore{height:100%}.mint-loadmore-text{color:#666;font-size:14px}.mini-im-chat-list{padding:20px 10px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.mini-im-chat-list .message-loading{padding-bottom:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mini-im-chat-list .mini-im-chat-item{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:15px}.mini-im-chat-list .mini-im-chat-item .chat-avatar{width:30px;height:30px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;overflow:hidden;margin-top:2px;-webkit-box-shadow:1px 1px 2px 0 rgba(0,0,0,.3);box-shadow:1px 1px 2px 0 rgba(0,0,0,.3);border-radius:100%}.mini-im-chat-list .mini-im-chat-item .chat-avatar img{width:100%;height:100%;border-radius:100%}.mini-im-chat-list .mini-im-chat-item .chat-content{width:100%;padding-left:10px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-username{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:5px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-username span{font-size:12px;color:#666;font-weight:500}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-username em{color:#666;font-size:12px;margin-left:8px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .cancel-btn{font-size:12px;color:#26a2ff!important;margin-right:5px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .text{padding:5px 8px;background-color:#fff;border-radius:3px;font-size:14px;color:#333;max-width:85%;position:relative;-webkit-box-shadow:1px 2px 2px 0 rgba(0,0,0,.1);box-shadow:1px 2px 2px 0 rgba(0,0,0,.1);-webkit-user-select:text;-moz-user-select:text;-o-user-select:text;-ms-user-select:text;user-select:text;word-break:break-all}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .text:before{content:"";display:block;position:absolute;top:5px;left:-9px;width:0;height:0;overflow:hidden;font-size:0;line-height:0;border:5px;border-radius:2px;border-style:dashed solid dashed dashed;border-color:transparent #fff transparent transparent}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .photo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .photo img{width:120px;display:block;border-radius:5px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .photo span{font-size:12px;color:#999;padding-right:5px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .system{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .system span{text-align:center;font-size:12px;color:#999}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .system .content{margin-top:1.5px;height:25px;text-align:center}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .system .content span{padding:0 10px;text-align:center;font-size:12px;border-radius:5px;display:inline-block;line-height:22px;height:22px;min-width:80px;color:#949393}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .knowledge{padding:5px 8px;background-color:#fff;border-radius:3px;font-size:13px;color:#333;max-width:80%;position:relative;-webkit-box-shadow:1px 2px 2px 0 rgba(0,0,0,.1);box-shadow:1px 2px 2px 0 rgba(0,0,0,.1);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .knowledge .title{min-height:25px;font-size:14px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .knowledge a{font-size:13px;color:#26a2ff;text-decoration:none;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:25px}.mini-im-chat-list .mini-im-chat-item.self{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-item.self .chat-content{padding-right:10px}.mini-im-chat-list .mini-im-chat-item.self .chat-body{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-item.self .chat-body .text{-webkit-box-shadow:-1px 1px 3px 0 rgba(0,0,0,.1);box-shadow:-1px 1px 3px 0 rgba(0,0,0,.1);background-color:#26a2ff;color:#fff;-webkit-user-select:text;-moz-user-select:text;-o-user-select:text;-ms-user-select:text;user-select:text;word-break:break-all}.mini-im-chat-list .mini-im-chat-item.self .chat-body .text:before{left:inherit;right:-9px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #26a2ff}.mini-im-chat-list .mini-im-chat-item.self .chat-avatar{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.mini-im-chat-list .mini-im-chat-item.self .chat-username{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-item.self .chat-username em{-webkit-box-ordinal-group:-1;-ms-flex-order:-2;order:-2;margin-right:5px}.mini-im-pc-container{width:360px;height:500px;position:fixed;top:0;left:0;right:0;bottom:0;margin:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0!important;overflow:hidden;-webkit-box-shadow:1px 1px 8px 2px #ccc;box-shadow:1px 1px 8px 2px #ccc}.mini-im-pc-container .mini-im-emoji,.mini-im-pc-container .mini-im-loading{width:360px!important;height:500px!important;bottom:0;margin:auto!important}.mini-im-pc-container .mini-im-emoji{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.mini-im-pc-container .cancel-btn{cursor:pointer}.mini-im-pc-container .mini-im-emoji-content{padding:8px!important;height:465px!important;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.mini-im-pc-container .mini-im-emoji-content span{width:26px;height:26px;cursor:pointer}.mini-im-pc-container .mini-im-body{width:360px;height:500px;position:static!important}.mini-im-pc-container .mini-im-body .mini-im-chat-list{padding:15px!important}.mini-im-pc-container .mini-im-pc-header{z-index:999999999!important;height:45px;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde);-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 10px;color:#fff}.mini-im-pc-container .mini-im-pc-header,.mini-im-pc-container .mini-im-pc-header .right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mini-im-pc-container .mini-im-pc-header .right{cursor:pointer}.mini-im-pc-container .mini-im-pc-header .right img{width:20px;margin-right:5px}.mini-im-pc-container .mini-im-pc-header .title{font-size:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mini-im-pc-container .mini-im-pc-header .title img{width:20px;margin-right:5px}.mini-im-pc-container .mini-im-pc-header span{font-size:14px}.mini-im-pc-container .mini-im-pc-header .close-btn{width:20px;height:35px;text-align:right;line-height:35px;cursor:pointer}.mini-im-pc-container .mini-im-tabbar-input{height:130px;overflow:hidden;padding:5px;position:relative;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;z-index:9}.mini-im-pc-container .mini-im-tabbar-input textarea{height:65px;padding-right:5px;margin:0}.mini-im-pc-container .mini-im-tabbar-input .mini-input-send{height:70px;width:60px;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde);color:#fff;border:0;cursor:pointer;border-radius:2px}.mini-im-pc-container .mini-im-tabbar-input span.photo-btn{left:3px}.mini-im-pc-container .mini-im-tabbar-input span.expression-btn{left:30px}.bscroll-vertical-scrollbar{right:0!important;height:100%!important}.bscroll-vertical-scrollbar .bscroll-indicator{width:4px!important;border:0!important;background:rgba(0,0,0,.2)!important;right:0!important}
\ No newline at end of file
body{min-width:240px;overflow:hidden;height:100vh;background-color:#f3f3f3}.mint-header.is-fixed{height:50px!important;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde)}.mint-header.is-fixed .mint-header-title{font-size:15px}.mint-header,.mint-tabbar{min-width:240px;z-index:999999999!important}.mint-header .is-right img{width:25px}.mint-header .mint-button .mintui{font-size:23px!important}.mint-tabbar{z-index:999999999!important;background-color:#fff!important}.mint-loadmore-spinner{width:15px!important;height:15px!important}.mini-im-container{margin:0 auto;padding:50px 0 100px;overflow:hidden;height:100vh;-webkit-box-sizing:border-box;box-sizing:border-box}.mini-im-container .input-ing{width:100vw;height:25px;position:fixed;top:0;left:0;right:0;background-color:#26a2ff!important;z-index:9;color:#fff;margin:auto;text-align:center;font-size:14px;line-height:25px}.mini-im-container .mini-im-loading{display:-webkit-box;display:-ms-flexbox;display:flex;min-width:240px;width:100%;position:fixed;top:0;left:0;right:0;background-color:#fff!important;margin:auto;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mini-im-container-no-pto{padding-top:0!important}.mini-im-tabbar-input{width:100%;padding:5px 10px;overflow:hidden;height:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;position:fixed;bottom:0;z-index:9;background-color:#fff!important;border-top:1px solid #f2f2f2;left:0;right:0;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box}.mini-im-tabbar-input textarea{outline:none;-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0);border:none;border-radius:5px;height:65px;-webkit-box-flex:1;-ms-flex-positive:1;padding:8px 0;font-size:14px;color:#666;background-color:#fff;display:block;-webkit-box-sizing:border-box;box-sizing:border-box;resize:none;-ms-flex-negative:1;flex-shrink:1;flex-grow:1;width:100px}.mini-im-tabbar-input span{width:25px;height:25px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mini-im-tabbar-input span img{width:28px}.mini-im-tabbar-input span.expression-btn{position:absolute;left:40px;top:6px;z-index:99}.mini-im-tabbar-input span.photo-btn{position:absolute;left:10px;top:5px;overflow:hidden;z-index:99}.mini-im-tabbar-input span.photo-btn img{width:22px}.mini-im-tabbar-input span.photo-btn input{width:100%;height:100%;position:absolute;top:0;left:0;opacity:0}.mini-im-tabbar-input span.serverci{width:70px;position:absolute;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;top:5px;right:10px}.mini-im-tabbar-input span.serverci img{width:26px}.mini-im-tabbar-input span.serverci span{width:70px;background-color:hsla(0,0%,95.3%,.439);color:#999;font-size:14px}.mini-im-tabbar-input span.serverci.on{left:75px;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;right:auto}.mini-im-tabbar-input .mini-input-send{width:55px;height:30px;color:#fff;line-height:30px;text-align:center;border-radius:3px;border:none;font-size:14px;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde);-ms-flex-negative:0;flex-shrink:0}.mini-im-tabbar-input .mini-input-send:active{opacity:.8}.mini-im-emoji{position:fixed;top:0;padding:5px 0;z-index:9}.mini-im-emoji,.mini-im-emoji .mini-im-emoji-content{width:100%;height:100vh;left:0;right:0;margin:0 auto;background-color:#fff}.mini-im-emoji .mini-im-emoji-content{padding:50px 0 5px;position:absolute;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;overflow:hidden;bottom:0;text-align:center;-webkit-box-shadow:0 2px 2px 1px rgba(0,0,0,.1);box-shadow:0 2px 2px 1px rgba(0,0,0,.1)}.mini-im-emoji .mini-im-emoji-content span{display:inline-block;width:28px;height:28px;padding:2px;text-align:center;font-size:23px}.mini-im-body{position:relative;height:100%;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;background-color:#f3f3f3;margin:0 auto;overflow:hidden;z-index:1}.mini-im-body ul{position:absolute;z-index:1;-webkit-tap-highlight-color:rgba(0,0,0,0);width:100%;-webkit-transform:translateZ(0);transform:translateZ(0);-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;-ms-text-size-adjust:none;-o-text-size-adjust:none;text-size-adjust:none}.mini-im-body .loading{position:fixed;bottom:0;margin:auto}.mini-im-body .loading,.mini-im-body .no-network{height:100%;top:0;left:0;right:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mini-im-body .no-network{width:100%;background-color:#fff;position:absolute;margin:0 auto;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;z-index:9}.mini-im-body .no-network span{color:#999;font-size:13px;margin:20px 0}.mini-im-body .no-network button{width:100px;height:30px;color:#fff;line-height:30px;text-align:center;border-radius:3px;border:none;font-size:14px;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde);-ms-flex-negative:0;flex-shrink:0}.mini-im-knowledge{width:100vw;height:100vh;background-color:rgba(0,0,0,.2);position:fixed;z-index:8;top:0;left:0;right:0;margin:0 auto;-webkit-box-sizing:border-box;box-sizing:border-box;padding-bottom:100px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mini-im-knowledge .mask{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:100vw;height:100px}.mini-im-knowledge span{background-color:#fff;font-size:14px;color:#666;padding:10px}.mini-im-knowledge ul{background-color:#fff}.mini-im-knowledge ul li{font-size:13px;cursor:pointer;color:#56b7ff;padding:6px 10px;border-top:1px solid #f2f2f2}.mint-loadmore{height:100%}.mint-loadmore-text{color:#666;font-size:14px}.mini-im-chat-list{padding:20px 10px;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.mini-im-chat-list .message-loading{padding-bottom:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mini-im-chat-list .mini-im-chat-item{display:-webkit-box;display:-ms-flexbox;display:flex;margin-bottom:15px}.mini-im-chat-list .mini-im-chat-item .chat-avatar{width:30px;height:30px;-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0;overflow:hidden;margin-top:2px;-webkit-box-shadow:1px 1px 2px 0 rgba(0,0,0,.3);box-shadow:1px 1px 2px 0 rgba(0,0,0,.3);border-radius:100%}.mini-im-chat-list .mini-im-chat-item .chat-avatar img{width:100%;height:100%;border-radius:100%}.mini-im-chat-list .mini-im-chat-item .chat-content{width:100%;padding-left:10px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-username{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-bottom:5px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-username span{font-size:12px;color:#666;font-weight:500}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-username em{color:#666;font-size:12px;margin-left:8px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .cancel-btn{font-size:12px;color:#26a2ff!important;margin-right:5px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .text{padding:5px 8px;background-color:#fff;border-radius:3px;font-size:14px;color:#333;max-width:85%;position:relative;-webkit-box-shadow:1px 2px 2px 0 rgba(0,0,0,.1);box-shadow:1px 2px 2px 0 rgba(0,0,0,.1);-webkit-user-select:text;-moz-user-select:text;-o-user-select:text;-ms-user-select:text;user-select:text;word-break:break-all}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .text:before{content:"";display:block;position:absolute;top:5px;left:-9px;width:0;height:0;overflow:hidden;font-size:0;line-height:0;border:5px;border-radius:2px;border-style:dashed solid dashed dashed;border-color:transparent #fff transparent transparent}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .photo{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .photo img{width:120px;display:block;border-radius:5px;cursor:pointer}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .photo span{font-size:12px;color:#999;padding-right:5px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .system{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .system span{text-align:center;font-size:12px;color:#999}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .system .content{margin-top:1.5px;height:25px;text-align:center}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .system .content span{padding:0 10px;text-align:center;font-size:12px;border-radius:5px;display:inline-block;line-height:22px;height:22px;min-width:80px;color:#949393}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .knowledge{padding:5px 8px;background-color:#fff;border-radius:3px;font-size:13px;color:#333;max-width:80%;position:relative;-webkit-box-shadow:1px 2px 2px 0 rgba(0,0,0,.1);box-shadow:1px 2px 2px 0 rgba(0,0,0,.1);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:start;-ms-flex-align:start;align-items:flex-start}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .knowledge .title{min-height:25px;font-size:14px}.mini-im-chat-list .mini-im-chat-item .chat-content .chat-body .knowledge a{font-size:13px;color:#26a2ff;text-decoration:none;width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;min-height:25px}.mini-im-chat-list .mini-im-chat-item.self{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-item.self .chat-content{padding-right:10px}.mini-im-chat-list .mini-im-chat-item.self .chat-body{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-item.self .chat-body .text{-webkit-box-shadow:-1px 1px 3px 0 rgba(0,0,0,.1);box-shadow:-1px 1px 3px 0 rgba(0,0,0,.1);background-color:#26a2ff;color:#fff;-webkit-user-select:text;-moz-user-select:text;-o-user-select:text;-ms-user-select:text;user-select:text;word-break:break-all}.mini-im-chat-list .mini-im-chat-item.self .chat-body .text:before{left:inherit;right:-9px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #26a2ff}.mini-im-chat-list .mini-im-chat-item.self .chat-avatar{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1}.mini-im-chat-list .mini-im-chat-item.self .chat-username{-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end}.mini-im-chat-list .mini-im-chat-item.self .chat-username em{-webkit-box-ordinal-group:-1;-ms-flex-order:-2;order:-2;margin-right:5px}.mini-im-pc-container{width:360px;height:500px;position:fixed;top:0;left:0;right:0;bottom:0;margin:auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;padding:0!important;overflow:hidden;-webkit-box-shadow:1px 1px 8px 2px #ccc;box-shadow:1px 1px 8px 2px #ccc}.mini-im-pc-container .mini-im-emoji,.mini-im-pc-container .mini-im-loading{width:360px!important;height:500px!important;bottom:0;margin:auto!important}.mini-im-pc-container .mini-im-emoji{box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.mini-im-pc-container .cancel-btn{cursor:pointer}.mini-im-pc-container .mini-im-emoji-content{padding:8px!important;height:465px!important;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box}.mini-im-pc-container .mini-im-emoji-content span{width:26px;height:26px;cursor:pointer}.mini-im-pc-container .mini-im-body{width:360px;height:500px;position:static!important}.mini-im-pc-container .mini-im-body .mini-im-chat-list{padding:15px!important}.mini-im-pc-container .mini-im-pc-header{z-index:999999999!important;height:45px;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde);-ms-flex-negative:0;flex-shrink:0;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;padding:0 10px;color:#fff}.mini-im-pc-container .mini-im-pc-header,.mini-im-pc-container .mini-im-pc-header .right{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mini-im-pc-container .mini-im-pc-header .right{cursor:pointer}.mini-im-pc-container .mini-im-pc-header .right img{width:20px;margin-right:5px}.mini-im-pc-container .mini-im-pc-header .title{font-size:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.mini-im-pc-container .mini-im-pc-header .title img{width:20px;margin-right:5px}.mini-im-pc-container .mini-im-pc-header span{font-size:14px}.mini-im-pc-container .mini-im-pc-header .close-btn{width:20px;height:35px;text-align:right;line-height:35px;cursor:pointer}.mini-im-pc-container .mini-im-tabbar-input{height:130px;overflow:hidden;padding:5px;position:relative;box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;z-index:9}.mini-im-pc-container .mini-im-tabbar-input textarea{height:65px;padding-right:5px;margin:0}.mini-im-pc-container .mini-im-tabbar-input .mini-input-send{height:70px;width:60px;background:-webkit-gradient(linear,left top,right top,from(#26a2ff),to(#736cde));background:linear-gradient(90deg,#26a2ff,#736cde);color:#fff;border:0;cursor:pointer;border-radius:2px}.mini-im-pc-container .mini-im-tabbar-input span.photo-btn{left:3px}.mini-im-pc-container .mini-im-tabbar-input span.expression-btn{left:30px}.bscroll-vertical-scrollbar{right:0!important;height:100%!important}.bscroll-vertical-scrollbar .bscroll-indicator{width:4px!important;border:0!important;background:rgba(0,0,0,.2)!important;right:0!important}
\ No newline at end of file
......@@ -37,4 +37,4 @@
top:0 !important;
min-height: inherit!important;
left:0 !important; right:0 !important; bottom:0 !important; margin: auto !important;
}</style><link href=css/app.7e49cb6c.css rel=preload as=style><link href=css/chunk-vendors.946d2c9d.css rel=preload as=style><link href=js/app.9de5a83c.js rel=preload as=script><link href=js/chunk-vendors.5505216b.js rel=preload as=script><link href=css/chunk-vendors.946d2c9d.css rel=stylesheet><link href=css/app.7e49cb6c.css rel=stylesheet></head><body><noscript><strong>We're sorry but m doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.5505216b.js></script><script src=js/app.9de5a83c.js></script></body></html>
\ No newline at end of file
}</style><link href=css/app.e8544756.css rel=preload as=style><link href=css/chunk-vendors.946d2c9d.css rel=preload as=style><link href=js/app.88e6ed25.js rel=preload as=script><link href=js/chunk-vendors.1b37558e.js rel=preload as=script><link href=css/chunk-vendors.946d2c9d.css rel=stylesheet><link href=css/app.e8544756.css rel=stylesheet></head><body><noscript><strong>We're sorry but m doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=js/chunk-vendors.1b37558e.js></script><script src=js/app.88e6ed25.js></script></body></html>
\ No newline at end of file
(function(e){function t(t){for(var i,o,c=t[0],r=t[1],l=t[2],d=0,h=[];d<c.length;d++)o=c[d],a[o]&&h.push(a[o][0]),a[o]=0;for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);u&&u(t);while(h.length)h.shift()();return n.push.apply(n,l||[]),s()}function s(){for(var e,t=0;t<n.length;t++){for(var s=n[t],i=!0,c=1;c<s.length;c++){var r=s[c];0!==a[r]&&(i=!1)}i&&(n.splice(t--,1),e=o(o.s=s[0]))}return e}var i={},a={app:0},n=[];function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return e[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=i,o.d=function(e,t,s){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(s,i,function(t){return e[t]}.bind(null,i));return s},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var c=window["webpackJsonp"]=window["webpackJsonp"]||[],r=c.push.bind(c);c.push=t,c=c.slice();for(var l=0;l<c.length;l++)t(c[l]);var u=r;n.push([0,"chunk-vendors"]),s()})({0:function(e,t,s){e.exports=s("56d7")},"21fb":function(e,t,s){e.exports=s.p+"img/expression.73c98a16.png"},"42e0":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAALwUlEQVR4Xu1dXYhdVxVe68696T2jpokkGe8+QZM8iFBr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5kz6HwXgUlcbMPccIDzxjFw8W8Vc0WfRBTmT7aIISwbQK9Hk4xor3xgmJLYWgyA4WYZ/Fq5b20URSfnyMuoCbEBV4rKGhRhUCk5NTS37JnFskxr8bsuZJBVFmDMsXGK6XGXSbZu6Syc3ju2ENLhSWmvTY+UWYhOo6N8lNLiKogjpvO55QFgRAhpcm3TvfQGIhAbX5aUE9wUgxkpsBX6l1AZLXdV9saiPsjvb5zOqfvlmElj3jYVYNqd93ZRdGyyxlrEGZFAMMSj+npqaWsza2whpsNMROYmSXdqMLSCmNIhrjEfrZzNPMUk+n1Fl7GoUrLEExBwaejetPMi2FgjefnTXaPBYAmILifBTl5XDkNDgu1X1OK6A2Cis9Z2/Wmvbd3u9PsXksl7cMyxLEFq3AiKJBttcX17l30uAWF90Jkm72s5L+nyKKS9IY+mybPRV+mTbxjHKrezwT+UJqrxPz3B/Q3t5HRg9ruwUTq8bDR5LCxkAYzaGs/xyGf6/tNdz2B4EGw12/RST7X5Zv481IHkmPhLnslbFVEWDJ4AYZGw0uKo41wQQA0hdaPAEkCHfZaPB/J5fpVRRL2dL9LgTQIbUIqDBi0op368NiZa8CSAjarK8MM353SUiFIYaTQBJ0FhC8LL0V4YMxJgAkvIIm4NFfPT6WtJHzVyffGn7CSBSTVXUbgJIRYqW3mYCiFRTFbX7PyR+BY0YMYJnAAAAAElFTkSuQmCC"},4678:function(e,t,s){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var t=n(e);return s(t)}function n(e){var t=i[e];if(!(t+1)){var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}return t}a.keys=function(){return Object.keys(i)},a.resolve=n,e.exports=a,a.id="4678"},"56d7":function(e,t,s){"use strict";s.r(t);s("cadf"),s("551c"),s("f751"),s("097d");var i=s("2b0e"),a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mini-im-container",class:{"mini-im-pc-container":!e.isMobile,"mini-im-container-no-pto":!e.isShowHeader}},[i("span",{directives:[{name:"show",rawName:"v-show",value:e.isMobile&&e.isInputPongIng&&!e.isShowHeader,expression:"isMobile && (isInputPongIng && !isShowHeader)"}],staticClass:"input-ing"},[e._v(e._s(e.inputPongIngString))]),e.isShowHeader?i("mt-header",{attrs:{fixed:"",title:e.isInputPongIng?e.inputPongIngString:"在线客服"}},[i("div",{attrs:{slot:"left"},slot:"left"},[i("mt-button",{attrs:{icon:"back"},on:{click:e.back}})],1),i("mt-button",{attrs:{slot:"right"},on:{click:e.headRightBtn},slot:"right"},[e.isArtificial?i("span",[e._v("结束会话")]):i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""}})])],1):e._e(),e.isMobile?e._e():i("div",{staticClass:"mini-im-pc-header"},[e._m(0),i("span",{directives:[{name:"show",rawName:"v-show",value:e.isInputPongIng,expression:"isInputPongIng"}]},[e._v(e._s(e.inputPongIngString))]),i("div",{staticClass:"right"},[e.isArtificial?e._e():i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""},on:{click:e.headRightBtn}}),e.isArtificial?i("span",{on:{click:e.headRightBtn}},[e._v("结束会话")]):e._e(),i("div",{staticClass:"close-btn",on:{click:e.clickCloseWindow}},[e._v("ㄨ")])])]),i("div",{ref:"miniImBody",staticClass:"mini-im-body"},[i("ul",{staticClass:"mini-im-chat-list"},[e.isLoadMorLoading?i("li",{staticClass:"message-loading"},[i("mt-spinner",{attrs:{color:"#26a2ff",size:20,type:"triple-bounce"}})],1):e._e(),e._l(e.viewMessage,function(t,s){return i("li",{key:s},[t.isShowDate?[i("div",{staticClass:"mini-im-chat-item"},[i("div",{staticClass:"chat-content"},[i("div",{staticClass:"chat-body"},[[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",[e._v(e._s(e.$formatFromNowDate(t.timestamp,"YYYY年MM月DD日 HH:mm")))])])])]],2)])])]:e._e(),i("div",{staticClass:"mini-im-chat-item",class:{self:t.from_account==e.userInfo.id}},[e.isShowInfo(t.biz_type)?i("div",{staticClass:"chat-avatar"},[i("img",{attrs:{src:t.avatar}})]):e._e(),i("div",{staticClass:"chat-content"},[i("div",{staticClass:"chat-body"},[t.isShowCancel?[t.from_account==e.userInfo.id&&e.isShowInfo(t.biz_type)?i("span",{staticClass:"cancel-btn",on:{click:function(){return e.cancelMessage(t.key)}}},[e._v("撤回")]):e._e()]:e._e(),"text"==t.biz_type||"welcome"==t.biz_type?[i("div",{staticClass:"text"},[i("span",{domProps:{innerHTML:e._s(t.payload.replace(/\n/gi,"<br />"))}})])]:e._e(),"photo"==t.biz_type?[i("div",{staticClass:"photo"},[t.percent&&100!=t.percent?i("span",[e._v("上传中"+e._s(t.percent)+"%")]):e._e(),i("img",{attrs:{src:t.payload,preview:"1"}})])]:e._e(),"knowledge"==t.biz_type?[i("div",{staticClass:"knowledge"},[i("div",{staticClass:"title"},[e._v("以下是您关心的相关问题?")]),e._l(JSON.parse(t.payload),function(t,s){return i("a",{key:s,attrs:{href:"javascript:void(0);"},on:{click:function(){return e.sendKnowledgeMessage(t.title)}}},[i("span",[e._v("• "+e._s(t.title))])])}),i("a",{on:{click:e.headRightBtn}},[e._v("• 以上都不是?我要找人工")])],2)]:e._e(),"end"==t.biz_type?[e._m(1,!0)]:e._e(),"timeout"==t.biz_type?[e._m(2,!0)]:e._e(),"system"==t.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",{domProps:{innerHTML:e._s(t.payload)}})])])]:e._e(),"cancel"==t.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[t.from_account==e.userInfo.id?i("span",[e._v("您撤回了一条消息")]):i("span",[e._v("对方撤回了一条消息")])])])]:e._e(),"transfer"==t.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",[e._v("已为您转接"+e._s(t.transfer_account)+"号客服")])])])]:e._e()],2)])])],2)})],2),e.isNotNetWork?i("div",{staticClass:"no-network"},[i("img",{attrs:{src:s("42e0"),alt:""}}),i("span",[e._v("网络连接已断开,请重新加载尝试~")]),i("button",{on:{click:e.resetLoad}},[e._v("重新加载")])]):e._e()]),e.isLoading?i("div",{staticClass:"mini-im-loading"},[i("mt-spinner",{attrs:{type:"triple-bounce",color:"#26a2ff"}})],1):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showEmoji,expression:"showEmoji"}],staticClass:"mini-im-emoji"},[i("div",{staticClass:"mini-im-emoji-content"},e._l(e.emojis,function(t,s){return i("span",{key:s,on:{click:function(){return e.clickEmoji(t)}}},[e._v(e._s(t))])}),0)]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.handshakeKeywordList.length>0,expression:"handshakeKeywordList.length > 0"}],staticClass:"mini-im-knowledge"},[i("div",{staticClass:"mask",on:{click:function(t){e.handshakeKeywordList=[]}}}),i("span",[e._v("以下是您关心的相关问题?")]),i("ul",e._l(e.handshakeKeywordList,function(t,s){return i("li",{key:s,staticClass:"sendKnowledgeMessage",attrs:{data:t.title},on:{click:function(s){!e.isIOS&&e.sendKnowledgeMessage(t.title)}}},[e._v("• "+e._s(t.title))])}),0)]),i("div",{staticClass:"mini-im-tabbar-input"},[i("span",{staticClass:"photo-btn"},[i("img",{attrs:{src:s("bed0"),alt:""}}),i("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:e.changeFile}})]),i("span",{staticClass:"expression-btn",on:{click:function(t){e.showEmoji=!e.showEmoji}}},[i("img",{attrs:{src:s("21fb"),alt:""}})]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.isMobile&&!e.isShowHeader,expression:"isMobile && !isShowHeader"}],staticClass:"serverci",class:{on:!e.isArtificial},on:{click:e.headRightBtn}},[e.isArtificial?i("span",[e._v("结束会话")]):i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/bfbfbf.png",alt:""}})]),i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.chatValue,expression:"chatValue"}],ref:"textarea",staticStyle:{"vertical-align":"top",outline:"none"},attrs:{maxlength:"200",placeholder:"请用一句话描述您的问题~"},domProps:{value:e.chatValue},on:{keyup:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.keyUpEvent(t)},function(t){return!t.type.indexOf("key")&&13!==t.keyCode&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.shiftKey?e.enterShift(t):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.enterSendMessage(t)}],submit:e.sendTextMessage,focus:e.chatInputFocus,blur:e.chatInputBlur,input:function(t){t.target.composing||(e.chatValue=t.target.value)}}}),i("button",{ref:"sendButton",staticClass:"mini-input-send",attrs:{type:"button"}},[e._v("发送")])])],1)},n=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"title"},[s("img",{attrs:{src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""}}),s("span",[e._v("在线客服")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"system"},[s("div",{staticClass:"content"},[s("span",[e._v("本次会话结束,感谢您的耐心与支持!")])])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"system"},[s("div",{staticClass:"content"},[s("span",[e._v("会话超时,系统结束了本次会话")])])])}],o=(s("7f7f"),s("28a5"),s("386d"),s("4917"),s("bc3a")),c=s.n(o),r=s("76a0"),l=s.n(r),u=s("cea2"),d=s("1fba"),h=s("bb7f"),m={name:"app",data:function(){return{messages:[],isLoading:!0,isNotNetWork:!1,userLocal:"",isFirstGetMessage:!0,platform:5,uid:null,chatValue:"",emojis:h.emojiData,showEmoji:!1,userInfo:{},userAccount:null,companyInfo:null,uploadToken:null,isArtificial:!1,artificialAccount:null,robotInfo:null,robotAccount:null,isLoadMorEnd:!1,isUserSendLongTimeSystemMessage:!1,isAdminSendLongTimeSystemMessage:!1,isInputPongIng:!1,isLoadMorLoading:!1,isSendPong:!1,qiniuObservable:null,inputPongIngString:"对方正在输入...",scroll:null,isShowHeader:!0,isMobile:!0,handshakeKeywordList:[],searchHandshakeTimer:null}},created:function(){this.getLocal(),this.run()},computed:{account:function(){return this.isArtificial?this.artificialAccount:this.robotAccount},isIOS:function(){return!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},isSafari:function(){return navigator.userAgent.indexOf("Safari")>-1&&navigator.userAgent.indexOf("Chrome")<1},isJudgeBigScreen:function(){return this.$judgeBigScreen()},viewMessage:function(){for(var e=this.messages,t=0;t<e.length;t++)0==t&&(e[t].isShowDate=!0),t<e.length-1&&(e[t+1].isShowDate=!1,e[t+1].timestamp-120>e[t].timestamp&&(e[t+1].isShowDate=!0));return e}},mounted:function(){var e=this,t=this.queryToJson(location.search);t&&t.c&&localStorage.clear();var s=this.queryToJson(localStorage.getItem("urlQuery"));s&&(t=Object.assign({},s,t),t.u=s.u),t&&("0"==t.h&&(this.isShowHeader=!1),"0"==t.m&&(this.isMobile=!1,this.isShowHeader=!1),t.u&&(this.userAccount=parseInt(t.u)),t.p&&(this.platform=parseInt(t.p)),t.uid&&(this.uid=parseInt(t.uid)),"0"==t.r?(this.isArtificial=!0,this.artificialAccount=parseInt(t.a)):this.robotAccount=parseInt(t.a));var i=localStorage.getItem("isArtificial_"+this.userAccount),a=localStorage.getItem("artificialAccount_"+this.userAccount);"true"==i&&(this.isArtificial=!0,this.artificialAccount=parseInt(a)),setTimeout(function(){e.isLoading=!1,e.scroll=new d["a"](e.$refs.miniImBody,{click:!0,tab:!0,scrollY:!0,scrollbar:!0,bounceTime:400,preventDefaultException:{className:/(^|\s)text(\s|$)/},mouseWheel:!0}),e.scroll.on("touchEnd",function(t){t.y>30&&e.loadMorData()}),e.addSendButtonTouchEventListener(),e.createLinkQuery(),e.scrollIntoBottom()},500),this.onCheckIsOutSession()},beforeDestroy:function(){this.toggleWindow(this.userAccount,0)},methods:{run:function(){var e=this;this.getAllhttp(),this.upLastActivity(),this.$mimcInstance.addEventListener("receiveP2PMsg",this.receiveP2PMsg),this.$mimcInstance.addEventListener("disconnect",function(){console.log("链接断开!"),e.isNotNetWork=!0}),this.$mimcInstance.addEventListener("statusChange",function(e,t,s,i){console.log("状态发生变化",e,t,s,i)}),this.$mimcInstance.addEventListener("serverAck",function(t,s,i,a){console.log("发送消息服务器ack",t,s,i,a),localStorage.setItem("userLastCallBackMessageTime_"+e.userAccount,Date.now()),e.isUserSendLongTimeSystemMessage=!1}),this.onCheckIsloogTimeNotCallBack()},getLocal:function(){var e=this,t="";c.a.get("https://restapi.amap.com/v3/ip?key="+t).then(function(t){t.data.province&&(console.log(t.data.province+t.data.city),e.userLocal=t.data.province+t.data.city)}).catch(function(e){console.error(e)})},initMimc:function(){var e=this,t=this.$mimcInstance,s=t.getLocalCacheUser(this.userAccount);this.userInfo=s;var i=this.userAccount?this.userAccount:s?s.id:0;t.init({type:0,address:this.userLocal,uid:this.uid,platform:this.platform,account_id:i},function(s){s?(e.userInfo=s,e.userAccount=s.id,e.cleanRead(s.id),e.toggleWindow(s.id,1),t.login(function(){setTimeout(function(){e.messages=e.getLocalMessages(),e.isLoading=!1,e.artificialAccount||(console.log("握手消息"),t.sendMessage("handshake",e.robotAccount,"")),e.scrollIntoBottom()},500)})):setTimeout(function(){return e.initMimc()},1e3)}),this.onServciceLastMessageTimeNotCallBack()},resetLoad:function(){window.location.reload()},enterShift:function(e){this.isMobile||"Enter"!=e.code&&(this.chatValue=this.chatValue+"\n")},addSendButtonTouchEventListener:function(){var e=this;this.isIOS?document.addEventListener("touchstart",function(t){"mini-input-send"==t.target.getAttribute("class")&&e.sendTextMessage(),"sendKnowledgeMessage"==t.target.getAttribute("class")&&(console.log("监听发送按钮触摸事件",t.target.getAttribute("data")),e.sendKnowledgeMessage(t.target.getAttribute("data")))},!1):this.$refs.sendButton.addEventListener("click",this.sendTextMessage,!1)},cleanRead:function(e){c.a.get("/public/clean_read/"+e)},toggleWindow:function(e,t){c.a.put("/public/window/"+e,{window:t})},queryToJson:function(e){if(!e||""==e)return null;var t=e.substr(1,e.length).split("&");if(!t)return null;for(var s={},i=0;i<t.length;i++){var a=t[i].split("=");s[a[0]]=a[1]}return s},back:function(){history.go(-1)},isShowInfo:function(e){return-1==["end","transfer","cancel","timeout","system"].indexOf(e)},upLastActivity:function(){var e=this;this.onCheckIsOutSession();var t=this.$mimcInstance.getLocalCacheUser(this.userAccount);t&&c.a.get("/public/activity/"+t.id),this.isArtificial&&localStorage.setItem("artificialTime_"+this.userAccount,Date.now()),setTimeout(function(){return e.upLastActivity()},6e4)},onCheckIsOutSession:function(){var e=localStorage.getItem("artificialTime_"+this.userAccount);e&&(e=parseInt(e),Date.now()>e+6e5&&(this.isArtificial=!1,this.artificialAccount=null))},loadMorData:function(){var e=this;this.isLoadMorLoading||this.isLoadMorEnd||(this.isLoadMorLoading=!0,setTimeout(function(){var t=e.getLocalMessages();0==t.length&&(e.isLoadMorEnd=!0),e.messages=t.concat(e.messages),e.isLoadMorLoading=!1},1e3))},localAdmin:function(e){var t=localStorage.getItem("admin_"+e);return t?JSON.parse(t):null},localRobot:function(e){var t=localStorage.getItem("robot_"+e);return t?JSON.parse(t):null},clickEmoji:function(e){this.showEmoji=!1,this.chatValue=this.chatValue+e,this.scrollIntoBottom()},changeFile:function(e){var t=e.target,s=new FileReader,i=t.files[0];s.readAsDataURL(i);var a,n=this,o=parseInt(1e4*Math.random()*(new Date).getTime())+i.name.substr(i.name.lastIndexOf("."));s.onload=function(){var e=function(){a.percent=0,n.qiniuObservable=null,n.removeMessage(n.userInfo.id,a.key),Object(r["Toast"])({message:"上传失败,请重新上传!"});var e=n.$mimcInstance,t=e.createLocalMessage("system",n.account,"您刚刚上传的图片失败了,请重新上传!");n.messages.push(n.handlerMessage(t)),n.scrollIntoBottom()},t=function(e){n.qiniuObservable=null,a.percent=100;var t=n.uploadToken.host+"/"+e;n.$mimcInstance.sendMessage("photo",n.account,t)};a=n.$mimcInstance.createLocalMessage("photo",n.account,this.result),a["percent"]=0,a.isShowCancel=!0,setTimeout(function(){a.isShowCancel=!1},1e4),n.messages.push(n.handlerMessage(a));var s=Object.assign({},a);if(s.payload=n.uploadToken.host+"/"+o,n.messagesPushMemoryAndLocalStoreSave(s,!1),n.$previewRefresh(),n.scrollIntoBottom(),1==n.uploadToken.mode){var l=new FormData;l.append("file",i),l.append("file_name",o),c.a.post("/public/upload",l).then(function(e){t(e.data.data)}).catch(function(){e()})}else if(2==n.uploadToken.mode){var d={quality:.92,noCompressIfLarger:!0,maxWidth:1500};u["compressImage"](i,d).then(function(s){var i=u["upload"](s.dist,o,n.uploadToken.secret,{},{mimeType:null});n.qiniuObservable=i.subscribe({next:function(e){a.percent=Math.ceil(e.total.percent),e.total.size<1&&(n.qiniuObservable.unsubscribe(),n.cancelMessage(a.key),Object(r["Toast"])({message:"上传失败,该图片已损坏!"}))},error:function(){e()},complete:function(e){t(e.key)}})})}}},scrollIntoBottom:function(){var e=this;setTimeout(function(){var t=e.$refs.miniImBody.querySelectorAll("li");e.scroll&&e.scroll.scrollToElement(t[t.length-1])},50)},chatInputFocus:function(){this.scrollIntoBottom(),this.showEmoji=!1},chatInputBlur:function(){window.chatInputInterval=null,window.scroll(0,0)},getRobot:function(){var e=this;return c.a.get("/public/robot/1").then(function(t){var s=t.data.data;localStorage.setItem("robot_"+s.id,JSON.stringify(s)),e.robotAccount=s.id,e.robotInfo=s}).catch(function(e){Object(r["Toast"])({message:e.response.data.message})})},getUploadSecret:function(){var e=this;return c.a.get("/public/secret").then(function(t){e.uploadToken=t.data.data})},getCompanyInfo:function(){var e=this;return c.a.get("/public/company").then(function(t){e.companyInfo=t.data.data}).catch(function(e){Object(r["Toast"])({message:e.response.data.message})})},getAllhttp:function(){var e=this;c.a.all([this.getRobot(),this.getCompanyInfo(),this.getUploadSecret()]).then(c.a.spread(function(){e.initMimc()})).catch(function(){return setTimeout(function(){return e.getAllhttp()},1e3)})},receiveP2PMsg:function(e){if("transfer"==e.biz_type){this.isArtificial=!0,this.artificialAccount=e.transfer_account;var t=this.$mimcInstance;t.sendMessage("handshake",e.transfer_account,"");var s=JSON.parse(e.payload);localStorage.setItem("admin_"+s.id,JSON.stringify(s)),localStorage.setItem("adminLastCallBackMessageTime_"+s.id,Date.now()),this.isAdminSendLongTimeSystemMessage=!1}if(!this.isArtificial||"text"!=e.biz_type&&"photo"!=e.biz_type&&"cancel"!=e.biz_type||(localStorage.setItem("adminLastCallBackMessageTime_"+this.account,Date.now()),this.isAdminSendLongTimeSystemMessage=!1),"cancel"==e.biz_type&&this.removeMessage(e.from_account,e.payload),"end"!=e.biz_type&&"timeout"!=e.biz_type||(this.isArtificial=!1,this.artificialAccount=null),"pong"!=e.biz_type){if("search_knowledge"==e.biz_type)return this.handshakeKeywordList=[],void(""!=e.payload&&(this.handshakeKeywordList=JSON.parse(e.payload)));this.messagesPushMemoryAndLocalStoreSave(e),this.scrollIntoBottom(),this.$previewRefresh(),window.parent.postMessage({newMessage:1},"*");try{"transfer"==e.biz_type&&(e.payload="客服转接"),"cancel"==e.biz_type&&(e.payload="对方撤回了一条消息"),"end"!=e.biz_type&&"timeout"!=e.biz_type||(e.payload="会话超时")}catch(i){console.log(i)}}else this.inputPongIng()},inputPongIng:function(){var e=this;this.isInputPongIng||(this.isInputPongIng=!0,setTimeout(function(){e.inputPongIngString="对方正在输入."},500),setTimeout(function(){e.inputPongIngString="对方正在输入.."},1500),setTimeout(function(){e.inputPongIngString="对方正在输入...",e.isInputPongIng=!1},3e3))},enterSendMessage:function(){this.isMobile||(this.sendTextMessage(),this.$refs.textarea.focus())},sendTextMessage:function(){if(0!=this.userInfo.online){var e=this.chatValue.trim();if(""!=e){var t=this.$mimcInstance,s=t.sendMessage("text",this.account,e);s.isShowCancel=!0,setTimeout(function(){return s.isShowCancel=!1},1e4),this.messagesPushMemoryAndLocalStoreSave(s),this.chatValue="",this.handshakeKeywordList=[]}}else Object(r["Toast"])({message:"您貌似掉线了"})},cancelMessage:function(e){var t=this.$mimcInstance,s=t.sendMessage("cancel",this.account,e);this.messagesPushMemoryAndLocalStoreSave(s),this.removeMessage(this.userInfo.id,e),this.qiniuObservable&&this.qiniuObservable.unsubscribe()},sendKnowledgeMessage:function(e){this.handshakeKeywordList=[];var t=this.$mimcInstance,s=t.sendMessage("text",this.account,e);this.messagesPushMemoryAndLocalStoreSave(s),this.chatValue=""},headRightBtn:function(){var e=this;if(!window.isClickHeadRightBtn){window.isClickHeadRightBtn=!0;var t=this.$mimcInstance;if(this.isArtificial)return r["MessageBox"].confirm("您确定关闭此次会话吗?","温馨提示! ").then(function(){var s=t.sendMessage("end",e.account,"");e.messagesPushMemoryAndLocalStoreSave(s),e.isArtificial=!1,e.artificialAccount=null}),void setTimeout(function(){return window.isClickHeadRightBtn=!1},3e3);var s=t.sendMessage("text",this.account,"人工");this.messagesPushMemoryAndLocalStoreSave(s),setTimeout(function(){return window.isClickHeadRightBtn=!1},3e3)}},messagesPushMemoryAndLocalStoreSave:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("pong"!=e.biz_type&&"handshake"!=e.biz_type&&"into"!=e.biz_type&&(t&&this.messages.push(this.handlerMessage(e)),"welcome"!=e.biz_type)){var s=[],i=localStorage.getItem("miniImAppMessageRecord_"+this.userInfo.id);i&&(s=JSON.parse(i)),s.push(this.handlerMessage(e)),localStorage.setItem("miniImAppMessageRecord_"+this.userInfo.id,JSON.stringify(s)),this.scrollIntoBottom()}},handlerMessage:function(e){var t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAD7tJREFUeAHtXV1sHMUdn9m7s50P59NxbBI7McH5IHz5A8g5OHFTJECUIlWFVkIFCdI+8dYHqOARBKjqG08tIIHEA7QvlCJAShPHxnYAO6aiKE0s5DZpcBJiFOqEOLZvp//f3q1zd7673b2dnZ21b6TT7u3O/L9+O/Of7+FsEYTx8fGa0xOTrVwYOwQT9GM7OGP1pFotY6JWMG5duXWlJ0xMMcaneOZK8aYozQVKc5LinBTcPNncuH6spaVlOurmIZ2iF44OjewilA7Q70cETAcp0SyEMGRqwjk3ifZpoj3CODtCv8P7kx0nZPJQQSsSAA8PD9ddmTEeZqZ5gIx+gAzToMI4BXicI4MdZoZxeEWV+V5nZ+fFAnG0eqQtwGNjY9UTF6Yeopz5OOPifiFYQifLcc5mmeAfUU5/q7G+9v3W1tZrOslny6IdwL0Do3dyYT5FOfUX5C3X2ILqfeWXyJDvCG683rO37XOdZNUG4P6h0Z5UynyOQL1XJwN5l4UfisWMF7uTbb3e08pPETrAvUPHH6DqzPNUFHfJVy88ilR0DwqDv9CTbP8wPCmorRAW8/6h4btTJn+VCdEZlgxK+HI+HDPE093Jzk+V8MtjohzgwcGv1s2I6ZeJ8UHKtcr55+mv5C/lZqojsteqeM2zXV27v1PCNMNEmYEBZt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aJHSAbcH7h0Z7UinzOfLW99rPonnlh7AQrNhaIdU6aQOwrXjvwOidnJnkn9mjBLZ2W6jbcuZe+SXqQ34Xa6sLLeHMjav2n3YA2+qPjY1VT1yYeoiK7scZF/cT4OkDjOwIIV8J0FlsWkNF8VvYNiF/ZX3I4s2z1xbgeQnpZnh4uO7KjPEwM80DVBs9QI+Kn3mTnVD+/Tky2GHsKYatirJ3s5HPSg7FSACcr6o1oCEIaJMdoE7QdlKimXK61H51ypkmfUynifYIdbceod/hIPqK83WT/T+SAOcbYXx8vOb0xGQrzqynzl36sR04HJn6jGhbH7EyfcKqqMVZfkibPu2NT6XPjOKX6ckUxTlPxjiJbfCxUzo2026h/ZbzeUXt//8ByJ7Ze9EGCQYAAAAASUVORK5CYII=",s=this.localAdmin(e.from_account),i=this.localRobot(e.from_account);return s&&e.from_account==s.id?(e.nickname=s.nickname,e.avatar=""==s.avatar?t:s.avatar):i&&e.from_account==i.id?(e.nickname=i.nickname,e.avatar=""==i.avatar?t:i.avatar):e.from_account==this.userInfo.id&&(e.nickname=this.userInfo.nickname,-1!=this.userInfo.nickname.indexOf(this.userInfo.id)&&(e.nickname="我"),e.avatar=""==this.userInfo.avatar?t:this.userInfo.avatar),e},getLocalMessages:function(){var e=15,t=[],s=localStorage.getItem("miniImAppMessageRecord_"+this.userInfo.id);if(s){var i=JSON.parse(s);if(this.isFirstGetMessage)this.isFirstGetMessage=!1,t=i.slice(-e,i.length);else{for(var a=-1,n=i.length-1;n>=0;n--)if(i[n].timestamp==this.messages[0].timestamp){a=n;break}if(-1==a)return[];t=i.slice(-(i.length-a+e),a)}}for(var o=0;o<t.length;o++){var c=t[o];c.isShowCancel=!1,t[o]=this.handlerMessage(c)}return t},keyUpEvent:function(){var e=this;this.isArtificial&&(this.isSendPong||(this.isSendPong=!0,setTimeout(function(){return e.isSendPong=!1},100),this.$mimcInstance.sendMessage("pong",this.account,this.chatValue)))},removeMessage:function(e,t){for(var s=[],i=0;i<this.messages.length;i++)this.messages[i].key==t&&this.messages[i].from_account==e||s.push(this.messages[i]);var a=localStorage.getItem("miniImAppMessageRecord_"+this.userInfo.id);if(a){for(var n=JSON.parse(a),o=[],c=0;c<n.length;c++){var r=n[c];r.key==t&&r.from_account==e||"welcome"!=r.biz_type&&"handshake"!=r.biz_type&&"into"!=r.biz_type&&o.push(n[c])}localStorage.setItem("miniImAppMessageRecord_"+this.userInfo.id,JSON.stringify(o))}this.messages=s},createLinkQuery:function(){var e=this.isArtificial?0:1,t=0==e?this.artificialAccount:this.robotAccount,s=this.isMobile?1:0,i=this.isShowHeader?1:0,a=this.platform?this.platform:1,n=this.userAccount?"&u="+this.userAccount:"",o=this.uid?"&uid="+this.uid:"",c="?h="+i+"&m="+s+"&p="+a+"&r="+e+"&a="+t+n+o;history.replaceState(null,null,c),null!=this.userAccount&&"null"!=this.userAccount&&""!=this.userAccount&&localStorage.setItem("urlQuery",c)},clickCloseWindow:function(){window.parent.postMessage({clickCloseWindow:!0},"*")},onCheckIsloogTimeNotCallBack:function(){var e=this,t=localStorage.getItem("userLastCallBackMessageTime_"+this.userAccount)||Date.now();if(this.isArtificial&&!this.isUserSendLongTimeSystemMessage&&Date.now()-t>=3e5){var s=this.$mimcInstance,i=s.createLocalMessage("system",this.account,"您已超过5分钟未回复消息,系统3分钟后将结束对话");this.messages.push(this.handlerMessage(i)),this.isUserSendLongTimeSystemMessage=!0,this.scrollIntoBottom()}setTimeout(function(){return e.onCheckIsloogTimeNotCallBack()},1e4)},onServciceLastMessageTimeNotCallBack:function(){var e=this;if(this.robotInfo){var t=this.robotInfo.loog_time_wait_text,s=localStorage.getItem("adminLastCallBackMessageTime_"+this.account)||Date.now();if(this.isArtificial&&!this.isAdminSendLongTimeSystemMessage&&""!=t.trim()&&Date.now()-s>=12e4){var i=this.$mimcInstance,a=i.createLocalMessage("text",this.account,t);a.from_account=this.robotAccount,this.messages.push(this.handlerMessage(a)),this.isAdminSendLongTimeSystemMessage=!0,this.scrollIntoBottom()}setTimeout(function(){return e.onServciceLastMessageTimeNotCallBack()},1e4)}},onSearchHandshake:function(){var e=this;if(this.chatValue&&!this.isArtificial){this.searchHandshakeTimer&&clearTimeout(this.searchHandshakeTimer);var t=this.$mimcInstance;this.searchHandshakeTimer=setTimeout(function(){t.sendMessage("search_knowledge",e.robotAccount,e.chatValue),e.searchHandshakeTimer=null},500)}else this.handshakeKeywordList=[]}},watch:{messages:function(){var e=this;setTimeout(function(){e.scroll&&e.scroll.refresh(),e.$previewRefresh()},50)},isArtificial:function(e){this.createLinkQuery(),localStorage.setItem("isArtificial_"+this.userAccount,e),localStorage.setItem("artificialTime_"+this.userAccount,Date.now()),e||localStorage.removeItem("artificialTime_"+this.userAccount)},artificialAccount:function(){localStorage.setItem("artificialAccount_"+this.userAccount,this.artificialAccount)},userInfo:function(){this.createLinkQuery()},chatValue:function(){this.onSearchHandshake()}}},f=m,g=(s("7faf"),s("2877")),p=Object(g["a"])(f,a,n,!1,null,null,null),b=p.exports,v=s("d1d4"),A=s.n(v),y=(s("394c"),s("aa35"),s("c1df")),k={install:function(e,t){e.prototype.$myMethod=function(){console.log(t)},e.prototype.$formatUnixDate=function(e,t){return y(parseInt(e+"000")).format(t)},e.prototype.$formatFromNowDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm";return y().format("YYYYMMDD")==y(parseInt(e+"000")).format("YYYYMMDD")?"今天 "+y(parseInt(e+"000")).format("HH:mm"):y(parseInt(e+"000")).format(t)},e.prototype.$robotNickname=function(e){for(var t,s=this.$store.getters.robots,i=0;i<s.length;i++)s[i].id==e&&(t=s[i].nickname);return t},e.prototype.$judgeBigScreen=function(){var e=!1,t=window.screen.height/window.screen.width,s=window.screen.height==window.screen.availHeight?1.8:1.65;return t>s&&(e=!0),e}}},w=k,I=(s("6b54"),{install:function(e,t){console.log(t),e.MimcInstance=e.prototype.$mimcInstance={user:null,robot:null,platform:5,fetchMIMCTokenResult:null,_receiveP2PMsgCallback:null,_statusChangeCallback:null,_serverAckCallback:null,_disconnectCallback:null,init:function(e,t){this.platform=e.platform,this.fetchMIMCToken(e,t),this.getRobot()},getLocalCacheUser:function(e){var t=localStorage.getItem("miniImAppUser_"+e);return t?JSON.parse(t):null},fetchMIMCToken:function(e,t){var s=this;c.a.post("/public/register",e).then(function(e){s.fetchMIMCTokenResult=e.data.data.token,localStorage.setItem("miniImAppUser_"+e.data.data.user.id,JSON.stringify(e.data.data.user)),console.log("MIMC初始化成功"),t&&t(e.data.data.user)}).catch(function(e){t&&t(null),console.log(e.response),Object(r["Toast"])({message:e.response.data.message})})},getRobot:function(){var e=this;c.a.get("/public/robot/1").then(function(t){e.robot=t.data.data}).catch(function(e){Object(r["Toast"])({message:"mimc初始化失败,请刷新重试"+e.response.data.message})})},login:function(e){var t=this;try{if(this.user)return;var s=this.fetchMIMCTokenResult;this.user=new MIMCUser(s.data.appId,s.data.appAccount,"666"),this.user.registerP2PMsgHandler(function(e){var s=JSON.parse(window.Base64.decode(e.getPayload()));t._receiveP2PMsgCallback&&t._receiveP2PMsgCallback(s)}),this.user.registerFetchToken(function(){return s}),this.user.registerStatusChange(function(e,s,i,a){t._statusChangeCallback&&t._statusChangeCallback(e,s,i,a)}),this.user.registerServerAckHandler(function(e,s,i,a){t._serverAckCallback&&t._serverAckCallback(e,s,i,a)}),this.user.registerDisconnHandler(function(){t._disconnectCallback&&t._disconnectCallback()}),this.user.login(),window.mimcInstance=this,e&&e(),console.log("MIMC登录成功")}catch(i){console.log("MIMC登录失败"),setTimeout(function(){t.login()},1e3)}},logout:function(){this.user&&(this.user.logout(),this.user=null)},addEventListener:function(e,t){switch(e){case"receiveP2PMsg":this._receiveP2PMsgCallback=t;break;case"statusChange":this._statusChangeCallback=t;break;case"serverAck":this._serverAckCallback=t;break;case"disconnect":this._disconnectCallback=t;break}},sendMessage:function(e,t){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(this.user){var a={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(t),biz_type:e,version:"0",timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,platform:this.platform,transfer_account:0,payload:i+""},n=window.Base64.encode(JSON.stringify(a));if("contacts"!=e&&"pong"!=e&&"welcome"!=e&&"handshake"!=e&&"search_knowledge"!=e){var o={biz_type:"into",payload:n},c=window.Base64.encode(JSON.stringify(o));this.user.sendMessage(this.robot.id.toString(),c)}return setTimeout(function(){s.user.sendMessage(t.toString(),n)},150),a}Object(r["Toast"])({message:"服务异常,请刷新重试!"})},createLocalMessage:function(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(t),biz_type:e,version:"0",platform:this.platform,timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,transfer_account:parseInt(i),payload:s+""};return a}}}}),M=I,j={months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY年MM月DD日",LLL:"YYYY年MM月DD日Ah点mm分",LLLL:"YYYY年MM月DD日ddddAh点mm分",l:"YYYY-M-D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d秒",m:"1分钟",mm:"%d分钟",h:"1小时",hh:"%d小时",d:"1天",dd:"%d天",M:"1个月",MM:"%d个月",y:"1年",yy:"%d年"},week:{dow:1,doy:4}},C=s("c1df");C.locale("zh-cn",j),c.a.defaults.baseURL="http://kf.aissz.com:666/v1";var S={clickToCloseNonZoomable:!1,fullscreenEl:!1};i["default"].use(A.a,S),i["default"].use(w),i["default"].use(M),i["default"].use(l.a),i["default"].config.productionTip=!1,new i["default"]({render:function(e){return e(b)}}).$mount("#app")},"7faf":function(e,t,s){"use strict";var i=s("8fba"),a=s.n(i);a.a},"8fba":function(e,t,s){},bb7f:function(e,t){var s=["😀","😁","😂","🤣","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","🙂","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🙌","👏","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👌","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏"];t.emojiData=s},bed0:function(e,t,s){e.exports=s.p+"img/photo_btn.c337b681.png"}});
//# sourceMappingURL=app.0d81bffb.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
(function(t){function e(e){for(var i,o,c=e[0],r=e[1],l=e[2],d=0,h=[];d<c.length;d++)o=c[d],n[o]&&h.push(n[o][0]),n[o]=0;for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i]);u&&u(e);while(h.length)h.shift()();return a.push.apply(a,l||[]),s()}function s(){for(var t,e=0;e<a.length;e++){for(var s=a[e],i=!0,c=1;c<s.length;c++){var r=s[c];0!==n[r]&&(i=!1)}i&&(a.splice(e--,1),t=o(o.s=s[0]))}return t}var i={},n={app:0},a=[];function o(e){if(i[e])return i[e].exports;var s=i[e]={i:e,l:!1,exports:{}};return t[e].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=t,o.c=i,o.d=function(t,e,s){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)o.d(s,i,function(e){return t[e]}.bind(null,i));return s},o.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="";var c=window["webpackJsonp"]=window["webpackJsonp"]||[],r=c.push.bind(c);c.push=e,c=c.slice();for(var l=0;l<c.length;l++)e(c[l]);var u=r;a.push([0,"chunk-vendors"]),s()})({0:function(t,e,s){t.exports=s("56d7")},"21fb":function(t,e,s){t.exports=s.p+"img/expression.73c98a16.png"},"42e0":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAALwUlEQVR4Xu1dXYhdVxVe68696T2jpokkGe8+QZM8iFBrEyq+SRMQQRE6DYjSB5OAlIIPTUSLbREn+tAHHzoBfVAsTag+amewD4piJ0V9KnSsD4KgnRTvPjMTQhIryTCTe5asy77Tm5tzzl57n5+cm9wDQyB3733WXt9Za397rbXPQZhctdIA1kqaiTAwAaRmD0EpgFy9enXXzZs3TxDR4UajsdRutxd37959rWZzr6U4hQOyvr5+eGtr6w1E3DU04wWl1BO11EDNhCoUkCiKjhLRGylzPKeUOl2z+ddOnEIB0VqfB4ATabNsNptH9u3bt1w7LdRIoKIBWQCAxzPmt6SUOlaj+ddOlEIBiaLoJBG9YpnlE0opBm5yJWigUEB4fK31CgB8IkPbK0qpgxM0kjVQOCASKyGis2EYzk1AuVMDhQNirGQJAB5LUzgRXZuenj442ZtUBIiF/g6kuKCUOjmxkts1UIqFGCvJpMDcBhGPdTodtqbJZTRQGiBRFB0gonctmp7Q4BEFlQYI36fb7c4h4g+yQEHEU51Oh63J+Yqi6HNxHL+IiI8CwIMA8D4A3DB/N82//2NRAIDZ338Q8T3+i+P430opblurq1RATJCRFcHKSrtWgiA44rrAr66uPtzr9d5CxB05NMoW/CYiXmw0Gm/OzMz8K8dYhXQtFRCWsCwa3O12f4KI3ypECx8MskpEDNCfduzY8fqePXvYsiq9SgfEuK5lRHwkbWZMgxuNxpFOp8PWJLq63e5vEfErosaejYjob41G43dE9LpS6s+ewzh1Kx0QQ4F5HTlqkcyJBmutfwUATzrNNl/j/xLRbwDgF2EY/iXfUOm9SwHEMKxnAGAWAA5IhXehwVEUfYeIfiwdu8h2RPTPRqPx83a7/bLr2meTo1BAoijiLCFv9mzWkCgXES2HYXjEJvTg9yrclkCWVxHxlU6nk5YHEgzxQZNCADFAcGxKbA1pUrrSYK315wHgswDwUQD4CAB8iP+IiP+dBoAZRORg5o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AIlrJciWSz6KGv0qPHwzJVAojkqEGCoqwneZOUa8uZeAACQRDsrmpNqQqQrK8mDOuIw/cc0p7Psz8Q5Ex4H8KWJ0o0VRmorAoQjs5yhWFWQocPkHKYI1eql9EV5kz6HwXgUlcbMPccIDzxjFw8W8Vc0WfRBTmT7aIISwbQK9Hk4xor3xgmJLYWgyA4WYZ/Fq5b20URSfnyMuoCbEBV4rKGhRhUCk5NTS37JnFskxr8bsuZJBVFmDMsXGK6XGXSbZu6Syc3ju2ENLhSWmvTY+UWYhOo6N8lNLiKogjpvO55QFgRAhpcm3TvfQGIhAbX5aUE9wUgxkpsBX6l1AZLXdV9saiPsjvb5zOqfvlmElj3jYVYNqd93ZRdGyyxlrEGZFAMMSj+npqaWsza2whpsNMROYmSXdqMLSCmNIhrjEfrZzNPMUk+n1Fl7GoUrLEExBwaejetPMi2FgjefnTXaPBYAmILifBTl5XDkNDgu1X1OK6A2Cis9Z2/Wmvbd3u9PsXksl7cMyxLEFq3AiKJBttcX17l30uAWF90Jkm72s5L+nyKKS9IY+mybPRV+mTbxjHKrezwT+UJqrxPz3B/Q3t5HRg9ruwUTq8bDR5LCxkAYzaGs/xyGf6/tNdz2B4EGw12/RST7X5Zv481IHkmPhLnslbFVEWDJ4AYZGw0uKo41wQQA0hdaPAEkCHfZaPB/J5fpVRRL2dL9LgTQIbUIqDBi0op368NiZa8CSAjarK8MM353SUiFIYaTQBJ0FhC8LL0V4YMxJgAkvIIm4NFfPT6WtJHzVyffGn7CSBSTVXUbgJIRYqW3mYCiFRTFbX7PyR+BY0YMYJnAAAAAElFTkSuQmCC"},4678:function(t,e,s){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function n(t){var e=a(t);return s(e)}function a(t){var e=i[t];if(!(e+1)){var s=new Error("Cannot find module '"+t+"'");throw s.code="MODULE_NOT_FOUND",s}return e}n.keys=function(){return Object.keys(i)},n.resolve=a,t.exports=n,n.id="4678"},"56d7":function(t,e,s){"use strict";s.r(e);s("cadf"),s("551c"),s("f751"),s("097d");var i=s("2b0e"),n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"mini-im-container",class:{"mini-im-pc-container":!t.isMobile,"mini-im-container-no-pto":!t.isShowHeader}},[i("span",{directives:[{name:"show",rawName:"v-show",value:t.isMobile&&t.isInputPongIng&&!t.isShowHeader,expression:"isMobile && (isInputPongIng && !isShowHeader)"}],staticClass:"input-ing"},[t._v(t._s(t.inputPongIngString))]),t.isShowHeader?i("mt-header",{attrs:{fixed:"",title:t.isInputPongIng?t.inputPongIngString:"在线客服"}},[i("div",{attrs:{slot:"left"},slot:"left"},[i("mt-button",{attrs:{icon:"back"},on:{click:t.back}})],1),i("mt-button",{attrs:{slot:"right"},on:{click:t.headRightBtn},slot:"right"},[t.isArtificial?i("span",[t._v("结束会话")]):i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""}})])],1):t._e(),t.isMobile?t._e():i("div",{staticClass:"mini-im-pc-header"},[t._m(0),i("span",{directives:[{name:"show",rawName:"v-show",value:t.isInputPongIng,expression:"isInputPongIng"}]},[t._v(t._s(t.inputPongIngString))]),i("div",{staticClass:"right"},[t.isArtificial?t._e():i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""},on:{click:t.headRightBtn}}),t.isArtificial?i("span",{on:{click:t.headRightBtn}},[t._v("结束会话")]):t._e(),i("div",{staticClass:"close-btn",on:{click:t.clickCloseWindow}},[t._v("ㄨ")])])]),i("div",{ref:"miniImBody",staticClass:"mini-im-body"},[i("ul",{staticClass:"mini-im-chat-list"},[t.isLoadMorLoading?i("li",{staticClass:"message-loading"},[i("mt-spinner",{attrs:{color:"#26a2ff",size:20,type:"triple-bounce"}})],1):t._e(),t._l(t.viewMessage,function(e,s){return i("li",{key:s},[e.isShowDate?[i("div",{staticClass:"mini-im-chat-item"},[i("div",{staticClass:"chat-content"},[i("div",{staticClass:"chat-body"},[[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",[t._v(t._s(t.$formatFromNowDate(e.timestamp,"YYYY年MM月DD日 HH:mm")))])])])]],2)])])]:t._e(),i("div",{staticClass:"mini-im-chat-item",class:{self:e.from_account==t.userInfo.id}},[t.isShowInfo(e.biz_type)?i("div",{staticClass:"chat-avatar"},[i("img",{attrs:{src:e.avatar}})]):t._e(),i("div",{staticClass:"chat-content"},[i("div",{staticClass:"chat-body"},[e.isShowCancel?[e.from_account==t.userInfo.id&&t.isShowInfo(e.biz_type)?i("span",{staticClass:"cancel-btn",on:{click:function(){return t.cancelMessage(e.key)}}},[t._v("撤回")]):t._e()]:t._e(),"text"==e.biz_type||"welcome"==e.biz_type?[i("div",{staticClass:"text"},[i("span",{domProps:{innerHTML:t._s(e.payload.replace(/\n/gi,"<br />"))}})])]:t._e(),"photo"==e.biz_type?[i("div",{staticClass:"photo"},[e.percent&&100!=e.percent?i("span",[t._v("上传中"+t._s(e.percent)+"%")]):t._e(),t.isMobile?i("img",{attrs:{src:e.payload,preview:"1"}}):i("img",{attrs:{src:e.payload},on:{click:function(s){return t.clickPhoto(e.payload)}}})])]:t._e(),"knowledge"==e.biz_type?[i("div",{staticClass:"knowledge"},[i("div",{staticClass:"title"},[t._v("以下是您关心的相关问题?")]),t._l(JSON.parse(e.payload),function(e,s){return i("a",{key:s,attrs:{href:"javascript:void(0);"},on:{click:function(){return t.sendKnowledgeMessage(e.title)}}},[i("span",[t._v("• "+t._s(e.title))])])}),i("a",{on:{click:t.headRightBtn}},[t._v("• 以上都不是?我要找人工")])],2)]:t._e(),"end"==e.biz_type?[t._m(1,!0)]:t._e(),"timeout"==e.biz_type?[t._m(2,!0)]:t._e(),"system"==e.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",{domProps:{innerHTML:t._s(e.payload)}})])])]:t._e(),"cancel"==e.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[e.from_account==t.userInfo.id?i("span",[t._v("您撤回了一条消息")]):i("span",[t._v("对方撤回了一条消息")])])])]:t._e(),"transfer"==e.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",[t._v("已为您转接"+t._s(e.transfer_account)+"号客服")])])])]:t._e()],2)])])],2)})],2),t.isNotNetWork?i("div",{staticClass:"no-network"},[i("img",{attrs:{src:s("42e0"),alt:""}}),i("span",[t._v("网络连接已断开,请重新加载尝试~")]),i("button",{on:{click:t.resetLoad}},[t._v("重新加载")])]):t._e()]),t.isLoading?i("div",{staticClass:"mini-im-loading"},[i("mt-spinner",{attrs:{type:"triple-bounce",color:"#26a2ff"}})],1):t._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:t.showEmoji,expression:"showEmoji"}],staticClass:"mini-im-emoji"},[i("div",{staticClass:"mini-im-emoji-content"},t._l(t.emojis,function(e,s){return i("span",{key:s,on:{click:function(){return t.clickEmoji(e)}}},[t._v(t._s(e))])}),0)]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.handshakeKeywordList.length>0,expression:"handshakeKeywordList.length > 0"}],staticClass:"mini-im-knowledge"},[i("div",{staticClass:"mask",on:{click:function(e){t.handshakeKeywordList=[]}}}),i("span",[t._v("以下是您关心的相关问题?")]),i("ul",t._l(t.handshakeKeywordList,function(e,s){return i("li",{key:s,staticClass:"sendKnowledgeMessage",attrs:{data:e.title},on:{click:function(s){!t.isIOS&&t.sendKnowledgeMessage(e.title)}}},[t._v("• "+t._s(e.title))])}),0)]),i("div",{staticClass:"mini-im-tabbar-input"},[i("span",{staticClass:"photo-btn"},[i("img",{attrs:{src:s("bed0"),alt:""}}),i("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:t.sendPhotoMessageEvent}})]),i("span",{staticClass:"expression-btn",on:{click:function(e){t.showEmoji=!t.showEmoji}}},[i("img",{attrs:{src:s("21fb"),alt:""}})]),i("span",{directives:[{name:"show",rawName:"v-show",value:t.isMobile&&!t.isShowHeader,expression:"isMobile && !isShowHeader"}],staticClass:"serverci",class:{on:!t.isArtificial},on:{click:t.headRightBtn}},[t.isArtificial?i("span",[t._v("结束会话")]):i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/bfbfbf.png",alt:""}})]),i("textarea",{directives:[{name:"model",rawName:"v-model",value:t.chatValue,expression:"chatValue"}],ref:"textarea",staticStyle:{"vertical-align":"top",outline:"none"},attrs:{maxlength:"200",placeholder:"请用一句话描述您的问题~"},domProps:{value:t.chatValue},on:{keyup:[function(e){return e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.keyUpEvent(e)},function(e){return!e.type.indexOf("key")&&13!==e.keyCode&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.shiftKey?t.enterShift(e):null},function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:t.enterSendMessage(e)}],submit:t.sendTextMessage,focus:t.chatInputFocus,blur:t.chatInputBlur,input:function(e){e.target.composing||(t.chatValue=e.target.value)}}}),i("button",{ref:"sendButton",staticClass:"mini-input-send",attrs:{type:"button"}},[t._v("发送")])])],1)},a=[function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"title"},[s("img",{attrs:{src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""}}),s("span",[t._v("在线客服")])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"system"},[s("div",{staticClass:"content"},[s("span",[t._v("本次会话结束,感谢您的耐心与支持!")])])])},function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"system"},[s("div",{staticClass:"content"},[s("span",[t._v("会话超时,系统结束了本次会话")])])])}],o=(s("c5f6"),s("7f7f"),s("28a5"),s("386d"),s("4917"),s("bc3a")),c=s.n(o),r=s("76a0"),l=s.n(r),u=s("cea2"),d=s("1fba"),h=s("bb7f"),m={name:"app",data:function(){return{messages:[],isLoading:!0,isNotNetWork:!1,userLocal:"",isFirstGetMessage:!0,platform:5,uid:null,chatValue:"",emojis:h.emojiData,showEmoji:!1,userInfo:{},userAccount:null,companyInfo:null,uploadToken:null,isArtificial:!1,artificialAccount:null,robotInfo:null,robotAccount:null,isLoadMorEnd:!1,isUserSendLongTimeSystemMessage:!1,isAdminSendLongTimeSystemMessage:!1,isInputPongIng:!1,isLoadMorLoading:!1,isSendPong:!1,qiniuObservable:null,inputPongIngString:"对方正在输入...",scroll:null,isShowHeader:!0,isMobile:!0,handshakeKeywordList:[],searchHandshakeTimer:null}},created:function(){this.getLocal(),this.run()},computed:{account:function(){return this.isArtificial?this.artificialAccount:this.robotAccount},isIOS:function(){return!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},isSafari:function(){return navigator.userAgent.indexOf("Safari")>-1&&navigator.userAgent.indexOf("Chrome")<1},isJudgeBigScreen:function(){return this.$judgeBigScreen()},viewMessage:function(){for(var t=this.messages,e=0;e<t.length;e++)0==e&&(t[e].isShowDate=!0),e<t.length-1&&(t[e+1].isShowDate=!1,t[e+1].timestamp-120>t[e].timestamp&&(t[e+1].isShowDate=!0));return t}},mounted:function(){var t=this,e=this.queryToJson(location.search);e&&e.c&&localStorage.clear();var s=this.queryToJson(localStorage.getItem("urlQuery"));s&&(e=Object.assign({},s,e),e.u=s.u),e&&("0"==e.h&&(this.isShowHeader=!1),"0"==e.m&&(this.isMobile=!1,this.isShowHeader=!1),e.u&&(this.userAccount=parseInt(e.u)),e.p&&(this.platform=parseInt(e.p)),e.uid&&(this.uid=parseInt(e.uid)),"0"==e.r?(this.isArtificial=!0,this.artificialAccount=parseInt(e.a)):this.robotAccount=parseInt(e.a));var i=localStorage.getItem("isArtificial_"+this.userAccount),n=localStorage.getItem("artificialAccount_"+this.userAccount);"true"==i&&(this.isArtificial=!0,this.artificialAccount=parseInt(n)),setTimeout(function(){t.isLoading=!1,t.scroll=new d["a"](t.$refs.miniImBody,{click:!0,tab:!0,scrollY:!0,scrollbar:!0,bounceTime:400,preventDefaultException:{className:/(^|\s)text(\s|$)/},mouseWheel:!0}),t.scroll.on("touchEnd",function(e){e.y>30&&t.loadMorData()}),t.addSendButtonTouchEventListener(),t.createLinkQuery(),t.scrollIntoBottom()},500),this.onCheckIsOutSession(),document.addEventListener("paste",this.inputPaste,!1)},beforeDestroy:function(){this.toggleWindow(this.userAccount,0)},methods:{run:function(){var t=this;this.getAllhttp(),this.upLastActivity(),this.$mimcInstance.addEventListener("receiveP2PMsg",this.receiveP2PMsg),this.$mimcInstance.addEventListener("disconnect",function(){console.log("链接断开!"),t.isNotNetWork=!0}),this.$mimcInstance.addEventListener("statusChange",function(t,e,s,i){console.log("状态发生变化",t,e,s,i)}),this.$mimcInstance.addEventListener("serverAck",function(e,s,i,n){console.log("发送消息服务器ack",e,s,i,n),localStorage.setItem("userLastCallBackMessageTime_"+t.userAccount,Date.now()),t.isUserSendLongTimeSystemMessage=!1}),this.onCheckIsloogTimeNotCallBack()},getLocal:function(){var t=this,e="";c.a.get("https://restapi.amap.com/v3/ip?key="+e).then(function(e){e.data.province&&(console.log(e.data.province+e.data.city),t.userLocal=e.data.province+e.data.city)}).catch(function(t){console.error(t)})},initMimc:function(){var t=this,e=this.$mimcInstance,s=e.getLocalCacheUser(this.userAccount);this.userInfo=s;var i=this.userAccount?this.userAccount:s?s.id:0;e.init({type:0,address:this.userLocal,uid:this.uid,platform:this.platform,account_id:i},function(s){s?(t.userInfo=s,t.userAccount=s.id,t.cleanRead(s.id),t.toggleWindow(s.id,1),e.login(function(){setTimeout(function(){t.getMessageRecord(),t.artificialAccount||(console.log("握手消息"),e.sendMessage("handshake",t.robotAccount,"")),t.scrollIntoBottom()},500)})):setTimeout(function(){return t.initMimc()},1e3)}),this.onServciceLastMessageTimeNotCallBack()},resetLoad:function(){window.location.reload()},enterShift:function(t){this.isMobile||"Enter"!=t.code&&(this.chatValue=this.chatValue+"\n")},addSendButtonTouchEventListener:function(){var t=this;this.isIOS?document.addEventListener("touchstart",function(e){"mini-input-send"==e.target.getAttribute("class")&&t.sendTextMessage(),"sendKnowledgeMessage"==e.target.getAttribute("class")&&(console.log("监听发送按钮触摸事件",e.target.getAttribute("data")),t.sendKnowledgeMessage(e.target.getAttribute("data")))},!1):this.$refs.sendButton.addEventListener("click",this.sendTextMessage,!1)},cleanRead:function(t){c.a.get("/public/clean_read/"+t)},toggleWindow:function(t,e){c.a.put("/public/window/"+t,{window:e})},queryToJson:function(t){if(!t||""==t)return null;var e=t.substr(1,t.length).split("&");if(!e)return null;for(var s={},i=0;i<e.length;i++){var n=e[i].split("=");s[n[0]]=n[1]}return s},back:function(){history.go(-1)},isShowInfo:function(t){return-1==["end","transfer","cancel","timeout","system"].indexOf(t)},clickPhoto:function(t){if(-1==t.indexOf("http")){var e=new Image;e.src=t;var s=window.open("","_blank");s.document.write(e.outerHTML),s.document.title="图片",s.document.close()}else window.open(t)},upLastActivity:function(){var t=this;this.onCheckIsOutSession();var e=this.$mimcInstance.getLocalCacheUser(this.userAccount);e&&c.a.get("/public/activity/"+e.id),this.isArtificial&&localStorage.setItem("artificialTime_"+this.userAccount,Date.now()),setTimeout(function(){return t.upLastActivity()},6e4)},onCheckIsOutSession:function(){var t=localStorage.getItem("artificialTime_"+this.userAccount);t&&(t=parseInt(t),Date.now()>t+6e5&&(this.isArtificial=!1,this.artificialAccount=null))},loadMorData:function(){var t=this;this.isLoadMorLoading||this.isLoadMorEnd||(this.isLoadMorLoading=!0,setTimeout(function(){t.getMessageRecord(),t.isLoadMorLoading=!1},1e3))},localAdmin:function(t){var e=localStorage.getItem("admin_"+t);return e?JSON.parse(e):null},localRobot:function(t){var e=localStorage.getItem("robot_"+t);return e?JSON.parse(e):null},clickEmoji:function(t){this.showEmoji=!1,this.chatValue=this.chatValue+t,this.scrollIntoBottom()},sendPhotoMessageEvent:function(t){var e=t.target,s=e.files[0];this.sendPhotoMessage(s)},sendPhotoMessage:function(t){var e=new FileReader;e.readAsDataURL(t);var s,i=this,n=parseInt(1e4*Math.random()*(new Date).getTime())+t.name.substr(t.name.lastIndexOf("."));e.onload=function(){var e=function(){s.percent=0,i.qiniuObservable=null,i.removeMessage(i.userInfo.id,s.key),Object(r["Toast"])({message:"上传失败,请重新上传!"});var t=i.$mimcInstance,e=t.createLocalMessage("system",i.account,"您刚刚上传的图片失败了,请重新上传!");i.messages.push(i.handlerMessage(e)),i.scrollIntoBottom()},a=function(t){i.qiniuObservable=null,s.percent=100;var e=i.uploadToken.host+"/"+t;i.$mimcInstance.sendMessage("photo",i.account,e)};s=i.$mimcInstance.createLocalMessage("photo",i.account,this.result),s["percent"]=0,s.isShowCancel=!0,setTimeout(function(){s.isShowCancel=!1},1e4),i.messages.push(i.handlerMessage(s));var o=Object.assign({},s);if(o.payload=i.uploadToken.host+"/"+n,i.$previewRefresh(),i.scrollIntoBottom(),1==i.uploadToken.mode){var l=new FormData;l.append("file",t),l.append("file_name",n),c.a.post("/public/upload",l).then(function(t){a(t.data.data)}).catch(function(){e()})}else if(2==i.uploadToken.mode){var d={quality:.92,noCompressIfLarger:!0,maxWidth:1500};u["compressImage"](t,d).then(function(o){var l=u["upload"](o.dist,n,i.uploadToken.secret,{},{mimeType:null});i.qiniuObservable=l.subscribe({next:function(t){s.percent=Math.ceil(t.total.percent),t.total.size<1&&(i.qiniuObservable.unsubscribe(),i.cancelMessage(s.key),Object(r["Toast"])({message:"上传失败,该图片已损坏!"}))},error:function(){var s=new FormData;s.append("fileType","image"),s.append("fileName","file"),s.append("key",n),s.append("token",i.uploadToken.secret),s.append("file",t),c.a.post("https://upload.qiniup.com",s).then(function(){a(n)}).catch(function(){e()})},complete:function(t){a(t.key)}})})}}},scrollIntoBottom:function(){var t=this;setTimeout(function(){var e=t.$refs.miniImBody.querySelectorAll("li");t.scroll&&t.scroll.scrollToElement(e[e.length-1])},50)},chatInputFocus:function(){this.scrollIntoBottom(),this.showEmoji=!1},chatInputBlur:function(){window.chatInputInterval=null,window.scroll(0,0)},getRobot:function(){var t=this;return c.a.get("/public/robot/1").then(function(e){var s=e.data.data;localStorage.setItem("robot_"+s.id,JSON.stringify(s)),t.robotAccount=s.id,t.robotInfo=s}).catch(function(t){Object(r["Toast"])({message:t.response.data.message})})},getUploadSecret:function(){var t=this;return c.a.get("/public/secret").then(function(e){t.uploadToken=e.data.data})},getCompanyInfo:function(){var t=this;return c.a.get("/public/company").then(function(e){t.companyInfo=e.data.data}).catch(function(t){Object(r["Toast"])({message:t.response.data.message})})},getAllhttp:function(){var t=this;c.a.all([this.getRobot(),this.getCompanyInfo(),this.getUploadSecret()]).then(c.a.spread(function(){t.initMimc()})).catch(function(){return setTimeout(function(){return t.getAllhttp()},1e3)})},receiveP2PMsg:function(t){if("transfer"==t.biz_type){this.isArtificial=!0,this.artificialAccount=t.transfer_account;var e=JSON.parse(t.payload);localStorage.setItem("admin_"+e.id,JSON.stringify(e)),localStorage.setItem("adminLastCallBackMessageTime_"+e.id,Date.now()),this.isAdminSendLongTimeSystemMessage=!1}if(!this.isArtificial||"text"!=t.biz_type&&"photo"!=t.biz_type&&"cancel"!=t.biz_type||(localStorage.setItem("adminLastCallBackMessageTime_"+this.account,Date.now()),this.isAdminSendLongTimeSystemMessage=!1),"cancel"==t.biz_type&&this.removeMessage(t.from_account,t.payload),"end"!=t.biz_type&&"timeout"!=t.biz_type||(this.isArtificial=!1,this.artificialAccount=null),"pong"!=t.biz_type){if("search_knowledge"==t.biz_type)return this.handshakeKeywordList=[],void(""!=t.payload&&(this.handshakeKeywordList=JSON.parse(t.payload)));this.messagesPushMemory(t),this.scrollIntoBottom(),this.$previewRefresh(),window.parent.postMessage({newMessage:1},"*")}else this.inputPongIng()},inputPongIng:function(){var t=this;this.isInputPongIng||(this.isInputPongIng=!0,setTimeout(function(){t.inputPongIngString="对方正在输入."},500),setTimeout(function(){t.inputPongIngString="对方正在输入.."},1500),setTimeout(function(){t.inputPongIngString="对方正在输入...",t.isInputPongIng=!1},3e3))},enterSendMessage:function(){this.isMobile||(this.sendTextMessage(),this.$refs.textarea.focus())},sendTextMessage:function(){if(0!=this.userInfo.online){var t=this.chatValue.trim();if(""!=t){var e=this.$mimcInstance,s=e.sendMessage("text",this.account,t);s.isShowCancel=!0,setTimeout(function(){return s.isShowCancel=!1},1e4),this.messagesPushMemory(s),this.chatValue="",this.handshakeKeywordList=[]}}else Object(r["Toast"])({message:"您貌似掉线了"})},cancelMessage:function(t){var e=this.$mimcInstance,s=e.sendMessage("cancel",this.account,t);this.messagesPushMemory(s),this.removeMessage(this.userInfo.id,t),this.qiniuObservable&&this.qiniuObservable.unsubscribe()},sendKnowledgeMessage:function(t){this.handshakeKeywordList=[];var e=this.$mimcInstance,s=e.sendMessage("text",this.account,t);this.messagesPushMemory(s),this.chatValue=""},headRightBtn:function(){var t=this;if(!window.isClickHeadRightBtn){window.isClickHeadRightBtn=!0;var e=this.$mimcInstance;if(this.isArtificial)return r["MessageBox"].confirm("您确定关闭此次会话吗?","温馨提示! ").then(function(){var s=e.sendMessage("end",t.account,"");t.messagesPushMemory(s),t.isArtificial=!1,t.artificialAccount=null}),void setTimeout(function(){return window.isClickHeadRightBtn=!1},3e3);var s=e.sendMessage("text",this.account,"人工");this.messagesPushMemory(s),setTimeout(function(){return window.isClickHeadRightBtn=!1},3e3)}},messagesPushMemory:function(t){"pong"!=t.biz_type&&"handshake"!=t.biz_type&&"into"!=t.biz_type&&(this.messages.push(this.handlerMessage(t)),this.scrollIntoBottom())},handlerMessage:function(t){var e="http://qiniu.cmp520.com/avatar_degault_3.png",s=this.localAdmin(t.from_account),i=this.localRobot(t.from_account);return s&&t.from_account==s.id?(t.nickname=s.nickname,t.avatar=""==s.avatar?e:s.avatar):i&&t.from_account==i.id?(t.nickname=i.nickname,t.avatar=""==i.avatar?e:i.avatar):t.from_account==this.userInfo.id&&(t.nickname=this.userInfo.nickname,-1!=this.userInfo.nickname.indexOf(this.userInfo.id)&&(t.nickname="我"),t.avatar=""==this.userInfo.avatar?e:this.userInfo.avatar),t},getMessageRecord:function(){var t=this,e=20,s=this.userInfo.id,i=this.userInfo.token,n=0==this.messages.length?parseInt(((new Date).getTime()+" ").substr(0,10)):this.messages[0].timestamp;c.a.post("/public/messages",{timestamp:n,page_size:e,account:s},{headers:{token:i}}).then(function(s){var i=s.data.data.list;i.length<e&&(t.isLoadMorEnd=!0),0==t.messages.length&&i.length>0?(t.messages=s.data.data.list.map(function(e){return t.handlerMessage(e)}),t.scrollIntoBottom()):i.length>0&&(i=i.map(function(e){return t.handlerMessage(e)}),t.messages=i.concat(t.messages))}).catch(function(t){console.log(t.response.data.message)})},keyUpEvent:function(){var t=this;this.isArtificial&&(this.isSendPong||(this.isSendPong=!0,setTimeout(function(){return t.isSendPong=!1},100),this.$mimcInstance.sendMessage("pong",this.account,this.chatValue)))},removeMessage:function(t,e){for(var s=[],i=0;i<this.messages.length;i++)this.messages[i].key==e&&this.messages[i].from_account==t||s.push(this.messages[i]);this.messages=s},createLinkQuery:function(){var t=this.isArtificial?0:1,e=0==t?this.artificialAccount:this.robotAccount,s=this.isMobile?1:0,i=this.isShowHeader?1:0,n=this.platform?this.platform:1,a=this.userAccount?"&u="+this.userAccount:"",o=this.uid?"&uid="+this.uid:"",c="?h="+i+"&m="+s+"&p="+n+"&r="+t+"&a="+e+a+o;history.replaceState(null,null,c),null!=this.userAccount&&"null"!=this.userAccount&&""!=this.userAccount&&localStorage.setItem("urlQuery",c)},clickCloseWindow:function(){window.parent.postMessage({clickCloseWindow:!0},"*")},onCheckIsloogTimeNotCallBack:function(){var t=this,e=localStorage.getItem("userLastCallBackMessageTime_"+this.userAccount)||Date.now();if(this.isArtificial&&!this.isUserSendLongTimeSystemMessage&&Date.now()-e>=3e5){var s=this.$mimcInstance,i=s.createLocalMessage("system",this.account,"您已超过5分钟未回复消息,系统3分钟后将结束对话");this.messages.push(this.handlerMessage(i)),this.isUserSendLongTimeSystemMessage=!0,this.scrollIntoBottom()}setTimeout(function(){return t.onCheckIsloogTimeNotCallBack()},1e4)},onServciceLastMessageTimeNotCallBack:function(){var t=this;if(this.robotInfo){var e=this.robotInfo.loog_time_wait_text,s=localStorage.getItem("adminLastCallBackMessageTime_"+this.account)||Date.now();if(this.isArtificial&&!this.isAdminSendLongTimeSystemMessage&&""!=e.trim()&&Date.now()-s>=12e4){var i=this.$mimcInstance,n=i.createLocalMessage("text",this.account,e);n.from_account=this.robotAccount,this.messages.push(this.handlerMessage(n)),this.isAdminSendLongTimeSystemMessage=!0,this.scrollIntoBottom()}setTimeout(function(){return t.onServciceLastMessageTimeNotCallBack()},1e4)}},onSearchHandshake:function(){var t=this;if(this.chatValue&&!this.isArtificial){this.searchHandshakeTimer&&clearTimeout(this.searchHandshakeTimer);var e=this.$mimcInstance;this.searchHandshakeTimer=setTimeout(function(){e.sendMessage("search_knowledge",t.robotAccount,t.chatValue),t.searchHandshakeTimer=null},500)}else this.handshakeKeywordList=[]},inputPaste:function(t){if(!this.isMobile){var e=this,s=t.clipboardData,i=window.navigator.userAgent;if(t.clipboardData&&t.clipboardData.items&&!(s.items&&2===s.items.length&&"string"===s.items[0].kind&&"file"===s.items[1].kind&&s.types&&2===s.types.length&&"text/plain"===s.types[0]&&"Files"===s.types[1]&&i.match(/Macintosh/i)&&Number(i.match(/Chrome\/(\d{2})/i)[1])<49))for(var n=0;n<s.items.length;n++){var a=s.items[n];if("file"==a.kind){var o=a.getAsFile();if(0===o.size)return;e.sendPhotoMessage(o)}}}}},watch:{messages:function(){var t=this;setTimeout(function(){t.scroll&&t.scroll.refresh(),t.$previewRefresh()},50)},isArtificial:function(t){this.createLinkQuery(),localStorage.setItem("isArtificial_"+this.userAccount,t),localStorage.setItem("artificialTime_"+this.userAccount,Date.now()),t||localStorage.removeItem("artificialTime_"+this.userAccount)},artificialAccount:function(){localStorage.setItem("artificialAccount_"+this.userAccount,this.artificialAccount)},userInfo:function(){this.createLinkQuery()},chatValue:function(){this.onSearchHandshake()}}},f=m,g=(s("7faf"),s("2877")),p=Object(g["a"])(f,n,a,!1,null,null,null),b=p.exports,v=s("d1d4"),y=s.n(v),k=(s("394c"),s("aa35"),s("c1df")),w={install:function(t,e){t.prototype.$myMethod=function(){console.log(e)},t.prototype.$formatUnixDate=function(t,e){return k(parseInt(t+"000")).format(e)},t.prototype.$formatFromNowDate=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm";return k().format("YYYYMMDD")==k(parseInt(t+"000")).format("YYYYMMDD")?"今天 "+k(parseInt(t+"000")).format("HH:mm"):k(parseInt(t+"000")).format(e)},t.prototype.$robotNickname=function(t){for(var e,s=this.$store.getters.robots,i=0;i<s.length;i++)s[i].id==t&&(e=s[i].nickname);return e},t.prototype.$judgeBigScreen=function(){var t=!1,e=window.screen.height/window.screen.width,s=window.screen.height==window.screen.availHeight?1.8:1.65;return e>s&&(t=!0),t}}},M=w,I=(s("6b54"),{install:function(t,e){console.log(e),t.MimcInstance=t.prototype.$mimcInstance={user:null,robot:null,platform:5,fetchMIMCTokenResult:null,_receiveP2PMsgCallback:null,_statusChangeCallback:null,_serverAckCallback:null,_disconnectCallback:null,init:function(t,e){this.platform=t.platform,this.fetchMIMCToken(t,e),this.getRobot()},getLocalCacheUser:function(t){var e=localStorage.getItem("miniImAppUser_"+t);return e?JSON.parse(e):null},fetchMIMCToken:function(t,e){var s=this;c.a.post("/public/register",t).then(function(t){s.fetchMIMCTokenResult=t.data.data.token,localStorage.setItem("miniImAppUser_"+t.data.data.user.id,JSON.stringify(t.data.data.user)),console.log("MIMC初始化成功"),e&&e(t.data.data.user)}).catch(function(t){e&&e(null),console.log(t.response),Object(r["Toast"])({message:t.response.data.message})})},getRobot:function(){var t=this;c.a.get("/public/robot/1").then(function(e){t.robot=e.data.data}).catch(function(t){Object(r["Toast"])({message:"mimc初始化失败,请刷新重试"+t.response.data.message})})},login:function(t){var e=this;try{if(this.user)return;var s=this.fetchMIMCTokenResult;this.user=new MIMCUser(s.data.appId,s.data.appAccount,"666"),this.user.registerP2PMsgHandler(function(t){var s=JSON.parse(window.Base64.decode(t.getPayload()));e._receiveP2PMsgCallback&&e._receiveP2PMsgCallback(s)}),this.user.registerFetchToken(function(){return s}),this.user.registerStatusChange(function(t,s,i,n){e._statusChangeCallback&&e._statusChangeCallback(t,s,i,n)}),this.user.registerServerAckHandler(function(t,s,i,n){e._serverAckCallback&&e._serverAckCallback(t,s,i,n)}),this.user.registerDisconnHandler(function(){e._disconnectCallback&&e._disconnectCallback()}),this.user.login(),window.mimcInstance=this,t&&t(),console.log("MIMC登录成功")}catch(i){console.log("MIMC登录失败"),setTimeout(function(){e.login()},1e3)}},logout:function(){this.user&&(this.user.logout(),this.user=null)},addEventListener:function(t,e){switch(t){case"receiveP2PMsg":this._receiveP2PMsgCallback=e;break;case"statusChange":this._statusChangeCallback=e;break;case"serverAck":this._serverAckCallback=e;break;case"disconnect":this._disconnectCallback=e;break}},sendMessage:function(t,e){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(this.user){var n={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(e),biz_type:t,version:"0",timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,platform:this.platform,transfer_account:0,payload:i+""},a=window.Base64.encode(JSON.stringify(n));if("contacts"!=t&&"pong"!=t&&"welcome"!=t&&"handshake"!=t&&"search_knowledge"!=t){var o={biz_type:"into",payload:a},c=window.Base64.encode(JSON.stringify(o));this.user.sendMessage(this.robot.id.toString(),c)}return setTimeout(function(){s.user.sendMessage(e.toString(),a)},150),n}Object(r["Toast"])({message:"服务异常,请刷新重试!"})},createLocalMessage:function(t,e){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,n={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(e),biz_type:t,version:"0",platform:this.platform,timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,transfer_account:parseInt(i),payload:s+""};return n}}}}),_=I,j={months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY年MM月DD日",LLL:"YYYY年MM月DD日Ah点mm分",LLLL:"YYYY年MM月DD日ddddAh点mm分",l:"YYYY-M-D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(t,e){return 12===t&&(t=0),"凌晨"===e||"早上"===e||"上午"===e?t:"下午"===e||"晚上"===e?t+12:t>=11?t:t+12},meridiem:function(t,e){var s=100*t+e;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(t,e){switch(e){case"d":case"D":case"DDD":return t+"日";case"M":return t+"月";case"w":case"W":return t+"周";default:return t}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d秒",m:"1分钟",mm:"%d分钟",h:"1小时",hh:"%d小时",d:"1天",dd:"%d天",M:"1个月",MM:"%d个月",y:"1年",yy:"%d年"},week:{dow:1,doy:4}},A=s("c1df");A.locale("zh-cn",j),c.a.defaults.baseURL="http://kf.aissz.com:666/v1";var C={clickToCloseNonZoomable:!1,fullscreenEl:!1};i["default"].use(y.a,C),i["default"].use(M),i["default"].use(_),i["default"].use(l.a),i["default"].config.productionTip=!1,new i["default"]({render:function(t){return t(b)}}).$mount("#app")},"7faf":function(t,e,s){"use strict";var i=s("8fba"),n=s.n(i);n.a},"8fba":function(t,e,s){},bb7f:function(t,e){var s=["😀","😁","😂","🤣","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","🙂","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🙌","👏","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👌","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏"];e.emojiData=s},bed0:function(t,e,s){t.exports=s.p+"img/photo_btn.c337b681.png"}});
//# sourceMappingURL=app.88e6ed25.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
(function(e){function t(t){for(var i,o,c=t[0],r=t[1],l=t[2],d=0,h=[];d<c.length;d++)o=c[d],a[o]&&h.push(a[o][0]),a[o]=0;for(i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);u&&u(t);while(h.length)h.shift()();return n.push.apply(n,l||[]),s()}function s(){for(var e,t=0;t<n.length;t++){for(var s=n[t],i=!0,c=1;c<s.length;c++){var r=s[c];0!==a[r]&&(i=!1)}i&&(n.splice(t--,1),e=o(o.s=s[0]))}return e}var i={},a={app:0},n=[];function o(t){if(i[t])return i[t].exports;var s=i[t]={i:t,l:!1,exports:{}};return e[t].call(s.exports,s,s.exports,o),s.l=!0,s.exports}o.m=e,o.c=i,o.d=function(e,t,s){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:s})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var s=Object.create(null);if(o.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(s,i,function(t){return e[t]}.bind(null,i));return s},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="";var c=window["webpackJsonp"]=window["webpackJsonp"]||[],r=c.push.bind(c);c.push=t,c=c.slice();for(var l=0;l<c.length;l++)t(c[l]);var u=r;n.push([0,"chunk-vendors"]),s()})({0:function(e,t,s){e.exports=s("56d7")},"21fb":function(e,t,s){e.exports=s.p+"img/expression.73c98a16.png"},"42e0":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGQAAABkCAYAAABw4pVUAAALwUlEQVR4Xu1dXYhdVxVe68696T2jpokkGe8+QZM8iFBrEyq+SRMQQRE6DYjSB5OAlIIPTUSLbREn+tAHHzoBfVAsTag+amewD4piJ0V9KnSsD4KgnRTvPjMTQhIryTCTe5asy77Tm5tzzl57n5+cm9wDQyB3733WXt9Za397rbXPQZhctdIA1kqaiTAwAaRmD0EpgFy9enXXzZs3TxDR4UajsdRutxd37959rWZzr6U4hQOyvr5+eGtr6w1E3DU04wWl1BO11EDNhCoUkCiKjhLRGylzPKeUOl2z+ddOnEIB0VqfB4ATabNsNptH9u3bt1w7LdRIoKIBWQCAxzPmt6SUOlaj+ddOlEIBiaLoJBG9YpnlE0opBm5yJWigUEB4fK31CgB8IkPbK0qpgxM0kjVQOCASKyGis2EYzk1AuVMDhQNirGQJAB5LUzgRXZuenj442ZtUBIiF/g6kuKCUOjmxkts1UIqFGCvJpMDcBhGPdTodtqbJZTRQGiBRFB0gonctmp7Q4BEFlQYI36fb7c4h4g+yQEHEU51Oh63J+Yqi6HNxHL+IiI8CwIMA8D4A3DB/N82//2NRAIDZ338Q8T3+i+P430opblurq1RATJCRFcHKSrtWgiA44rrAr66uPtzr9d5CxB05NMoW/CYiXmw0Gm/OzMz8K8dYhXQtFRCWsCwa3O12f4KI3ypECx8MskpEDNCfduzY8fqePXvYsiq9SgfEuK5lRHwkbWZMgxuNxpFOp8PWJLq63e5vEfErosaejYjob41G43dE9LpS6s+ewzh1Kx0QQ4F5HTlqkcyJBmutfwUATzrNNl/j/xLRbwDgF2EY/iXfUOm9SwHEMKxnAGAWAA5IhXehwVEUfYeIfiwdu8h2RPTPRqPx83a7/bLr2meTo1BAoijiLCFv9mzWkCgXES2HYXjEJvTg9yrclkCWVxHxlU6nk5YHEgzxQZN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HkQcF1bwr5gjvoIHJ0WS9yNlJPyZtcNapU87GlQGSA4x+4QOzoiAIlrJciWSz6KGv0qPHwzJVAojkqEGCoqwneZOUa8uZeAACQRDsrmpNqQqQrK8mDOuIw/cc0p7Psz8Q5Ex4H8KWJ0o0VRmorAoQjs5yhWFWQocPkHKYI1eql9EV5kz6HwXgUlcbMPccIDzxjFw8W8Vc0WfRBTmT7aIISwbQK9Hk4xor3xgmJLYWgyA4WYZ/Fq5b20URSfnyMuoCbEBV4rKGhRhUCk5NTS37JnFskxr8bsuZJBVFmDMsXGK6XGXSbZu6Syc3ju2ENLhSWmvTY+UWYhOo6N8lNLiKogjpvO55QFgRAhpcm3TvfQGIhAbX5aUE9wUgxkpsBX6l1AZLXdV9saiPsjvb5zOqfvlmElj3jYVYNqd93ZRdGyyxlrEGZFAMMSj+npqaWsza2whpsNMROYmSXdqMLSCmNIhrjEfrZzNPMUk+n1Fl7GoUrLEExBwaejetPMi2FgjefnTXaPBYAmILifBTl5XDkNDgu1X1OK6A2Cis9Z2/Wmvbd3u9PsXksl7cMyxLEFq3AiKJBttcX17l30uAWF90Jkm72s5L+nyKKS9IY+mybPRV+mTbxjHKrezwT+UJqrxPz3B/Q3t5HRg9ruwUTq8bDR5LCxkAYzaGs/xyGf6/tNdz2B4EGw12/RST7X5Zv481IHkmPhLnslbFVEWDJ4AYZGw0uKo41wQQA0hdaPAEkCHfZaPB/J5fpVRRL2dL9LgTQIbUIqDBi0op368NiZa8CSAjarK8MM353SUiFIYaTQBJ0FhC8LL0V4YMxJgAkvIIm4NFfPT6WtJHzVyffGn7CSBSTVXUbgJIRYqW3mYCiFRTFbX7PyR+BY0YMYJnAAAAAElFTkSuQmCC"},4678:function(e,t,s){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-SG":"cdab","./en-SG.js":"cdab","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-nz":"6f50","./en-nz.js":"6f50","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-tw":"90ea","./zh-tw.js":"90ea"};function a(e){var t=n(e);return s(t)}function n(e){var t=i[e];if(!(t+1)){var s=new Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s}return t}a.keys=function(){return Object.keys(i)},a.resolve=n,e.exports=a,a.id="4678"},"56d7":function(e,t,s){"use strict";s.r(t);s("cadf"),s("551c"),s("f751"),s("097d");var i=s("2b0e"),a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"mini-im-container",class:{"mini-im-pc-container":!e.isMobile,"mini-im-container-no-pto":!e.isShowHeader}},[i("span",{directives:[{name:"show",rawName:"v-show",value:e.isMobile&&e.isInputPongIng&&!e.isShowHeader,expression:"isMobile && (isInputPongIng && !isShowHeader)"}],staticClass:"input-ing"},[e._v(e._s(e.inputPongIngString))]),e.isShowHeader?i("mt-header",{attrs:{fixed:"",title:e.isInputPongIng?e.inputPongIngString:"在线客服"}},[i("div",{attrs:{slot:"left"},slot:"left"},[i("mt-button",{attrs:{icon:"back"},on:{click:e.back}})],1),i("mt-button",{attrs:{slot:"right"},on:{click:e.headRightBtn},slot:"right"},[e.isArtificial?i("span",[e._v("结束会话")]):i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""}})])],1):e._e(),e.isMobile?e._e():i("div",{staticClass:"mini-im-pc-header"},[e._m(0),i("span",{directives:[{name:"show",rawName:"v-show",value:e.isInputPongIng,expression:"isInputPongIng"}]},[e._v(e._s(e.inputPongIngString))]),i("div",{staticClass:"right"},[e.isArtificial?e._e():i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""},on:{click:e.headRightBtn}}),e.isArtificial?i("span",{on:{click:e.headRightBtn}},[e._v("结束会话")]):e._e(),i("div",{staticClass:"close-btn",on:{click:e.clickCloseWindow}},[e._v("ㄨ")])])]),i("div",{ref:"miniImBody",staticClass:"mini-im-body"},[i("ul",{staticClass:"mini-im-chat-list"},[e.isLoadMorLoading?i("li",{staticClass:"message-loading"},[i("mt-spinner",{attrs:{color:"#26a2ff",size:20,type:"triple-bounce"}})],1):e._e(),e._l(e.viewMessage,function(t,s){return i("li",{key:s},[t.isShowDate?[i("div",{staticClass:"mini-im-chat-item"},[i("div",{staticClass:"chat-content"},[i("div",{staticClass:"chat-body"},[[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",[e._v(e._s(e.$formatFromNowDate(t.timestamp,"YYYY年MM月DD日 HH:mm")))])])])]],2)])])]:e._e(),i("div",{staticClass:"mini-im-chat-item",class:{self:t.from_account==e.userInfo.id}},[e.isShowInfo(t.biz_type)?i("div",{staticClass:"chat-avatar"},[i("img",{attrs:{src:t.avatar}})]):e._e(),i("div",{staticClass:"chat-content"},[i("div",{staticClass:"chat-body"},[t.isShowCancel?[t.from_account==e.userInfo.id&&e.isShowInfo(t.biz_type)?i("span",{staticClass:"cancel-btn",on:{click:function(){return e.cancelMessage(t.key)}}},[e._v("撤回")]):e._e()]:e._e(),"text"==t.biz_type||"welcome"==t.biz_type?[i("div",{staticClass:"text"},[i("span",{domProps:{innerHTML:e._s(t.payload.replace(/\n/gi,"<br />"))}})])]:e._e(),"photo"==t.biz_type?[i("div",{staticClass:"photo"},[t.percent&&100!=t.percent?i("span",[e._v("上传中"+e._s(t.percent)+"%")]):e._e(),i("img",{attrs:{src:t.payload},on:{click:function(s){return e.clickPhoto(t.payload)}}})])]:e._e(),"knowledge"==t.biz_type?[i("div",{staticClass:"knowledge"},[i("div",{staticClass:"title"},[e._v("以下是您关心的相关问题?")]),e._l(JSON.parse(t.payload),function(t,s){return i("a",{key:s,attrs:{href:"javascript:void(0);"},on:{click:function(){return e.sendKnowledgeMessage(t.title)}}},[i("span",[e._v("• "+e._s(t.title))])])}),i("a",{on:{click:e.headRightBtn}},[e._v("• 以上都不是?我要找人工")])],2)]:e._e(),"end"==t.biz_type?[e._m(1,!0)]:e._e(),"timeout"==t.biz_type?[e._m(2,!0)]:e._e(),"system"==t.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",{domProps:{innerHTML:e._s(t.payload)}})])])]:e._e(),"cancel"==t.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[t.from_account==e.userInfo.id?i("span",[e._v("您撤回了一条消息")]):i("span",[e._v("对方撤回了一条消息")])])])]:e._e(),"transfer"==t.biz_type?[i("div",{staticClass:"system"},[i("div",{staticClass:"content"},[i("span",[e._v("已为您转接"+e._s(t.transfer_account)+"号客服")])])])]:e._e()],2)])])],2)})],2),e.isNotNetWork?i("div",{staticClass:"no-network"},[i("img",{attrs:{src:s("42e0"),alt:""}}),i("span",[e._v("网络连接已断开,请重新加载尝试~")]),i("button",{on:{click:e.resetLoad}},[e._v("重新加载")])]):e._e()]),e.isLoading?i("div",{staticClass:"mini-im-loading"},[i("mt-spinner",{attrs:{type:"triple-bounce",color:"#26a2ff"}})],1):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showEmoji,expression:"showEmoji"}],staticClass:"mini-im-emoji"},[i("div",{staticClass:"mini-im-emoji-content"},e._l(e.emojis,function(t,s){return i("span",{key:s,on:{click:function(){return e.clickEmoji(t)}}},[e._v(e._s(t))])}),0)]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.handshakeKeywordList.length>0,expression:"handshakeKeywordList.length > 0"}],staticClass:"mini-im-knowledge"},[i("div",{staticClass:"mask",on:{click:function(t){e.handshakeKeywordList=[]}}}),i("span",[e._v("以下是您关心的相关问题?")]),i("ul",e._l(e.handshakeKeywordList,function(t,s){return i("li",{key:s,staticClass:"sendKnowledgeMessage",attrs:{data:t.title},on:{click:function(s){!e.isIOS&&e.sendKnowledgeMessage(t.title)}}},[e._v("• "+e._s(t.title))])}),0)]),i("div",{staticClass:"mini-im-tabbar-input"},[i("span",{staticClass:"photo-btn"},[i("img",{attrs:{src:s("bed0"),alt:""}}),i("input",{attrs:{onClick:"this.value = null",type:"file",accept:"image/*"},on:{change:e.changeFile}})]),i("span",{staticClass:"expression-btn",on:{click:function(t){e.showEmoji=!e.showEmoji}}},[i("img",{attrs:{src:s("21fb"),alt:""}})]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.isMobile&&!e.isShowHeader,expression:"isMobile && !isShowHeader"}],staticClass:"serverci",class:{on:!e.isArtificial},on:{click:e.headRightBtn}},[e.isArtificial?i("span",[e._v("结束会话")]):i("img",{attrs:{title:"人工客服",src:"http://qiniu.cmp520.com/bfbfbf.png",alt:""}})]),i("textarea",{directives:[{name:"model",rawName:"v-model",value:e.chatValue,expression:"chatValue"}],ref:"textarea",staticStyle:{"vertical-align":"top",outline:"none"},attrs:{maxlength:"200",placeholder:"请用一句话描述您的问题~"},domProps:{value:e.chatValue},on:{keyup:[function(t){return t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.keyUpEvent(t)},function(t){return!t.type.indexOf("key")&&13!==t.keyCode&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.shiftKey?e.enterShift(t):null},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:e.enterSendMessage(t)}],submit:e.sendTextMessage,focus:e.chatInputFocus,blur:e.chatInputBlur,input:function(t){t.target.composing||(e.chatValue=t.target.value)}}}),i("button",{ref:"sendButton",staticClass:"mini-input-send",attrs:{type:"button"}},[e._v("发送")])])],1)},n=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"title"},[s("img",{attrs:{src:"http://qiniu.cmp520.com/kefu_icon_2000.png",alt:""}}),s("span",[e._v("在线客服")])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"system"},[s("div",{staticClass:"content"},[s("span",[e._v("本次会话结束,感谢您的耐心与支持!")])])])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"system"},[s("div",{staticClass:"content"},[s("span",[e._v("会话超时,系统结束了本次会话")])])])}],o=(s("7f7f"),s("28a5"),s("386d"),s("4917"),s("bc3a")),c=s.n(o),r=s("76a0"),l=s.n(r),u=s("cea2"),d=s("1fba"),h=s("bb7f"),m={name:"app",data:function(){return{messages:[],isLoading:!0,isNotNetWork:!1,userLocal:"",isFirstGetMessage:!0,platform:5,uid:null,chatValue:"",emojis:h.emojiData,showEmoji:!1,userInfo:{},userAccount:null,companyInfo:null,uploadToken:null,isArtificial:!1,artificialAccount:null,robotInfo:null,robotAccount:null,isLoadMorEnd:!1,isUserSendLongTimeSystemMessage:!1,isAdminSendLongTimeSystemMessage:!1,isInputPongIng:!1,isLoadMorLoading:!1,isSendPong:!1,qiniuObservable:null,inputPongIngString:"对方正在输入...",scroll:null,isShowHeader:!0,isMobile:!0,handshakeKeywordList:[],searchHandshakeTimer:null}},created:function(){this.getLocal(),this.run()},computed:{account:function(){return this.isArtificial?this.artificialAccount:this.robotAccount},isIOS:function(){return!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)},isSafari:function(){return navigator.userAgent.indexOf("Safari")>-1&&navigator.userAgent.indexOf("Chrome")<1},isJudgeBigScreen:function(){return this.$judgeBigScreen()},viewMessage:function(){for(var e=this.messages,t=0;t<e.length;t++)0==t&&(e[t].isShowDate=!0),t<e.length-1&&(e[t+1].isShowDate=!1,e[t+1].timestamp-120>e[t].timestamp&&(e[t+1].isShowDate=!0));return e}},mounted:function(){var e=this,t=this.queryToJson(location.search);t&&t.c&&localStorage.clear();var s=this.queryToJson(localStorage.getItem("urlQuery"));s&&(t=Object.assign({},s,t),t.u=s.u),t&&("0"==t.h&&(this.isShowHeader=!1),"0"==t.m&&(this.isMobile=!1,this.isShowHeader=!1),t.u&&(this.userAccount=parseInt(t.u)),t.p&&(this.platform=parseInt(t.p)),t.uid&&(this.uid=parseInt(t.uid)),"0"==t.r?(this.isArtificial=!0,this.artificialAccount=parseInt(t.a)):this.robotAccount=parseInt(t.a));var i=localStorage.getItem("isArtificial_"+this.userAccount),a=localStorage.getItem("artificialAccount_"+this.userAccount);"true"==i&&(this.isArtificial=!0,this.artificialAccount=parseInt(a)),setTimeout(function(){e.isLoading=!1,e.scroll=new d["a"](e.$refs.miniImBody,{click:!0,tab:!0,scrollY:!0,scrollbar:!0,bounceTime:400,preventDefaultException:{className:/(^|\s)text(\s|$)/},mouseWheel:!0}),e.scroll.on("touchEnd",function(t){t.y>30&&e.loadMorData()}),e.addSendButtonTouchEventListener(),e.createLinkQuery(),e.scrollIntoBottom()},500),this.onCheckIsOutSession()},beforeDestroy:function(){this.toggleWindow(this.userAccount,0)},methods:{run:function(){var e=this;this.getAllhttp(),this.upLastActivity(),this.$mimcInstance.addEventListener("receiveP2PMsg",this.receiveP2PMsg),this.$mimcInstance.addEventListener("disconnect",function(){console.log("链接断开!"),e.isNotNetWork=!0}),this.$mimcInstance.addEventListener("statusChange",function(e,t,s,i){console.log("状态发生变化",e,t,s,i)}),this.$mimcInstance.addEventListener("serverAck",function(t,s,i,a){console.log("发送消息服务器ack",t,s,i,a),localStorage.setItem("userLastCallBackMessageTime_"+e.userAccount,Date.now()),e.isUserSendLongTimeSystemMessage=!1}),this.onCheckIsloogTimeNotCallBack()},getLocal:function(){var e=this,t="";c.a.get("https://restapi.amap.com/v3/ip?key="+t).then(function(t){t.data.province&&(console.log(t.data.province+t.data.city),e.userLocal=t.data.province+t.data.city)}).catch(function(e){console.error(e)})},initMimc:function(){var e=this,t=this.$mimcInstance,s=t.getLocalCacheUser(this.userAccount);this.userInfo=s;var i=this.userAccount?this.userAccount:s?s.id:0;t.init({type:0,address:this.userLocal,uid:this.uid,platform:this.platform,account_id:i},function(s){s?(e.userInfo=s,e.userAccount=s.id,e.cleanRead(s.id),e.toggleWindow(s.id,1),t.login(function(){setTimeout(function(){e.messages=e.getLocalMessages(),e.isLoading=!1,e.artificialAccount||(console.log("握手消息"),t.sendMessage("handshake",e.robotAccount,"")),e.scrollIntoBottom()},500)})):setTimeout(function(){return e.initMimc()},1e3)}),this.onServciceLastMessageTimeNotCallBack()},resetLoad:function(){window.location.reload()},enterShift:function(e){this.isMobile||"Enter"!=e.code&&(this.chatValue=this.chatValue+"\n")},addSendButtonTouchEventListener:function(){var e=this;this.isIOS?document.addEventListener("touchstart",function(t){"mini-input-send"==t.target.getAttribute("class")&&e.sendTextMessage(),"sendKnowledgeMessage"==t.target.getAttribute("class")&&(console.log("监听发送按钮触摸事件",t.target.getAttribute("data")),e.sendKnowledgeMessage(t.target.getAttribute("data")))},!1):this.$refs.sendButton.addEventListener("click",this.sendTextMessage,!1)},cleanRead:function(e){c.a.get("/public/clean_read/"+e)},toggleWindow:function(e,t){c.a.put("/public/window/"+e,{window:t})},queryToJson:function(e){if(!e||""==e)return null;var t=e.substr(1,e.length).split("&");if(!t)return null;for(var s={},i=0;i<t.length;i++){var a=t[i].split("=");s[a[0]]=a[1]}return s},back:function(){history.go(-1)},isShowInfo:function(e){return-1==["end","transfer","cancel","timeout","system"].indexOf(e)},clickPhoto:function(e){window.open(e)},upLastActivity:function(){var e=this;this.onCheckIsOutSession();var t=this.$mimcInstance.getLocalCacheUser(this.userAccount);t&&c.a.get("/public/activity/"+t.id),this.isArtificial&&localStorage.setItem("artificialTime_"+this.userAccount,Date.now()),setTimeout(function(){return e.upLastActivity()},6e4)},onCheckIsOutSession:function(){var e=localStorage.getItem("artificialTime_"+this.userAccount);e&&(e=parseInt(e),Date.now()>e+6e5&&(this.isArtificial=!1,this.artificialAccount=null))},loadMorData:function(){var e=this;this.isLoadMorLoading||this.isLoadMorEnd||(this.isLoadMorLoading=!0,setTimeout(function(){var t=e.getLocalMessages();0==t.length&&(e.isLoadMorEnd=!0),e.messages=t.concat(e.messages),e.isLoadMorLoading=!1},1e3))},localAdmin:function(e){var t=localStorage.getItem("admin_"+e);return t?JSON.parse(t):null},localRobot:function(e){var t=localStorage.getItem("robot_"+e);return t?JSON.parse(t):null},clickEmoji:function(e){this.showEmoji=!1,this.chatValue=this.chatValue+e,this.scrollIntoBottom()},changeFile:function(e){var t=e.target,s=new FileReader,i=t.files[0];s.readAsDataURL(i);var a,n=this,o=parseInt(1e4*Math.random()*(new Date).getTime())+i.name.substr(i.name.lastIndexOf("."));s.onload=function(){var e=function(){a.percent=0,n.qiniuObservable=null,n.removeMessage(n.userInfo.id,a.key),Object(r["Toast"])({message:"上传失败,请重新上传!"});var e=n.$mimcInstance,t=e.createLocalMessage("system",n.account,"您刚刚上传的图片失败了,请重新上传!");n.messages.push(n.handlerMessage(t)),n.scrollIntoBottom()},t=function(e){n.qiniuObservable=null,a.percent=100;var t=n.uploadToken.host+"/"+e;n.$mimcInstance.sendMessage("photo",n.account,t)};a=n.$mimcInstance.createLocalMessage("photo",n.account,this.result),a["percent"]=0,a.isShowCancel=!0,setTimeout(function(){a.isShowCancel=!1},1e4),n.messages.push(n.handlerMessage(a));var s=Object.assign({},a);if(s.payload=n.uploadToken.host+"/"+o,n.messagesPushMemoryAndLocalStoreSave(s,!1),n.$previewRefresh(),n.scrollIntoBottom(),1==n.uploadToken.mode){var l=new FormData;l.append("file",i),l.append("file_name",o),c.a.post("/public/upload",l).then(function(e){t(e.data.data)}).catch(function(){e()})}else if(2==n.uploadToken.mode){var d={quality:.92,noCompressIfLarger:!0,maxWidth:1500};u["compressImage"](i,d).then(function(s){var i=u["upload"](s.dist,o,n.uploadToken.secret,{},{mimeType:null});n.qiniuObservable=i.subscribe({next:function(e){a.percent=Math.ceil(e.total.percent),e.total.size<1&&(n.qiniuObservable.unsubscribe(),n.cancelMessage(a.key),Object(r["Toast"])({message:"上传失败,该图片已损坏!"}))},error:function(){e()},complete:function(e){t(e.key)}})})}}},scrollIntoBottom:function(){var e=this;setTimeout(function(){var t=e.$refs.miniImBody.querySelectorAll("li");e.scroll&&e.scroll.scrollToElement(t[t.length-1])},50)},chatInputFocus:function(){this.scrollIntoBottom(),this.showEmoji=!1},chatInputBlur:function(){window.chatInputInterval=null,window.scroll(0,0)},getRobot:function(){var e=this;return c.a.get("/public/robot/1").then(function(t){var s=t.data.data;localStorage.setItem("robot_"+s.id,JSON.stringify(s)),e.robotAccount=s.id,e.robotInfo=s}).catch(function(e){Object(r["Toast"])({message:e.response.data.message})})},getUploadSecret:function(){var e=this;return c.a.get("/public/secret").then(function(t){e.uploadToken=t.data.data})},getCompanyInfo:function(){var e=this;return c.a.get("/public/company").then(function(t){e.companyInfo=t.data.data}).catch(function(e){Object(r["Toast"])({message:e.response.data.message})})},getAllhttp:function(){var e=this;c.a.all([this.getRobot(),this.getCompanyInfo(),this.getUploadSecret()]).then(c.a.spread(function(){e.initMimc()})).catch(function(){return setTimeout(function(){return e.getAllhttp()},1e3)})},receiveP2PMsg:function(e){if("transfer"==e.biz_type){this.isArtificial=!0,this.artificialAccount=e.transfer_account;var t=this.$mimcInstance;t.sendMessage("handshake",e.transfer_account,"");var s=JSON.parse(e.payload);localStorage.setItem("admin_"+s.id,JSON.stringify(s)),localStorage.setItem("adminLastCallBackMessageTime_"+s.id,Date.now()),this.isAdminSendLongTimeSystemMessage=!1}if(!this.isArtificial||"text"!=e.biz_type&&"photo"!=e.biz_type&&"cancel"!=e.biz_type||(localStorage.setItem("adminLastCallBackMessageTime_"+this.account,Date.now()),this.isAdminSendLongTimeSystemMessage=!1),"cancel"==e.biz_type&&this.removeMessage(e.from_account,e.payload),"end"!=e.biz_type&&"timeout"!=e.biz_type||(this.isArtificial=!1,this.artificialAccount=null),"pong"!=e.biz_type){if("search_knowledge"==e.biz_type)return this.handshakeKeywordList=[],void(""!=e.payload&&(this.handshakeKeywordList=JSON.parse(e.payload)));this.messagesPushMemoryAndLocalStoreSave(e),this.scrollIntoBottom(),this.$previewRefresh(),window.parent.postMessage({newMessage:1},"*");try{"transfer"==e.biz_type&&(e.payload="客服转接"),"cancel"==e.biz_type&&(e.payload="对方撤回了一条消息"),"end"!=e.biz_type&&"timeout"!=e.biz_type||(e.payload="会话超时")}catch(i){console.log(i)}}else this.inputPongIng()},inputPongIng:function(){var e=this;this.isInputPongIng||(this.isInputPongIng=!0,setTimeout(function(){e.inputPongIngString="对方正在输入."},500),setTimeout(function(){e.inputPongIngString="对方正在输入.."},1500),setTimeout(function(){e.inputPongIngString="对方正在输入...",e.isInputPongIng=!1},3e3))},enterSendMessage:function(){this.isMobile||(this.sendTextMessage(),this.$refs.textarea.focus())},sendTextMessage:function(){if(0!=this.userInfo.online){var e=this.chatValue.trim();if(""!=e){var t=this.$mimcInstance,s=t.sendMessage("text",this.account,e);s.isShowCancel=!0,setTimeout(function(){return s.isShowCancel=!1},1e4),this.messagesPushMemoryAndLocalStoreSave(s),this.chatValue="",this.handshakeKeywordList=[]}}else Object(r["Toast"])({message:"您貌似掉线了"})},cancelMessage:function(e){var t=this.$mimcInstance,s=t.sendMessage("cancel",this.account,e);this.messagesPushMemoryAndLocalStoreSave(s),this.removeMessage(this.userInfo.id,e),this.qiniuObservable&&this.qiniuObservable.unsubscribe()},sendKnowledgeMessage:function(e){this.handshakeKeywordList=[];var t=this.$mimcInstance,s=t.sendMessage("text",this.account,e);this.messagesPushMemoryAndLocalStoreSave(s),this.chatValue=""},headRightBtn:function(){var e=this;if(!window.isClickHeadRightBtn){window.isClickHeadRightBtn=!0;var t=this.$mimcInstance;if(this.isArtificial)return r["MessageBox"].confirm("您确定关闭此次会话吗?","温馨提示! ").then(function(){var s=t.sendMessage("end",e.account,"");e.messagesPushMemoryAndLocalStoreSave(s),e.isArtificial=!1,e.artificialAccount=null}),void setTimeout(function(){return window.isClickHeadRightBtn=!1},3e3);var s=t.sendMessage("text",this.account,"人工");this.messagesPushMemoryAndLocalStoreSave(s),setTimeout(function(){return window.isClickHeadRightBtn=!1},3e3)}},messagesPushMemoryAndLocalStoreSave:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if("pong"!=e.biz_type&&"handshake"!=e.biz_type&&"into"!=e.biz_type&&(t&&this.messages.push(this.handlerMessage(e)),"welcome"!=e.biz_type)){var s=[],i=localStorage.getItem("miniImAppMessageRecord_"+this.userInfo.id);i&&(s=JSON.parse(i)),s.push(this.handlerMessage(e)),localStorage.setItem("miniImAppMessageRecord_"+this.userInfo.id,JSON.stringify(s)),this.scrollIntoBottom()}},handlerMessage:function(e){var t="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAD7tJREFUeAHtXV1sHMUdn9m7s50P59NxbBI7McH5IHz5A8g5OHFTJECUIlWFVkIFCdI+8dYHqOARBKjqG08tIIHEA7QvlCJAShPHxnYAO6aiKE0s5DZpcBJiFOqEOLZvp//f3q1zd7673b2dnZ21b6TT7u3O/L9+O/Of7+FsEYTx8fGa0xOTrVwYOwQT9GM7OGP1pFotY6JWMG5duXWlJ0xMMcaneOZK8aYozQVKc5LinBTcPNncuH6spaVlOurmIZ2iF44OjewilA7Q70cETAcp0SyEMGRqwjk3ifZpoj3CODtCv8P7kx0nZPJQQSsSAA8PD9ddmTEeZqZ5gIx+gAzToMI4BXicI4MdZoZxeEWV+V5nZ+fFAnG0eqQtwGNjY9UTF6Yeopz5OOPifiFYQifLcc5mmeAfUU5/q7G+9v3W1tZrOslny6IdwL0Do3dyYT5FOfUX5C3X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Bz/Bg4wJDj62ZdNbHbmbcrJlfFksgfl1n5GQ35eRoUckSwSQQnA4I1ium9o9EkhzFeWbG6mXIuZGPuSbW9YxXMRUGQ+VgawLfTg4FfrZsT0y8T44FLxzQCTWhWvYX6bm2k2tq1kXJUDbAvdPzR8d8rkr1LW7rSfLcorzVvG1NbuZOenYegXGsC2sukeMPE85eYu+9liuFKuHcSKA1k9UuXaJHSAbcH7h0Z7UinzOfLW99rPonnlh7AQrNhaIdU6aQOwrXjvwOidnJnkn9mjBLZ2W6jbcuZe+SXqQ34Xa6sLLeHMjav2n3YA2+qPjY1VT1yYeoiK7scZF/cT4OkDjOwIIV8J0FlsWkNF8VvYNiF/ZX3I4s2z1xbgeQnpZnh4uO7KjPEwM80DVBs9QI+Kn3mTnVD+/Tky2GHsKYatirJ3s5HPSg7FSACcr6o1oCEIaJMdoE7QdlKimXK61H51ypkmfUynifYIdbceod/hIPqK83WT/T+SAOcbYXx8vOb0xGQrzqynzl36sR04HJn6jGhbH7EyfcKqqMVZfkibPu2NT6XPjOKX6ckUxTlPxjiJbfCxUzo2026h/ZbzeUXt//8ByJ7Ze9EGCQYAAAAASUVORK5CYII=",s=this.localAdmin(e.from_account),i=this.localRobot(e.from_account);return s&&e.from_account==s.id?(e.nickname=s.nickname,e.avatar=""==s.avatar?t:s.avatar):i&&e.from_account==i.id?(e.nickname=i.nickname,e.avatar=""==i.avatar?t:i.avatar):e.from_account==this.userInfo.id&&(e.nickname=this.userInfo.nickname,-1!=this.userInfo.nickname.indexOf(this.userInfo.id)&&(e.nickname="我"),e.avatar=""==this.userInfo.avatar?t:this.userInfo.avatar),e},getLocalMessages:function(){var e=15,t=[],s=localStorage.getItem("miniImAppMessageRecord_"+this.userInfo.id);if(s){var i=JSON.parse(s);if(this.isFirstGetMessage)this.isFirstGetMessage=!1,t=i.slice(-e,i.length);else{for(var a=-1,n=i.length-1;n>=0;n--)if(i[n].timestamp==this.messages[0].timestamp){a=n;break}if(-1==a)return[];t=i.slice(-(i.length-a+e),a)}}for(var o=0;o<t.length;o++){var c=t[o];c.isShowCancel=!1,t[o]=this.handlerMessage(c)}return t},keyUpEvent:function(){var e=this;this.isArtificial&&(this.isSendPong||(this.isSendPong=!0,setTimeout(function(){return e.isSendPong=!1},100),this.$mimcInstance.sendMessage("pong",this.account,this.chatValue)))},removeMessage:function(e,t){for(var s=[],i=0;i<this.messages.length;i++)this.messages[i].key==t&&this.messages[i].from_account==e||s.push(this.messages[i]);var a=localStorage.getItem("miniImAppMessageRecord_"+this.userInfo.id);if(a){for(var n=JSON.parse(a),o=[],c=0;c<n.length;c++){var r=n[c];r.key==t&&r.from_account==e||"welcome"!=r.biz_type&&"handshake"!=r.biz_type&&"into"!=r.biz_type&&o.push(n[c])}localStorage.setItem("miniImAppMessageRecord_"+this.userInfo.id,JSON.stringify(o))}this.messages=s},createLinkQuery:function(){var e=this.isArtificial?0:1,t=0==e?this.artificialAccount:this.robotAccount,s=this.isMobile?1:0,i=this.isShowHeader?1:0,a=this.platform?this.platform:1,n=this.userAccount?"&u="+this.userAccount:"",o=this.uid?"&uid="+this.uid:"",c="?h="+i+"&m="+s+"&p="+a+"&r="+e+"&a="+t+n+o;history.replaceState(null,null,c),null!=this.userAccount&&"null"!=this.userAccount&&""!=this.userAccount&&localStorage.setItem("urlQuery",c)},clickCloseWindow:function(){window.parent.postMessage({clickCloseWindow:!0},"*")},onCheckIsloogTimeNotCallBack:function(){var e=this,t=localStorage.getItem("userLastCallBackMessageTime_"+this.userAccount)||Date.now();if(this.isArtificial&&!this.isUserSendLongTimeSystemMessage&&Date.now()-t>=3e5){var s=this.$mimcInstance,i=s.createLocalMessage("system",this.account,"您已超过5分钟未回复消息,系统3分钟后将结束对话");this.messages.push(this.handlerMessage(i)),this.isUserSendLongTimeSystemMessage=!0,this.scrollIntoBottom()}setTimeout(function(){return e.onCheckIsloogTimeNotCallBack()},1e4)},onServciceLastMessageTimeNotCallBack:function(){var e=this;if(this.robotInfo){var t=this.robotInfo.loog_time_wait_text,s=localStorage.getItem("adminLastCallBackMessageTime_"+this.account)||Date.now();if(this.isArtificial&&!this.isAdminSendLongTimeSystemMessage&&""!=t.trim()&&Date.now()-s>=12e4){var i=this.$mimcInstance,a=i.createLocalMessage("text",this.account,t);a.from_account=this.robotAccount,this.messages.push(this.handlerMessage(a)),this.isAdminSendLongTimeSystemMessage=!0,this.scrollIntoBottom()}setTimeout(function(){return e.onServciceLastMessageTimeNotCallBack()},1e4)}},onSearchHandshake:function(){var e=this;if(this.chatValue&&!this.isArtificial){this.searchHandshakeTimer&&clearTimeout(this.searchHandshakeTimer);var t=this.$mimcInstance;this.searchHandshakeTimer=setTimeout(function(){t.sendMessage("search_knowledge",e.robotAccount,e.chatValue),e.searchHandshakeTimer=null},500)}else this.handshakeKeywordList=[]}},watch:{messages:function(){var e=this;setTimeout(function(){e.scroll&&e.scroll.refresh(),e.$previewRefresh()},50)},isArtificial:function(e){this.createLinkQuery(),localStorage.setItem("isArtificial_"+this.userAccount,e),localStorage.setItem("artificialTime_"+this.userAccount,Date.now()),e||localStorage.removeItem("artificialTime_"+this.userAccount)},artificialAccount:function(){localStorage.setItem("artificialAccount_"+this.userAccount,this.artificialAccount)},userInfo:function(){this.createLinkQuery()},chatValue:function(){this.onSearchHandshake()}}},f=m,g=(s("7faf"),s("2877")),p=Object(g["a"])(f,a,n,!1,null,null,null),b=p.exports,v=s("d1d4"),A=s.n(v),y=(s("394c"),s("aa35"),s("c1df")),k={install:function(e,t){e.prototype.$myMethod=function(){console.log(t)},e.prototype.$formatUnixDate=function(e,t){return y(parseInt(e+"000")).format(t)},e.prototype.$formatFromNowDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm";return y().format("YYYYMMDD")==y(parseInt(e+"000")).format("YYYYMMDD")?"今天 "+y(parseInt(e+"000")).format("HH:mm"):y(parseInt(e+"000")).format(t)},e.prototype.$robotNickname=function(e){for(var t,s=this.$store.getters.robots,i=0;i<s.length;i++)s[i].id==e&&(t=s[i].nickname);return t},e.prototype.$judgeBigScreen=function(){var e=!1,t=window.screen.height/window.screen.width,s=window.screen.height==window.screen.availHeight?1.8:1.65;return t>s&&(e=!0),e}}},w=k,I=(s("6b54"),{install:function(e,t){console.log(t),e.MimcInstance=e.prototype.$mimcInstance={user:null,robot:null,platform:5,fetchMIMCTokenResult:null,_receiveP2PMsgCallback:null,_statusChangeCallback:null,_serverAckCallback:null,_disconnectCallback:null,init:function(e,t){this.platform=e.platform,this.fetchMIMCToken(e,t),this.getRobot()},getLocalCacheUser:function(e){var t=localStorage.getItem("miniImAppUser_"+e);return t?JSON.parse(t):null},fetchMIMCToken:function(e,t){var s=this;c.a.post("/public/register",e).then(function(e){s.fetchMIMCTokenResult=e.data.data.token,localStorage.setItem("miniImAppUser_"+e.data.data.user.id,JSON.stringify(e.data.data.user)),console.log("MIMC初始化成功"),t&&t(e.data.data.user)}).catch(function(e){t&&t(null),console.log(e.response),Object(r["Toast"])({message:e.response.data.message})})},getRobot:function(){var e=this;c.a.get("/public/robot/1").then(function(t){e.robot=t.data.data}).catch(function(e){Object(r["Toast"])({message:"mimc初始化失败,请刷新重试"+e.response.data.message})})},login:function(e){var t=this;try{if(this.user)return;var s=this.fetchMIMCTokenResult;this.user=new MIMCUser(s.data.appId,s.data.appAccount,"666"),this.user.registerP2PMsgHandler(function(e){var s=JSON.parse(window.Base64.decode(e.getPayload()));t._receiveP2PMsgCallback&&t._receiveP2PMsgCallback(s)}),this.user.registerFetchToken(function(){return s}),this.user.registerStatusChange(function(e,s,i,a){t._statusChangeCallback&&t._statusChangeCallback(e,s,i,a)}),this.user.registerServerAckHandler(function(e,s,i,a){t._serverAckCallback&&t._serverAckCallback(e,s,i,a)}),this.user.registerDisconnHandler(function(){t._disconnectCallback&&t._disconnectCallback()}),this.user.login(),window.mimcInstance=this,e&&e(),console.log("MIMC登录成功")}catch(i){console.log("MIMC登录失败"),setTimeout(function(){t.login()},1e3)}},logout:function(){this.user&&(this.user.logout(),this.user=null)},addEventListener:function(e,t){switch(e){case"receiveP2PMsg":this._receiveP2PMsgCallback=t;break;case"statusChange":this._statusChangeCallback=t;break;case"serverAck":this._serverAckCallback=t;break;case"disconnect":this._disconnectCallback=t;break}},sendMessage:function(e,t){var s=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(this.user){var a={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(t),biz_type:e,version:"0",timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,platform:this.platform,transfer_account:0,payload:i+""},n=window.Base64.encode(JSON.stringify(a));if("contacts"!=e&&"pong"!=e&&"welcome"!=e&&"handshake"!=e&&"search_knowledge"!=e){var o={biz_type:"into",payload:n},c=window.Base64.encode(JSON.stringify(o));this.user.sendMessage(this.robot.id.toString(),c)}return setTimeout(function(){s.user.sendMessage(t.toString(),n)},150),a}Object(r["Toast"])({message:"服务异常,请刷新重试!"})},createLocalMessage:function(e,t){var s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,a={from_account:parseInt(this.fetchMIMCTokenResult.data.appAccount),to_account:parseInt(t),biz_type:e,version:"0",platform:this.platform,timestamp:parseInt(((new Date).getTime()+" ").substr(0,10)),key:(new Date).getTime(),read:0,transfer_account:parseInt(i),payload:s+""};return a}}}}),M=I,j={months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"YYYY年MM月DD日",LLL:"YYYY年MM月DD日Ah点mm分",LLLL:"YYYY年MM月DD日ddddAh点mm分",l:"YYYY-M-D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},meridiemParse:/凌晨|早上|上午|中午|下午|晚上/,meridiemHour:function(e,t){return 12===e&&(e=0),"凌晨"===t||"早上"===t||"上午"===t?e:"下午"===t||"晚上"===t?e+12:e>=11?e:e+12},meridiem:function(e,t){var s=100*e+t;return s<600?"凌晨":s<900?"早上":s<1130?"上午":s<1230?"中午":s<1800?"下午":"晚上"},calendar:{sameDay:"[今天]LT",nextDay:"[明天]LT",nextWeek:"[下]ddddLT",lastDay:"[昨天]LT",lastWeek:"[上]ddddLT",sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(日|月|周)/,ordinal:function(e,t){switch(t){case"d":case"D":case"DDD":return e+"日";case"M":return e+"月";case"w":case"W":return e+"周";default:return e}},relativeTime:{future:"%s内",past:"%s前",s:"几秒",ss:"%d秒",m:"1分钟",mm:"%d分钟",h:"1小时",hh:"%d小时",d:"1天",dd:"%d天",M:"1个月",MM:"%d个月",y:"1年",yy:"%d年"},week:{dow:1,doy:4}},C=s("c1df");C.locale("zh-cn",j),c.a.defaults.baseURL="http://kf.aissz.com:666/v1";var S={clickToCloseNonZoomable:!1,fullscreenEl:!1};i["default"].use(A.a,S),i["default"].use(w),i["default"].use(M),i["default"].use(l.a),i["default"].config.productionTip=!1,new i["default"]({render:function(e){return e(b)}}).$mount("#app")},"7faf":function(e,t,s){"use strict";var i=s("8fba"),a=s.n(i);a.a},"8fba":function(e,t,s){},bb7f:function(e,t){var s=["😀","😁","😂","🤣","😃","😄","😅","😆","😉","😊","😋","😎","😍","😘","😗","😙","😚","🙂","🤗","🤩","🤔","🤨","😐","😑","😶","🙄","😏","😣","😥","😮","🤐","😯","😪","😫","😴","😌","😛","😜","😝","🤤","😒","😓","😔","😕","🙃","🤑","😲","🙁","😖","😞","😟","😤","😢","😭","😦","😧","😨","😩","🤯","😬","😰","😱","😳","🤪","😵","😡","😠","🤬","😷","🤒","🤕","🤢","🤮","🤧","😇","🤠","🤡","🤥","🤫","🤭","🧐","🤓","😈","👿","👹","👺","💀","👻","👽","🤖","💩","😺","😸","😹","😻","😼","😽","🙀","😿","😾","🤲","👐","🙌","👏","🤝","👍","👎","👊","✊","🤛","🤜","🤞","✌️","🤟","🤘","👌","👈","👉","👆","👇","☝️","✋","🤚","🖐","🖖","👋","🤙","💪","🖕","✍️","🙏"];t.emojiData=s},bed0:function(e,t,s){e.exports=s.p+"img/photo_btn.c337b681.png"}});
//# sourceMappingURL=app.9de5a83c.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
......@@ -20,7 +20,7 @@ const (
// HEADER PAYLOAD SIGNATURE
// This struct is the PAYLOAD
type MyCustomClaims struct {
models.Admin
models.JwtKey
jwt.StandardClaims
}
......@@ -39,16 +39,17 @@ func RefreshToken(tokenString string) (string, error) {
mySigningKey := []byte(KEY)
expireAt := time.Now().Add(time.Second * time.Duration(DEFAULT_EXPIRE_SECONDS)).Unix()
newClaims := MyCustomClaims{
claims.Admin,
claims.JwtKey,
jwt.StandardClaims{
ExpiresAt: expireAt,
Issuer: claims.Admin.UserName,
Issuer: claims.JwtKey.UserName,
IssuedAt: time.Now().Unix(),
},
}
// generate new token with new claims
newToken := jwt.NewWithClaims(jwt.SigningMethodHS256, newClaims)
tokenStr, err := newToken.SignedString(mySigningKey)
logs.Info(tokenStr)
if err != nil {
logs.Error("generate new fresh json web token failed !! error :", err)
return "", err
......@@ -88,7 +89,7 @@ func DecodeToken(token string) (map[string]interface{}, error) {
}
// GenerateToken 生成token
func GenerateToken(admin models.Admin) (tokenString string) {
func GenerateToken(jwtKey models.JwtKey) (tokenString string) {
var expiredSeconds int
expiredSeconds = 259200
if expiredSeconds == 0 {
......@@ -97,13 +98,12 @@ func GenerateToken(admin models.Admin) (tokenString string) {
// Create the Claims
mySigningKey := []byte(KEY)
expireAt := time.Now().Add(time.Second * time.Duration(expiredSeconds)).Unix()
fmt.Println("token will be expired at ", time.Unix(expireAt, 0))
// pass parameter to this func or not
claims := MyCustomClaims{
admin,
jwtKey,
jwt.StandardClaims{
ExpiresAt: expireAt,
Issuer: admin.UserName,
Issuer: jwtKey.UserName,
IssuedAt: time.Now().Unix(),
},
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment