Commit b8f7c6ac by chenxianqi

publish v2

parent e495db95
Showing with 97 additions and 152 deletions
...@@ -4,3 +4,4 @@ kefu_server ...@@ -4,3 +4,4 @@ kefu_server
kefu_server.tar.gz kefu_server.tar.gz
conf/app.back.conf conf/app.back.conf
node_modules node_modules
app copy.conf
\ No newline at end of file
...@@ -2,6 +2,16 @@ ...@@ -2,6 +2,16 @@
# 欢迎使用本客服系统 v2.0.0 # 欢迎使用本客服系统 v2.0.0
## 以下是v2.0.0版本的重要更新
- 对前面版本进行重构,分离业务逻辑与机器人的混搭运行弊端
- 做了大量优化,在很大程度上提升了性能,并代码松耦合,
- 业务系统支持负载均衡了,这是对v1.0的重大里程碑更新, 对接海量客户不再愁了
- 增加工单系统能力,无在线客服接待?不用怕,工单来给您解决一切问题
- 代码可读性大大提高,初学者都能看懂的代码,还有什么理由不学习一下呢
- 定时清理无接入人工记录的用户,避免数据沉淀
- H5客户端增加了重连机制
- 客户端只保留30天聊天记录,消息记录已分表处理
![客服系统](http://qiniu.cmp520.com/kefuxitonh.jpg) ![客服系统](http://qiniu.cmp520.com/kefuxitonh.jpg)
**客服系统** 是基于小米消息云实现的一款简单实用的面向多终端的客服系统,支持H5,PC,桌面,小程序,APP,flutter, 所有源码开源,长期维护,快速接入,易扩展,易整合现有的业务,开箱即用,无缝对接。 **客服系统** 是基于小米消息云实现的一款简单实用的面向多终端的客服系统,支持H5,PC,桌面,小程序,APP,flutter, 所有源码开源,长期维护,快速接入,易扩展,易整合现有的业务,开箱即用,无缝对接。
...@@ -9,6 +19,7 @@ ...@@ -9,6 +19,7 @@
**[小米消息云][7](MIMC)** 是小米自研的一种安全、可靠、易用的分布式IM云服务。为广大开发者提供免费快捷的即时通讯接入服务 **[小米消息云][7](MIMC)** 是小米自研的一种安全、可靠、易用的分布式IM云服务。为广大开发者提供免费快捷的即时通讯接入服务
## 当前客服系统支持功能 ## 当前客服系统支持功能
- 内置工单系统
- 支持多客服坐席 - 支持多客服坐席
- 支持客服多终端同时在线 - 支持客服多终端同时在线
- 支持实时预览用户的输入内容 - 支持实时预览用户的输入内容
...@@ -27,7 +38,6 @@ ...@@ -27,7 +38,6 @@
## 接下来开发的功能 ## 接下来开发的功能
- 服务评分,本次服务评分,统计客服整体评分 - 服务评分,本次服务评分,统计客服整体评分
- 工单系统,非客服值班时间,可提供客户提交工单留言
## 本项目关联GIT项目资源连接 ## 本项目关联GIT项目资源连接
...@@ -77,93 +87,36 @@ ...@@ -77,93 +87,36 @@
## 如何使用本系统 ## 安装
##### 1.GO环境变量配置 ##### 1.GO环境变量配置
GO 》》》》》 [移步去GO官网][8] GO 》》》》》 [移步去GO官网][8]
##### 2.clone 本项目到 $GOPATH/src 目录下 - clone 本项目到 $GOPATH/src 目录下
cd $GOPATH/src && git clone https://github.com/chenxianqi/kefu_server - cd $GOPATH/src && git clone https://github.com/chenxianqi/kefu_server
##### 3.安装依赖库
安装 beego框架 [移步去beego官网][9]
* go get github.com/astaxie/beego
* go get github.com/beego/bee
安装 MIMC GO sdk [移步去MIMC官网][7]
* go get github.com/Xiaomi-mimc/mimc-go-sdk
* cd $GOPATH/src/github.com/Xiaomi-mimc/mimc-go-sdk
* go build
* go install
安装 protobuf
* go get github.com/golang/protobuf/proto
* cd $GOPATH/src/github.com/golang/protobuf/proto
* go build
* go install
安装 其他依赖库 ## 去小米开放平台申请小米APPID信息
* go get github.com/astaxie/beego/cache
* go get -u github.com/qiniu/api.v7
##### 4.去小米开发平台申请APPID
GO 》》》》》 [小米开放平台][6] GO 》》》》》 [小米开放平台][6]
##### 5.配置文件产考 kefu_server/conf/app.conf ## 配置文件产考 kefu_server/conf/app.conf
``` go
appname = kefu_server
runmode = "dev"
httpport = 8080
copyrequestbody = true
viewspath = "public"
# 使用本地存储时使用的地址
static_host = "http://localhost:8080/static/uploads/images"
# 小米mimc open api URL
mimc_HttpUrl = "https://mimc.chat.xiaomi.net/api/account/token"
[dev]
httpaddr = "localhost"
# 小米mimc配置信息(小米开放平台创建)
mimc_appId =
mimc_appKey = ""
mimc_appSecret = ""
# IM数据库信息
kf_alias_name = "default"
kf_driver_name= "mysql"
kf_mysql_host = "localhost"
kf_mysql_user = "root"
kf_mysql_db = "kefu_server"
kf_mysql_pwd = "keith"
```
> **Note:** 根据beego的配置文件配置,填写从小米开放平台获得的appId,appKey, appSecret, 以及您的数据库连接,账号,密码 > **Note:** 根据beego的配置文件配置,填写从小米开放平台获得的appId,appKey, appSecret, 以及您的数据库连接,账号,密码
##### 7.创建一个数据库,导入初始数据 ## 创建一个数据库,导入初始数据
登录上面配置的数据库,创建一个名为kefu_server的数据库,将[kefu_server/kefu_server.sql]初始数据,导入即可 登录上面配置的数据库,创建一个名为kefu_server的数据库,将[kefu_server/kefu_server.sql]初始数据,导入即可
##### 8.运行项目 ## 运行项目
bee run bee run
##### 9.打包发布 linux (其它运行环境编译请自行search baidu)
##### 9.打包发布 bee pack -be GOOS=linux OR CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build main.go
bee pack -be GOOS=linux
> **静态资源目录:** > **静态资源目录:**
本项目默认配置已打开静态资源目录,PC工作台与H5可直接打包放进相应的目录使用,也可以独立开设站点使用 本项目默认配置已打开静态资源目录,也可以独立开设站点运行
本项目demo直接使用内置静态资源目录、
public/admin 工作台 public/admin 工作台
public/client 客户端 public/client 客户端
## LICENSE ## LICENSE
Copyright 2019 keith Copyright 2019 keith
Licensed to the Apache Software Foundation (ASF) under one or more contributor Licensed to the Apache Software Foundation (ASF) under one or more contributor
......
version = "v2.0.0" version = "v2.0.0"
appname = kefu_server appname = kefu_server
runmode = "dev" runmode = "prod"
httpport = 8080 httpport = 8080
copyrequestbody = true copyrequestbody = true
viewspath = "public" viewspath = "public"
...@@ -11,10 +11,10 @@ grpc_port = 8028 ...@@ -11,10 +11,10 @@ grpc_port = 8028
# 客服客户端前台地址 # 客服客户端前台地址
# 1.工单邮件会发送 # 1.工单邮件会发送
kefu_client_url = "http://localhost:8080" kefu_client_url = "http://kf.aissz.com:666"
# 用于本地服务静态资源地址 # 用于本地服务静态资源地址
static_host = "http://localhost:8080" static_host = "http://kf.aissz.com:666"
# 进程监控 # 进程监控
# EnableAdmin = false # EnableAdmin = false
...@@ -32,8 +32,8 @@ mimc_HttpUrl = "https://mimc.chat.xiaomi.net/api/account/token" ...@@ -32,8 +32,8 @@ mimc_HttpUrl = "https://mimc.chat.xiaomi.net/api/account/token"
#HTTPSKeyFile = "conf/ssl.key" #HTTPSKeyFile = "conf/ssl.key"
# Email # Email
email_name = "某某公司" email_name = "客服系统-test"
email_user = "xxx" email_user = "xxx@qq.com"
email_pass = "xxx" email_pass = "xxx"
email_host = "smtp.qq.com" email_host = "smtp.qq.com"
email_port = "465" email_port = "465"
...@@ -44,31 +44,32 @@ open_workorder_email = true ...@@ -44,31 +44,32 @@ open_workorder_email = true
[dev] [dev]
httpaddr = "localhost" httpaddr = "localhost"
# 小米mimc配置信息(小米开放平台创建) # 小米mimc配置信息(小米开放平台创建)
mimc_appId = mimc_appId = 888888888888
mimc_appKey = "" mimc_appKey = "888888888888"
mimc_appSecret = "" mimc_appSecret = "wjLFWivIORCFsi3tHr9wHQ=="
# IM数据库信息 # IM数据库信息
kf_alias_name = "default" kf_alias_name = "default"
kf_driver_name= "mysql" kf_driver_name= "mysql"
kf_mysql_host = "host" kf_mysql_host = "192.168.31.72"
kf_mysql_port = "3306" kf_mysql_port = "3306"
kf_mysql_user = "user" kf_mysql_user = "root"
kf_mysql_db = "kefu_server" kf_mysql_db = "kefu_server_dev"
kf_mysql_pwd = "pwd" kf_mysql_pwd = "chenxianqi"
[prod] [prod]
httpaddr = "localhost" httpaddr = "localhost"
# 小米mimc配置信息(小米开放平台创建) # 小米mimc配置信息(小米开放平台创建)
mimc_appId = mimc_appId = 888888888888
mimc_appKey = "" mimc_appKey = "888888888888"
mimc_appSecret = "" mimc_appSecret = "wjLFWivIORCFsi3tHr9wHQ=="
# IM数据库信息 # IM数据库信息
kf_alias_name = "default" kf_alias_name = "default"
kf_driver_name= "mysql" kf_driver_name= "mysql"
kf_mysql_host = "host" kf_mysql_host = "127.0.0.1"
kf_mysql_port = "3306" kf_mysql_port = "3306"
kf_mysql_user = "user" kf_mysql_user = "root"
kf_mysql_db = "kefu_server" kf_mysql_db = "kefu_server"
kf_mysql_pwd = "pwd" kf_mysql_pwd = "chenxianqi"
...@@ -116,14 +116,15 @@ func (c *PublicController) Register() { ...@@ -116,14 +116,15 @@ func (c *PublicController) Register() {
_md5Token := hex.EncodeToString(m5.Sum(nil)) _md5Token := hex.EncodeToString(m5.Sum(nil))
// update userinfo // update userinfo
c.UserRepository.Update(user.ID, orm.Params{ userInfo := orm.Params{
"Online": 1, "Online": 1,
"RemoteAddr": currentRemoteAddr, "RemoteAddr": currentRemoteAddr,
"Address": sessionRequestDto.Address, "Address": sessionRequestDto.Address,
"Platform": sessionRequestDto.Platform, "Platform": sessionRequestDto.Platform,
"LastActivity": time.Now().Unix(), "LastActivity": time.Now().Unix(),
"Token": _md5Token, "Token": _md5Token,
}) }
c.UserRepository.Update(user.ID, userInfo)
user.Token = _md5Token user.Token = _md5Token
} else { } else {
......
...@@ -3,14 +3,10 @@ ...@@ -3,14 +3,10 @@
# ! /bin/sh # ! /bin/sh
CURRENT_PATH=$(readlink -f "$(dirname "$0")") CURRENT_PATH=$(readlink -f "$(dirname "$0")")
SERVICE_PATH="$CURRENT_PATH/kefu_server"
ROBOT_SERVICE_PATH="$SERVICE_PATH/robot"
SERVICE_NAME="kefu_server" SERVICE_NAME="kefu_server"
ROBOT_SERVICE_NAME="kefu_go_robot"
START_CMD_SERVER="nohup ./$SERVICE_NAME &" START_CMD_SERVER="nohup ./$SERVICE_NAME &"
START_CMD_ROBOT="nohup ./$ROBOT_SERVICE_NAME &"
LOG_FILE="restart.log" LOG_FILE="restart.log"
cd $SERVICE_PATH cd $CURRENT_PATH
pwd pwd
while true while true
do do
...@@ -21,13 +17,6 @@ do ...@@ -21,13 +17,6 @@ do
echo `date +%Y-%m-%d` `date +%H:%M:%S` $SERVICE_NAME >>$LOG_FILE echo `date +%Y-%m-%d` `date +%H:%M:%S` $SERVICE_NAME >>$LOG_FILE
${START_CMD_SERVER} ${START_CMD_SERVER}
fi fi
procnum_robot=`ps -ef|grep $ROBOT_SERVICE_NAME|grep -v grep|wc -l`
if [ $procnum_robot -eq 0 ]
then
echo "start robot service...................."
echo `date +%Y-%m-%d` `date +%H:%M:%S` $ROBOT_SERVICE_NAME >>$LOG_FILE
${START_CMD_ROBOT}
fi
sleep 5 sleep 5
done done
......
.el-tag+.el-tag[data-v-015f50bf]{margin-left:10px}.button-new-tag[data-v-015f50bf]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-015f50bf]{width:150px;margin-left:10px;vertical-align:bottom}.el-tag+.el-tag[data-v-7b12f7d6]{margin-left:10px}.button-new-tag[data-v-7b12f7d6]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-7b12f7d6]{width:150px;margin-left:10px;vertical-align:bottom}.me-head[data-v-22f8e0fa]{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}.me-head i[data-v-22f8e0fa]{margin-right:5px} .el-tag+.el-tag[data-v-015f50bf]{margin-left:10px}.button-new-tag[data-v-015f50bf]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-015f50bf]{width:150px;margin-left:10px;vertical-align:bottom}.el-tag+.el-tag[data-v-7b12f7d6]{margin-left:10px}.button-new-tag[data-v-7b12f7d6]{margin-left:10px;height:32px;line-height:30px;padding-top:0;padding-bottom:0}.input-new-tag[data-v-7b12f7d6]{width:150px;margin-left:10px;vertical-align:bottom}.me-head[data-v-a8bca088]{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}.me-head i[data-v-a8bca088]{margin-right:5px}
\ No newline at end of file \ 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-0d97b064],.mini-im-chat-list[data-v-0d97b064]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-chat-list .mini-im-chat-message-box[data-v-0d97b064]{width:100%;margin-bottom:15px}.mini-im-chat-list .mini-im-chat-message-box .user-date[data-v-0d97b064]{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-0d97b064]{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-0d97b064]{font-style:normal;font-size:12px}.mini-im-chat-list .mini-im-chat-message-box .loading[data-v-0d97b064]{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-0d97b064]{margin-left:5px;font-size:13px}.mini-im-chat-list .mini-im-chat-message-box .text[data-v-0d97b064]{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-0d97b064]{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-0d97b064]{display:-ms-flexbox;display:flex;margin-top:5px}.mini-im-chat-list .mini-im-chat-message-box .photo .loading[data-v-0d97b064]{-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-0d97b064]{background:none!important;color:#999!important}.mini-im-chat-list .mini-im-chat-message-box .photo .img-content[data-v-0d97b064]{border-radius:5px;width:200px;overflow:hidden}.mini-im-chat-list .mini-im-chat-message-box .photo img[data-v-0d97b064]{cursor:pointer;width:100%;height:100%;display:inline}.mini-im-chat-list .mini-im-chat-message-box .knowledge[data-v-0d97b064]{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-0d97b064]{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-0d97b064]{font-size:13px;font-weight:500}.mini-im-chat-list .mini-im-chat-message-box .knowledge .content .item[data-v-0d97b064]{font-size:13px;line-height:22px}.mini-im-chat-list .mini-im-chat-message-box .system[data-v-0d97b064]{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-0d97b064]{margin-top:5px;font-size:12px;color:#999}.mini-im-chat-list .mini-im-chat-message-box .system span[data-v-0d97b064]{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-0d97b064]{text-align:right}.mini-im-chat-list .mini-im-chat-message-box.self .user-date[data-v-0d97b064]{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-0d97b064]{-ms-flex-order:-2;order:-2}.mini-im-chat-list .mini-im-chat-message-box.self .user-date em[data-v-0d97b064]{-ms-flex-order:-3;order:-3}.mini-im-chat-list .mini-im-chat-message-box.self .photo[data-v-0d97b064],.mini-im-chat-list .mini-im-chat-message-box.self .text[data-v-0d97b064]{-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-0d97b064],.mini-im-chat-list .mini-im-chat-message-box.self .text .cancel-btn[data-v-0d97b064]{color:#26a2ff;font-size:12px;margin-right:5px;cursor:pointer}.mini-im-chat-list .mini-im-chat-message-box.self .photo span[data-v-0d97b064],.mini-im-chat-list .mini-im-chat-message-box.self .text span[data-v-0d97b064]{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-0d97b064]{background-color:rgba(33,150,243,.72);color:#fff}.mini-im-workbench[data-v-60315364]{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-width:1100px}.mini-im-session-list[data-v-60315364]{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-60315364]{text-align:center;padding-top:15px;font-size:14px;color:#666}.mini-im-session-list .title[data-v-60315364]{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-60315364]{border:0;background:none;text-align:right}.mini-im-session-list .title button span>span[data-v-60315364]{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-60315364]{font-size:15px}.mini-im-session-list .title button span>span em[data-v-60315364]{margin-left:3px}.mini-im-session-list .title button span>span .el-icon--right[data-v-60315364]{font-size:12px}.mini-im-session-list .mini-im-session-content[data-v-60315364]{-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-60315364]{-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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{color:#999;font-size:12px}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-buttons[data-v-60315364]{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-60315364]{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-60315364]{-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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{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-60315364]{height:100%;border:0;box-shadow:none}.mini-im-chat-view .mini-im-chat-view-content[data-v-60315364]{position:relative}.mini-im-chat-view .mini-im-chat-view-content .advance[data-v-60315364]{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-60315364]{width:70px;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-view .mini-im-chat-view-content .advance span[data-v-60315364]{font-size:12px}.no-window[data-v-60315364]{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-60315364]{font-size:130px;color:#999}.no-window span[data-v-60315364]{color:#999;font-size:20px;margin-top:10px}.no-window .mini-im-right-window-loading[data-v-60315364]{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-60315364]{font-size:25px}.no-window .mini-im-right-window-loading span[data-v-60315364]{margin-left:5px;font-size:15px;margin-top:0}.mini-im-user-info[data-v-60315364]{width:300px}.mini-im-online-setting[data-v-60315364]{font-size:14px;color:#666}.mini-im-online-setting .item[data-v-60315364]{padding:5px;cursor:pointer;border-radius:3px}.mini-im-online-setting .item[data-v-60315364]:hover{background:#f2f2f2}.mini-im-shortcut[data-v-60315364]{display:-ms-flexbox;display:flex;height:500px;-ms-flex-direction:column;flex-direction:column}.mini-im-shortcut .mini-im-shortcut-head[data-v-60315364]{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-60315364]{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-60315364]{font-size:15px;color:#999;cursor:pointer}.mini-im-shortcut .mini-im-shortcut-body[data-v-60315364]{-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-60315364]{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-60315364]{-ms-flex-positive:1;flex-grow:1;padding-right:10px}.mini-im-shortcut .mini-im-shortcut-item button[data-v-60315364]{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-60315364]{font-size:15px;color:#999;cursor:pointer}.mini-im-shortcut .mini-im-shortcut-item[data-v-60315364]:hover{opacity:.9;background:#f2f2f2;border-radius:3px}.mini-im-customer-list[data-v-60315364]{overflow:hidden;min-height:150px;max-height:500px;overflow-y:auto}.mini-im-customer-list .mini-im-customer-title[data-v-60315364]{padding-bottom:10px;border-bottom:1px solid #f2f2f2}.mini-im-customer-list .mini-im-customer-item[data-v-60315364]{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-60315364]:hover{background:#f2f2f2}.mini-im-customer-list .mini-im-customer-item span[data-v-60315364]{margin-left:10px}.mini-im-avatar[data-v-60315364]{-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0} .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-0d97b064],.mini-im-chat-list[data-v-0d97b064]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.mini-im-chat-list .mini-im-chat-message-box[data-v-0d97b064]{width:100%;margin-bottom:15px}.mini-im-chat-list .mini-im-chat-message-box .user-date[data-v-0d97b064]{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-0d97b064]{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-0d97b064]{font-style:normal;font-size:12px}.mini-im-chat-list .mini-im-chat-message-box .loading[data-v-0d97b064]{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-0d97b064]{margin-left:5px;font-size:13px}.mini-im-chat-list .mini-im-chat-message-box .text[data-v-0d97b064]{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-0d97b064]{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-0d97b064]{display:-ms-flexbox;display:flex;margin-top:5px}.mini-im-chat-list .mini-im-chat-message-box .photo .loading[data-v-0d97b064]{-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-0d97b064]{background:none!important;color:#999!important}.mini-im-chat-list .mini-im-chat-message-box .photo .img-content[data-v-0d97b064]{border-radius:5px;width:200px;overflow:hidden}.mini-im-chat-list .mini-im-chat-message-box .photo img[data-v-0d97b064]{cursor:pointer;width:100%;height:100%;display:inline}.mini-im-chat-list .mini-im-chat-message-box .knowledge[data-v-0d97b064]{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-0d97b064]{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-0d97b064]{font-size:13px;font-weight:500}.mini-im-chat-list .mini-im-chat-message-box .knowledge .content .item[data-v-0d97b064]{font-size:13px;line-height:22px}.mini-im-chat-list .mini-im-chat-message-box .system[data-v-0d97b064]{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-0d97b064]{margin-top:5px;font-size:12px;color:#999}.mini-im-chat-list .mini-im-chat-message-box .system span[data-v-0d97b064]{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-0d97b064]{text-align:right}.mini-im-chat-list .mini-im-chat-message-box.self .user-date[data-v-0d97b064]{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-0d97b064]{-ms-flex-order:-2;order:-2}.mini-im-chat-list .mini-im-chat-message-box.self .user-date em[data-v-0d97b064]{-ms-flex-order:-3;order:-3}.mini-im-chat-list .mini-im-chat-message-box.self .photo[data-v-0d97b064],.mini-im-chat-list .mini-im-chat-message-box.self .text[data-v-0d97b064]{-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-0d97b064],.mini-im-chat-list .mini-im-chat-message-box.self .text .cancel-btn[data-v-0d97b064]{color:#26a2ff;font-size:12px;margin-right:5px;cursor:pointer}.mini-im-chat-list .mini-im-chat-message-box.self .photo span[data-v-0d97b064],.mini-im-chat-list .mini-im-chat-message-box.self .text span[data-v-0d97b064]{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-0d97b064]{background-color:rgba(33,150,243,.72);color:#fff}.mini-im-workbench[data-v-7280fbba]{height:100%;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;min-width:1100px}.mini-im-session-list[data-v-7280fbba]{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-7280fbba]{text-align:center;padding-top:15px;font-size:14px;color:#666}.mini-im-session-list .title[data-v-7280fbba]{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-7280fbba]{border:0;background:none;text-align:right}.mini-im-session-list .title button span>span[data-v-7280fbba]{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-7280fbba]{font-size:15px}.mini-im-session-list .title button span>span em[data-v-7280fbba]{margin-left:3px}.mini-im-session-list .title button span>span .el-icon--right[data-v-7280fbba]{font-size:12px}.mini-im-session-list .mini-im-session-content[data-v-7280fbba]{-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-7280fbba]{-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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{color:#999;font-size:12px}.mini-im-chat-view .mini-im-chat-view-content-header .mini-im-buttons[data-v-7280fbba]{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-7280fbba]{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-7280fbba]{-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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{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-7280fbba]{height:100%;border:0;box-shadow:none}.mini-im-chat-view .mini-im-chat-view-content[data-v-7280fbba]{position:relative}.mini-im-chat-view .mini-im-chat-view-content .advance[data-v-7280fbba]{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-7280fbba]{width:70px;-ms-flex-negative:0;flex-shrink:0}.mini-im-chat-view .mini-im-chat-view-content .advance span[data-v-7280fbba]{font-size:12px}.no-window[data-v-7280fbba]{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-7280fbba]{font-size:130px;color:#999}.no-window span[data-v-7280fbba]{color:#999;font-size:20px;margin-top:10px}.no-window .mini-im-right-window-loading[data-v-7280fbba]{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-7280fbba]{font-size:25px}.no-window .mini-im-right-window-loading span[data-v-7280fbba]{margin-left:5px;font-size:15px;margin-top:0}.mini-im-user-info[data-v-7280fbba]{width:300px}.mini-im-online-setting[data-v-7280fbba]{font-size:14px;color:#666}.mini-im-online-setting .item[data-v-7280fbba]{padding:5px;cursor:pointer;border-radius:3px}.mini-im-online-setting .item[data-v-7280fbba]:hover{background:#f2f2f2}.mini-im-shortcut[data-v-7280fbba]{display:-ms-flexbox;display:flex;height:500px;-ms-flex-direction:column;flex-direction:column}.mini-im-shortcut .mini-im-shortcut-head[data-v-7280fbba]{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-7280fbba]{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-7280fbba]{font-size:15px;color:#999;cursor:pointer}.mini-im-shortcut .mini-im-shortcut-body[data-v-7280fbba]{-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-7280fbba]{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-7280fbba]{-ms-flex-positive:1;flex-grow:1;padding-right:10px}.mini-im-shortcut .mini-im-shortcut-item button[data-v-7280fbba]{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-7280fbba]{font-size:15px;color:#999;cursor:pointer}.mini-im-shortcut .mini-im-shortcut-item[data-v-7280fbba]:hover{opacity:.9;background:#f2f2f2;border-radius:3px}.mini-im-customer-list[data-v-7280fbba]{overflow:hidden;min-height:150px;max-height:500px;overflow-y:auto}.mini-im-customer-list .mini-im-customer-title[data-v-7280fbba]{padding-bottom:10px;border-bottom:1px solid #f2f2f2}.mini-im-customer-list .mini-im-customer-item[data-v-7280fbba]{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-7280fbba]:hover{background:#f2f2f2}.mini-im-customer-list .mini-im-customer-item span[data-v-7280fbba]{margin-left:10px}.mini-im-avatar[data-v-7280fbba]{-ms-flex-positive:0;flex-grow:0;-ms-flex-negative:0;flex-shrink:0}
\ No newline at end of file \ No newline at end of file
...@@ -47,4 +47,4 @@ ...@@ -47,4 +47,4 @@
} }
input:-ms-input-placeholder{ /* Internet Explorer 10-11 */ input:-ms-input-placeholder{ /* Internet Explorer 10-11 */
color:#ccc; color:#ccc;
}</style><link href=css/chunk-027be9b0.1440a418.css rel=prefetch><link href=css/chunk-0673cf5f.70fac712.css rel=prefetch><link href=css/chunk-08473d3a.77daa9fe.css rel=prefetch><link href=css/chunk-1b20b679.bbe54d80.css rel=prefetch><link href=css/chunk-1e573615.be89fdde.css rel=prefetch><link href=css/chunk-2c35a188.1b64d1d6.css rel=prefetch><link href=css/chunk-4d213a0b.e2ea152d.css rel=prefetch><link href=css/chunk-56896308.67b3f13c.css rel=prefetch><link href=css/chunk-5d055fa8.421f5736.css rel=prefetch><link href=css/chunk-650419d0.3897bea9.css rel=prefetch><link href=css/chunk-724a4e2a.507bad62.css rel=prefetch><link href=js/chunk-027be9b0.82b19114.js rel=prefetch><link href=js/chunk-0673cf5f.add337a2.js rel=prefetch><link href=js/chunk-08473d3a.6fedc216.js rel=prefetch><link href=js/chunk-1b20b679.382e3755.js rel=prefetch><link href=js/chunk-1e573615.b0bc273f.js rel=prefetch><link href=js/chunk-2c35a188.390e0317.js rel=prefetch><link href=js/chunk-343c8d41.1c228cb2.js rel=prefetch><link href=js/chunk-4d213a0b.fb158f44.js rel=prefetch><link href=js/chunk-56896308.1e1828c7.js rel=prefetch><link href=js/chunk-5d055fa8.e8e1e5e1.js rel=prefetch><link href=js/chunk-650419d0.777da29b.js rel=prefetch><link href=js/chunk-724a4e2a.f39d7234.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.8eb7de09.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.8eb7de09.js></script></body></html> }</style><link href=css/chunk-027be9b0.1440a418.css rel=prefetch><link href=css/chunk-0673cf5f.70fac712.css rel=prefetch><link href=css/chunk-08473d3a.77daa9fe.css rel=prefetch><link href=css/chunk-08627161.c1f4f120.css rel=prefetch><link href=css/chunk-1e573615.be89fdde.css rel=prefetch><link href=css/chunk-4d213a0b.e2ea152d.css rel=prefetch><link href=css/chunk-56896308.67b3f13c.css rel=prefetch><link href=css/chunk-5d055fa8.421f5736.css rel=prefetch><link href=css/chunk-650419d0.3897bea9.css rel=prefetch><link href=css/chunk-724a4e2a.507bad62.css rel=prefetch><link href=css/chunk-c7fc5930.bcce8317.css rel=prefetch><link href=js/chunk-027be9b0.82b19114.js rel=prefetch><link href=js/chunk-0673cf5f.add337a2.js rel=prefetch><link href=js/chunk-08473d3a.6fedc216.js rel=prefetch><link href=js/chunk-08627161.9b98f2f4.js rel=prefetch><link href=js/chunk-1e573615.b0bc273f.js rel=prefetch><link href=js/chunk-343c8d41.1c228cb2.js rel=prefetch><link href=js/chunk-4d213a0b.fb158f44.js rel=prefetch><link href=js/chunk-56896308.1e1828c7.js rel=prefetch><link href=js/chunk-5d055fa8.e8e1e5e1.js rel=prefetch><link href=js/chunk-650419d0.777da29b.js rel=prefetch><link href=js/chunk-724a4e2a.f39d7234.js rel=prefetch><link href=js/chunk-c7fc5930.19fe36cd.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.c7ba127a.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.c7ba127a.js></script></body></html>
\ No newline at end of file \ 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-0673cf5f":"add337a2","chunk-08473d3a":"6fedc216","chunk-1b20b679":"382e3755","chunk-343c8d41":"1c228cb2","chunk-027be9b0":"82b19114","chunk-1e573615":"b0bc273f","chunk-2c35a188":"390e0317","chunk-56896308":"1e1828c7","chunk-5d055fa8":"e8e1e5e1","chunk-650419d0":"777da29b","chunk-724a4e2a":"f39d7234","chunk-4d213a0b":"fb158f44"}[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-0673cf5f":1,"chunk-08473d3a":1,"chunk-1b20b679":1,"chunk-027be9b0":1,"chunk-1e573615":1,"chunk-2c35a188":1,"chunk-56896308":1,"chunk-5d055fa8":1,"chunk-650419d0":1,"chunk-724a4e2a":1,"chunk-4d213a0b":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-0673cf5f":"70fac712","chunk-08473d3a":"77daa9fe","chunk-1b20b679":"bbe54d80","chunk-343c8d41":"31d6cfe0","chunk-027be9b0":"1440a418","chunk-1e573615":"be89fdde","chunk-2c35a188":"1b64d1d6","chunk-56896308":"67b3f13c","chunk-5d055fa8":"421f5736","chunk-650419d0":"3897bea9","chunk-724a4e2a":"507bad62","chunk-4d213a0b":"e2ea152d"}[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-1e573615")]).then(n.bind(null,"1e4b"))},redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-0673cf5f").then(n.bind(null,"7abe"))}},{path:"workbench",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-2c35a188")]).then(n.bind(null,"29e5"))}},{path:"knowledge",component:function(){return n.e("chunk-1b20b679").then(n.bind(null,"7a26"))}},{path:"robot",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-724a4e2a")]).then(n.bind(null,"2157"))}},{path:"customer",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-027be9b0")]).then(n.bind(null,"aedf"))}},{path:"users",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-56896308")]).then(n.bind(null,"4468"))}},{path:"system",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-650419d0")]).then(n.bind(null,"26b0"))}},{path:"chat_record",component:function(){return n.e("chunk-08473d3a").then(n.bind(null,"caae"))}},{path:"workorder",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-5d055fa8")]).then(n.bind(null,"df5f"))}}]},{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_CONFIGS:function(e){r.a.get("/public/configs").then((function(t){e.commit("onChangeConfigs",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}))},ON_GET_WORKORDER_COUNTS:function(e){r.a.get("/workorder/counts").then((function(t){e.commit("onChangeWorkOrderCounts",t.data.data)}))}},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},onChangeConfigs:function(e,t){e.configs=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},onChangeWorkOrderCounts:function(e,t){e.workOrderCounts=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.configs.upload_mode||-1},nickname:function(e){return e.adminInfo&&""!=e.adminInfo.nickname?e.adminInfo.nickname:"未设置昵称"},configs:function(e){return e.configs},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},workOrderCounts:function(e){return e.workOrderCounts}},f={adminInfo:null,heaserTitle:"首页",isShowAside:!0,editDialogFormVisible:!1,isLogin:!1,editPasswordDialogFormVisible:!1,configs:{},platformConfig:[],systemInfo:{},companyInfo:{},uploadsConfigs:[],mimcUser:null,contacts:[],robots:[],seviceCurrentUser:null,messageRecord:{list:[]},workOrderCounts:{status0:0,status2:0,status3:0,delete_count:0},avatar:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHgAAAB4CAYAAAA5ZDbSAAAAAXNSR0IArs4c6QAAD7tJREFUeAHtXV1sHMUdn9m7s50P59NxbBI7McH5IHz5A8g5OHFTJECUIlWFVkIFCdI+8dYHqOARBKjqG08tIIHEA7QvlCJAShPHxnYAO6aiKE0s5DZpcBJiFOqEOLZvp//f3q1zd7673b2dnZ21b6TT7u3O/L9+O/Of7+FsEYTx8fGa0xOTrVwYOwQT9GM7OGP1pFotY6JWMG5duXWlJ0xMMcaneO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K5ctE/dVzR81aePyco9J9UYeXw0Z+qvo/LwM4y+FyuJd8LIRlx1X9lShdCvwrHsmtqnIhYvSzn78Wyp+tEdUxABSDgFc6UAVcqQeArlQAFA5HhoFGqchUAaH3HHTj8Tk8rJTGx0VyW8eaWkk2/EeSfSaitvhWvUyenHnN9EabtXonxRJ3I6FDgRj2FG3mcdHzJ9dYuTyrl0h0XmbWNxaXWf5GqwYEODGbiw2UR47Qs202kJSB5hWU229Wa8YpLRD9IKKgBUAKgBUAKgBUAKgBUAKgBUAKgBqRFYkNKafbQ60rgptYCknzg0JtdUNlFSWjKhlulW25pK4oXj3T2sm7d/wACr/IRV6rkbYdO5m38RTPqltZUMl0h3CwSYT7ExHYCS0v1Kun81aFfKwf1LQy7ODsX0vUrk3ZO7IpPi4t8pHNTafEH5NVW45tL+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_CONFIGS"),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.$store.dispatch("ON_GET_WORKORDER_COUNTS"),setInterval((function(){return e.$store.dispatch("ON_GET_WORKORDER_COUNTS")}),3e4),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()}),2e3)}catch(n){setTimeout((function(){return e.watchLogin()}),2e3)}}},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,h=(n("7faf"),n("2877")),b=Object(h["a"])(m,r,c,!1,null,null,null),p=b.exports,A=n("41cb"),g=n("4360"),k=(n("0fae"),n("d1d4")),y=n.n(k),j=(n("394c"),n("c1df")),C={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.$formatDate=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=C,U=(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)}))},pushMessage:function(e){var t=this;u.a.post("/public/message/push",{msgType:"NORMAL_MSG",payload:e}).then((function(n){console.log(n.data),200!=n.data["code"]&&setTimeout((function(){return t.pushMessage(e)}),300)})).catch((function(){setTimeout((function(){return t.pushMessage(e)}),300)}))},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{"contacts"!=e&&"pong"!=e&&"welcome"!=e&&"handshake"!=e&&this.pushMessage(window.Base64.encode(c)),setTimeout((function(){n.user.sendMessage(t.toString(),c)}),200)}catch(i){console.log("sendMessage fail, err="+i)}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}}}}),O=U,v=(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",v),u.a.defaults.baseURL="/api",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(),g["a"].commit("onChangeAdminInfo",null),g["a"].state.mimcUser&&g["a"].state.mimcUser.logout(),A["a"].push("/login")),Promise.reject(e)}));var V={fullscreenEl:!1};a["default"].use(y.a,V),a["default"].use(s.a),a["default"].use(T),a["default"].use(O),a["default"].config.productionTip=!1,new a["default"]({router:A["a"],store:g["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){}}); (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-0673cf5f":"add337a2","chunk-08473d3a":"6fedc216","chunk-08627161":"9b98f2f4","chunk-343c8d41":"1c228cb2","chunk-027be9b0":"82b19114","chunk-1e573615":"b0bc273f","chunk-56896308":"1e1828c7","chunk-5d055fa8":"e8e1e5e1","chunk-650419d0":"777da29b","chunk-724a4e2a":"f39d7234","chunk-c7fc5930":"19fe36cd","chunk-4d213a0b":"fb158f44"}[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-0673cf5f":1,"chunk-08473d3a":1,"chunk-08627161":1,"chunk-027be9b0":1,"chunk-1e573615":1,"chunk-56896308":1,"chunk-5d055fa8":1,"chunk-650419d0":1,"chunk-724a4e2a":1,"chunk-c7fc5930":1,"chunk-4d213a0b":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-0673cf5f":"70fac712","chunk-08473d3a":"77daa9fe","chunk-08627161":"c1f4f120","chunk-343c8d41":"31d6cfe0","chunk-027be9b0":"1440a418","chunk-1e573615":"be89fdde","chunk-56896308":"67b3f13c","chunk-5d055fa8":"421f5736","chunk-650419d0":"3897bea9","chunk-724a4e2a":"507bad62","chunk-c7fc5930":"bcce8317","chunk-4d213a0b":"e2ea152d"}[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-1e573615")]).then(n.bind(null,"1e4b"))},redirect:"/index",children:[{path:"index",component:function(){return n.e("chunk-0673cf5f").then(n.bind(null,"7abe"))}},{path:"workbench",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-c7fc5930")]).then(n.bind(null,"29e5"))}},{path:"knowledge",component:function(){return n.e("chunk-08627161").then(n.bind(null,"7a26"))}},{path:"robot",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-724a4e2a")]).then(n.bind(null,"2157"))}},{path:"customer",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-027be9b0")]).then(n.bind(null,"aedf"))}},{path:"users",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-56896308")]).then(n.bind(null,"4468"))}},{path:"system",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-650419d0")]).then(n.bind(null,"26b0"))}},{path:"chat_record",component:function(){return n.e("chunk-08473d3a").then(n.bind(null,"caae"))}},{path:"workorder",component:function(){return Promise.all([n.e("chunk-343c8d41"),n.e("chunk-5d055fa8")]).then(n.bind(null,"df5f"))}}]},{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_CONFIGS:function(e){r.a.get("/public/configs").then((function(t){e.commit("onChangeConfigs",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}))},ON_GET_WORKORDER_COUNTS:function(e){r.a.get("/workorder/counts").then((function(t){e.commit("onChangeWorkOrderCounts",t.data.data)}))}},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},onChangeConfigs:function(e,t){e.configs=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},onChangeWorkOrderCounts:function(e,t){e.workOrderCounts=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.configs.upload_mode||-1},nickname:function(e){return e.adminInfo&&""!=e.adminInfo.nickname?e.adminInfo.nickname:"未设置昵称"},configs:function(e){return e.configs},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},workOrderCounts:function(e){return e.workOrderCounts}},f={adminInfo:null,heaserTitle:"首页",isShowAside:!0,editDialogFormVisible:!1,isLogin:!1,editPasswordDialogFormVisible:!1,configs:{},platformConfig:[],systemInfo:{},companyInfo:{},uploadsConfigs:[],mimcUser:null,contacts:[],robots:[],seviceCurrentUser:null,messageRecord:{list:[]},workOrderCounts:{status0:0,status2:0,status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].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_CONFIGS"),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.$store.dispatch("ON_GET_WORKORDER_COUNTS"),setInterval((function(){return e.$store.dispatch("ON_GET_WORKORDER_COUNTS")}),3e4),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()}),2e3)}catch(n){setTimeout((function(){return e.watchLogin()}),2e3)}}},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,h=(n("7faf"),n("2877")),b=Object(h["a"])(m,r,c,!1,null,null,null),p=b.exports,A=n("41cb"),g=n("4360"),k=(n("0fae"),n("d1d4")),y=n.n(k),j=(n("394c"),n("c1df")),C={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.$formatDate=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=C,U=(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)}))},pushMessage:function(e){var t=this;u.a.post("/public/message/push",{msgType:"NORMAL_MSG",payload:e}).then((function(n){console.log(n.data),200!=n.data["code"]&&setTimeout((function(){return t.pushMessage(e)}),300)})).catch((function(){setTimeout((function(){return t.pushMessage(e)}),300)}))},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{"contacts"!=e&&"pong"!=e&&"welcome"!=e&&"handshake"!=e&&this.pushMessage(window.Base64.encode(c)),setTimeout((function(){n.user.sendMessage(t.toString(),c)}),200)}catch(i){console.log("sendMessage fail, err="+i)}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}}}}),O=U,v=(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",v),u.a.defaults.baseURL="/api",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(),g["a"].commit("onChangeAdminInfo",null),g["a"].state.mimcUser&&g["a"].state.mimcUser.logout(),A["a"].push("/login")),Promise.reject(e)}));var V={fullscreenEl:!1};a["default"].use(y.a,V),a["default"].use(s.a),a["default"].use(T),a["default"].use(O),a["default"].config.productionTip=!1,new a["default"]({router:A["a"],store:g["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.8eb7de09.js.map //# sourceMappingURL=app.c7ba127a.js.map
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-08627161"],{"2c2c":function(t,e,i){"use strict";var o=i("3905"),a=i.n(o);a.a},3905:function(t,e,i){},5817:function(t,e,i){},"682a":function(t,e,i){"use strict";var o=i("5817"),a=i.n(o);a.a},"6fdd":function(t,e,i){"use strict";var o=i("af44"),a=i.n(o);a.a},"7a26":function(t,e,i){"use strict";i.r(e);var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"me-head"},[i("span",[i("i",{staticClass:"el-icon-reading"}),i("span",{attrs:{slot:"title"},slot:"title"},[t._v("知识库管理")])]),i("el-button-group",[t._l(t.total,(function(e){return[i("el-button",{key:e.id,class:{"el-button--primary":e.id+""==t.tableData.platform+""},attrs:{size:"small"},on:{click:function(i){return t.onTogglePlatform(e.id)}}},[t._v(t._s(e.title)+" ( "+t._s(e.count)+" )")])]}))],2),i("el-col",{attrs:{span:3}},[i("el-input",{attrs:{placeholder:"请输入关键词","prefix-icon":"el-icon-search",clearable:""},on:{change:t.onRefresh},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}})],1),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.createDialogFormVisible=!0}}},[t._v("添 加")])],1),i("el-divider"),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.list}},[i("el-table-column",{attrs:{type:"index",index:t.indexMethod,width:"60",label:"#序号"}}),i("el-table-column",{attrs:{prop:"title",label:"主标题"}}),i("el-table-column",{attrs:{prop:"sub_title",label:"子标题"},scopedSlots:t._u([{key:"default",fn:function(e){return[""!=e.row.sub_title?i("div",t._l(e.row.sub_title.split("|"),(function(e,o){return i("div",{key:o,staticStyle:{"font-size":"13px"}},[t._v(t._s(o+1)+"."+t._s(e))])})),0):i("div",[t._v("-----")])]}}])}),i("el-table-column",{attrs:{prop:"content",label:"内容"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.content.split("\n"),(function(e,o){return i("div",{key:o,staticStyle:{"font-size":"13px"}},[t._v(t._s(e))])}))}}])}),i("el-table-column",{attrs:{prop:"platform",align:"center",label:"匹配平台"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-tag",[t._v(t._s(t.$getPlatformItem(e.row.platform).title))])]}}])}),i("el-table-column",{attrs:{prop:"create_at",label:"创建时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t.$formatUnixDate(e.row.create_at,"YYYY/MM/DD")))]}}])}),i("el-table-column",{attrs:{prop:"operating",align:"center",width:"150",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{size:"mini"},on:{click:function(i){return t.edit(e.row)}}},[t._v("编 辑")]),i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(i){return t.deleteKnowledge(e.row)}}},[t._v("删 除")])]}}])})],1),i("el-row",{staticStyle:{"margin-top":"20px"},attrs:{type:"flex",justify:"space-between"}},[i("span",{staticStyle:{color:"#666","font-size":"14px"}},[t._v("共找到"+t._s(t.tableData.total)+"条数据")]),i("el-pagination",{attrs:{background:"",layout:"sizes, prev, pager, next","current-page":t.tableData.page_on,"page-sizes":[5,10,15,20],total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1),i("CreateDialog",{attrs:{complete:t.onRefresh,dialogFormVisible:t.createDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.createDialogFormVisible=e},"update:dialog-form-visible":function(e){t.createDialogFormVisible=e}}}),i("EditDialog",{attrs:{formData:t.editItem,complete:t.onRefresh,dialogFormVisible:t.editDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.editDialogFormVisible=e},"update:dialog-form-visible":function(e){t.editDialogFormVisible=e}}})],1)},a=[],l=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:{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}},[t._l(t.dynamicTags,(function(e){return i("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(i){return t.handleDel(e)}}},[t._v(t._s(e))])})),t.inputVisible?i("el-input",{ref:"saveTagInput",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.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}):i("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:t.showInput}},[t._v("+ 新增")])],2),i("el-form-item",{attrs:{label:"内容","label-width":t.formLabelWidth}},[i("el-input",{attrs:{rows:"5",type:"textarea",autocomplete:"off"},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),i("el-form-item",{attrs:{label:"匹配平台","label-width":t.formLabelWidth}},[i("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 i("el-option",{key:e,attrs:{label:t.title,value:t.id}})})),1)],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=[],s=(i("57e7"),i("bc3a")),r=i.n(s),c={name:"mini-im-create-knowledge",data:function(){return{dynamicTags:[],inputVisible:!1,inputValue:"",form:{uid:"",platform:1,title:"",sub_title:"",content:""},formLabelWidth:"80px"}},props:{dialogFormVisible:Boolean,complete:Function},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},handleDel:function(t){this.dynamicTags.splice(this.dynamicTags.indexOf(t),1)},showInput:function(){var t=this;this.inputVisible=!0,this.$nextTick((function(){t.$refs.saveTagInput.$refs.input.focus()}))},handleInputConfirm:function(){var t=this.inputValue;t&&this.dynamicTags.push(t),this.inputVisible=!1,this.inputValue="",console.log(this.dynamicTags.join("|"))},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});this.form.uid=this.$store.state.adminInfo.id,this.form.sub_title=this.dynamicTags.join("|"),r.a.post("/knowledge",this.form).then((function(i){try{console.log(i),e.close(),t.$message.success("添加成功"),t.closeModal(),t.resize(),t.complete(1)}catch(o){console.log(o)}})).catch((function(i){e.close(),t.$message.error(i.response.data.message)}))},resize:function(){this.dynamicTags=[],this.form={uid:"",platform:1,title:"",sub_title:"",content:""}}}},u=c,f=(i("6fdd"),i("2877")),d=Object(f["a"])(u,l,n,!1,null,"015f50bf",null),m=d.exports,p=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:{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}},[t._l(t.dynamicTags,(function(e){return i("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(i){return t.handleDel(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),t.inputVisible?i("el-input",{ref:"saveTagInput",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.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}):i("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:t.showInput}},[t._v("+ 新增子标题")])],2),i("el-form-item",{attrs:{label:"内容","label-width":t.formLabelWidth}},[i("el-input",{attrs:{rows:"5",type:"textarea",autocomplete:"off"},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),i("el-form-item",{attrs:{label:"匹配平台","label-width":t.formLabelWidth}},[i("el-select",{attrs:{placeholder:"请选择匹配平台"},model:{value:t.form.platform,callback:function(e){t.$set(t.form,"platform",e)},expression:"form.platform"}},t._l(t.platformConfig,(function(t,e){return i("el-option",{key:e,attrs:{label:t.title,value:t.id}})})),1)],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)},g=[],h=(i("28a5"),{name:"mini-im-create-knowledge",data:function(){return{dynamicTags:[],inputVisible:!1,inputValue:"",form:{uid:"",platform:1,title:"",sub_title:"",content:""},platformConfig:[],formLabelWidth:"80px"}},props:{dialogFormVisible:Boolean,complete:Function,formData:Object},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},handleDel:function(t){this.dynamicTags.splice(this.dynamicTags.indexOf(t),1)},showInput:function(){var t=this;this.inputVisible=!0,this.$nextTick((function(){t.$refs.saveTagInput.$refs.input.focus()}))},handleInputConfirm:function(){var t=this.inputValue;t&&this.dynamicTags.push(t),this.inputVisible=!1,this.inputValue=""},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});this.form.uid=this.$store.state.adminInfo.id,this.form.sub_title=this.dynamicTags.join("|"),r.a.put("/knowledge",this.form).then((function(i){try{console.log(i),e.close(),t.$message.success("修改成功"),t.closeModal(),t.resize(),t.complete(1)}catch(o){console.log(o)}})).catch((function(i){e.close(),t.$message.error(i.response.data.message)}))},resize:function(){this.dynamicTags=[],this.form={uid:"",platform:1,title:"",sub_title:"",content:""}}},watch:{formData:function(){this.platformConfig=this.$store.getters.platformConfig,this.form=Object.assign({},this.form,this.formData),""!=this.formData.sub_title&&(this.dynamicTags=this.formData.sub_title.split("|"))}}}),b=h,v=(i("682a"),Object(f["a"])(b,p,g,!1,null,"7b12f7d6",null)),_=v.exports,k={name:"knowledge",components:{CreateDialog:m,EditDialog:_},data:function(){return{keyword:"",tableData:{list:[],page_on:1,page_size:10,total:0,keyword:"",platform:1},total:[],createDialogFormVisible:!1,editDialogFormVisible:!1,loading:!0,editItem:null}},computed:{platformConfig:function(){return this.$store.state.platformConfig||[]}},created:function(){var t=this;setTimeout((function(){t.getKnowledgeList(),t.getTotal()}),500)},methods:{onRefresh:function(){this.getTotal(),this.getKnowledgeList()},indexMethod:function(t){return(this.tableData.page_on-1)*this.tableData.page_size+t+1},deleteKnowledge:function(t){var e=this;this.$confirm("您确定要删除该知识库吗? 删除后不可恢复!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){r.a.delete("/knowledge/"+t.id).then((function(t){console.log(t.data),e.$message.success("删除成功"),e.getKnowledgeList(1)})).catch((function(t){e.$message.error(t.response.data.message)}))}))},onTogglePlatform:function(t){this.tableData.platform=parseInt(t),this.getKnowledgeList(1)},edit:function(t){this.editItem=t,this.editDialogFormVisible=!0},handleSizeChange:function(t){this.tableData.page_size=t,this.getKnowledgeList()},handleCurrentChange:function(t){this.tableData.page_on=t,this.getKnowledgeList()},getKnowledgeList:function(t){var e=this;t&&(this.tableData.page_on=t);var i=this.tableData,o=i.page_on,a=i.page_size,l=i.platform,n=this.keyword;r.a.post("/knowledge/list",{page_on:o,page_size:a,platform:l,keyword:n}).then((function(t){e.loading=!1,e.tableData=t.data.data})).catch((function(t){e.loading=!1,e.$message.error(t.response.data.message)}))},getTotal:function(){var t=this;r.a.get("/knowledge/total").then((function(e){t.total=e.data.data}))}}},w=k,y=(i("2c2c"),Object(f["a"])(w,o,a,!1,null,"a8bca088",null));e["default"]=y.exports},af44:function(t,e,i){}}]);
//# sourceMappingURL=chunk-08627161.9b98f2f4.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/knowledge/index.vue?2566","webpack:///./src/views/knowledge/edit.vue?212d","webpack:///./src/views/knowledge/create.vue?79ac","webpack:///./src/views/knowledge/index.vue?5774","webpack:///./src/views/knowledge/create.vue?e5d1","webpack:///src/views/knowledge/create.vue","webpack:///./src/views/knowledge/create.vue?c80e","webpack:///./src/views/knowledge/create.vue","webpack:///./src/views/knowledge/edit.vue?ef0c","webpack:///src/views/knowledge/edit.vue","webpack:///./src/views/knowledge/edit.vue?8aad","webpack:///./src/views/knowledge/edit.vue","webpack:///src/views/knowledge/index.vue","webpack:///./src/views/knowledge/index.vue?43e7","webpack:///./src/views/knowledge/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","_l","item","key","id","class","tableData","platform","on","$event","onTogglePlatform","_s","title","count","onRefresh","model","value","callback","$$v","keyword","expression","createDialogFormVisible","directives","name","rawName","staticStyle","list","indexMethod","scopedSlots","_u","fn","scope","row","sub_title","split","content","index","$getPlatformItem","$formatUnixDate","create_at","edit","deleteKnowledge","total","page_on","handleSizeChange","handleCurrentChange","editItem","editDialogFormVisible","staticRenderFns","dialogFormVisible","form","formLabelWidth","$set","tag","handleDel","ref","handleInputConfirm","nativeOn","type","indexOf","_k","keyCode","inputValue","showInput","$store","getters","closeModal","save","data","dynamicTags","inputVisible","uid","props","Boolean","complete","Function","methods","$emit","splice","$nextTick","push","console","log","join","lock","text","spinner","background","state","adminInfo","resize","component","platformConfig","formData","Object","response","loading","close","e","watch","assign","components","CreateDialog","EditDialog","page_size","computed","created","setTimeout","getTotal","getKnowledgeList","$confirm","confirmButtonText","cancelButtonText","center","parseInt","pid","val"],"mappings":"kHAAA,yBAAyjB,EAAG,G,oFCA5jB,yBAAwjB,EAAG,G,oCCA3jB,yBAA0jB,EAAG,G,2CCA7jB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,OAAO,CAACA,EAAG,IAAI,CAACE,YAAY,oBAAoBF,EAAG,OAAO,CAACG,MAAM,CAAC,KAAO,SAASC,KAAK,SAAS,CAACR,EAAIS,GAAG,aAAaL,EAAG,kBAAkB,CAACJ,EAAIU,GAAIV,EAAS,OAAE,SAASW,GAAM,MAAO,CAACP,EAAG,YAAY,CAACQ,IAAID,EAAKE,GAAGC,MAAM,CAAC,qBAAsBH,EAAKE,GAAK,IAAMb,EAAIe,UAAUC,SAAW,IAAIT,MAAM,CAAC,KAAO,SAASU,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOlB,EAAImB,iBAAiBR,EAAKE,OAAO,CAACb,EAAIS,GAAGT,EAA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,MAAMI,gBAAkB,KAG/Cc,QA7BF,WA6BA,WACIC,YAAW,WACT,EAAN,mBACM,EAAN,aACA,MAEE/B,QAAS,CACP9D,UADJ,WAEMtB,KAAKoH,WACLpH,KAAKqH,oBAGPlF,YANJ,SAMA,GACM,OACN,wDAIIc,gBAZJ,SAYA,cACMjD,KAAKsH,SAAS,wBAAyB,QAAS,CAC9CC,kBAAmB,KACnBC,iBAAkB,KAClBC,QAAQ,EACRvD,KAAM,YACd,iBACQ,EAAR,EACA,2BACA,kBACU,QAAV,YACU,EAAV,yBACU,EAAV,uBAEA,mBACU,EAAV,+CAKIhD,iBAhCJ,SAgCA,GACMlB,KAAKc,UAAUC,SAAW2G,SAASC,GACnC3H,KAAKqH,iBAAiB,IAGxBrE,KArCJ,SAqCA,GACMhD,KAAKsD,SAAW5C,EAChBV,KAAKuD,uBAAwB,GAG/BH,iBA1CJ,SA0CA,GACMpD,KAAKc,UAAUkG,UAAYY,EAC3B5H,KAAKqH,oBAGPhE,oBA/CJ,SA+CA,GACMrD,KAAKc,UAAUqC,QAAUyE,EACzB5H,KAAKqH,oBAGPA,iBApDJ,SAoDA,cACUzE,IAAO5C,KAAKc,UAAUqC,QAAUP,GAD1C,MAEA,iBAFA,EAEA,UAFA,EAEA,YAFA,EAEA,SACA,eACM,EAAN,EACA,wBAAQ,QAAR,EAAQ,UAAR,EAAQ,SAAR,EAAQ,QAAR,IACA,kBACQ,EAAR,WACQ,EAAR,yBAEA,mBACQ,EAAR,WACQ,EAAR,4CAIIwE,SApEJ,WAoEA,WACM,EAAN,4CACQ,EAAR,wBClMiY,ICQ7X,G,UAAY,eACd,EACAtH,EACA0D,GACA,EACA,KACA,WACA,OAIa,e","file":"js/chunk-1b20b679.382e3755.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=22f8e0fa&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=22f8e0fa&lang=stylus&scoped=true&\"","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=7b12f7d6&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=7b12f7d6&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=015f50bf&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=015f50bf&scoped=true&lang=stylus&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"me-head\"},[_c('span',[_c('i',{staticClass:\"el-icon-reading\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"知识库管理\")])]),_c('el-button-group',[_vm._l((_vm.total),function(item){return [_c('el-button',{key:item.id,class:{'el-button--primary': item.id + '' == _vm.tableData.platform + ''},attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.onTogglePlatform(item.id)}}},[_vm._v(_vm._s(item.title)+\" ( \"+_vm._s(item.count)+\" )\")])]})],2),_c('el-col',{attrs:{\"span\":5}},[_c('el-input',{attrs:{\"placeholder\":\"请输入关键词\",\"prefix-icon\":\"el-icon-search\",\"clearable\":\"\"},on:{\"change\":_vm.onRefresh},model:{value:(_vm.keyword),callback:function ($$v) {_vm.keyword=$$v},expression:\"keyword\"}})],1),_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.createDialogFormVisible = true}}},[_vm._v(\"添 加\")])],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.list}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"index\":_vm.indexMethod,\"width\":\"60\",\"label\":\"#序号\"}}),_c('el-table-column',{attrs:{\"prop\":\"title\",\"label\":\"主标题\"}}),_c('el-table-column',{attrs:{\"prop\":\"sub_title\",\"label\":\"子标题\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.sub_title != '')?_c('div',_vm._l((scope.row.sub_title.split('|')),function(item,key){return _c('div',{key:key,staticStyle:{\"font-size\":\"13px\"}},[_vm._v(_vm._s(key+1)+\".\"+_vm._s(item))])}),0):_c('div',[_vm._v(\"-----\")])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"content\",\"label\":\"内容\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return _vm._l((scope.row.content.split('\\n')),function(item,index){return _c('div',{key:index,staticStyle:{\"font-size\":\"13px\"}},[_vm._v(_vm._s(item))])})}}])}),_c('el-table-column',{attrs:{\"prop\":\"platform\",\"align\":\"center\",\"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(_vm._s(_vm.$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\")))]}}])}),_c('el-table-column',{attrs:{\"prop\":\"operating\",\"align\":\"center\",\"width\":\"150\",\"label\":\"操作\"},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.deleteKnowledge(scope.row)}}},[_vm._v(\"删 除\")])]}}])})],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.onRefresh,\"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.onRefresh,\"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.title),callback:function ($$v) {_vm.$set(_vm.form, \"title\", $$v)},expression:\"form.title\"}})],1),_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.handleDel(tag)}}},[_vm._v(_vm._s(tag))])}),(_vm.inputVisible)?_c('el-input',{ref:\"saveTagInput\",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.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":_vm.showInput}},[_vm._v(\"+ 新增\")])],2),_c('el-form-item',{attrs:{\"label\":\"内容\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"rows\":\"5\",\"type\":\"textarea\",\"autocomplete\":\"off\"},model:{value:(_vm.form.content),callback:function ($$v) {_vm.$set(_vm.form, \"content\", $$v)},expression:\"form.content\"}})],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-input v-model=\"form.title\" 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 dynamicTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleDel(tag)\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"inputVisible\"\n v-model=\"inputValue\"\n ref=\"saveTagInput\"\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=\"showInput\">+ 新增</el-button>\n </el-form-item>\n <el-form-item label=\"内容\" :label-width=\"formLabelWidth\">\n <el-input rows=\"5\" type=\"textarea\" v-model=\"form.content\" autocomplete=\"off\"></el-input>\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\";\nexport default {\n name: \"mini-im-create-knowledge\",\n data() {\n return {\n dynamicTags: [],\n inputVisible: false,\n inputValue: \"\",\n form: {\n uid: \"\",\n platform: 1,\n title: \"\",\n sub_title: \"\",\n content: \"\"\n },\n formLabelWidth: \"80px\"\n };\n },\n props: {\n dialogFormVisible: Boolean,\n complete: Function\n },\n methods: {\n // 关闭\n closeModal() {\n this.$emit(\"update:dialogFormVisible\", false);\n },\n // 删除标签\n handleDel(tag) {\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);\n },\n // 显示子标题输入框\n showInput() {\n this.inputVisible = true;\n this.$nextTick(() => {\n this.$refs.saveTagInput.$refs.input.focus();\n });\n },\n // 标签确定\n handleInputConfirm() {\n let inputValue = this.inputValue;\n if (inputValue) {\n this.dynamicTags.push(inputValue);\n }\n this.inputVisible = false;\n this.inputValue = \"\";\n console.log(this.dynamicTags.join(\"|\"));\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.uid = this.$store.state.adminInfo.id;\n this.form.sub_title = this.dynamicTags.join(\"|\");\n axios\n .post(\"/knowledge\", 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.dynamicTags = [];\n this.form = {\n uid: \"\",\n platform: 1,\n title: \"\",\n sub_title: \"\",\n content: \"\"\n };\n }\n }\n};\n</script>\n<style scoped lang=\"stylus\">\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=015f50bf&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=015f50bf&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 \"015f50bf\",\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-input',{attrs:{\"placeholder\":\"请输入主标题\",\"autocomplete\":\"off\"},model:{value:(_vm.form.title),callback:function ($$v) {_vm.$set(_vm.form, \"title\", $$v)},expression:\"form.title\"}})],1),_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.handleDel(tag)}}},[_vm._v(\"\\n \"+_vm._s(tag)+\"\\n \")])}),(_vm.inputVisible)?_c('el-input',{ref:\"saveTagInput\",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.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":_vm.showInput}},[_vm._v(\"+ 新增子标题\")])],2),_c('el-form-item',{attrs:{\"label\":\"内容\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"rows\":\"5\",\"type\":\"textarea\",\"autocomplete\":\"off\"},model:{value:(_vm.form.content),callback:function ($$v) {_vm.$set(_vm.form, \"content\", $$v)},expression:\"form.content\"}})],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.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 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.title\" 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 dynamicTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleDel(tag)\">\n {{tag}}\n </el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"inputVisible\"\n v-model=\"inputValue\"\n ref=\"saveTagInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n >\n </el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showInput\">+ 新增子标题</el-button>\n </el-form-item>\n <el-form-item label=\"内容\" :label-width=\"formLabelWidth\">\n <el-input rows=\"5\" type=\"textarea\" v-model=\"form.content\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"匹配平台\" :label-width=\"formLabelWidth\">\n <el-select v-model=\"form.platform\" placeholder=\"请选择匹配平台\">\n <el-option :label=\"item.title\" :value=\"item.id\" :key=\"index\" v-for=\"(item, index) in platformConfig\"></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'\nexport default {\n name: 'mini-im-create-knowledge',\n data(){\n return {\n dynamicTags: [],\n inputVisible: false,\n inputValue: '',\n form: {\n uid: \"\",\n platform: 1,\n title: '',\n sub_title: '',\n content: '',\n },\n platformConfig: [],\n formLabelWidth: \"80px\"\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 handleDel(tag) {\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);\n },\n // 显示子标题输入框\n showInput() {\n this.inputVisible = true;\n this.$nextTick(() => {\n this.$refs.saveTagInput.$refs.input.focus();\n });\n },\n // 确定\n handleInputConfirm() {\n let inputValue = this.inputValue;\n if (inputValue) {\n this.dynamicTags.push(inputValue);\n }\n this.inputVisible = false;\n this.inputValue = '';\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.uid = this.$store.state.adminInfo.id\n this.form.sub_title = this.dynamicTags.join(\"|\")\n axios.put('/knowledge', 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 },\n resize(){\n this.dynamicTags = []\n this.form = {\n uid: \"\",\n platform: 1,\n title: '',\n sub_title: '',\n content: '',\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.sub_title != \"\") this.dynamicTags = this.formData.sub_title.split(\"|\")\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n .el-tag + .el-tag {\n margin-left: 10px;\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 .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=7b12f7d6&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=7b12f7d6&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 \"7b12f7d6\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div class=\"me-head\">\n <span>\n <i class=\"el-icon-reading\"></i>\n <span slot=\"title\">知识库管理</span>\n </span>\n <el-button-group>\n <template v-for=\"item in total\">\n <el-button\n :class=\"{'el-button--primary': item.id + '' == tableData.platform + ''}\"\n @click=\"onTogglePlatform(item.id)\"\n :key=\"item.id\"\n size=\"small\"\n >{{item.title}} ( {{item.count}} )</el-button>\n </template>\n </el-button-group>\n <el-col :span=\"5\">\n <el-input\n @change=\"onRefresh\"\n placeholder=\"请输入关键词\"\n prefix-icon=\"el-icon-search\"\n v-model=\"keyword\"\n clearable\n ></el-input>\n </el-col>\n <el-button @click=\"createDialogFormVisible = true\" size=\"mini\">添 加</el-button>\n </div>\n <el-divider />\n <el-table :data=\"tableData.list\" style=\"width: 100%\" v-loading=\"loading\">\n <el-table-column type=\"index\" :index=\"indexMethod\" width=\"60\" label=\"#序号\"></el-table-column>\n <el-table-column prop=\"title\" label=\"主标题\"></el-table-column>\n <el-table-column prop=\"sub_title\" label=\"子标题\">\n <template slot-scope=\"scope\">\n <div v-if=\"scope.row.sub_title != ''\">\n <div\n style=\"font-size: 13px;\"\n :key=\"key\"\n v-for=\"(item, key) in scope.row.sub_title.split('|')\"\n >{{key+1}}.{{item}}</div>\n </div>\n <div v-else>-----</div>\n </template>\n </el-table-column>\n <el-table-column prop=\"content\" label=\"内容\">\n <template slot-scope=\"scope\">\n <div style=\"font-size: 13px;\" :key=\"index\" v-for=\"(item, index) in scope.row.content.split('\\n')\">{{item}}</div>\n </template>\n </el-table-column>\n <el-table-column prop=\"platform\" align=\"center\" label=\"匹配平台\">\n <template slot-scope=\"scope\">\n <el-tag>{{$getPlatformItem(scope.row.platform).title}}</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"create_at\" label=\"创建时间\">\n <template slot-scope=\"scope\">{{$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\")}}</template>\n </el-table-column>\n <el-table-column prop=\"operating\" align=\"center\" width=\"150\" label=\"操作\">\n <template slot-scope=\"scope\">\n <el-button size=\"mini\" @click=\"edit(scope.row)\">编 辑</el-button>\n <el-button size=\"mini\" type=\"danger\" @click=\"deleteKnowledge(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=\"onRefresh\" :dialogFormVisible.sync=\"createDialogFormVisible\" />\n <EditDialog\n :formData=\"editItem\"\n :complete=\"onRefresh\"\n :dialogFormVisible.sync=\"editDialogFormVisible\"\n />\n </div>\n</template>\n\n<script>\nimport CreateDialog from \"./create\";\nimport EditDialog from \"./edit\";\nimport axios from \"axios\";\nexport default {\n name: \"knowledge\",\n components: {\n CreateDialog,\n EditDialog\n },\n data() {\n return {\n keyword: \"\",\n tableData: {\n list: [],\n page_on: 1,\n page_size: 10,\n total: 0,\n keyword: \"\",\n platform: 1\n },\n total: [],\n createDialogFormVisible: false,\n editDialogFormVisible: false,\n loading: true,\n editItem: null\n };\n },\n computed: {\n platformConfig() {\n return this.$store.state.platformConfig || [];\n }\n },\n created() {\n setTimeout(() => {\n this.getKnowledgeList();\n this.getTotal();\n }, 500);\n },\n methods: {\n onRefresh() {\n this.getTotal();\n this.getKnowledgeList();\n },\n // 行号\n indexMethod(index) {\n return (\n (this.tableData.page_on - 1) * this.tableData.page_size + index + 1\n );\n },\n // 删除\n deleteKnowledge(item) {\n this.$confirm(\"您确定要删除该知识库吗? 删除后不可恢复!\", \"温馨提示!\", {\n confirmButtonText: \"确定\",\n cancelButtonText: \"取消\",\n center: true,\n type: \"warning\"\n }).then(() => {\n axios\n .delete(\"/knowledge/\" + item.id)\n .then(response => {\n console.log(response.data);\n this.$message.success(\"删除成功\");\n this.getKnowledgeList(1);\n })\n .catch(error => {\n this.$message.error(error.response.data.message);\n });\n });\n },\n // 切换显示平台\n onTogglePlatform(pid) {\n this.tableData.platform = parseInt(pid);\n this.getKnowledgeList(1);\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.getKnowledgeList();\n },\n // 分页\n handleCurrentChange(val) {\n this.tableData.page_on = val;\n this.getKnowledgeList();\n },\n // 获取数据\n getKnowledgeList(index) {\n if (index) this.tableData.page_on = index;\n const { page_on, page_size, platform } = this.tableData;\n const keyword = this.keyword;\n axios\n .post(\"/knowledge/list\", { page_on, page_size, platform, keyword })\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 getTotal() {\n axios.get(\"/knowledge/total\").then(response => {\n this.total = response.data.data;\n });\n }\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n.me-head {\n height: 30px;\n display: flex;\n align-items: center;\n font-size: 20px;\n justify-content: space-between;\n color: #666;\n\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=22f8e0fa&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=22f8e0fa&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 \"22f8e0fa\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""} {"version":3,"sources":["webpack:///./src/views/knowledge/index.vue?b4f9","webpack:///./src/views/knowledge/edit.vue?212d","webpack:///./src/views/knowledge/create.vue?79ac","webpack:///./src/views/knowledge/index.vue?cade","webpack:///./src/views/knowledge/create.vue?e5d1","webpack:///src/views/knowledge/create.vue","webpack:///./src/views/knowledge/create.vue?c80e","webpack:///./src/views/knowledge/create.vue","webpack:///./src/views/knowledge/edit.vue?ef0c","webpack:///src/views/knowledge/edit.vue","webpack:///./src/views/knowledge/edit.vue?8aad","webpack:///./src/views/knowledge/edit.vue","webpack:///src/views/knowledge/index.vue","webpack:///./src/views/knowledge/index.vue?43e7","webpack:///./src/views/knowledge/index.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","_v","_l","item","key","id","class","tableData","platform","on","$event","onTogglePlatform","_s","title","count","onRefresh","model","value","callback","$$v","keyword","expression","createDialogFormVisible","directives","name","rawName","staticStyle","list","indexMethod","scopedSlots","_u","fn","scope","row","sub_title","split","content","index","$getPlatformItem","$formatUnixDate","create_at","edit","deleteKnowledge","total","page_on","handleSizeChange","handleCurrentChange","editItem","editDialogFormVisible","staticRenderFns","dialogFormVisible","form","formLabelWidth","$set","tag","handleDel","ref","handleInputConfirm","nativeOn","type","indexOf","_k","keyCode","inputValue","showInput","$store","getters","closeModal","save","data","dynamicTags","inputVisible","uid","props","Boolean","complete","Function","methods","$emit","splice","$nextTick","push","console","log","join","lock","text","spinner","background","state","adminInfo","resize","component","platformConfig","formData","Object","response","loading","close","e","watch","assign","components","CreateDialog","EditDialog","page_size","computed","created","setTimeout","getTotal","getKnowledgeList","$confirm","confirmButtonText","cancelButtonText","center","parseInt","pid","val"],"mappings":"kHAAA,yBAAyjB,EAAG,G,kFCA5jB,yBAAwjB,EAAG,G,oCCA3jB,yBAA0jB,EAAG,G,2CCA7jB,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,WAAW,CAACF,EAAG,OAAO,CAACA,EAAG,IAAI,CAACE,YAAY,oBAAoBF,EAAG,OAAO,CAACG,MAAM,CAAC,KAAO,SAASC,KAAK,SAAS,CAACR,EAAIS,GAAG,aAAaL,EAAG,kBAAkB,CAACJ,EAAIU,GAAIV,EAAS,OAAE,SAASW,GAAM,MAAO,CAACP,EAAG,YAAY,CAACQ,IAAID,EAAKE,GAAGC,MAAM,CAAC,qBAAsBH,EA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.9b98f2f4.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=a8bca088&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=a8bca088&lang=stylus&scoped=true&\"","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=7b12f7d6&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=7b12f7d6&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=015f50bf&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=015f50bf&scoped=true&lang=stylus&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"me-head\"},[_c('span',[_c('i',{staticClass:\"el-icon-reading\"}),_c('span',{attrs:{\"slot\":\"title\"},slot:\"title\"},[_vm._v(\"知识库管理\")])]),_c('el-button-group',[_vm._l((_vm.total),function(item){return [_c('el-button',{key:item.id,class:{'el-button--primary': item.id + '' == _vm.tableData.platform + ''},attrs:{\"size\":\"small\"},on:{\"click\":function($event){return _vm.onTogglePlatform(item.id)}}},[_vm._v(_vm._s(item.title)+\" ( \"+_vm._s(item.count)+\" )\")])]})],2),_c('el-col',{attrs:{\"span\":3}},[_c('el-input',{attrs:{\"placeholder\":\"请输入关键词\",\"prefix-icon\":\"el-icon-search\",\"clearable\":\"\"},on:{\"change\":_vm.onRefresh},model:{value:(_vm.keyword),callback:function ($$v) {_vm.keyword=$$v},expression:\"keyword\"}})],1),_c('el-button',{attrs:{\"size\":\"mini\"},on:{\"click\":function($event){_vm.createDialogFormVisible = true}}},[_vm._v(\"添 加\")])],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.list}},[_c('el-table-column',{attrs:{\"type\":\"index\",\"index\":_vm.indexMethod,\"width\":\"60\",\"label\":\"#序号\"}}),_c('el-table-column',{attrs:{\"prop\":\"title\",\"label\":\"主标题\"}}),_c('el-table-column',{attrs:{\"prop\":\"sub_title\",\"label\":\"子标题\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return [(scope.row.sub_title != '')?_c('div',_vm._l((scope.row.sub_title.split('|')),function(item,key){return _c('div',{key:key,staticStyle:{\"font-size\":\"13px\"}},[_vm._v(_vm._s(key+1)+\".\"+_vm._s(item))])}),0):_c('div',[_vm._v(\"-----\")])]}}])}),_c('el-table-column',{attrs:{\"prop\":\"content\",\"label\":\"内容\"},scopedSlots:_vm._u([{key:\"default\",fn:function(scope){return _vm._l((scope.row.content.split('\\n')),function(item,index){return _c('div',{key:index,staticStyle:{\"font-size\":\"13px\"}},[_vm._v(_vm._s(item))])})}}])}),_c('el-table-column',{attrs:{\"prop\":\"platform\",\"align\":\"center\",\"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(_vm._s(_vm.$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\")))]}}])}),_c('el-table-column',{attrs:{\"prop\":\"operating\",\"align\":\"center\",\"width\":\"150\",\"label\":\"操作\"},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.deleteKnowledge(scope.row)}}},[_vm._v(\"删 除\")])]}}])})],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.onRefresh,\"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.onRefresh,\"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.title),callback:function ($$v) {_vm.$set(_vm.form, \"title\", $$v)},expression:\"form.title\"}})],1),_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.handleDel(tag)}}},[_vm._v(_vm._s(tag))])}),(_vm.inputVisible)?_c('el-input',{ref:\"saveTagInput\",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.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":_vm.showInput}},[_vm._v(\"+ 新增\")])],2),_c('el-form-item',{attrs:{\"label\":\"内容\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"rows\":\"5\",\"type\":\"textarea\",\"autocomplete\":\"off\"},model:{value:(_vm.form.content),callback:function ($$v) {_vm.$set(_vm.form, \"content\", $$v)},expression:\"form.content\"}})],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-input v-model=\"form.title\" 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 dynamicTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleDel(tag)\"\n >{{tag}}</el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"inputVisible\"\n v-model=\"inputValue\"\n ref=\"saveTagInput\"\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=\"showInput\">+ 新增</el-button>\n </el-form-item>\n <el-form-item label=\"内容\" :label-width=\"formLabelWidth\">\n <el-input rows=\"5\" type=\"textarea\" v-model=\"form.content\" autocomplete=\"off\"></el-input>\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\";\nexport default {\n name: \"mini-im-create-knowledge\",\n data() {\n return {\n dynamicTags: [],\n inputVisible: false,\n inputValue: \"\",\n form: {\n uid: \"\",\n platform: 1,\n title: \"\",\n sub_title: \"\",\n content: \"\"\n },\n formLabelWidth: \"80px\"\n };\n },\n props: {\n dialogFormVisible: Boolean,\n complete: Function\n },\n methods: {\n // 关闭\n closeModal() {\n this.$emit(\"update:dialogFormVisible\", false);\n },\n // 删除标签\n handleDel(tag) {\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);\n },\n // 显示子标题输入框\n showInput() {\n this.inputVisible = true;\n this.$nextTick(() => {\n this.$refs.saveTagInput.$refs.input.focus();\n });\n },\n // 标签确定\n handleInputConfirm() {\n let inputValue = this.inputValue;\n if (inputValue) {\n this.dynamicTags.push(inputValue);\n }\n this.inputVisible = false;\n this.inputValue = \"\";\n console.log(this.dynamicTags.join(\"|\"));\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.uid = this.$store.state.adminInfo.id;\n this.form.sub_title = this.dynamicTags.join(\"|\");\n axios\n .post(\"/knowledge\", 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.dynamicTags = [];\n this.form = {\n uid: \"\",\n platform: 1,\n title: \"\",\n sub_title: \"\",\n content: \"\"\n };\n }\n }\n};\n</script>\n<style scoped lang=\"stylus\">\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=015f50bf&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=015f50bf&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 \"015f50bf\",\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-input',{attrs:{\"placeholder\":\"请输入主标题\",\"autocomplete\":\"off\"},model:{value:(_vm.form.title),callback:function ($$v) {_vm.$set(_vm.form, \"title\", $$v)},expression:\"form.title\"}})],1),_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.handleDel(tag)}}},[_vm._v(\"\\n \"+_vm._s(tag)+\"\\n \")])}),(_vm.inputVisible)?_c('el-input',{ref:\"saveTagInput\",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.inputValue),callback:function ($$v) {_vm.inputValue=$$v},expression:\"inputValue\"}}):_c('el-button',{staticClass:\"button-new-tag\",attrs:{\"size\":\"small\"},on:{\"click\":_vm.showInput}},[_vm._v(\"+ 新增子标题\")])],2),_c('el-form-item',{attrs:{\"label\":\"内容\",\"label-width\":_vm.formLabelWidth}},[_c('el-input',{attrs:{\"rows\":\"5\",\"type\":\"textarea\",\"autocomplete\":\"off\"},model:{value:(_vm.form.content),callback:function ($$v) {_vm.$set(_vm.form, \"content\", $$v)},expression:\"form.content\"}})],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.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 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.title\" 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 dynamicTags\"\n closable\n :disable-transitions=\"false\"\n @close=\"handleDel(tag)\">\n {{tag}}\n </el-tag>\n <el-input\n class=\"input-new-tag\"\n v-if=\"inputVisible\"\n v-model=\"inputValue\"\n ref=\"saveTagInput\"\n size=\"small\"\n @keyup.enter.native=\"handleInputConfirm\"\n @blur=\"handleInputConfirm\"\n >\n </el-input>\n <el-button v-else class=\"button-new-tag\" size=\"small\" @click=\"showInput\">+ 新增子标题</el-button>\n </el-form-item>\n <el-form-item label=\"内容\" :label-width=\"formLabelWidth\">\n <el-input rows=\"5\" type=\"textarea\" v-model=\"form.content\" autocomplete=\"off\"></el-input>\n </el-form-item>\n <el-form-item label=\"匹配平台\" :label-width=\"formLabelWidth\">\n <el-select v-model=\"form.platform\" placeholder=\"请选择匹配平台\">\n <el-option :label=\"item.title\" :value=\"item.id\" :key=\"index\" v-for=\"(item, index) in platformConfig\"></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'\nexport default {\n name: 'mini-im-create-knowledge',\n data(){\n return {\n dynamicTags: [],\n inputVisible: false,\n inputValue: '',\n form: {\n uid: \"\",\n platform: 1,\n title: '',\n sub_title: '',\n content: '',\n },\n platformConfig: [],\n formLabelWidth: \"80px\"\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 handleDel(tag) {\n this.dynamicTags.splice(this.dynamicTags.indexOf(tag), 1);\n },\n // 显示子标题输入框\n showInput() {\n this.inputVisible = true;\n this.$nextTick(() => {\n this.$refs.saveTagInput.$refs.input.focus();\n });\n },\n // 确定\n handleInputConfirm() {\n let inputValue = this.inputValue;\n if (inputValue) {\n this.dynamicTags.push(inputValue);\n }\n this.inputVisible = false;\n this.inputValue = '';\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.uid = this.$store.state.adminInfo.id\n this.form.sub_title = this.dynamicTags.join(\"|\")\n axios.put('/knowledge', 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 },\n resize(){\n this.dynamicTags = []\n this.form = {\n uid: \"\",\n platform: 1,\n title: '',\n sub_title: '',\n content: '',\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.sub_title != \"\") this.dynamicTags = this.formData.sub_title.split(\"|\")\n }\n }\n}\n</script>\n<style scoped lang=\"stylus\">\n .el-tag + .el-tag {\n margin-left: 10px;\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 .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=7b12f7d6&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=7b12f7d6&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 \"7b12f7d6\",\n null\n \n)\n\nexport default component.exports","<template>\n <div>\n <div class=\"me-head\">\n <span>\n <i class=\"el-icon-reading\"></i>\n <span slot=\"title\">知识库管理</span>\n </span>\n <el-button-group>\n <template v-for=\"item in total\">\n <el-button\n :class=\"{'el-button--primary': item.id + '' == tableData.platform + ''}\"\n @click=\"onTogglePlatform(item.id)\"\n :key=\"item.id\"\n size=\"small\"\n >{{item.title}} ( {{item.count}} )</el-button>\n </template>\n </el-button-group>\n <el-col :span=\"3\">\n <el-input\n @change=\"onRefresh\"\n placeholder=\"请输入关键词\"\n prefix-icon=\"el-icon-search\"\n v-model=\"keyword\"\n clearable\n ></el-input>\n </el-col>\n <el-button @click=\"createDialogFormVisible = true\" size=\"mini\">添 加</el-button>\n </div>\n <el-divider />\n <el-table :data=\"tableData.list\" style=\"width: 100%\" v-loading=\"loading\">\n <el-table-column type=\"index\" :index=\"indexMethod\" width=\"60\" label=\"#序号\"></el-table-column>\n <el-table-column prop=\"title\" label=\"主标题\"></el-table-column>\n <el-table-column prop=\"sub_title\" label=\"子标题\">\n <template slot-scope=\"scope\">\n <div v-if=\"scope.row.sub_title != ''\">\n <div\n style=\"font-size: 13px;\"\n :key=\"key\"\n v-for=\"(item, key) in scope.row.sub_title.split('|')\"\n >{{key+1}}.{{item}}</div>\n </div>\n <div v-else>-----</div>\n </template>\n </el-table-column>\n <el-table-column prop=\"content\" label=\"内容\">\n <template slot-scope=\"scope\">\n <div style=\"font-size: 13px;\" :key=\"index\" v-for=\"(item, index) in scope.row.content.split('\\n')\">{{item}}</div>\n </template>\n </el-table-column>\n <el-table-column prop=\"platform\" align=\"center\" label=\"匹配平台\">\n <template slot-scope=\"scope\">\n <el-tag>{{$getPlatformItem(scope.row.platform).title}}</el-tag>\n </template>\n </el-table-column>\n <el-table-column prop=\"create_at\" label=\"创建时间\">\n <template slot-scope=\"scope\">{{$formatUnixDate(scope.row.create_at, \"YYYY/MM/DD\")}}</template>\n </el-table-column>\n <el-table-column prop=\"operating\" align=\"center\" width=\"150\" label=\"操作\">\n <template slot-scope=\"scope\">\n <el-button size=\"mini\" @click=\"edit(scope.row)\">编 辑</el-button>\n <el-button size=\"mini\" type=\"danger\" @click=\"deleteKnowledge(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=\"onRefresh\" :dialogFormVisible.sync=\"createDialogFormVisible\" />\n <EditDialog\n :formData=\"editItem\"\n :complete=\"onRefresh\"\n :dialogFormVisible.sync=\"editDialogFormVisible\"\n />\n </div>\n</template>\n\n<script>\nimport CreateDialog from \"./create\";\nimport EditDialog from \"./edit\";\nimport axios from \"axios\";\nexport default {\n name: \"knowledge\",\n components: {\n CreateDialog,\n EditDialog\n },\n data() {\n return {\n keyword: \"\",\n tableData: {\n list: [],\n page_on: 1,\n page_size: 10,\n total: 0,\n keyword: \"\",\n platform: 1\n },\n total: [],\n createDialogFormVisible: false,\n editDialogFormVisible: false,\n loading: true,\n editItem: null\n };\n },\n computed: {\n platformConfig() {\n return this.$store.state.platformConfig || [];\n }\n },\n created() {\n setTimeout(() => {\n this.getKnowledgeList();\n this.getTotal();\n }, 500);\n },\n methods: {\n onRefresh() {\n this.getTotal();\n this.getKnowledgeList();\n },\n // 行号\n indexMethod(index) {\n return (\n (this.tableData.page_on - 1) * this.tableData.page_size + index + 1\n );\n },\n // 删除\n deleteKnowledge(item) {\n this.$confirm(\"您确定要删除该知识库吗? 删除后不可恢复!\", \"温馨提示!\", {\n confirmButtonText: \"确定\",\n cancelButtonText: \"取消\",\n center: true,\n type: \"warning\"\n }).then(() => {\n axios\n .delete(\"/knowledge/\" + item.id)\n .then(response => {\n console.log(response.data);\n this.$message.success(\"删除成功\");\n this.getKnowledgeList(1);\n })\n .catch(error => {\n this.$message.error(error.response.data.message);\n });\n });\n },\n // 切换显示平台\n onTogglePlatform(pid) {\n this.tableData.platform = parseInt(pid);\n this.getKnowledgeList(1);\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.getKnowledgeList();\n },\n // 分页\n handleCurrentChange(val) {\n this.tableData.page_on = val;\n this.getKnowledgeList();\n },\n // 获取数据\n getKnowledgeList(index) {\n if (index) this.tableData.page_on = index;\n const { page_on, page_size, platform } = this.tableData;\n const keyword = this.keyword;\n axios\n .post(\"/knowledge/list\", { page_on, page_size, platform, keyword })\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 getTotal() {\n axios.get(\"/knowledge/total\").then(response => {\n this.total = response.data.data;\n });\n }\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n.me-head {\n height: 30px;\n display: flex;\n align-items: center;\n font-size: 20px;\n justify-content: space-between;\n color: #666;\n\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=a8bca088&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=a8bca088&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 \"a8bca088\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file \ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1b20b679"],{"32f9":function(t,e,i){"use strict";var o=i("45d6"),a=i.n(o);a.a},"45d6":function(t,e,i){},5817:function(t,e,i){},"682a":function(t,e,i){"use strict";var o=i("5817"),a=i.n(o);a.a},"6fdd":function(t,e,i){"use strict";var o=i("af44"),a=i.n(o);a.a},"7a26":function(t,e,i){"use strict";i.r(e);var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"me-head"},[i("span",[i("i",{staticClass:"el-icon-reading"}),i("span",{attrs:{slot:"title"},slot:"title"},[t._v("知识库管理")])]),i("el-button-group",[t._l(t.total,(function(e){return[i("el-button",{key:e.id,class:{"el-button--primary":e.id+""==t.tableData.platform+""},attrs:{size:"small"},on:{click:function(i){return t.onTogglePlatform(e.id)}}},[t._v(t._s(e.title)+" ( "+t._s(e.count)+" )")])]}))],2),i("el-col",{attrs:{span:5}},[i("el-input",{attrs:{placeholder:"请输入关键词","prefix-icon":"el-icon-search",clearable:""},on:{change:t.onRefresh},model:{value:t.keyword,callback:function(e){t.keyword=e},expression:"keyword"}})],1),i("el-button",{attrs:{size:"mini"},on:{click:function(e){t.createDialogFormVisible=!0}}},[t._v("添 加")])],1),i("el-divider"),i("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticStyle:{width:"100%"},attrs:{data:t.tableData.list}},[i("el-table-column",{attrs:{type:"index",index:t.indexMethod,width:"60",label:"#序号"}}),i("el-table-column",{attrs:{prop:"title",label:"主标题"}}),i("el-table-column",{attrs:{prop:"sub_title",label:"子标题"},scopedSlots:t._u([{key:"default",fn:function(e){return[""!=e.row.sub_title?i("div",t._l(e.row.sub_title.split("|"),(function(e,o){return i("div",{key:o,staticStyle:{"font-size":"13px"}},[t._v(t._s(o+1)+"."+t._s(e))])})),0):i("div",[t._v("-----")])]}}])}),i("el-table-column",{attrs:{prop:"content",label:"内容"},scopedSlots:t._u([{key:"default",fn:function(e){return t._l(e.row.content.split("\n"),(function(e,o){return i("div",{key:o,staticStyle:{"font-size":"13px"}},[t._v(t._s(e))])}))}}])}),i("el-table-column",{attrs:{prop:"platform",align:"center",label:"匹配平台"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-tag",[t._v(t._s(t.$getPlatformItem(e.row.platform).title))])]}}])}),i("el-table-column",{attrs:{prop:"create_at",label:"创建时间"},scopedSlots:t._u([{key:"default",fn:function(e){return[t._v(t._s(t.$formatUnixDate(e.row.create_at,"YYYY/MM/DD")))]}}])}),i("el-table-column",{attrs:{prop:"operating",align:"center",width:"150",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[i("el-button",{attrs:{size:"mini"},on:{click:function(i){return t.edit(e.row)}}},[t._v("编 辑")]),i("el-button",{attrs:{size:"mini",type:"danger"},on:{click:function(i){return t.deleteKnowledge(e.row)}}},[t._v("删 除")])]}}])})],1),i("el-row",{staticStyle:{"margin-top":"20px"},attrs:{type:"flex",justify:"space-between"}},[i("span",{staticStyle:{color:"#666","font-size":"14px"}},[t._v("共找到"+t._s(t.tableData.total)+"条数据")]),i("el-pagination",{attrs:{background:"",layout:"sizes, prev, pager, next","current-page":t.tableData.page_on,"page-sizes":[5,10,15,20],total:t.tableData.total},on:{"size-change":t.handleSizeChange,"current-change":t.handleCurrentChange}})],1),i("CreateDialog",{attrs:{complete:t.onRefresh,dialogFormVisible:t.createDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.createDialogFormVisible=e},"update:dialog-form-visible":function(e){t.createDialogFormVisible=e}}}),i("EditDialog",{attrs:{formData:t.editItem,complete:t.onRefresh,dialogFormVisible:t.editDialogFormVisible},on:{"update:dialogFormVisible":function(e){t.editDialogFormVisible=e},"update:dialog-form-visible":function(e){t.editDialogFormVisible=e}}})],1)},a=[],l=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:{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}},[t._l(t.dynamicTags,(function(e){return i("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(i){return t.handleDel(e)}}},[t._v(t._s(e))])})),t.inputVisible?i("el-input",{ref:"saveTagInput",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.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}):i("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:t.showInput}},[t._v("+ 新增")])],2),i("el-form-item",{attrs:{label:"内容","label-width":t.formLabelWidth}},[i("el-input",{attrs:{rows:"5",type:"textarea",autocomplete:"off"},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),i("el-form-item",{attrs:{label:"匹配平台","label-width":t.formLabelWidth}},[i("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 i("el-option",{key:e,attrs:{label:t.title,value:t.id}})})),1)],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=[],s=(i("57e7"),i("bc3a")),r=i.n(s),c={name:"mini-im-create-knowledge",data:function(){return{dynamicTags:[],inputVisible:!1,inputValue:"",form:{uid:"",platform:1,title:"",sub_title:"",content:""},formLabelWidth:"80px"}},props:{dialogFormVisible:Boolean,complete:Function},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},handleDel:function(t){this.dynamicTags.splice(this.dynamicTags.indexOf(t),1)},showInput:function(){var t=this;this.inputVisible=!0,this.$nextTick((function(){t.$refs.saveTagInput.$refs.input.focus()}))},handleInputConfirm:function(){var t=this.inputValue;t&&this.dynamicTags.push(t),this.inputVisible=!1,this.inputValue="",console.log(this.dynamicTags.join("|"))},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});this.form.uid=this.$store.state.adminInfo.id,this.form.sub_title=this.dynamicTags.join("|"),r.a.post("/knowledge",this.form).then((function(i){try{console.log(i),e.close(),t.$message.success("添加成功"),t.closeModal(),t.resize(),t.complete(1)}catch(o){console.log(o)}})).catch((function(i){e.close(),t.$message.error(i.response.data.message)}))},resize:function(){this.dynamicTags=[],this.form={uid:"",platform:1,title:"",sub_title:"",content:""}}}},u=c,f=(i("6fdd"),i("2877")),d=Object(f["a"])(u,l,n,!1,null,"015f50bf",null),m=d.exports,p=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:{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}},[t._l(t.dynamicTags,(function(e){return i("el-tag",{key:e,attrs:{closable:"","disable-transitions":!1},on:{close:function(i){return t.handleDel(e)}}},[t._v("\n "+t._s(e)+"\n ")])})),t.inputVisible?i("el-input",{ref:"saveTagInput",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.inputValue,callback:function(e){t.inputValue=e},expression:"inputValue"}}):i("el-button",{staticClass:"button-new-tag",attrs:{size:"small"},on:{click:t.showInput}},[t._v("+ 新增子标题")])],2),i("el-form-item",{attrs:{label:"内容","label-width":t.formLabelWidth}},[i("el-input",{attrs:{rows:"5",type:"textarea",autocomplete:"off"},model:{value:t.form.content,callback:function(e){t.$set(t.form,"content",e)},expression:"form.content"}})],1),i("el-form-item",{attrs:{label:"匹配平台","label-width":t.formLabelWidth}},[i("el-select",{attrs:{placeholder:"请选择匹配平台"},model:{value:t.form.platform,callback:function(e){t.$set(t.form,"platform",e)},expression:"form.platform"}},t._l(t.platformConfig,(function(t,e){return i("el-option",{key:e,attrs:{label:t.title,value:t.id}})})),1)],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)},g=[],h=(i("28a5"),{name:"mini-im-create-knowledge",data:function(){return{dynamicTags:[],inputVisible:!1,inputValue:"",form:{uid:"",platform:1,title:"",sub_title:"",content:""},platformConfig:[],formLabelWidth:"80px"}},props:{dialogFormVisible:Boolean,complete:Function,formData:Object},methods:{closeModal:function(){this.$emit("update:dialogFormVisible",!1)},handleDel:function(t){this.dynamicTags.splice(this.dynamicTags.indexOf(t),1)},showInput:function(){var t=this;this.inputVisible=!0,this.$nextTick((function(){t.$refs.saveTagInput.$refs.input.focus()}))},handleInputConfirm:function(){var t=this.inputValue;t&&this.dynamicTags.push(t),this.inputVisible=!1,this.inputValue=""},save:function(){var t=this,e=this.$loading({lock:!0,text:"保存中...",spinner:"el-icon-loading",background:"rgba(0, 0, 0, 0.5)"});this.form.uid=this.$store.state.adminInfo.id,this.form.sub_title=this.dynamicTags.join("|"),r.a.put("/knowledge",this.form).then((function(i){try{console.log(i),e.close(),t.$message.success("修改成功"),t.closeModal(),t.resize(),t.complete(1)}catch(o){console.log(o)}})).catch((function(i){e.close(),t.$message.error(i.response.data.message)}))},resize:function(){this.dynamicTags=[],this.form={uid:"",platform:1,title:"",sub_title:"",content:""}}},watch:{formData:function(){this.platformConfig=this.$store.getters.platformConfig,this.form=Object.assign({},this.form,this.formData),""!=this.formData.sub_title&&(this.dynamicTags=this.formData.sub_title.split("|"))}}}),b=h,v=(i("682a"),Object(f["a"])(b,p,g,!1,null,"7b12f7d6",null)),_=v.exports,k={name:"knowledge",components:{CreateDialog:m,EditDialog:_},data:function(){return{keyword:"",tableData:{list:[],page_on:1,page_size:10,total:0,keyword:"",platform:1},total:[],createDialogFormVisible:!1,editDialogFormVisible:!1,loading:!0,editItem:null}},computed:{platformConfig:function(){return this.$store.state.platformConfig||[]}},created:function(){var t=this;setTimeout((function(){t.getKnowledgeList(),t.getTotal()}),500)},methods:{onRefresh:function(){this.getTotal(),this.getKnowledgeList()},indexMethod:function(t){return(this.tableData.page_on-1)*this.tableData.page_size+t+1},deleteKnowledge:function(t){var e=this;this.$confirm("您确定要删除该知识库吗? 删除后不可恢复!","温馨提示!",{confirmButtonText:"确定",cancelButtonText:"取消",center:!0,type:"warning"}).then((function(){r.a.delete("/knowledge/"+t.id).then((function(t){console.log(t.data),e.$message.success("删除成功"),e.getKnowledgeList(1)})).catch((function(t){e.$message.error(t.response.data.message)}))}))},onTogglePlatform:function(t){this.tableData.platform=parseInt(t),this.getKnowledgeList(1)},edit:function(t){this.editItem=t,this.editDialogFormVisible=!0},handleSizeChange:function(t){this.tableData.page_size=t,this.getKnowledgeList()},handleCurrentChange:function(t){this.tableData.page_on=t,this.getKnowledgeList()},getKnowledgeList:function(t){var e=this;t&&(this.tableData.page_on=t);var i=this.tableData,o=i.page_on,a=i.page_size,l=i.platform,n=this.keyword;r.a.post("/knowledge/list",{page_on:o,page_size:a,platform:l,keyword:n}).then((function(t){e.loading=!1,e.tableData=t.data.data})).catch((function(t){e.loading=!1,e.$message.error(t.response.data.message)}))},getTotal:function(){var t=this;r.a.get("/knowledge/total").then((function(e){t.total=e.data.data}))}}},w=k,y=(i("32f9"),Object(f["a"])(w,o,a,!1,null,"22f8e0fa",null));e["default"]=y.exports},af44:function(t,e,i){}}]);
//# sourceMappingURL=chunk-1b20b679.382e3755.js.map
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2c35a188"],{"0ae9":function(e,t,i){},"0b10":function(e,t,i){},"11e9":function(e,t,i){var s=i("52a7"),n=i("4630"),o=i("6821"),a=i("6a99"),r=i("69a8"),c=i("c69a"),l=Object.getOwnPropertyDescriptor;t.f=i("9e1e")?l:function(e,t){if(e=o(e),t=a(t,!0),c)try{return l(e,t)}catch(i){}if(r(e,t))return n(!s.f.call(e,t),e[t])}},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})},"1f3c":function(e,t,i){},"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"})])}],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("bd86")),a=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("😊")])])},r=[],c=i("eef3"),l={name:"mini-im-emoji",data:function(){return{emojis:c.emojiData}},props:{clickEmoji:Function}},u=l,m=(i("1826"),i("2877")),d=Object(m["a"])(u,a,r,!1,null,"3d019866",null),f=d.exports,h=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)},g=[],v={name:"mini-im-contact",data:function(){return{}},props:{item:Object,clickItem:Function,deleteContact:Function}},p=v,_=(i("297c"),Object(m["a"])(p,h,g,!1,null,"595d9a46",null)),b=_.exports,C=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)},y=[],w=i("bc3a"),S=i.n(w),$={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;S.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)}}},k=$,x=(i("2b0b"),Object(m["a"])(k,C,y,!1,null,null,null)),I=x.exports,M=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)},T=[],U={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)"});S.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)}))}}}},E=U,R=Object(m["a"])(E,M,T,!1,null,"ae51b748",null),O=R.exports,L=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)},P=[],N={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)"});S.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)}}},V=N,F=Object(m["a"])(V,L,P,!1,null,"3714045a",null),z=F.exports,j=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("对方结束了会话")])])]: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._s(t.payload))])])]: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)},D=[],A={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)}}},B=A,G=(i("8e33"),Object(m["a"])(B,j,D,!1,null,"0d97b064",null)),K=G.exports,W=i("fb21"),H=i("b730"),q=i.n(H),J=i("2f62");function Y(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 X(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(i),!0).forEach((function(t){Object(o["a"])(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Y(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var Q={name:"workbench",components:{EmojiComponent:f,ContactComponent:b,UserInfoComponent:I,ChatWindowComponent:K,CreateShortcutComponent:O,EditShortcutComponent:z},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,mousemoveTimerout:null,isFirstRequestMessageEnd:!1}},computed:X({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(J["b"])(["contacts","adminInfo","seviceCurrentUser","messageRecord"])),mounted:function(){var e=this;document.ondblclick=function(){e.shortcutEditVisible=!1},this.init(),document.addEventListener("mousemove",this.onMousemoveEvent,!1),document.addEventListener("paste",this.inputPaste,!1)},beforeDestroy:function(){document.removeEventListener("mousemove",this.onMousemoveEvent,!1),document.removeEventListener("paste",this.inputPaste,!1),this.changeCurrentUser()},methods:{init:function(){var e=this;if(!this.adminInfo)return this.$store.dispatch("ON_GET_ME"),void setTimeout((function(){return e.init()}),100);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.$store.dispatch("ON_GET_ME").then((function(){0!=e.adminInfo.online&&(e.onLongTraining(),e.init())}))})),this.$mimcInstance.addEventListener("receiveP2PMsg",this.receiveP2PMsg),this.$mimcInstance.addEventListener("disconnect",(function(){console.log("链接断开!"),e.isLogin=!1,e.onLongTraining();var t=e.adminInfo;0!=t.online?(e.$store.commit("onChangeAdminInfo",null),e.init()):(t.online=0,e.$store.commit("onChangeAdminInfo",t))}))},onLongTraining:function(){var e=this;this.$mimcInstance.user.isLogin()||(console.log("长轮训获取新消息.."),this.$store.dispatch("ON_GET_CONTACTS"),this.getMessageRecord(),this.scrollIntoBottom(),setTimeout((function(){return e.onLongTraining()}),2e3))},onMousemoveEvent:function(){var e=this;this.$refs.miniImChatViewBontentBody&&(this.$refs.miniImChatViewBontentBody.style.height=document.body.clientHeight-155+"px"),this.isPush=!1,this.mousemoveTimerout&&clearTimeout(this.mousemoveTimerout),this.mousemoveTimerout=setTimeout((function(){e.isPush=!0}),3e4)},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&&S.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(){S.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;S.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;S.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(){S.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),S.a.post("/public/message/cancel",{to_account:this.seviceCurrentUser.from_account,from_account:this.adminInfo.id,key:e}),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(){S.a.post("/contact/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;S.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;console.log(e);var i=parseInt(((new Date).getTime()+"").substr(0,10));if(e.timestamp=parseInt((e.timestamp+"").substr(0,10)),(e.from_account!=this.adminInfo.id||"pong"!=e.biz_type)&&"into"!=e.biz_type){if(e.from_account==this.adminInfo.id&&this.seviceCurrentUser.from_account==e.to_account)return this.messageRecord.list.push(e),"cancel"==e.biz_type&&this.removeMessage(e.from_account,e.payload),this.scrollIntoBottom(),void this.$previewRefresh();if("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||"timeout"==e.biz_type){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 o=JSON.parse(e.payload);this.$store.commit("onChangeContacts",o)}}},changeCurrentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"{}"!=JSON.stringify(this.adminInfo)&&S.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(W["a"])({file:e,progress:function(e){i.percent=e},success:function(e){i.percent=100;var t=s.$store.getters.configs.upload_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.isFirstRequestMessageEnd=!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&&S.a.post("/message/list",{timestamp:e,page_size:this.getMessageRecordPageSize,account:i}).then((function(i){for(var s=i.data.data.list,n=0;n<s.length;n++)s[n].payload=window.Base64.decode(s[n].payload);t.getMessageRecordLoading=!1,s.length<t.getMessageRecordPageSize&&(t.isFirstRequestMessageEnd=!0),0==t.messageRecord.list.length||0==e?(t.$store.commit("onChangeMessageRecord",i.data.data),t.scrollIntoBottom()):(i.data.data.list=s.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}))},getHistoryMessageRecord:function(e){var t=this;if(this.getMessageRecordLoading=!0,void 0!=e&&0!=e){var i=parseInt(this.seviceCurrentUser.from_account);i&&S.a.post("/message/history",{timestamp:e,page_size:this.getMessageRecordPageSize,account:i}).then((function(e){for(var i=e.data.data.list,s=0;s<i.length;s++)i[s].payload=window.Base64.decode(i[s].payload);t.getMessageRecordLoading=!1,i.length<t.getMessageRecordPageSize&&(t.isMessageEnd=!0),e.data.data.list=i.concat(t.messageRecord.list),t.$store.commit("onChangeMessageRecord",e.data.data),setTimeout((function(){return t.$previewRefresh()}),1e3),t.$store.dispatch("ON_GET_CONTACTS")})).catch((function(){t.getMessageRecordLoading=!1}))}else this.isMessageEnd=!0},onLoadMorMessage:function(){this.getMessageRecordLoading||(this.isFirstRequestMessageEnd?this.getHistoryMessageRecord(this.messageRecord.list[0].timestamp):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 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 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(a)})),t.$previewRefresh()}}}}}},watch:{messageRecord:function(){this.$previewRefresh()}}},Z=Q,ee=(i("7d89"),Object(m["a"])(Z,s,n,!1,null,"60315364",null));t["default"]=ee.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"),o=i("0390"),a=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 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}]}))},"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 o,a=t.constructor;return a!==i&&"function"==typeof a&&(o=a.prototype)!==i.prototype&&s(o)&&n&&n(e,o),e}},"5eda":function(e,t,i){var s=i("5ca1"),n=i("8378"),o=i("79e5");e.exports=function(e,t){var i=(n.Object||{})[e]||Object[e],a={};a[e]=t(i),s(s.S+s.F*o((function(){i(1)})),"Object",a)}},"752b":function(e,t,i){},"7d89":function(e,t,i){"use strict";var s=i("0ae9"),n=i.n(s);n.a},"85f2":function(e,t,i){e.exports=i("454f")},"8b97":function(e,t,i){var s=i("d3f4"),n=i("cb7c"),o=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 o(e,i),t?e.__proto__=i:s(e,i),e}}({},!1):void 0),check:o}},"8e33":function(e,t,i){"use strict";var s=i("1f3c"),n=i.n(s);n.a},"8e6e":function(e,t,i){var s=i("5ca1"),n=i("990b"),o=i("6821"),a=i("11e9"),r=i("f1ae");s(s.S,"Object",{getOwnPropertyDescriptors:function(e){var t,i,s=o(e),c=a.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"),o=i("cb7c"),a=i("7726").Reflect;e.exports=a&&a.ownKeys||function(e){var t=s.f(o(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"),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(e){return void 0===e?e:String(e)};i("214f")("replace",2,(function(e,t,i,g){return[function(s,n){var o=e(this),a=void 0==s?void 0:s[t];return void 0!==a?a.call(s,o,n):i.call(String(o),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,o(m.lastIndex),_))}for(var w="",S=0,$=0;$<b.length;$++){C=b[$];for(var k=String(C[0]),x=l(u(a(C.index),d.length),0),I=[],M=1;M<C.length;M++)I.push(h(C[M]));var T=C.groups;if(f){var U=[k].concat(I,x,d);void 0!==T&&U.push(T);var E=String(t.apply(void 0,U))}else E=v(k,d,x,I,T,t);x>=S&&(w+=d.slice(S,x)+E,S=x+k.length)}return w+d.slice(S)}];function v(e,t,s,o,a,r){var c=s+e.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 e;case"`":return t.slice(0,s);case"'":return t.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(e,t,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(e,t,i){var n={},r=o((function(){return!!a[e]()||c[e]()!=c})),l=n[e]=r?t(d):a[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"),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),g=0;g<h.length;g++){var v,p=h[g],_=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(v in s)C[v]||o(C,v,s[v],!0)}},bd86:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var s=i("85f2"),n=i.n(s);function o(e,t,i){return t in e?n()(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},c5f6:function(e,t,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],g=h,v=h.prototype,p=o(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,o=t.charCodeAt(0);if(43===o||45===o){if(i=t.charCodeAt(2),88===i||120===i)return NaN}else if(48===o){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 a,c=t.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+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)})):o(i)!=f)?a(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),o=i("2f21")([].forEach,!0);s(s.P+s.F*!o,"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-2c35a188.390e0317.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-c7fc5930"],{"0b10":function(e,t,i){},"11e9":function(e,t,i){var s=i("52a7"),n=i("4630"),o=i("6821"),a=i("6a99"),r=i("69a8"),c=i("c69a"),l=Object.getOwnPropertyDescriptor;t.f=i("9e1e")?l:function(e,t){if(e=o(e),t=a(t,!0),c)try{return l(e,t)}catch(i){}if(r(e,t))return n(!s.f.call(e,t),e[t])}},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})},"1f3c":function(e,t,i){},"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"})])}],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("bd86")),a=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("😊")])])},r=[],c=i("eef3"),l={name:"mini-im-emoji",data:function(){return{emojis:c.emojiData}},props:{clickEmoji:Function}},u=l,m=(i("1826"),i("2877")),d=Object(m["a"])(u,a,r,!1,null,"3d019866",null),f=d.exports,h=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)},g=[],v={name:"mini-im-contact",data:function(){return{}},props:{item:Object,clickItem:Function,deleteContact:Function}},p=v,_=(i("297c"),Object(m["a"])(p,h,g,!1,null,"595d9a46",null)),b=_.exports,C=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)},y=[],w=i("bc3a"),S=i.n(w),$={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;S.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)}}},k=$,x=(i("2b0b"),Object(m["a"])(k,C,y,!1,null,null,null)),I=x.exports,M=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)},T=[],U={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)"});S.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)}))}}}},E=U,R=Object(m["a"])(E,M,T,!1,null,"ae51b748",null),O=R.exports,L=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)},P=[],N={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)"});S.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)}}},V=N,F=Object(m["a"])(V,L,P,!1,null,"3714045a",null),z=F.exports,j=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("对方结束了会话")])])]: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._s(t.payload))])])]: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)},D=[],A={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)}}},B=A,G=(i("8e33"),Object(m["a"])(B,j,D,!1,null,"0d97b064",null)),K=G.exports,W=i("fb21"),H=i("b730"),q=i.n(H),J=i("2f62");function Y(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 X(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(i),!0).forEach((function(t){Object(o["a"])(e,t,i[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):Y(Object(i)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))}))}return e}var Q={name:"workbench",components:{EmojiComponent:f,ContactComponent:b,UserInfoComponent:I,ChatWindowComponent:K,CreateShortcutComponent:O,EditShortcutComponent:z},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,mousemoveTimerout:null,isFirstRequestMessageEnd:!1}},computed:X({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(J["b"])(["contacts","adminInfo","seviceCurrentUser","messageRecord"])),mounted:function(){var e=this;document.ondblclick=function(){e.shortcutEditVisible=!1},this.init(),document.addEventListener("mousemove",this.onMousemoveEvent,!1),document.addEventListener("paste",this.inputPaste,!1)},beforeDestroy:function(){document.removeEventListener("mousemove",this.onMousemoveEvent,!1),document.removeEventListener("paste",this.inputPaste,!1),this.changeCurrentUser()},methods:{init:function(){var e=this;if(!this.adminInfo)return this.$store.dispatch("ON_GET_ME"),void setTimeout((function(){return e.init()}),100);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.$store.dispatch("ON_GET_ME").then((function(){0!=e.adminInfo.online&&(e.onLongTraining(),e.init())}))})),this.$mimcInstance.addEventListener("receiveP2PMsg",this.receiveP2PMsg),this.$mimcInstance.addEventListener("disconnect",(function(){console.log("链接断开!"),e.isLogin=!1,e.onLongTraining();var t=e.adminInfo;0!=t.online?(e.$store.commit("onChangeAdminInfo",null),e.init()):(t.online=0,e.$store.commit("onChangeAdminInfo",t))}))},onLongTraining:function(){var e=this;this.$mimcInstance.user.isLogin()||(console.log("长轮训获取新消息.."),this.$store.dispatch("ON_GET_CONTACTS"),this.getMessageRecord(),this.scrollIntoBottom(),setTimeout((function(){return e.onLongTraining()}),2e3))},onMousemoveEvent:function(){var e=this;this.$refs.miniImChatViewBontentBody&&(this.$refs.miniImChatViewBontentBody.style.height=document.body.clientHeight-155+"px"),this.isPush=!1,this.mousemoveTimerout&&clearTimeout(this.mousemoveTimerout),this.mousemoveTimerout=setTimeout((function(){e.isPush=!0}),3e4)},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&&S.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(){S.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;S.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;S.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(){S.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),S.a.post("/public/message/cancel",{to_account:this.seviceCurrentUser.from_account,from_account:this.adminInfo.id,key:e}),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(){S.a.post("/contact/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;S.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)),(e.from_account!=this.adminInfo.id||"pong"!=e.biz_type)&&"into"!=e.biz_type){if(e.from_account==this.adminInfo.id&&this.seviceCurrentUser.from_account==e.to_account)return this.messageRecord.list.push(e),"cancel"==e.biz_type&&this.removeMessage(e.from_account,e.payload),this.scrollIntoBottom(),void this.$previewRefresh();if("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||"timeout"==e.biz_type){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 o=JSON.parse(e.payload);this.$store.commit("onChangeContacts",o)}}},changeCurrentUser:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;"{}"!=JSON.stringify(this.adminInfo)&&S.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(W["a"])({file:e,progress:function(e){i.percent=e},success:function(e){i.percent=100;var t=s.$store.getters.configs.upload_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.isFirstRequestMessageEnd=!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&&S.a.post("/message/list",{timestamp:e,page_size:this.getMessageRecordPageSize,account:i}).then((function(i){for(var s=i.data.data.list,n=0;n<s.length;n++)s[n].payload=window.Base64.decode(s[n].payload);t.getMessageRecordLoading=!1,s.length<t.getMessageRecordPageSize&&(t.isFirstRequestMessageEnd=!0),0==t.messageRecord.list.length||0==e?(t.$store.commit("onChangeMessageRecord",i.data.data),t.scrollIntoBottom()):(i.data.data.list=s.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}))},getHistoryMessageRecord:function(e){var t=this;if(this.getMessageRecordLoading=!0,void 0!=e&&0!=e){var i=parseInt(this.seviceCurrentUser.from_account);i&&S.a.post("/message/history",{timestamp:e,page_size:this.getMessageRecordPageSize,account:i}).then((function(e){for(var i=e.data.data.list,s=0;s<i.length;s++)i[s].payload=window.Base64.decode(i[s].payload);t.getMessageRecordLoading=!1,i.length<t.getMessageRecordPageSize&&(t.isMessageEnd=!0),e.data.data.list=i.concat(t.messageRecord.list),t.$store.commit("onChangeMessageRecord",e.data.data),setTimeout((function(){return t.$previewRefresh()}),1e3),t.$store.dispatch("ON_GET_CONTACTS")})).catch((function(){t.getMessageRecordLoading=!1}))}else this.isMessageEnd=!0},onLoadMorMessage:function(){this.getMessageRecordLoading||(this.isFirstRequestMessageEnd?this.getHistoryMessageRecord(this.messageRecord.list[0].timestamp):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 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 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(a)})),t.$previewRefresh()}}}}}},watch:{messageRecord:function(){this.$previewRefresh()}}},Z=Q,ee=(i("7d7c"),Object(m["a"])(Z,s,n,!1,null,"7280fbba",null));t["default"]=ee.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"),o=i("0390"),a=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 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}]}))},"4f37":function(e,t,i){"use strict";i("aa77")("trim",(function(e){return function(){return e(this,3)}}))},"57b8":function(e,t,i){},"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 o,a=t.constructor;return a!==i&&"function"==typeof a&&(o=a.prototype)!==i.prototype&&s(o)&&n&&n(e,o),e}},"5eda":function(e,t,i){var s=i("5ca1"),n=i("8378"),o=i("79e5");e.exports=function(e,t){var i=(n.Object||{})[e]||Object[e],a={};a[e]=t(i),s(s.S+s.F*o((function(){i(1)})),"Object",a)}},"752b":function(e,t,i){},"7d7c":function(e,t,i){"use strict";var s=i("57b8"),n=i.n(s);n.a},"85f2":function(e,t,i){e.exports=i("454f")},"8b97":function(e,t,i){var s=i("d3f4"),n=i("cb7c"),o=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 o(e,i),t?e.__proto__=i:s(e,i),e}}({},!1):void 0),check:o}},"8e33":function(e,t,i){"use strict";var s=i("1f3c"),n=i.n(s);n.a},"8e6e":function(e,t,i){var s=i("5ca1"),n=i("990b"),o=i("6821"),a=i("11e9"),r=i("f1ae");s(s.S,"Object",{getOwnPropertyDescriptors:function(e){var t,i,s=o(e),c=a.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"),o=i("cb7c"),a=i("7726").Reflect;e.exports=a&&a.ownKeys||function(e){var t=s.f(o(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"),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(e){return void 0===e?e:String(e)};i("214f")("replace",2,(function(e,t,i,g){return[function(s,n){var o=e(this),a=void 0==s?void 0:s[t];return void 0!==a?a.call(s,o,n):i.call(String(o),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,o(m.lastIndex),_))}for(var w="",S=0,$=0;$<b.length;$++){C=b[$];for(var k=String(C[0]),x=l(u(a(C.index),d.length),0),I=[],M=1;M<C.length;M++)I.push(h(C[M]));var T=C.groups;if(f){var U=[k].concat(I,x,d);void 0!==T&&U.push(T);var E=String(t.apply(void 0,U))}else E=v(k,d,x,I,T,t);x>=S&&(w+=d.slice(S,x)+E,S=x+k.length)}return w+d.slice(S)}];function v(e,t,s,o,a,r){var c=s+e.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 e;case"`":return t.slice(0,s);case"'":return t.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(e,t,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(e,t,i){var n={},r=o((function(){return!!a[e]()||c[e]()!=c})),l=n[e]=r?t(d):a[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"),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),g=0;g<h.length;g++){var v,p=h[g],_=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(v in s)C[v]||o(C,v,s[v],!0)}},bd86:function(e,t,i){"use strict";i.d(t,"a",(function(){return o}));var s=i("85f2"),n=i.n(s);function o(e,t,i){return t in e?n()(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},c5f6:function(e,t,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],g=h,v=h.prototype,p=o(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,o=t.charCodeAt(0);if(43===o||45===o){if(i=t.charCodeAt(2),88===i||120===i)return NaN}else if(48===o){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 a,c=t.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+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)})):o(i)!=f)?a(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),o=i("2f21")([].forEach,!0);s(s.P+s.F*!o,"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-c7fc5930.19fe36cd.js.map
\ No newline at end of file
This diff could not be displayed because it is too large.
.no-data[data-v-7e3638ea]{text-align:center;padding-top:50px}.no-data img[data-v-7e3638ea]{width:50px;height:50px}.no-data div[data-v-7e3638ea]{color:#666;font-size:14px}.list[data-v-7e3638ea]{padding-top:50px}.list.hide-header[data-v-7e3638ea]{padding-top:0}.list li[data-v-7e3638ea]{padding:10px 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAEMklEQVR4Xu2dbXbaMBBFFVZWnyysYWEcJRtzetzQpglftuaJ8jSXv8jD6M3Vk4SFeSq8UivwlLr3dL4AQHIIAAAAki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WUwAOEKw+3wTGBXSPYO0ALALj+F15XpJker35FK41Xch2IGSNJqo21g7AGiCOgTUATAHJAcABAECyUInL6BvBegrAAeLgWe8CAKAfAKr1VddtYCnlNS4BEUopJ4dQXQCgep0UAIBOwrqEBQCXSnXKEwA6CWsUVrLF7r0INNLTK9VHdAAvBQfItuWnZt+7LXGAAbRM2wUASFv6j44DAAAkVyB593EAAEiuQPLu4wAAkFyB5N3HAQAguQLJu48DJAfgF+1bWNtJgJDcAAAAAElFTkSuQmCC) 10px no-repeat;background-size:25px;padding-left:40px;padding-right:70px;border-bottom:1px solid #ddd;position:relative;height:40px}.list li .title[data-v-7e3638ea]{font-size:15px;color:#333;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.list li .type[data-v-7e3638ea]{font-size:13px;color:#666}.list li .date[data-v-7e3638ea]{margin-left:10px;font-size:13px;color:#999}.list li i[data-v-7e3638ea]{font-style:normal;font-size:13px;position:absolute;right:10px;top:0;height:20px;bottom:0;margin:auto 0} .no-data[data-v-6ca82fb2]{text-align:center;padding-top:50px}.no-data img[data-v-6ca82fb2]{width:50px;height:50px}.no-data div[data-v-6ca82fb2]{color:#666;font-size:14px}.list[data-v-6ca82fb2]{padding-top:50px}.list.hide-header[data-v-6ca82fb2]{padding-top:0}.list li[data-v-6ca82fb2]{padding:10px 20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAEMklEQVR4Xu2dbXbaMBBFFVZWnyysYWEcJRtzetzQpglftuaJ8jSXv8jD6M3Vk4SFeSq8UivwlLr3dL4AQHIIAAAAkiuQvPs4AAAkVyB593EAAEiuQPLu4wAAkFyB5N3HAQDAR4Fa67tDttM02Qwsm0SXwgOAHn8A0GtacIAOouIAfUTFATroigN0EPWKA7x2+ri1YX98bwgAa6Xb2O7CIvB1mqZpYyhJ81prLaUAgETNFUEAYIVIG5tI1gC11mUULKPhf7wezgHuIcI8z/vn5+eX6GcBQEDBS1NAIOTqSwHgUy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EAAEiuQPLu4wAAkFyB5N3HAQAguQLJu48DJAfgF+1bWNtJgJDcAAAAAElFTkSuQmCC) 10px no-repeat;background-size:25px;padding-left:40px;padding-right:70px;border-bottom:1px solid #ddd;position:relative;height:40px}.list li .title[data-v-6ca82fb2]{font-size:15px;color:#333;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.list li .type[data-v-6ca82fb2]{font-size:13px;color:#666}.list li .date[data-v-6ca82fb2]{margin-left:10px;font-size:13px;color:#999}.list li i[data-v-6ca82fb2]{font-style:normal;font-size:13px;position:absolute;right:10px;top:0;height:20px;bottom:0;margin:auto 0}.floting[data-v-6ca82fb2]{width:30px;height:30px;border-radius:100%;background:#26a2ff url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAABDElEQVRoQ+2a0Q3CMAxEffMwBHQIWAdYB4agTGZk1FQ0ClIrxx+uLp9Vm+QuL1FOLiR5Q/L5S6gAVT2ZQQDGKKPCBKjqS0S+AkRkBDBEiAgRoKpnEXlUE74AePYWESXgJiLXarJ3APa8a6OAlp2qyhVYyxkRIkJrWfnzHhEiQkTI6QARchrIU4gI9UZoCiMHZ7/HnzRWurJY+Xb2a8luEU8Xe6CKgc6xwj5fxNNZwBTALcdmaHM83Y8Asz01QoWb1Ju4F/zMxBuc5FWCV4kNuLReJUJEiAg5HSBCTgN5ChEhIuR0YK8IWX24ztdDRME75BRqxNNche4qntqvBt0L3GWMsBUI2FrNLtML+ACBe94xTRzArgAAAABJRU5ErkJggg==) 50% no-repeat;background-size:15px;position:fixed;bottom:30px;right:10px}
\ No newline at end of file \ No newline at end of file
...@@ -43,4 +43,4 @@ ...@@ -43,4 +43,4 @@
top:0 !important; top:0 !important;
min-height: inherit!important; min-height: inherit!important;
left:0 !important; right:0 !important; bottom:0 !important; margin: auto !important; left:0 !important; right:0 !important; bottom:0 !important; margin: auto !important;
}</style><link href=css/chunk-4d07cf27.e858a48c.css rel=prefetch><link href=css/chunk-5750b049.975722ef.css rel=prefetch><link href=css/chunk-5abde09c.21a06077.css rel=prefetch><link href=css/chunk-5e6009ff.86cb9867.css rel=prefetch><link href=js/chunk-4d07cf27.b29c1461.js rel=prefetch><link href=js/chunk-5750b049.b7cee639.js rel=prefetch><link href=js/chunk-5abde09c.95818801.js rel=prefetch><link href=js/chunk-5e6009ff.0885859d.js rel=prefetch><link href=css/app.19de1655.css rel=preload as=style><link href=css/chunk-vendors.5cea36ab.css rel=preload as=style><link href=js/app.8fe8d256.js rel=preload as=script><link href=js/chunk-vendors.a823ad66.js rel=preload as=script><link href=css/chunk-vendors.5cea36ab.css rel=stylesheet><link href=css/app.19de1655.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.a823ad66.js></script><script src=js/app.8fe8d256.js></script></body></html> }</style><link href=css/chunk-28ddead2.96f83ab8.css rel=prefetch><link href=css/chunk-5750b049.975722ef.css rel=prefetch><link href=css/chunk-5abde09c.21a06077.css rel=prefetch><link href=css/chunk-5e6009ff.86cb9867.css rel=prefetch><link href=js/chunk-28ddead2.25a13c55.js rel=prefetch><link href=js/chunk-5750b049.b7cee639.js rel=prefetch><link href=js/chunk-5abde09c.95818801.js rel=prefetch><link href=js/chunk-5e6009ff.cb477013.js rel=prefetch><link href=css/app.19de1655.css rel=preload as=style><link href=css/chunk-vendors.5cea36ab.css rel=preload as=style><link href=js/app.96f57816.js rel=preload as=script><link href=js/chunk-vendors.a823ad66.js rel=preload as=script><link href=css/chunk-vendors.5cea36ab.css rel=stylesheet><link href=css/app.19de1655.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.a823ad66.js></script><script src=js/app.96f57816.js></script></body></html>
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/App.vue?4cba","webpack:///src/App.vue","webpack:///./src/App.vue?2e55","webpack:///./src/App.vue?bff9","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:///./plugins/help.js","webpack:///./plugins/mimc.js","webpack:///./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","map","webpackContext","req","id","webpackContextResolve","keys","_vm","this","_h","$createElement","_c","_self","staticClass","class","isMobile","attrs","_e","staticRenderFns","computed","created","getLocal","onCheckIsOutSession","methods","runApp","localStorage","clear","$mimcInstance","init","handelUrl","isShowHeader","query","$route","urlQuery","queryToJson","getItem","assign","h","u","userAccount","parseInt","platform","uid","isArtificial","artificialAccount","a","robotAccount","isArtificialString","artificialAccountString","$store","commit","str","substr","split","mapData","temArr","dispatch","state","AmapAPPKey","upLastActivity","user","setItem","Date","now","artificialTime","component","Vue","use","Router","router","base","process","routes","path","redirect","onGetMessages","context","params","pageSize","axios","post","timestamp","page_size","response","newMessage","messages","list","payload","Base64","decode","isLoadMorEnd","oldMsg","concat","callback","catch","log","onGetLocal","APPKey","province","userLocal","city","onCleanRead","onUpdateLastActivity","onToggleWindow","put","onGetCompanyInfo","companyInfo","onGetConfigs","configs","onGetWorkorderTypes","workorderTypes","onGetWorkorders","workorders","updateState","newObj","oldState","robotInfo","isLoadMorLoading","userInfo","isIOS","navigator","userAgent","match","isSafari","indexOf","isJudgeBigScreen","yes","rate","screen","height","width","limit","availHeight","isShowPageLoading","Vuex","Store","getters","mutations","actions","moment","require","Helps","options","$myMethod","$formatUnixDate","unix","format","$formatFromNowDate","$formatDate","$robotNickname","nickname","robots","$uploadFile","secret","file","percent","success","fail","qiniuObservable","fileName","Math","random","getTime","lastIndexOf","fd","FormData","append","res","quality","noCompressIfLarger","maxWidth","qiniu","observable","dist","mimeType","subscribe","next","formData","complete","MimcPlugin","MimcInstance","robot","fetchMIMCTokenResult","_receiveP2PMsgCallback","_statusChangeCallback","_serverAckCallback","_disconnectCallback","fetchMIMCToken","getLocalCacheUser","userString","JSON","parse","token","stringify","getRobot","login","pushMessage","MIMCUser","appId","appAccount","registerP2PMsgHandler","msg","getPayload","registerFetchToken","registerStatusChange","bindResult","errType","errReason","errDesc","registerServerAckHandler","packetId","sequence","timeStamp","errMsg","registerDisconnHandler","mimcInstance","logout","addEventListener","sendMessage","toAccount","messageJson","jsonBase64Msg","encode","toString","Toast","createLocalMessage","transferAccount","months","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","hh","dd","M","MM","y","yy","week","dow","doy","locale","momentLocal","defaults","baseURL","interceptors","config","url","headers","clickToCloseNonZoomable","fullscreenEl","preview","MintUI","productionTip","store","render","App","$mount"],"mappings":"aACE,SAASA,E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,CACV2I,yBAAyB,EACzBC,cAAa,GAEfxN,aAAIC,IAAIwN,IAAS7I,GACjB5E,aAAIC,IAAI0E,GACR3E,aAAIC,IAAIgH,GACRjH,aAAIC,IAAIyN,KACR1N,aAAIoN,OAAOO,eAAgB,EAC3B,IAAI3N,aAAI,CACNG,SACAyN,QACAC,OAAQ,SAAA1P,GAAC,OAAIA,EAAE2P,MACdC,OAAO,S,oCChDV,yBAAqf,EAAG,G","file":"js/app.8fe8d256.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-4d07cf27\":\"b29c1461\",\"chunk-5750b049\":\"b7cee639\",\"chunk-5abde09c\":\"95818801\",\"chunk-5e6009ff\":\"0885859d\"}[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-4d07cf27\":1,\"chunk-5750b049\":1,\"chunk-5abde09c\":1,\"chunk-5e6009ff\":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-4d07cf27\":\"e858a48c\",\"chunk-5750b049\":\"975722ef\",\"chunk-5abde09c\":\"21a06077\",\"chunk-5e6009ff\":\"86cb9867\"}[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","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',[(_vm.isShowPageLoading)?_c('div',{staticClass:\"mini-im-loading\",class:{'pc-mini-im-loading': !_vm.isMobile}},[_c('mt-spinner',{attrs:{\"type\":\"triple-bounce\",\"color\":\"#26a2ff\"}})],1):_vm._e(),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div\n class=\"mini-im-loading\"\n :class=\"{'pc-mini-im-loading': !isMobile}\"\n v-if=\"isShowPageLoading\"\n >\n <mt-spinner type=\"triple-bounce\" color=\"#26a2ff\"></mt-spinner>\n </div>\n <router-view />\n </div>\n</template>\n\n<script>\nimport { mapGetters } from \"vuex\";\nexport default {\n name: \"app\",\n data() {\n return {};\n },\n computed: {\n ...mapGetters([\n \"isShowPageLoading\",\n \"userAccount\",\n \"isArtificial\",\n \"isMobile\",\n \"artificialAccount\",\n \"robotAccount\",\n \"platform\",\n \"userLocal\",\n \"uid\",\n \"uid\",\n ])\n },\n created() {\n this.getLocal();\n setTimeout(() => {\n this.handelUrl()\n this.runApp()\n }, 500);\n // 判断是否被踢出对话\n this.onCheckIsOutSession();\n },\n methods: {\n runApp() {\n const user = this.$mimcInstance.getLocalCacheUser();\n if (\n user &&\n this.userAccount != null &&\n this.userAccount != user.id &&\n this.userAccount != 0\n ) {\n localStorage.clear();\n }\n this.$mimcInstance.init(\n {\n type: 0, // 默认0\n address: this.userLocal,\n uid: this.uid || 0, // 预留字段扩展自己平台业务\n platform: this.platform, // 渠道(平台)\n account_id: this.userAccount || 0 // 用户ID\n // 初始化完成这里返回一个user\n },\n user => {\n\n // 上报活动时间\n this.upLastActivity();\n\n // 获取公司信息\n this.$store.dispatch(\"onGetCompanyInfo\");\n\n // 获取配置信息\n this.$store.dispatch(\"onGetConfigs\");\n\n // 获取工单类型\n this.$store.dispatch(\"onGetWorkorderTypes\");\n\n // 获取工单列表\n this.$store.dispatch(\"onGetWorkorders\");\n\n // 重试\n if (!user) {\n setTimeout(() => this.runApp(), 1000);\n return;\n }\n\n // user\n this.$store.commit(\"updateState\", {\n userAccount: user.id,\n userInfo: user\n });\n\n // robot\n var robot = this.$mimcInstance.robot;\n localStorage.setItem(\"robot_\" + robot.id, JSON.stringify(robot));\n this.$store.commit(\"updateState\", {\n robotAccount: robot.id,\n robotInfo: robot\n });\n\n // 发送一条握手消息给机器人\n var sentHandshake =() =>{\n if (this.$mimcInstance.user == null || !this.$mimcInstance.user.isLogin()) {\n setTimeout(() => sentHandshake(), 1000);\n return\n }\n if (!this.artificialAccount) {\n console.log(\"握手消息\");\n this.$mimcInstance.sendMessage(\n \"handshake\",\n this.robotAccount,\n \"\"\n );\n }\n }\n sentHandshake()\n\n\n }\n );\n },\n // Handelurl\n handelUrl() {\n // url query 介绍\n // h == header 0 不显示 1显示 默认值显示,PC端不显示\n // m == mobile 0 不是移动端 1是移动端\n // p == platform 平台ID(渠道)\n // r == robot 0 当前为为客服 1机器人(对应的账号为a)\n // a == account 当前提供对话服务的账号,即客服账号,或机器人\n // u == userAccount 会话用户账号\n // uid == userId 业务平台的ID\n // c = 1 清除本地缓存\n var isShowHeader,\n isMobile,\n userAccount,\n uid,\n isArtificial,\n artificialAccount,\n robotAccount,\n platform;\n var query = this.$route.query;\n if (query && query.c) localStorage.clear();\n // 获取本地缓存\n var urlQuery = this.queryToJson(localStorage.getItem(\"urlQuery\"));\n if (urlQuery) {\n query = Object.assign({}, urlQuery, query);\n }\n if (query) {\n if (query.h == \"0\") isShowHeader = false;\n if (query.m == \"0\") {\n isMobile = false;\n isShowHeader = false;\n }\n if (query.u) userAccount = parseInt(query.u);\n if (query.p) platform = parseInt(query.p);\n if (query.uid) uid = parseInt(query.uid);\n if (query.r == \"0\") {\n isArtificial = true;\n artificialAccount = parseInt(query.a);\n } else {\n robotAccount = parseInt(query.a);\n }\n }\n var isArtificialString = localStorage.getItem(\"isArtificial\");\n var artificialAccountString = localStorage.getItem(\"artificialAccount\");\n if (isArtificialString == \"true\") {\n isArtificial = true;\n artificialAccount = parseInt(artificialAccountString);\n }\n this.$store.commit(\"updateState\", {\n isShowHeader,\n isMobile,\n userAccount,\n uid,\n isArtificial,\n artificialAccount,\n robotAccount,\n platform\n });\n },\n // query 转json\n queryToJson(str) {\n if (!str || str == \"\") return null;\n var query = str.substr(1, str.length).split(\"&\");\n if (!query) return null;\n var mapData = {};\n for (let i = 0; i < query.length; i++) {\n var temArr = query[i].split(\"=\");\n mapData[temArr[0]] = temArr[1];\n }\n return mapData;\n },\n // 根据IP获取用户地理位置\n getLocal() {\n this.$store.dispatch(\"onGetLocal\", this.$store.state.AmapAPPKey);\n },\n // 上报最后活动时间\n upLastActivity() {\n this.onCheckIsOutSession();\n const user = this.$mimcInstance.getLocalCacheUser();\n if (user) this.$store.dispatch(\"onUpdateLastActivity\");\n if (this.isArtificial) {\n localStorage.setItem(\"artificialTime\", Date.now());\n }\n setTimeout(() => this.upLastActivity(), 1000 * 60);\n },\n // 判断是否被踢出对话\n onCheckIsOutSession() {\n var artificialTime = localStorage.getItem(\"artificialTime\");\n if (artificialTime) {\n artificialTime = parseInt(artificialTime);\n if (Date.now() > artificialTime + 60 * 1000 * 10) {\n this.$store.commit(\"updateState\", {\n isArtificial: false,\n artificialAccount: null\n });\n }\n }\n },\n }\n};\n</script>\n\n<style lang=\"stylus\">\nbody {\n min-width: 240px;\n overflow: hidden;\n height: 100vh;\n background-color: #f3f3f3;\n}\n\n.mint-header.is-fixed {\n height: 50px !important;\n background: -webkit-linear-gradient(to right, #26a2ff, #736cde);\n background: -o-linear-gradient(to right, #26a2ff, #736cde);\n background: -moz-linear-gradient(to right, #26a2ff, #736cde);\n background: linear-gradient(to right, #26a2ff, #736cde);\n\n .mint-header-title {\n font-size: 15px;\n }\n}\n\n.mint-header, .mint-tabbar {\n min-width: 240px;\n z-index: 999999999 !important;\n}\n\n.mint-header .is-right {\n img {\n width: 25px;\n }\n}\n\n.mint-header .mint-button .mintui {\n font-size: 23px !important;\n}\n\n.mini-im-loading {\n display: flex;\n width: 100%;\n position: fixed;\n height: 100vh;\n top: 0;\n left: 0;\n z-index: 9;\n right: 0;\n background-color: #fff !important;\n margin: auto;\n align-items: center;\n justify-content: center;\n\n &.pc-mini-im-loading {\n width: 360px !important;\n height: 360px !important;\n top: -48px;\n bottom: 0;\n margin: auto !important;\n }\n}\n.workorder-create-picker .picker-item{\n font-size 15px\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=27e3705b&\"\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","import Vue from 'vue'\nimport Router from 'vue-router'\n\nVue.use(Router)\nconst router = new Router({\n base: process.env.BASE_URL,\n routes: [\n {\n path: '/',\n redirect: '/index'\n },\n {\n path: '/index',\n name: 'index',\n component: () => import('./views/kefu.vue')\n },\n {\n path: '/workorder',\n name: 'workorder',\n component: () => import('./views/workorder.vue')\n },\n {\n path: '/workorder/create',\n name: 'workorder_create',\n component: () => import('./views/workorder_create.vue')\n },\n {\n path: '/workorder/detail/:id',\n name: 'workorder_detail',\n component: () => import('./views/workorder_detail.vue')\n },\n ]\n})\n\nexport default router\n","import axios from \"axios\";\nexport default {\n // 获取消息列表\n // params.timestamp\n // params.callback\n // params.oldMsg old msgs\n onGetMessages(context, params) {\n const pageSize = 20;\n axios\n .post(\"/public/messages\", {\n timestamp: params.timestamp,\n page_size: pageSize\n })\n .then(response => {\n let newMessage = [];\n let messages = response.data.data.list || [];\n for(var i=0; i<messages.length; i++){\n messages[i].payload = window.Base64.decode(messages[i].payload)\n }\n if (messages.length < pageSize || messages.length == 0) {\n context.commit('updateState', { isLoadMorEnd: true })\n }\n if (params.oldMsg.length == 0 && messages.length > 0) {\n newMessage = response.data.data.list\n } else if (messages.length > 0) {\n newMessage = messages.concat(params.oldMsg);\n }else{\n newMessage = params.oldMsg\n }\n context.commit('updateState', { messages: newMessage })\n if (params.callback) params.callback()\n })\n .catch(error => {\n console.log(error);\n });\n },\n // 获取用户位置\n // APPKey 高德地图web应用key\n onGetLocal(context, APPKey) {\n axios\n .get(\"https://restapi.amap.com/v3/ip?key=\" + APPKey)\n .then(response => {\n if (response.data.province) {\n context.commit('updateState', { userLocal: response.data.province + response.data.city })\n }\n })\n .catch(error => {\n console.error(error);\n });\n },\n // 清除未读消息\n onCleanRead() {\n axios.get(\"/public/clean_read/\");\n },\n // 上报最后活动时间\n onUpdateLastActivity() {\n axios.get(\"/public/activity/\");\n },\n // 用户是否在当前聊天页面\n onToggleWindow(context, window) {\n axios.put(\"/public/window/\", { window });\n },\n // 用户是否在当前聊天页面\n onGetCompanyInfo(context) {\n axios\n .get(\"/public/company\")\n .then(response => {\n context.commit('updateState', { companyInfo: response.data.data })\n })\n .catch(error => {\n console.error(error);\n });\n },\n // 获取配置信息\n onGetConfigs(context){\n axios.get(\"/public/configs\").then(response => {\n context.commit('updateState', { configs: response.data.data })\n });\n },\n // 获取工单类型\n onGetWorkorderTypes(context){\n axios.get(\"/public/workorder/types\").then(response => {\n context.commit('updateState', { workorderTypes: response.data.data })\n });\n },\n // 获取工单列表\n onGetWorkorders(context){\n axios.get(\"/public/workorders\").then(response => {\n context.commit('updateState', { workorders: response.data.data })\n });\n },\n}","export default {\n updateState(state, newObj){\n var oldState = state\n for (var i in newObj) {\n if(newObj[i] == undefined) continue\n oldState[i] = newObj[i]\n }\n\n state = oldState\n\n }\n}","export default {\n platform(state) {\n return state.platform;\n },\n isArtificial(state) {\n return state.isArtificial;\n },\n isShowHeader(state) {\n return state.isShowHeader;\n },\n isMobile(state) {\n return state.isMobile;\n },\n uid(state) {\n return state.uid;\n },\n userAccount(state) {\n return state.userAccount;\n },\n artificialAccount(state) {\n return state.artificialAccount;\n },\n robotInfo(state) {\n return state.robotInfo\n },\n robotAccount(state) {\n return state.robotAccount\n },\n isLoadMorEnd(state) {\n return state.isLoadMorEnd\n },\n messages(state) {\n return state.messages || []\n },\n userLocal(state) {\n return state.userLocal\n },\n isLoadMorLoading(state) {\n return state.isLoadMorLoading\n },\n userInfo(state) {\n return state.userInfo\n },\n companyInfo(state) {\n return state.companyInfo\n },\n configs(state) {\n return state.configs\n },\n isIOS() {\n return !!navigator.userAgent.match(/\\(i[^;]+;( U;)? CPU.+Mac OS X/);\n },\n isSafari() {\n return (\n navigator.userAgent.indexOf(\"Safari\") > -1 &&\n navigator.userAgent.indexOf(\"Chrome\") < 1\n );\n },\n isJudgeBigScreen() {\n let yes = false;\n const rate = window.screen.height / window.screen.width;\n let limit = window.screen.height == window.screen.availHeight ? 1.8 : 1.65;\n if (rate > limit) yes = true;\n return yes;\n },\n isShowPageLoading(state){\n return state.isShowPageLoading\n },\n workorders(state){\n return state.workorders\n },\n workorderTypes(state){\n return state.workorderTypes\n }\n}","export default {\n platform: 5, // 平台(渠道)\n isShowPageLoading: false, // page loading\n isShowHeader: true, // 是否显示header\n isMobile: true, // 是否是移动端\n isArtificial: false, // 是否是人工服务\n uid: 0, // 业务平台的ID\n userAccount: 0, // 用户账号\n artificialAccount: null, // 客服账号ID\n robotInfo: null, // 机器人信息\n robotAccount: null, // 机器人账号ID\n messages: [], // 消息列表\n isLoadMorEnd: false, // 是否已经到末尾\n userLocal: \"\", // 用户地理位置\n AmapAPPKey: \"\", // 高德地图web appkey (请自行去高德地图申请)\n isLoadMorLoading: false, // 是否在加装更多消息loading\n userInfo: {}, // 用户信息\n companyInfo: null, // 公司信息\n configs: {}, // 配置信息\n\n // workorder\n workorders: [], // 工单列表\n workorderTypes: [], // 工单类型列表\n \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 moment = require('moment');\nimport axios from \"axios\";\nimport * as qiniu from \"qiniu-js\";\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.$formatUnixDate = function (unix, format) {\n return moment(parseInt(unix + '000')).format(format)\n }\n // 格式化日期(相对日期)\n Vue.prototype.$formatFromNowDate = function (unix, format = \"YYYY-MM-DD HH:mm\") {\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(format)\n }\n // 格式化日期(相对日期)\n Vue.prototype.$formatDate = function (unix, format = \"YYYY-MM-DD HH:mm:ss\") {\n return moment(parseInt(unix + '000')).format(format)\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 // 上传文件\n Vue.prototype.$uploadFile = function ({ mode,secret, file, percent, success, fail }) {\n var qiniuObservable = null;\n const fileName = parseInt(Math.random() * 10000 * new Date().getTime()) + file.name.substr(file.name.lastIndexOf(\".\"));\n // 系统内置\n if (mode == 1) {\n let fd = new FormData();\n fd.append(\"file\", file);\n fd.append(\"file_name\", fileName);\n axios\n .post(\"/public/upload\", fd)\n .then(res => {\n if (success) success(res.data.data);\n })\n .catch((e) => {\n if (fail) fail(e);\n });\n }\n // 七牛云\n else if (mode == 2) {\n let options = {\n quality: 0.92,\n noCompressIfLarger: true,\n maxWidth: 1500\n };\n qiniu.compressImage(file, options).then(data => {\n const observable = qiniu.upload(\n data.dist,\n fileName,\n secret,\n {},\n {\n mimeType: null\n }\n );\n qiniuObservable = observable.subscribe({\n next: function (res) {\n if (percent) percent(res)\n },\n error: function () {\n // 失败后再次使用FormData上传\n var formData = new FormData();\n formData.append(\"fileType\", \"image\");\n formData.append(\"fileName\", \"file\");\n formData.append(\"key\", fileName);\n formData.append(\"token\", secret);\n formData.append(\"file\", file);\n axios\n .post(\"https://upload.qiniup.com\", formData)\n .then(() => {\n if (success) success(fileName);\n })\n .catch((e) => {\n if (fail) fail(e);\n });\n },\n complete: function (res) {\n if (success) success(res.key);\n }\n });\n });\n }\n\n return qiniuObservable\n\n }\n\n\n}\nexport default Helps;","import axios from \"axios\";\nimport { Toast } from 'mint-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 platform: 5,\n fetchMIMCTokenResult: null,\n _receiveP2PMsgCallback: null,\n _statusChangeCallback: null,\n _serverAckCallback: null,\n _disconnectCallback: null,\n // 初始化\n init(request, callback){\n this.platform = request.platform\n this.fetchMIMCToken(request, callback)\n },\n // 获取本地已经登录过的User\n getLocalCacheUser(){\n const userString = localStorage.getItem(\"user\")\n if(userString) return JSON.parse(userString)\n return null\n },\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 localStorage.setItem(\"user\", JSON.stringify(response.data.data.user))\n localStorage.setItem(\"Token\", response.data.data.user.token)\n console.log(\"MIMC初始化成功\")\n this.getRobot(()=>{\n if(callback) callback(response.data.data.user)\n })\n this.login();\n })\n .catch((error)=>{\n if(callback) callback(null)\n console.log(error)\n })\n },\n // 获取机器人\n getRobot(callback){\n axios.get('/public/robot/'+this.platform)\n .then(response => {\n this.robot = response.data.data\n if(callback)callback()\n }) \n .catch((error)=>{\n console.log(\"mimc初始化失败,请刷新重试\", error)\n })\n },\n // pushMessage\n pushMessage(payload){\n axios.post('/public/message/push', {\n \"msgType\": \"NORMAL_MSG\",\n \"payload\": payload\n })\n .then(response => {\n console.log(response.data)\n if(response.data['code'] != 200){\n setTimeout(()=> this.pushMessage(payload), 300)\n }\n })\n .catch(()=>{\n setTimeout(()=> this.pushMessage(payload), 300)\n })\n },\n // 登录\n login(callback){\n try{\n var fetchMIMCTokenResult = this.fetchMIMCTokenResult\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(\"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 = \"\"){\n if(!this.user){\n Toast({\n message: \"服务异常,请刷新重试!\"\n })\n return\n }\n var 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 \"platform\": this.platform,\n \"transfer_account\": 0,\n \"payload\": payload + ''\n }\n \n var jsonBase64Msg = window.Base64.encode(JSON.stringify(messageJson))\n \n // 过滤不入库\n if(!(type == \"contacts\" || type == \"pong\" || type == \"welcome\" || type == \"handshake\" || type == \"search_knowledge\")){\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 this.pushMessage(window.Base64.encode(jsonBase64Msg))\n }\n\n setTimeout(()=>{\n // 发送给对方\n this.user.sendMessage(toAccount.toString(), jsonBase64Msg);\n // console.log(\"发送给对方\", jsonBase64Msg)\n },150)\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 \"platform\": this.platform,\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 dow: 1,\n doy: 4\n }\n}","import Vue from 'vue'\nimport App from './App.vue'\nimport preview from 'vue-photo-preview'\nimport router from \"./router\"\nimport store from './store'\nimport 'vue-photo-preview/dist/skin.css'\nimport MintUI from 'mint-ui'\nimport 'mint-ui/lib/style.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\naxios.defaults.baseURL = '/api'\n\n// axios添加请求拦截器\naxios.interceptors.request.use(function (config) {\n if(config.url.indexOf(\"https://restapi.amap.com/v3/ip\") != -1){\n return config;\n }\n const token = localStorage.getItem('Token') || \"\"\n config.headers = Object.assign({}, {\n 'Token': token,\n }, config.headers)\n\n return config;\n}, function (error) {\n // eslint-disable-next-line no-console\n console.log(error)\n return Promise.reject(error);\n});\n\nvar options={\n clickToCloseNonZoomable: false,\n fullscreenEl:false, //关闭全屏按钮\n}\nVue.use(preview, options)\nVue.use(Helps)\nVue.use(MimcPlugin)\nVue.use(MintUI)\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,r,c=t[0],i=t[1],u=t[2],l=0,d=[];l<c.length;l++)r=c[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&d.push(o[r][0]),o[r]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);f&&f(t);while(d.length)d.shift()();return s.push.apply(s,u||[]),n()}function n(){for(var e,t=0;t<s.length;t++){for(var n=s[t],a=!0,r=1;r<n.length;r++){var c=n[r];0!==o[c]&&(a=!1)}a&&(s.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},r={app:0},o={app:0},s=[];function c(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-4d07cf27":"b29c1461","chunk-5750b049":"b7cee639","chunk-5abde09c":"95818801","chunk-5e6009ff":"0885859d"}[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-4d07cf27":1,"chunk-5750b049":1,"chunk-5abde09c":1,"chunk-5e6009ff":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-4d07cf27":"e858a48c","chunk-5750b049":"975722ef","chunk-5abde09c":"21a06077","chunk-5e6009ff":"86cb9867"}[e]+".css",o=i.p+a,s=document.getElementsByTagName("link"),c=0;c<s.length;c++){var u=s[c],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===a||l===o))return t()}var d=document.getElementsByTagName("style");for(c=0;c<d.length;c++){u=d[c],l=u.getAttribute("data-href");if(l===a||l===o)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||o,s=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");s.code="CSS_CHUNK_LOAD_FAILED",s.request=a,delete r[e],f.parentNode.removeChild(f),n(s)},f.href=o;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){r[e]=0})));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var s=new Promise((function(t,n){a=o[e]=[t,n]}));t.push(a[2]=s);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 d=new Error;u=function(t){l.onerror=l.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",d.name="ChunkLoadError",d.type=a,d.request=r,n[1](d)}o[e]=void 0}};var f=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 d=0;d<u.length;d++)t(u[d]);var f=l;s.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},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 r(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id="4678"},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isShowPageLoading?n("div",{staticClass:"mini-im-loading",class:{"pc-mini-im-loading":!e.isMobile}},[n("mt-spinner",{attrs:{type:"triple-bounce",color:"#26a2ff"}})],1):e._e(),n("router-view")],1)},o=[],s=(n("8e6e"),n("ac6a"),n("456d"),n("28a5"),n("bd86")),c=n("2f62");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={name:"app",data:function(){return{}},computed:u({},Object(c["b"])(["isShowPageLoading","userAccount","isArtificial","isMobile","artificialAccount","robotAccount","platform","userLocal","uid","uid"])),created:function(){var e=this;this.getLocal(),setTimeout((function(){e.handelUrl(),e.runApp()}),500),this.onCheckIsOutSession()},methods:{runApp:function(){var e=this,t=this.$mimcInstance.getLocalCacheUser();t&&null!=this.userAccount&&this.userAccount!=t.id&&0!=this.userAccount&&localStorage.clear(),this.$mimcInstance.init({type:0,address:this.userLocal,uid:this.uid||0,platform:this.platform,account_id:this.userAccount||0},(function(t){if(e.upLastActivity(),e.$store.dispatch("onGetCompanyInfo"),e.$store.dispatch("onGetConfigs"),e.$store.dispatch("onGetWorkorderTypes"),e.$store.dispatch("onGetWorkorders"),t){e.$store.commit("updateState",{userAccount:t.id,userInfo:t});var n=e.$mimcInstance.robot;localStorage.setItem("robot_"+n.id,JSON.stringify(n)),e.$store.commit("updateState",{robotAccount:n.id,robotInfo:n});var a=function t(){null!=e.$mimcInstance.user&&e.$mimcInstance.user.isLogin()?e.artificialAccount||(console.log("握手消息"),e.$mimcInstance.sendMessage("handshake",e.robotAccount,"")):setTimeout((function(){return t()}),1e3)};a()}else setTimeout((function(){return e.runApp()}),1e3)}))},handelUrl:function(){var e,t,n,a,r,o,s,c,i=this.$route.query;i&&i.c&&localStorage.clear();var u=this.queryToJson(localStorage.getItem("urlQuery"));u&&(i=Object.assign({},u,i)),i&&("0"==i.h&&(e=!1),"0"==i.m&&(t=!1,e=!1),i.u&&(n=parseInt(i.u)),i.p&&(c=parseInt(i.p)),i.uid&&(a=parseInt(i.uid)),"0"==i.r?(r=!0,o=parseInt(i.a)):s=parseInt(i.a));var l=localStorage.getItem("isArtificial"),d=localStorage.getItem("artificialAccount");"true"==l&&(r=!0,o=parseInt(d)),this.$store.commit("updateState",{isShowHeader:e,isMobile:t,userAccount:n,uid:a,isArtificial:r,artificialAccount:o,robotAccount:s,platform:c})},queryToJson:function(e){if(!e||""==e)return null;var t=e.substr(1,e.length).split("&");if(!t)return null;for(var n={},a=0;a<t.length;a++){var r=t[a].split("=");n[r[0]]=r[1]}return n},getLocal:function(){this.$store.dispatch("onGetLocal",this.$store.state.AmapAPPKey)},upLastActivity:function(){var e=this;this.onCheckIsOutSession();var t=this.$mimcInstance.getLocalCacheUser();t&&this.$store.dispatch("onUpdateLastActivity"),this.isArtificial&&localStorage.setItem("artificialTime",Date.now()),setTimeout((function(){return e.upLastActivity()}),6e4)},onCheckIsOutSession:function(){var e=localStorage.getItem("artificialTime");e&&(e=parseInt(e),Date.now()>e+6e5&&this.$store.commit("updateState",{isArtificial:!1,artificialAccount:null}))}}},d=l,f=(n("7faf"),n("2877")),p=Object(f["a"])(d,r,o,!1,null,null,null),m=p.exports,h=n("d1d4"),b=n.n(h),g=n("8c4f");a["default"].use(g["a"]);var j=new g["a"]({base:"",routes:[{path:"/",redirect:"/index"},{path:"/index",name:"index",component:function(){return n.e("chunk-5e6009ff").then(n.bind(null,"e0a0"))}},{path:"/workorder",name:"workorder",component:function(){return n.e("chunk-4d07cf27").then(n.bind(null,"fb09"))}},{path:"/workorder/create",name:"workorder_create",component:function(){return n.e("chunk-5abde09c").then(n.bind(null,"ede1"))}},{path:"/workorder/detail/:id",name:"workorder_detail",component:function(){return n.e("chunk-5750b049").then(n.bind(null,"4033"))}}]}),k=j,v=n("bc3a"),y=n.n(v),w={onGetMessages:function(e,t){var n=20;y.a.post("/public/messages",{timestamp:t.timestamp,page_size:n}).then((function(a){for(var r=[],o=a.data.data.list||[],s=0;s<o.length;s++)o[s].payload=window.Base64.decode(o[s].payload);(o.length<n||0==o.length)&&e.commit("updateState",{isLoadMorEnd:!0}),r=0==t.oldMsg.length&&o.length>0?a.data.data.list:o.length>0?o.concat(t.oldMsg):t.oldMsg,e.commit("updateState",{messages:r}),t.callback&&t.callback()})).catch((function(e){console.log(e)}))},onGetLocal:function(e,t){y.a.get("https://restapi.amap.com/v3/ip?key="+t).then((function(t){t.data.province&&e.commit("updateState",{userLocal:t.data.province+t.data.city})})).catch((function(e){console.error(e)}))},onCleanRead:function(){y.a.get("/public/clean_read/")},onUpdateLastActivity:function(){y.a.get("/public/activity/")},onToggleWindow:function(e,t){y.a.put("/public/window/",{window:t})},onGetCompanyInfo:function(e){y.a.get("/public/company").then((function(t){e.commit("updateState",{companyInfo:t.data.data})})).catch((function(e){console.error(e)}))},onGetConfigs:function(e){y.a.get("/public/configs").then((function(t){e.commit("updateState",{configs:t.data.data})}))},onGetWorkorderTypes:function(e){y.a.get("/public/workorder/types").then((function(t){e.commit("updateState",{workorderTypes:t.data.data})}))},onGetWorkorders:function(e){y.a.get("/public/workorders").then((function(t){e.commit("updateState",{workorders:t.data.data})}))}},_={updateState:function(e,t){var n=e;for(var a in t)void 0!=t[a]&&(n[a]=t[a]);e=n}},M=(n("4917"),{platform:function(e){return e.platform},isArtificial:function(e){return e.isArtificial},isShowHeader:function(e){return e.isShowHeader},isMobile:function(e){return e.isMobile},uid:function(e){return e.uid},userAccount:function(e){return e.userAccount},artificialAccount:function(e){return e.artificialAccount},robotInfo:function(e){return e.robotInfo},robotAccount:function(e){return e.robotAccount},isLoadMorEnd:function(e){return e.isLoadMorEnd},messages:function(e){return e.messages||[]},userLocal:function(e){return e.userLocal},isLoadMorLoading:function(e){return e.isLoadMorLoading},userInfo:function(e){return e.userInfo},companyInfo:function(e){return e.companyInfo},configs:function(e){return e.configs},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(){var e=!1,t=window.screen.height/window.screen.width,n=window.screen.height==window.screen.availHeight?1.8:1.65;return t>n&&(e=!0),e},isShowPageLoading:function(e){return e.isShowPageLoading},workorders:function(e){return e.workorders},workorderTypes:function(e){return e.workorderTypes}}),I={platform:5,isShowPageLoading:!1,isShowHeader:!0,isMobile:!0,isArtificial:!1,uid:0,userAccount:0,artificialAccount:null,robotInfo:null,robotAccount:null,messages:[],isLoadMorEnd:!1,userLocal:"",AmapAPPKey:"",isLoadMorLoading:!1,userInfo:{},companyInfo:null,configs:{},workorders:[],workorderTypes:[]};a["default"].use(c["a"]);var S=new c["a"].Store({state:I,getters:M,mutations:_,actions:w}),A=(n("394c"),n("76a0")),L=n.n(A),C=(n("aa35"),n("7f7f"),n("cea2")),T=n("c1df"),O={install:function(e,t){e.prototype.$myMethod=function(){console.log(t)},e.prototype.$formatUnixDate=function(e,t){return T(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 T().format("YYYYMMDD")==T(parseInt(e+"000")).format("YYYYMMDD")?"今天 "+T(parseInt(e+"000")).format("HH:mm"):T(parseInt(e+"000")).format(t)},e.prototype.$formatDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";return T(parseInt(e+"000")).format(t)},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},e.prototype.$uploadFile=function(e){var t=e.mode,n=e.secret,a=e.file,r=e.percent,o=e.success,s=e.fail,c=null,i=parseInt(1e4*Math.random()*(new Date).getTime())+a.name.substr(a.name.lastIndexOf("."));if(1==t){var u=new FormData;u.append("file",a),u.append("file_name",i),y.a.post("/public/upload",u).then((function(e){o&&o(e.data.data)})).catch((function(e){s&&s(e)}))}else if(2==t){var l={quality:.92,noCompressIfLarger:!0,maxWidth:1500};C["compressImage"](a,l).then((function(e){var t=C["upload"](e.dist,i,n,{},{mimeType:null});c=t.subscribe({next:function(e){r&&r(e)},error:function(){var e=new FormData;e.append("fileType","image"),e.append("fileName","file"),e.append("key",i),e.append("token",n),e.append("file",a),y.a.post("https://upload.qiniup.com",e).then((function(){o&&o(i)})).catch((function(e){s&&s(e)}))},complete:function(e){o&&o(e.key)}})}))}return c}}},D=O,Y=(n("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)},getLocalCacheUser:function(){var e=localStorage.getItem("user");return e?JSON.parse(e):null},fetchMIMCToken:function(e,t){var n=this;y.a.post("/public/register",e).then((function(e){n.fetchMIMCTokenResult=e.data.data.token,localStorage.setItem("user",JSON.stringify(e.data.data.user)),localStorage.setItem("Token",e.data.data.user.token),console.log("MIMC初始化成功"),n.getRobot((function(){t&&t(e.data.data.user)})),n.login()})).catch((function(e){t&&t(null),console.log(e)}))},getRobot:function(e){var t=this;y.a.get("/public/robot/"+this.platform).then((function(n){t.robot=n.data.data,e&&e()})).catch((function(e){console.log("mimc初始化失败,请刷新重试",e)}))},pushMessage:function(e){var t=this;y.a.post("/public/message/push",{msgType:"NORMAL_MSG",payload:e}).then((function(n){console.log(n.data),200!=n.data["code"]&&setTimeout((function(){return t.pushMessage(e)}),300)})).catch((function(){setTimeout((function(){return t.pushMessage(e)}),300)}))},login:function(e){var t=this;try{var n=this.fetchMIMCTokenResult;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,r){t._statusChangeCallback&&t._statusChangeCallback(e,n,a,r)})),this.user.registerServerAckHandler((function(e,n,a,r){t._serverAckCallback&&t._serverAckCallback(e,n,a,r)})),this.user.registerDisconnHandler((function(){t._disconnectCallback&&t._disconnectCallback()})),this.user.login(),window.mimcInstance=this,e&&e(),console.log("MIMC登录成功")}catch(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]:"";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,platform:this.platform,transfer_account:0,payload:a+""},o=window.Base64.encode(JSON.stringify(r));return"contacts"!=e&&"pong"!=e&&"welcome"!=e&&"handshake"!=e&&"search_knowledge"!=e&&this.pushMessage(window.Base64.encode(o)),setTimeout((function(){n.user.sendMessage(t.toString(),o)}),150),r}Object(A["Toast"])({message:"服务异常,请刷新重试!"})},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,r={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(a),payload:n+""};return r}}}}),P=Y,$={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}},z=n("c1df");z.locale("zh-cn",$),y.a.defaults.baseURL="/api",y.a.interceptors.request.use((function(e){if(-1!=e.url.indexOf("https://restapi.amap.com/v3/ip"))return e;var t=localStorage.getItem("Token")||"";return e.headers=Object.assign({},{Token:t},e.headers),e}),(function(e){return console.log(e),Promise.reject(e)}));var H={clickToCloseNonZoomable:!1,fullscreenEl:!1};a["default"].use(b.a,H),a["default"].use(D),a["default"].use(P),a["default"].use(L.a),a["default"].config.productionTip=!1,new a["default"]({router:k,store:S,render:function(e){return e(m)}}).$mount("#app")},"7faf":function(e,t,n){"use strict";var a=n("8fba"),r=n.n(a);r.a},"8fba":function(e,t,n){}}); (function(e){function t(t){for(var a,r,c=t[0],i=t[1],u=t[2],l=0,d=[];l<c.length;l++)r=c[l],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&d.push(o[r][0]),o[r]=0;for(a in i)Object.prototype.hasOwnProperty.call(i,a)&&(e[a]=i[a]);f&&f(t);while(d.length)d.shift()();return s.push.apply(s,u||[]),n()}function n(){for(var e,t=0;t<s.length;t++){for(var n=s[t],a=!0,r=1;r<n.length;r++){var c=n[r];0!==o[c]&&(a=!1)}a&&(s.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},r={app:0},o={app:0},s=[];function c(e){return i.p+"js/"+({}[e]||e)+"."+{"chunk-28ddead2":"25a13c55","chunk-5750b049":"b7cee639","chunk-5abde09c":"95818801","chunk-5e6009ff":"cb477013"}[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-28ddead2":1,"chunk-5750b049":1,"chunk-5abde09c":1,"chunk-5e6009ff":1};r[e]?t.push(r[e]):0!==r[e]&&n[e]&&t.push(r[e]=new Promise((function(t,n){for(var a="css/"+({}[e]||e)+"."+{"chunk-28ddead2":"96f83ab8","chunk-5750b049":"975722ef","chunk-5abde09c":"21a06077","chunk-5e6009ff":"86cb9867"}[e]+".css",o=i.p+a,s=document.getElementsByTagName("link"),c=0;c<s.length;c++){var u=s[c],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===a||l===o))return t()}var d=document.getElementsByTagName("style");for(c=0;c<d.length;c++){u=d[c],l=u.getAttribute("data-href");if(l===a||l===o)return t()}var f=document.createElement("link");f.rel="stylesheet",f.type="text/css",f.onload=t,f.onerror=function(t){var a=t&&t.target&&t.target.src||o,s=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");s.code="CSS_CHUNK_LOAD_FAILED",s.request=a,delete r[e],f.parentNode.removeChild(f),n(s)},f.href=o;var p=document.getElementsByTagName("head")[0];p.appendChild(f)})).then((function(){r[e]=0})));var a=o[e];if(0!==a)if(a)t.push(a[2]);else{var s=new Promise((function(t,n){a=o[e]=[t,n]}));t.push(a[2]=s);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 d=new Error;u=function(t){l.onerror=l.onload=null,clearTimeout(f);var n=o[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),r=t&&t.target&&t.target.src;d.message="Loading chunk "+e+" failed.\n("+a+": "+r+")",d.name="ChunkLoadError",d.type=a,d.request=r,n[1](d)}o[e]=void 0}};var f=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 d=0;d<u.length;d++)t(u[d]);var f=l;s.push([0,"chunk-vendors"]),n()})({0:function(e,t,n){e.exports=n("56d7")},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 r(e){var t=o(e);return n(t)}function o(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}r.keys=function(){return Object.keys(a)},r.resolve=o,e.exports=r,r.id="4678"},"56d7":function(e,t,n){"use strict";n.r(t);n("cadf"),n("551c"),n("f751"),n("097d");var a=n("2b0e"),r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[e.isShowPageLoading?n("div",{staticClass:"mini-im-loading",class:{"pc-mini-im-loading":!e.isMobile}},[n("mt-spinner",{attrs:{type:"triple-bounce",color:"#26a2ff"}})],1):e._e(),n("router-view")],1)},o=[],s=(n("8e6e"),n("ac6a"),n("456d"),n("28a5"),n("bd86")),c=n("2f62");function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var l={name:"app",data:function(){return{}},computed:u({},Object(c["b"])(["isShowPageLoading","userAccount","isArtificial","isMobile","artificialAccount","robotAccount","platform","userLocal","uid","uid"])),created:function(){var e=this;this.getLocal(),setTimeout((function(){e.handelUrl(),e.runApp()}),500),this.onCheckIsOutSession()},methods:{runApp:function(){var e=this,t=this.$mimcInstance.getLocalCacheUser();t&&null!=this.userAccount&&this.userAccount!=t.id&&0!=this.userAccount&&localStorage.clear(),this.$mimcInstance.init({type:0,address:this.userLocal,uid:this.uid||0,platform:this.platform,account_id:this.userAccount||0},(function(t){if(e.upLastActivity(),e.$store.dispatch("onGetCompanyInfo"),e.$store.dispatch("onGetConfigs"),e.$store.dispatch("onGetWorkorderTypes"),e.$store.dispatch("onGetWorkorders"),t){e.$store.commit("updateState",{userAccount:t.id,userInfo:t});var n=e.$mimcInstance.robot;localStorage.setItem("robot_"+n.id,JSON.stringify(n)),e.$store.commit("updateState",{robotAccount:n.id,robotInfo:n});var a=function t(){null!=e.$mimcInstance.user&&e.$mimcInstance.user.isLogin()?e.artificialAccount||(console.log("握手消息"),e.$mimcInstance.sendMessage("handshake",e.robotAccount,"")):setTimeout((function(){return t()}),1e3)};a()}else setTimeout((function(){return e.runApp()}),1e3)}))},handelUrl:function(){var e,t,n,a,r,o,s,c,i=this.$route.query;i&&i.c&&localStorage.clear();var u=this.queryToJson(localStorage.getItem("urlQuery"));u&&(i=Object.assign({},u,i)),i&&("0"==i.h&&(e=!1),"0"==i.m&&(t=!1,e=!1),i.u&&(n=parseInt(i.u)),i.p&&(c=parseInt(i.p)),i.uid&&(a=parseInt(i.uid)),"0"==i.r?(r=!0,o=parseInt(i.a)):s=parseInt(i.a));var l=localStorage.getItem("isArtificial"),d=localStorage.getItem("artificialAccount");"true"==l&&(r=!0,o=parseInt(d)),this.$store.commit("updateState",{isShowHeader:e,isMobile:t,userAccount:n,uid:a,isArtificial:r,artificialAccount:o,robotAccount:s,platform:c})},queryToJson:function(e){if(!e||""==e)return null;var t=e.substr(1,e.length).split("&");if(!t)return null;for(var n={},a=0;a<t.length;a++){var r=t[a].split("=");n[r[0]]=r[1]}return n},getLocal:function(){this.$store.dispatch("onGetLocal",this.$store.state.AmapAPPKey)},upLastActivity:function(){var e=this;this.onCheckIsOutSession();var t=this.$mimcInstance.getLocalCacheUser();t&&this.$store.dispatch("onUpdateLastActivity"),this.isArtificial&&localStorage.setItem("artificialTime",Date.now()),setTimeout((function(){return e.upLastActivity()}),6e4)},onCheckIsOutSession:function(){var e=localStorage.getItem("artificialTime");e&&(e=parseInt(e),Date.now()>e+6e5&&this.$store.commit("updateState",{isArtificial:!1,artificialAccount:null}))}}},d=l,f=(n("7faf"),n("2877")),p=Object(f["a"])(d,r,o,!1,null,null,null),m=p.exports,h=n("d1d4"),b=n.n(h),g=n("8c4f");a["default"].use(g["a"]);var j=new g["a"]({base:"",routes:[{path:"/",redirect:"/index"},{path:"/index",name:"index",component:function(){return n.e("chunk-5e6009ff").then(n.bind(null,"e0a0"))}},{path:"/workorder",name:"workorder",component:function(){return n.e("chunk-28ddead2").then(n.bind(null,"fb09"))}},{path:"/workorder/create",name:"workorder_create",component:function(){return n.e("chunk-5abde09c").then(n.bind(null,"ede1"))}},{path:"/workorder/detail/:id",name:"workorder_detail",component:function(){return n.e("chunk-5750b049").then(n.bind(null,"4033"))}}]}),k=j,v=n("bc3a"),y=n.n(v),w={onGetMessages:function(e,t){var n=20;y.a.post("/public/messages",{timestamp:t.timestamp,page_size:n}).then((function(a){for(var r=[],o=a.data.data.list||[],s=0;s<o.length;s++)o[s].payload=window.Base64.decode(o[s].payload);(o.length<n||0==o.length)&&e.commit("updateState",{isLoadMorEnd:!0}),r=0==t.oldMsg.length&&o.length>0?a.data.data.list:o.length>0?o.concat(t.oldMsg):t.oldMsg,e.commit("updateState",{messages:r}),t.callback&&t.callback()})).catch((function(e){console.log(e)}))},onGetLocal:function(e,t){y.a.get("https://restapi.amap.com/v3/ip?key="+t).then((function(t){t.data.province&&e.commit("updateState",{userLocal:t.data.province+t.data.city})})).catch((function(e){console.error(e)}))},onCleanRead:function(){y.a.get("/public/clean_read/")},onUpdateLastActivity:function(){y.a.get("/public/activity/")},onToggleWindow:function(e,t){y.a.put("/public/window/",{window:t})},onGetCompanyInfo:function(e){y.a.get("/public/company").then((function(t){e.commit("updateState",{companyInfo:t.data.data})})).catch((function(e){console.error(e)}))},onGetConfigs:function(e){y.a.get("/public/configs").then((function(t){e.commit("updateState",{configs:t.data.data})}))},onGetWorkorderTypes:function(e){y.a.get("/public/workorder/types").then((function(t){e.commit("updateState",{workorderTypes:t.data.data})}))},onGetWorkorders:function(e){y.a.get("/public/workorders").then((function(t){e.commit("updateState",{workorders:t.data.data})}))}},_={updateState:function(e,t){var n=e;for(var a in t)void 0!=t[a]&&(n[a]=t[a]);e=n}},M=(n("4917"),{platform:function(e){return e.platform},isArtificial:function(e){return e.isArtificial},isShowHeader:function(e){return e.isShowHeader},isMobile:function(e){return e.isMobile},uid:function(e){return e.uid},userAccount:function(e){return e.userAccount},artificialAccount:function(e){return e.artificialAccount},robotInfo:function(e){return e.robotInfo},robotAccount:function(e){return e.robotAccount},isLoadMorEnd:function(e){return e.isLoadMorEnd},messages:function(e){return e.messages||[]},userLocal:function(e){return e.userLocal},isLoadMorLoading:function(e){return e.isLoadMorLoading},userInfo:function(e){return e.userInfo},companyInfo:function(e){return e.companyInfo},configs:function(e){return e.configs},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(){var e=!1,t=window.screen.height/window.screen.width,n=window.screen.height==window.screen.availHeight?1.8:1.65;return t>n&&(e=!0),e},isShowPageLoading:function(e){return e.isShowPageLoading},workorders:function(e){return e.workorders},workorderTypes:function(e){return e.workorderTypes}}),I={platform:5,isShowPageLoading:!1,isShowHeader:!0,isMobile:!0,isArtificial:!1,uid:0,userAccount:0,artificialAccount:null,robotInfo:null,robotAccount:null,messages:[],isLoadMorEnd:!1,userLocal:"",AmapAPPKey:"73ef1dc5c5ea086e7330b95aede42953",isLoadMorLoading:!1,userInfo:{},companyInfo:null,configs:{},workorders:[],workorderTypes:[]};a["default"].use(c["a"]);var S=new c["a"].Store({state:I,getters:M,mutations:_,actions:w}),A=(n("394c"),n("76a0")),L=n.n(A),C=(n("aa35"),n("7f7f"),n("cea2")),T=n("c1df"),O={install:function(e,t){e.prototype.$myMethod=function(){console.log(t)},e.prototype.$formatUnixDate=function(e,t){return T(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 T().format("YYYYMMDD")==T(parseInt(e+"000")).format("YYYYMMDD")?"今天 "+T(parseInt(e+"000")).format("HH:mm"):T(parseInt(e+"000")).format(t)},e.prototype.$formatDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"YYYY-MM-DD HH:mm:ss";return T(parseInt(e+"000")).format(t)},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},e.prototype.$uploadFile=function(e){var t=e.mode,n=e.secret,a=e.file,r=e.percent,o=e.success,s=e.fail,c=null,i=parseInt(1e4*Math.random()*(new Date).getTime())+a.name.substr(a.name.lastIndexOf("."));if(1==t){var u=new FormData;u.append("file",a),u.append("file_name",i),y.a.post("/public/upload",u).then((function(e){o&&o(e.data.data)})).catch((function(e){s&&s(e)}))}else if(2==t){var l={quality:.92,noCompressIfLarger:!0,maxWidth:1500};C["compressImage"](a,l).then((function(e){var t=C["upload"](e.dist,i,n,{},{mimeType:null});c=t.subscribe({next:function(e){r&&r(e)},error:function(){var e=new FormData;e.append("fileType","image"),e.append("fileName","file"),e.append("key",i),e.append("token",n),e.append("file",a),y.a.post("https://upload.qiniup.com",e).then((function(){o&&o(i)})).catch((function(e){s&&s(e)}))},complete:function(e){o&&o(e.key)}})}))}return c}}},D=O,Y=(n("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)},getLocalCacheUser:function(){var e=localStorage.getItem("user");return e?JSON.parse(e):null},fetchMIMCToken:function(e,t){var n=this;y.a.post("/public/register",e).then((function(e){n.fetchMIMCTokenResult=e.data.data.token,localStorage.setItem("user",JSON.stringify(e.data.data.user)),localStorage.setItem("Token",e.data.data.user.token),console.log("MIMC初始化成功"),n.getRobot((function(){t&&t(e.data.data.user)})),n.login()})).catch((function(e){t&&t(null),console.log(e)}))},getRobot:function(e){var t=this;y.a.get("/public/robot/"+this.platform).then((function(n){t.robot=n.data.data,e&&e()})).catch((function(e){console.log("mimc初始化失败,请刷新重试",e)}))},pushMessage:function(e){var t=this;y.a.post("/public/message/push",{msgType:"NORMAL_MSG",payload:e}).then((function(n){console.log(n.data),200!=n.data["code"]&&setTimeout((function(){return t.pushMessage(e)}),300)})).catch((function(){setTimeout((function(){return t.pushMessage(e)}),300)}))},login:function(e){var t=this;try{var n=this.fetchMIMCTokenResult;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,r){t._statusChangeCallback&&t._statusChangeCallback(e,n,a,r)})),this.user.registerServerAckHandler((function(e,n,a,r){t._serverAckCallback&&t._serverAckCallback(e,n,a,r)})),this.user.registerDisconnHandler((function(){t._disconnectCallback&&t._disconnectCallback()})),this.user.login(),window.mimcInstance=this,e&&e(),console.log("MIMC登录成功")}catch(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]:"";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,platform:this.platform,transfer_account:0,payload:a+""},o=window.Base64.encode(JSON.stringify(r));return"contacts"!=e&&"pong"!=e&&"welcome"!=e&&"handshake"!=e&&"search_knowledge"!=e&&this.pushMessage(window.Base64.encode(o)),setTimeout((function(){n.user.sendMessage(t.toString(),o)}),150),r}Object(A["Toast"])({message:"服务异常,请刷新重试!"})},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,r={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(a),payload:n+""};return r}}}}),P=Y,$={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}},z=n("c1df");z.locale("zh-cn",$),y.a.defaults.baseURL="/api",y.a.interceptors.request.use((function(e){if(-1!=e.url.indexOf("https://restapi.amap.com/v3/ip"))return e;var t=localStorage.getItem("Token")||"";return e.headers=Object.assign({},{Token:t},e.headers),e}),(function(e){return console.log(e),Promise.reject(e)}));var H={clickToCloseNonZoomable:!1,fullscreenEl:!1};a["default"].use(b.a,H),a["default"].use(D),a["default"].use(P),a["default"].use(L.a),a["default"].config.productionTip=!1,new a["default"]({router:k,store:S,render:function(e){return e(m)}}).$mount("#app")},"7faf":function(e,t,n){"use strict";var a=n("8fba"),r=n.n(a);r.a},"8fba":function(e,t,n){}});
//# sourceMappingURL=app.8fe8d256.js.map //# sourceMappingURL=app.96f57816.js.map
\ No newline at end of file \ No newline at end of file
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/App.vue?4cba","webpack:///src/App.vue","webpack:///./src/App.vue?2e55","webpack:///./src/App.vue?bff9","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:///./plugins/help.js","webpack:///./plugins/mimc.js","webpack:///./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","map","webpackContext","req","id","webpackContextResolve","keys","_vm","this","_h","$createElement","_c","_self","staticClass","class","isMobile","attrs","_e","staticRenderFns","computed","created","getLocal","onCheckIsOutSession","methods","runApp","localStorage","clear","$mimcInstance","init","handelUrl","isShowHeader","query","$route","urlQuery","queryToJson","getItem","assign","h","u","userAccount","parseInt","platform","uid","isArtificial","artificialAccount","a","robotAccount","isArtificialString","artificialAccountString","$store","commit","str","substr","split","mapData","temArr","dispatch","state","AmapAPPKey","upLastActivity","user","setItem","Date","now","artificialTime","component","Vue","use","Router","router","base","process","routes","path","redirect","onGetMessages","context","params","pageSize","axios","post","timestamp","page_size","response","newMessage","messages","list","payload","Base64","decode","isLoadMorEnd","oldMsg","concat","callback","catch","log","onGetLocal","APPKey","province","userLocal","city","onCleanRead","onUpdateLastActivity","onToggleWindow","put","onGetCompanyInfo","companyInfo","onGetConfigs","configs","onGetWorkorderTypes","workorderTypes","onGetWorkorders","workorders","updateState","newObj","oldState","robotInfo","isLoadMorLoading","userInfo","isIOS","navigator","userAgent","match","isSafari","indexOf","isJudgeBigScreen","yes","rate","screen","height","width","limit","availHeight","isShowPageLoading","Vuex","Store","getters","mutations","actions","moment","require","Helps","options","$myMethod","$formatUnixDate","unix","format","$formatFromNowDate","$formatDate","$robotNickname","nickname","robots","$uploadFile","secret","file","percent","success","fail","qiniuObservable","fileName","Math","random","getTime","lastIndexOf","fd","FormData","append","res","quality","noCompressIfLarger","maxWidth","qiniu","observable","dist","mimeType","subscribe","next","formData","complete","MimcPlugin","MimcInstance","robot","fetchMIMCTokenResult","_receiveP2PMsgCallback","_statusChangeCallback","_serverAckCallback","_disconnectCallback","fetchMIMCToken","getLocalCacheUser","userString","JSON","parse","token","stringify","getRobot","login","pushMessage","MIMCUser","appId","appAccount","registerP2PMsgHandler","msg","getPayload","registerFetchToken","registerStatusChange","bindResult","errType","errReason","errDesc","registerServerAckHandler","packetId","sequence","timeStamp","errMsg","registerDisconnHandler","mimcInstance","logout","addEventListener","sendMessage","toAccount","messageJson","jsonBase64Msg","encode","toString","Toast","createLocalMessage","transferAccount","months","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","hh","dd","M","MM","y","yy","week","dow","doy","locale","momentLocal","defaults","baseURL","interceptors","config","url","headers","clickToCloseNonZoomable","fullscreenEl","preview","MintUI","productionTip","store","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,O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,EAAQ,QACrBD,EAAOsI,OAAO,QAASC,GAIvBnM,IAAMoM,SAASC,QAAU,OAGzBrM,IAAMsM,aAAa7U,QAAQ2H,KAAI,SAAUmN,GACvC,IAA4D,GAAzDA,EAAOC,IAAI3J,QAAQ,kCACpB,OAAO0J,EAET,IAAMtF,EAAQvK,aAAaU,QAAQ,UAAY,GAK/C,OAJAmP,EAAOE,QAAUjY,OAAO6I,OAAO,GAAI,CACjC,MAAS4J,GACRsF,EAAOE,SAEHF,KACN,SAAU3T,GAGX,OADAiC,QAAQmG,IAAIpI,GACLtC,QAAQE,OAAOoC,MAGxB,IAAImL,EAAQ,CACV2I,yBAAyB,EACzBC,cAAa,GAEfxN,aAAIC,IAAIwN,IAAS7I,GACjB5E,aAAIC,IAAI0E,GACR3E,aAAIC,IAAIgH,GACRjH,aAAIC,IAAIyN,KACR1N,aAAIoN,OAAOO,eAAgB,EAC3B,IAAI3N,aAAI,CACNG,SACAyN,QACAC,OAAQ,SAAA1P,GAAC,OAAIA,EAAE2P,MACdC,OAAO,S,oCChDV,yBAAqf,EAAG,G","file":"js/app.96f57816.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-28ddead2\":\"25a13c55\",\"chunk-5750b049\":\"b7cee639\",\"chunk-5abde09c\":\"95818801\",\"chunk-5e6009ff\":\"cb477013\"}[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-28ddead2\":1,\"chunk-5750b049\":1,\"chunk-5abde09c\":1,\"chunk-5e6009ff\":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-28ddead2\":\"96f83ab8\",\"chunk-5750b049\":\"975722ef\",\"chunk-5abde09c\":\"21a06077\",\"chunk-5e6009ff\":\"86cb9867\"}[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","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',[(_vm.isShowPageLoading)?_c('div',{staticClass:\"mini-im-loading\",class:{'pc-mini-im-loading': !_vm.isMobile}},[_c('mt-spinner',{attrs:{\"type\":\"triple-bounce\",\"color\":\"#26a2ff\"}})],1):_vm._e(),_c('router-view')],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div>\n <div\n class=\"mini-im-loading\"\n :class=\"{'pc-mini-im-loading': !isMobile}\"\n v-if=\"isShowPageLoading\"\n >\n <mt-spinner type=\"triple-bounce\" color=\"#26a2ff\"></mt-spinner>\n </div>\n <router-view />\n </div>\n</template>\n\n<script>\nimport { mapGetters } from \"vuex\";\nexport default {\n name: \"app\",\n data() {\n return {};\n },\n computed: {\n ...mapGetters([\n \"isShowPageLoading\",\n \"userAccount\",\n \"isArtificial\",\n \"isMobile\",\n \"artificialAccount\",\n \"robotAccount\",\n \"platform\",\n \"userLocal\",\n \"uid\",\n \"uid\",\n ])\n },\n created() {\n this.getLocal();\n setTimeout(() => {\n this.handelUrl()\n this.runApp()\n }, 500);\n // 判断是否被踢出对话\n this.onCheckIsOutSession();\n },\n methods: {\n runApp() {\n const user = this.$mimcInstance.getLocalCacheUser();\n if (\n user &&\n this.userAccount != null &&\n this.userAccount != user.id &&\n this.userAccount != 0\n ) {\n localStorage.clear();\n }\n this.$mimcInstance.init(\n {\n type: 0, // 默认0\n address: this.userLocal,\n uid: this.uid || 0, // 预留字段扩展自己平台业务\n platform: this.platform, // 渠道(平台)\n account_id: this.userAccount || 0 // 用户ID\n // 初始化完成这里返回一个user\n },\n user => {\n\n // 上报活动时间\n this.upLastActivity();\n\n // 获取公司信息\n this.$store.dispatch(\"onGetCompanyInfo\");\n\n // 获取配置信息\n this.$store.dispatch(\"onGetConfigs\");\n\n // 获取工单类型\n this.$store.dispatch(\"onGetWorkorderTypes\");\n\n // 获取工单列表\n this.$store.dispatch(\"onGetWorkorders\");\n\n // 重试\n if (!user) {\n setTimeout(() => this.runApp(), 1000);\n return;\n }\n\n // user\n this.$store.commit(\"updateState\", {\n userAccount: user.id,\n userInfo: user\n });\n\n // robot\n var robot = this.$mimcInstance.robot;\n localStorage.setItem(\"robot_\" + robot.id, JSON.stringify(robot));\n this.$store.commit(\"updateState\", {\n robotAccount: robot.id,\n robotInfo: robot\n });\n\n // 发送一条握手消息给机器人\n var sentHandshake =() =>{\n if (this.$mimcInstance.user == null || !this.$mimcInstance.user.isLogin()) {\n setTimeout(() => sentHandshake(), 1000);\n return\n }\n if (!this.artificialAccount) {\n console.log(\"握手消息\");\n this.$mimcInstance.sendMessage(\n \"handshake\",\n this.robotAccount,\n \"\"\n );\n }\n }\n sentHandshake()\n\n\n }\n );\n },\n // Handelurl\n handelUrl() {\n // url query 介绍\n // h == header 0 不显示 1显示 默认值显示,PC端不显示\n // m == mobile 0 不是移动端 1是移动端\n // p == platform 平台ID(渠道)\n // r == robot 0 当前为为客服 1机器人(对应的账号为a)\n // a == account 当前提供对话服务的账号,即客服账号,或机器人\n // u == userAccount 会话用户账号\n // uid == userId 业务平台的ID\n // c = 1 清除本地缓存\n var isShowHeader,\n isMobile,\n userAccount,\n uid,\n isArtificial,\n artificialAccount,\n robotAccount,\n platform;\n var query = this.$route.query;\n if (query && query.c) localStorage.clear();\n // 获取本地缓存\n var urlQuery = this.queryToJson(localStorage.getItem(\"urlQuery\"));\n if (urlQuery) {\n query = Object.assign({}, urlQuery, query);\n }\n if (query) {\n if (query.h == \"0\") isShowHeader = false;\n if (query.m == \"0\") {\n isMobile = false;\n isShowHeader = false;\n }\n if (query.u) userAccount = parseInt(query.u);\n if (query.p) platform = parseInt(query.p);\n if (query.uid) uid = parseInt(query.uid);\n if (query.r == \"0\") {\n isArtificial = true;\n artificialAccount = parseInt(query.a);\n } else {\n robotAccount = parseInt(query.a);\n }\n }\n var isArtificialString = localStorage.getItem(\"isArtificial\");\n var artificialAccountString = localStorage.getItem(\"artificialAccount\");\n if (isArtificialString == \"true\") {\n isArtificial = true;\n artificialAccount = parseInt(artificialAccountString);\n }\n this.$store.commit(\"updateState\", {\n isShowHeader,\n isMobile,\n userAccount,\n uid,\n isArtificial,\n artificialAccount,\n robotAccount,\n platform\n });\n },\n // query 转json\n queryToJson(str) {\n if (!str || str == \"\") return null;\n var query = str.substr(1, str.length).split(\"&\");\n if (!query) return null;\n var mapData = {};\n for (let i = 0; i < query.length; i++) {\n var temArr = query[i].split(\"=\");\n mapData[temArr[0]] = temArr[1];\n }\n return mapData;\n },\n // 根据IP获取用户地理位置\n getLocal() {\n this.$store.dispatch(\"onGetLocal\", this.$store.state.AmapAPPKey);\n },\n // 上报最后活动时间\n upLastActivity() {\n this.onCheckIsOutSession();\n const user = this.$mimcInstance.getLocalCacheUser();\n if (user) this.$store.dispatch(\"onUpdateLastActivity\");\n if (this.isArtificial) {\n localStorage.setItem(\"artificialTime\", Date.now());\n }\n setTimeout(() => this.upLastActivity(), 1000 * 60);\n },\n // 判断是否被踢出对话\n onCheckIsOutSession() {\n var artificialTime = localStorage.getItem(\"artificialTime\");\n if (artificialTime) {\n artificialTime = parseInt(artificialTime);\n if (Date.now() > artificialTime + 60 * 1000 * 10) {\n this.$store.commit(\"updateState\", {\n isArtificial: false,\n artificialAccount: null\n });\n }\n }\n },\n }\n};\n</script>\n\n<style lang=\"stylus\">\nbody {\n min-width: 240px;\n overflow: hidden;\n height: 100vh;\n background-color: #f3f3f3;\n}\n\n.mint-header.is-fixed {\n height: 50px !important;\n background: -webkit-linear-gradient(to right, #26a2ff, #736cde);\n background: -o-linear-gradient(to right, #26a2ff, #736cde);\n background: -moz-linear-gradient(to right, #26a2ff, #736cde);\n background: linear-gradient(to right, #26a2ff, #736cde);\n\n .mint-header-title {\n font-size: 15px;\n }\n}\n\n.mint-header, .mint-tabbar {\n min-width: 240px;\n z-index: 999999999 !important;\n}\n\n.mint-header .is-right {\n img {\n width: 25px;\n }\n}\n\n.mint-header .mint-button .mintui {\n font-size: 23px !important;\n}\n\n.mini-im-loading {\n display: flex;\n width: 100%;\n position: fixed;\n height: 100vh;\n top: 0;\n left: 0;\n z-index: 9;\n right: 0;\n background-color: #fff !important;\n margin: auto;\n align-items: center;\n justify-content: center;\n\n &.pc-mini-im-loading {\n width: 360px !important;\n height: 360px !important;\n top: -48px;\n bottom: 0;\n margin: auto !important;\n }\n}\n.workorder-create-picker .picker-item{\n font-size 15px\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=27e3705b&\"\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","import Vue from 'vue'\nimport Router from 'vue-router'\n\nVue.use(Router)\nconst router = new Router({\n base: process.env.BASE_URL,\n routes: [\n {\n path: '/',\n redirect: '/index'\n },\n {\n path: '/index',\n name: 'index',\n component: () => import('./views/kefu.vue')\n },\n {\n path: '/workorder',\n name: 'workorder',\n component: () => import('./views/workorder.vue')\n },\n {\n path: '/workorder/create',\n name: 'workorder_create',\n component: () => import('./views/workorder_create.vue')\n },\n {\n path: '/workorder/detail/:id',\n name: 'workorder_detail',\n component: () => import('./views/workorder_detail.vue')\n },\n ]\n})\n\nexport default router\n","import axios from \"axios\";\nexport default {\n // 获取消息列表\n // params.timestamp\n // params.callback\n // params.oldMsg old msgs\n onGetMessages(context, params) {\n const pageSize = 20;\n axios\n .post(\"/public/messages\", {\n timestamp: params.timestamp,\n page_size: pageSize\n })\n .then(response => {\n let newMessage = [];\n let messages = response.data.data.list || [];\n for(var i=0; i<messages.length; i++){\n messages[i].payload = window.Base64.decode(messages[i].payload)\n }\n if (messages.length < pageSize || messages.length == 0) {\n context.commit('updateState', { isLoadMorEnd: true })\n }\n if (params.oldMsg.length == 0 && messages.length > 0) {\n newMessage = response.data.data.list\n } else if (messages.length > 0) {\n newMessage = messages.concat(params.oldMsg);\n }else{\n newMessage = params.oldMsg\n }\n context.commit('updateState', { messages: newMessage })\n if (params.callback) params.callback()\n })\n .catch(error => {\n console.log(error);\n });\n },\n // 获取用户位置\n // APPKey 高德地图web应用key\n onGetLocal(context, APPKey) {\n axios\n .get(\"https://restapi.amap.com/v3/ip?key=\" + APPKey)\n .then(response => {\n if (response.data.province) {\n context.commit('updateState', { userLocal: response.data.province + response.data.city })\n }\n })\n .catch(error => {\n console.error(error);\n });\n },\n // 清除未读消息\n onCleanRead() {\n axios.get(\"/public/clean_read/\");\n },\n // 上报最后活动时间\n onUpdateLastActivity() {\n axios.get(\"/public/activity/\");\n },\n // 用户是否在当前聊天页面\n onToggleWindow(context, window) {\n axios.put(\"/public/window/\", { window });\n },\n // 用户是否在当前聊天页面\n onGetCompanyInfo(context) {\n axios\n .get(\"/public/company\")\n .then(response => {\n context.commit('updateState', { companyInfo: response.data.data })\n })\n .catch(error => {\n console.error(error);\n });\n },\n // 获取配置信息\n onGetConfigs(context){\n axios.get(\"/public/configs\").then(response => {\n context.commit('updateState', { configs: response.data.data })\n });\n },\n // 获取工单类型\n onGetWorkorderTypes(context){\n axios.get(\"/public/workorder/types\").then(response => {\n context.commit('updateState', { workorderTypes: response.data.data })\n });\n },\n // 获取工单列表\n onGetWorkorders(context){\n axios.get(\"/public/workorders\").then(response => {\n context.commit('updateState', { workorders: response.data.data })\n });\n },\n}","export default {\n updateState(state, newObj){\n var oldState = state\n for (var i in newObj) {\n if(newObj[i] == undefined) continue\n oldState[i] = newObj[i]\n }\n\n state = oldState\n\n }\n}","export default {\n platform(state) {\n return state.platform;\n },\n isArtificial(state) {\n return state.isArtificial;\n },\n isShowHeader(state) {\n return state.isShowHeader;\n },\n isMobile(state) {\n return state.isMobile;\n },\n uid(state) {\n return state.uid;\n },\n userAccount(state) {\n return state.userAccount;\n },\n artificialAccount(state) {\n return state.artificialAccount;\n },\n robotInfo(state) {\n return state.robotInfo\n },\n robotAccount(state) {\n return state.robotAccount\n },\n isLoadMorEnd(state) {\n return state.isLoadMorEnd\n },\n messages(state) {\n return state.messages || []\n },\n userLocal(state) {\n return state.userLocal\n },\n isLoadMorLoading(state) {\n return state.isLoadMorLoading\n },\n userInfo(state) {\n return state.userInfo\n },\n companyInfo(state) {\n return state.companyInfo\n },\n configs(state) {\n return state.configs\n },\n isIOS() {\n return !!navigator.userAgent.match(/\\(i[^;]+;( U;)? CPU.+Mac OS X/);\n },\n isSafari() {\n return (\n navigator.userAgent.indexOf(\"Safari\") > -1 &&\n navigator.userAgent.indexOf(\"Chrome\") < 1\n );\n },\n isJudgeBigScreen() {\n let yes = false;\n const rate = window.screen.height / window.screen.width;\n let limit = window.screen.height == window.screen.availHeight ? 1.8 : 1.65;\n if (rate > limit) yes = true;\n return yes;\n },\n isShowPageLoading(state){\n return state.isShowPageLoading\n },\n workorders(state){\n return state.workorders\n },\n workorderTypes(state){\n return state.workorderTypes\n }\n}","export default {\n platform: 5, // 平台(渠道)\n isShowPageLoading: false, // page loading\n isShowHeader: true, // 是否显示header\n isMobile: true, // 是否是移动端\n isArtificial: false, // 是否是人工服务\n uid: 0, // 业务平台的ID\n userAccount: 0, // 用户账号\n artificialAccount: null, // 客服账号ID\n robotInfo: null, // 机器人信息\n robotAccount: null, // 机器人账号ID\n messages: [], // 消息列表\n isLoadMorEnd: false, // 是否已经到末尾\n userLocal: \"\", // 用户地理位置\n AmapAPPKey: \"73ef1dc5c5ea086e7330b95aede42953\", // 高德地图web appkey\n isLoadMorLoading: false, // 是否在加装更多消息loading\n userInfo: {}, // 用户信息\n companyInfo: null, // 公司信息\n configs: {}, // 配置信息\n\n // workorder\n workorders: [], // 工单列表\n workorderTypes: [], // 工单类型列表\n \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 moment = require('moment');\nimport axios from \"axios\";\nimport * as qiniu from \"qiniu-js\";\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.$formatUnixDate = function (unix, format) {\n return moment(parseInt(unix + '000')).format(format)\n }\n // 格式化日期(相对日期)\n Vue.prototype.$formatFromNowDate = function (unix, format = \"YYYY-MM-DD HH:mm\") {\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(format)\n }\n // 格式化日期(相对日期)\n Vue.prototype.$formatDate = function (unix, format = \"YYYY-MM-DD HH:mm:ss\") {\n return moment(parseInt(unix + '000')).format(format)\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 // 上传文件\n Vue.prototype.$uploadFile = function ({ mode,secret, file, percent, success, fail }) {\n var qiniuObservable = null;\n const fileName = parseInt(Math.random() * 10000 * new Date().getTime()) + file.name.substr(file.name.lastIndexOf(\".\"));\n // 系统内置\n if (mode == 1) {\n let fd = new FormData();\n fd.append(\"file\", file);\n fd.append(\"file_name\", fileName);\n axios\n .post(\"/public/upload\", fd)\n .then(res => {\n if (success) success(res.data.data);\n })\n .catch((e) => {\n if (fail) fail(e);\n });\n }\n // 七牛云\n else if (mode == 2) {\n let options = {\n quality: 0.92,\n noCompressIfLarger: true,\n maxWidth: 1500\n };\n qiniu.compressImage(file, options).then(data => {\n const observable = qiniu.upload(\n data.dist,\n fileName,\n secret,\n {},\n {\n mimeType: null\n }\n );\n qiniuObservable = observable.subscribe({\n next: function (res) {\n if (percent) percent(res)\n },\n error: function () {\n // 失败后再次使用FormData上传\n var formData = new FormData();\n formData.append(\"fileType\", \"image\");\n formData.append(\"fileName\", \"file\");\n formData.append(\"key\", fileName);\n formData.append(\"token\", secret);\n formData.append(\"file\", file);\n axios\n .post(\"https://upload.qiniup.com\", formData)\n .then(() => {\n if (success) success(fileName);\n })\n .catch((e) => {\n if (fail) fail(e);\n });\n },\n complete: function (res) {\n if (success) success(res.key);\n }\n });\n });\n }\n\n return qiniuObservable\n\n }\n\n\n}\nexport default Helps;","import axios from \"axios\";\nimport { Toast } from 'mint-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 platform: 5,\n fetchMIMCTokenResult: null,\n _receiveP2PMsgCallback: null,\n _statusChangeCallback: null,\n _serverAckCallback: null,\n _disconnectCallback: null,\n // 初始化\n init(request, callback){\n this.platform = request.platform\n this.fetchMIMCToken(request, callback)\n },\n // 获取本地已经登录过的User\n getLocalCacheUser(){\n const userString = localStorage.getItem(\"user\")\n if(userString) return JSON.parse(userString)\n return null\n },\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 localStorage.setItem(\"user\", JSON.stringify(response.data.data.user))\n localStorage.setItem(\"Token\", response.data.data.user.token)\n console.log(\"MIMC初始化成功\")\n this.getRobot(()=>{\n if(callback) callback(response.data.data.user)\n })\n this.login();\n })\n .catch((error)=>{\n if(callback) callback(null)\n console.log(error)\n })\n },\n // 获取机器人\n getRobot(callback){\n axios.get('/public/robot/'+this.platform)\n .then(response => {\n this.robot = response.data.data\n if(callback)callback()\n }) \n .catch((error)=>{\n console.log(\"mimc初始化失败,请刷新重试\", error)\n })\n },\n // pushMessage\n pushMessage(payload){\n axios.post('/public/message/push', {\n \"msgType\": \"NORMAL_MSG\",\n \"payload\": payload\n })\n .then(response => {\n console.log(response.data)\n if(response.data['code'] != 200){\n setTimeout(()=> this.pushMessage(payload), 300)\n }\n })\n .catch(()=>{\n setTimeout(()=> this.pushMessage(payload), 300)\n })\n },\n // 登录\n login(callback){\n try{\n var fetchMIMCTokenResult = this.fetchMIMCTokenResult\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(\"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 = \"\"){\n if(!this.user){\n Toast({\n message: \"服务异常,请刷新重试!\"\n })\n return\n }\n var 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 \"platform\": this.platform,\n \"transfer_account\": 0,\n \"payload\": payload + ''\n }\n \n var jsonBase64Msg = window.Base64.encode(JSON.stringify(messageJson))\n \n // 过滤不入库\n if(!(type == \"contacts\" || type == \"pong\" || type == \"welcome\" || type == \"handshake\" || type == \"search_knowledge\")){\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 this.pushMessage(window.Base64.encode(jsonBase64Msg))\n }\n\n setTimeout(()=>{\n // 发送给对方\n this.user.sendMessage(toAccount.toString(), jsonBase64Msg);\n // console.log(\"发送给对方\", jsonBase64Msg)\n },150)\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 \"platform\": this.platform,\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 dow: 1,\n doy: 4\n }\n}","import Vue from 'vue'\nimport App from './App.vue'\nimport preview from 'vue-photo-preview'\nimport router from \"./router\"\nimport store from './store'\nimport 'vue-photo-preview/dist/skin.css'\nimport MintUI from 'mint-ui'\nimport 'mint-ui/lib/style.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\naxios.defaults.baseURL = '/api'\n\n// axios添加请求拦截器\naxios.interceptors.request.use(function (config) {\n if(config.url.indexOf(\"https://restapi.amap.com/v3/ip\") != -1){\n return config;\n }\n const token = localStorage.getItem('Token') || \"\"\n config.headers = Object.assign({}, {\n 'Token': token,\n }, config.headers)\n\n return config;\n}, function (error) {\n // eslint-disable-next-line no-console\n console.log(error)\n return Promise.reject(error);\n});\n\nvar options={\n clickToCloseNonZoomable: false,\n fullscreenEl:false, //关闭全屏按钮\n}\nVue.use(preview, options)\nVue.use(Helps)\nVue.use(MimcPlugin)\nVue.use(MintUI)\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-28ddead2"],{3563:function(t,e,A){"use strict";var r=A("b9df"),o=A.n(r);o.a},"7d02":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAEMklEQVR4Xu2dbXbaMBBFFVZWnyysYWEcJRtzetzQpglftuaJ8jSXv8jD6M3Vk4SFeSq8UivwlLr3dL4AQHIIAAAAkiuQvPs4AAAkVyB593EAAEiuQPLu4wAAkFyB5N3HAQDAR4Fa67tDttM02Qwsm0SXwgOAHn8A0GtacIAOouIAfUTFATroigN0EPWKA7x2+ri1YX98bwgAa6Xb2O7CIvB1mqZpYyhJ81prLaUAgETNFUEAYIVIG5tI1gC11mUULKPhf7wezgHuIcI8z/vn5+eX6GcBQEDBS1NAIOTqSwHgUyocYDU2pw1xgIB4OMBRPNYAAYoaL3WZAtR79JMtVynlEaeA7v22AECV5J9B4rINLGW5HTBJIKi1/iylnKz2Vdp2XQOokrwFQKOLqi4750oyAA6Hw8tut1sg+PJSaTsCAKpCKuPIAMAB/imLy3kApoBj0VQ2dWMKUI5cVSwcYFESAOI8MQUwBbALiI8j3wg4gG/tJJkDgERG3yAA4Fs7SeYAIJHRNwgA+NZOkjkASGT0DQIAvrWTZA4AEhl9gwCAb+0kmQOAREbfIADgWztJ5gAgkdE3CAD41k6SOQBIZPQNkhKAS532LePvzJtOCaUE4NJJWAD4VEB12uohTwXjAJ+FTukAAAAAZ8/BMQXkmgLO/eLGmYF9y8/FUk4BzlVW5w4AakXN4gGAWcHU6QKAWlGzeABgVjB1ugCgVtQsHgCYFUydLgCoFTWLBwBmBVOnCwBqRc3iAYBZwdTppgTg2OnlCSM3b1fvdrv3a+2W988VZbnm0nvqIh7jvXEvYKWy3A5OfjuYE0GDALA84XKapv3Kgf+3GQAMAkDruTUAGAQAHOCL9+U7FdwKALuAQRygdQrYumYYuX3K7wFGLujWvgHAVsUGaw8AgxV0a3esAWhdBG4VaeT21gCwCIyjaQ0ADgAATV8Fx2UbJ4K1AzAFxEEEgLiG1hGsAWANEGfPGoBRp4DjfwZvqu48z28tf/duDcCoDtDy93WtgwEANo2z+zQGgG86X/r38Fbq71PG9k8BAAA4e9L4GlKtg8F6CmjtdPvYvM+VOAAO0PT8onS/Cxh1F3Afn/n4FOspAADiqABAXEPrCABgXb548tYAjLoLiJd1fQQAWK/VkC2tAWARGGfSGgCmgOQA4AAAwJnAIAPWUwAOEKw+3wTGBXSPYO0ALALj+F15XpJker35FK41Xch2IGSNJqo21g7AGiCOgTUATAHJAcABAECyUInL6BvBegrAAeLgWe8CAKAfAKr1VddtYCnlNS4BEUopJ4dQXQCgep0UAIBOwrqEBQCXSnXKEwA6CWsUVrLF7r0INNLTK9VHdAAvBQfItuWnZt+7LXGAAbRM2wUASFv6j44DAAAkVyB593EAAEiuQPLu4wAAkFyB5N3HAQAguQLJu48DJAfgF+1bWNtJgJDcAAAAAElFTkSuQmCC"},b9df:function(t,e,A){},fb09:function(t,e,A){"use strict";A.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"container"},[t.isShowHeader?r("mt-header",{attrs:{fixed:"",title:"我的工单"}},[r("div",{attrs:{slot:"left"},slot:"left"},[r("mt-button",{attrs:{icon:"back"},on:{click:function(e){return t.$router.go(-1)}}})],1),r("mt-button",{attrs:{slot:"right"},on:{click:function(e){return t.$router.push("/workorder/create")}},slot:"right"},[r("span",[t._v("创建工单")])])],1):t._e(),r("div",{staticClass:"list",class:{"hide-header":!t.isShowHeader}},[t.workorders.length<=0?r("div",{staticClass:"no-data"},[r("img",{attrs:{src:A("7d02"),alt:""}}),r("div",[t._v("没有相关记录~")])]):r("ul",[t._l(t.workorders,(function(e,A){return[r("li",{key:A,on:{click:function(A){return t.$router.push("/workorder/detail/"+e.id)}}},[r("div",{staticClass:"title"},[t._v(t._s(e.title))]),r("div",[r("span",{staticClass:"type"},[t._v(t._s(t.getTypeName(e.tid)))]),r("span",{staticClass:"date"},[t._v(t._s(t.$formatDate(e.create_at)))])]),1==e.status?r("i",{staticStyle:{color:"#8bc34a"}},[t._v("已回复")]):t._e(),3==e.status?r("i",{staticStyle:{color:"#ccc"}},[t._v("已结束")]):t._e(),0==e.status?r("i",{staticStyle:{color:"#FF9800"}},[t._v("待处理")]):t._e(),2==e.status?r("i",{staticStyle:{color:"#FF9800"}},[t._v("待回复")]):t._e()])]}))],2)]),t.isShowHeader?t._e():r("div",{staticClass:"floting",on:{click:function(e){return t.$router.push("/workorder/create")}}})],1)},o=[],n=(A("8e6e"),A("ac6a"),A("456d"),A("bd86")),s=A("2f62");function i(t,e){var A=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),A.push.apply(A,r)}return A}function c(t){for(var e=1;e<arguments.length;e++){var A=null!=arguments[e]?arguments[e]:{};e%2?i(Object(A),!0).forEach((function(e){Object(n["a"])(t,e,A[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(A)):i(Object(A)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(A,e))}))}return t}var a={name:"workorder",components:{},data:function(){return{}},created:function(){document.title="我的工单"},computed:c({},Object(s["b"])(["isShowHeader","workorders","workorderTypes"])),mounted:function(){this.$store.dispatch("onGetWorkorderTypes"),this.$store.dispatch("onGetWorkorders")},methods:{getTypeName:function(t){try{return this.workorderTypes.filter((function(e){return e.id==t}))[0].title}catch(e){return console.log(e),""}}}},u=a,d=(A("3563"),A("2877")),l=Object(d["a"])(u,r,o,!1,null,"6ca82fb2",null);e["default"]=l.exports}}]);
//# sourceMappingURL=chunk-28ddead2.25a13c55.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/views/workorder.vue?edfc","webpack:///./src/assets/workorder.png","webpack:///./src/views/workorder.vue?3e24","webpack:///src/views/workorder.vue","webpack:///./src/views/workorder.vue?206b","webpack:///./src/views/workorder.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","on","$event","$router","go","push","_v","_e","class","isShowHeader","workorders","length","_l","item","index","key","id","_s","title","getTypeName","tid","$formatDate","create_at","status","staticStyle","staticRenderFns","name","components","data","created","document","computed","mounted","$store","dispatch","methods","console","log","e","component"],"mappings":"gHAAA,yBAAwiB,EAAG,G,qBCA3iBA,EAAOC,QAAU,8/C,gECAjB,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,aAAa,CAAEN,EAAgB,aAAEI,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQ,GAAG,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACG,MAAM,CAAC,KAAO,QAAQC,KAAK,QAAQ,CAACJ,EAAG,YAAY,CAACG,MAAM,CAAC,KAAO,QAAQE,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIW,QAAQC,IAAI,QAAQ,GAAGR,EAAG,YAAY,CAACG,MA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d,EAAIe,KAAqB,GAAfM,EAAKU,OAAa3B,EAAG,IAAI,CAAC4B,YAAY,CAAC,MAAQ,YAAY,CAAChC,EAAIc,GAAG,SAASd,EAAIe,YAAW,KAAOf,EAAIiB,aAA4HjB,EAAIe,KAAlHX,EAAG,MAAM,CAACE,YAAY,UAAUG,GAAG,CAAC,MAAQ,SAASC,GAAQ,OAAOV,EAAIW,QAAQE,KAAK,0BAAmC,IAC/mDoB,EAAkB,G,ooBCoCtB,OACEC,KAAM,YACNC,WAAY,GACZC,KAHF,WAII,MAAO,IAETC,QANF,WAOIC,SAASZ,MAAQ,QAEnBa,SAAU,EAAZ,GACA,gBACA,eACA,aACA,oBAGEC,QAhBF,WAkBIvC,KAAKwC,OAAOC,SAAS,uBAErBzC,KAAKwC,OAAOC,SAAS,oBAEvBC,QAAS,CACPhB,YADJ,SACA,GACM,IACN,0EACA,SAEQ,OADAiB,QAAQC,IAAIC,GACL,OCjEuW,I,wBCQlXC,EAAY,eACd,EACAhD,EACAkC,GACA,EACA,KACA,WACA,MAIa,aAAAc,E","file":"js/chunk-28ddead2.25a13c55.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!./workorder.vue?vue&type=style&index=0&id=6ca82fb2&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!./workorder.vue?vue&type=style&index=0&id=6ca82fb2&lang=stylus&scoped=true&\"","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAEMklEQVR4Xu2dbXbaMBBFFVZWnyysYWEcJRtzetzQpglftuaJ8jSXv8jD6M3Vk4SFeSq8UivwlLr3dL4AQHIIAAAAkiuQvPs4AAAkVyB593EAAEiuQPLu4wAAkFyB5N3HAQDAR4Fa67tDttM02Qwsm0SXwgOAHn8A0GtacIAOouIAfUTFATroigN0EPWKA7x2+ri1YX98bwgAa6Xb2O7CIvB1mqZpYyhJ81prLaUAgETNFUEAYIVIG5tI1gC11mUULKPhf7wezgHuIcI8z/vn5+eX6GcBQEDBS1NAIOTqSwHgUyocYDU2pw1xgIB4OMBRPNYAAYoaL3WZAtR79JMtVynlEaeA7v22AECV5J9B4rINLGW5HTBJIKi1/iylnKz2Vdp2XQOokrwFQKOLqi4750oyAA6Hw8tut1sg+PJSaTsCAKpCKuPIAMAB/imLy3kApoBj0VQ2dWMKUI5cVSwcYFESAOI8MQUwBbALiI8j3wg4gG/tJJkDgERG3yAA4Fs7SeYAIJHRNwgA+NZOkjkASGT0DQIAvrWTZA4AEhl9gwCAb+0kmQOAREbfIADgWztJ5gAgkdE3CAD41k6SOQBIZPQNkhKAS532LePvzJtOCaUE4NJJWAD4VEB12uohTwXjAJ+FTukAAAAAZ8/BMQXkmgLO/eLGmYF9y8/FUk4BzlVW5w4AakXN4gGAWcHU6QKAWlGzeABgVjB1ugCgVtQsHgCYFUydLgCoFTWLBwBmBVOnCwBqRc3iAYBZwdTppgTg2OnlCSM3b1fvdrv3a+2W988VZbnm0nvqIh7jvXEvYKWy3A5OfjuYE0GDALA84XKapv3Kgf+3GQAMAkDruTUAGAQAHOCL9+U7FdwKALuAQRygdQrYumYYuX3K7wFGLujWvgHAVsUGaw8AgxV0a3esAWhdBG4VaeT21gCwCIyjaQ0ADgAATV8Fx2UbJ4K1AzAFxEEEgLiG1hGsAWANEGfPGoBRp4DjfwZvqu48z28tf/duDcCoDtDy93WtgwEANo2z+zQGgG86X/r38Fbq71PG9k8BAAA4e9L4GlKtg8F6CmjtdPvYvM+VOAAO0PT8onS/Cxh1F3Afn/n4FOspAADiqABAXEPrCABgXb548tYAjLoLiJd1fQQAWK/VkC2tAWARGGfSGgCmgOQA4AAAwJnAIAPWUwAOEKw+3wTGBXSPYO0ALALj+F15XpJker35FK41Xch2IGSNJqo21g7AGiCOgTUATAHJAcABAECyUInL6BvBegrAAeLgWe8CAKAfAKr1VddtYCnlNS4BEUopJ4dQXQCgep0UAIBOwrqEBQCXSnXKEwA6CWsUVrLF7r0INNLTK9VHdAAvBQfItuWnZt+7LXGAAbRM2wUASFv6j44DAAAkVyB593EAAEiuQPLu4wAAkFyB5N3HAQAguQLJu48DJAfgF+1bWNtJgJDcAAAAAElFTkSuQmCC\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\"},[(_vm.isShowHeader)?_c('mt-header',{attrs:{\"fixed\":\"\",\"title\":\"我的工单\"}},[_c('div',{attrs:{\"slot\":\"left\"},slot:\"left\"},[_c('mt-button',{attrs:{\"icon\":\"back\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}})],1),_c('mt-button',{attrs:{\"slot\":\"right\"},on:{\"click\":function($event){return _vm.$router.push('/workorder/create')}},slot:\"right\"},[_c('span',[_vm._v(\"创建工单\")])])],1):_vm._e(),_c('div',{staticClass:\"list\",class:{'hide-header': !_vm.isShowHeader}},[(_vm.workorders.length <= 0)?_c('div',{staticClass:\"no-data\"},[_c('img',{attrs:{\"src\":require(\"../assets/workorder.png\"),\"alt\":\"\"}}),_c('div',[_vm._v(\"没有相关记录~\")])]):_c('ul',[_vm._l((_vm.workorders),function(item,index){return [_c('li',{key:index,on:{\"click\":function($event){return _vm.$router.push('/workorder/detail/'+item.id)}}},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(item.title))]),_c('div',[_c('span',{staticClass:\"type\"},[_vm._v(_vm._s(_vm.getTypeName(item.tid)))]),_c('span',{staticClass:\"date\"},[_vm._v(_vm._s(_vm.$formatDate(item.create_at)))])]),(item.status == 1)?_c('i',{staticStyle:{\"color\":\"#8bc34a\"}},[_vm._v(\"已回复\")]):_vm._e(),(item.status == 3)?_c('i',{staticStyle:{\"color\":\"#ccc\"}},[_vm._v(\"已结束\")]):_vm._e(),(item.status == 0)?_c('i',{staticStyle:{\"color\":\"#FF9800\"}},[_vm._v(\"待处理\")]):_vm._e(),(item.status == 2)?_c('i',{staticStyle:{\"color\":\"#FF9800\"}},[_vm._v(\"待回复\")]):_vm._e()])]})],2)]),(!_vm.isShowHeader)?_c('div',{staticClass:\"floting\",on:{\"click\":function($event){return _vm.$router.push('/workorder/create')}}}):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"container\">\n \n <mt-header v-if=\"isShowHeader\" fixed title=\"我的工单\">\n <div slot=\"left\">\n <mt-button @click=\"$router.go(-1)\" icon=\"back\"></mt-button>\n </div>\n <mt-button @click=\"$router.push('/workorder/create')\" slot=\"right\">\n <span>创建工单</span>\n </mt-button>\n </mt-header>\n <div class=\"list\" :class=\"{'hide-header': !isShowHeader}\">\n <div class=\"no-data\" v-if=\"workorders.length <= 0\">\n <img src=\"../assets/workorder.png\" alt=\"\">\n <div>没有相关记录~</div>\n </div>\n <ul v-else>\n <template v-for=\"(item,index) in workorders\">\n <li :key=\"index\" @click=\"$router.push('/workorder/detail/'+item.id)\">\n <div class=\"title\">{{item.title}}</div>\n <div>\n <span class=\"type\">{{getTypeName(item.tid)}}</span>\n <span class=\"date\">{{$formatDate(item.create_at)}}</span>\n </div>\n <i v-if=\"item.status == 1\" style=\"color:#8bc34a;\">已回复</i>\n <i v-if=\"item.status == 3\" style=\"color:#ccc\">已结束</i>\n <i v-if=\"item.status == 0\" style=\"color:#FF9800\">待处理</i>\n <i v-if=\"item.status == 2\" style=\"color:#FF9800\">待回复</i>\n </li>\n </template>\n </ul> \n </div>\n <div v-if=\"!isShowHeader\" class=\"floting\" @click=\"$router.push('/workorder/create')\"></div>\n </div>\n</template>\n<script>\nimport { mapGetters } from 'vuex'\nexport default {\n name: \"workorder\",\n components: {},\n data() {\n return {};\n },\n created() {\n document.title = \"我的工单\"\n },\n computed: {\n ...mapGetters([\n 'isShowHeader',\n 'workorders',\n 'workorderTypes',\n ])\n },\n mounted() {\n // 获取工单类型\n this.$store.dispatch(\"onGetWorkorderTypes\");\n // 获取工单列表\n this.$store.dispatch(\"onGetWorkorders\");\n },\n methods: {\n getTypeName(tid){\n try{\n return this.workorderTypes.filter((i)=>i.id == tid)[0].title\n }catch(e){\n console.log(e)\n return \"\"\n }\n }\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n.no-data{\n text-align center\n padding-top 50px\n img{\n width 50px\n height 50px\n }\n div{\n color #666\n font-size 14px\n }\n}\n.list{\n padding-top 50px\n &.hide-header{\n padding-top 0\n }\n li{\n padding 10px 20px\n background url('../assets/workorder.png') 10px center no-repeat \n background-size 25px\n padding-left 40px\n padding-right 70px\n border-bottom 1px solid #ddd\n position relative\n height 40px\n .title{\n font-size 15px\n color #333\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n .type{\n font-size 13px\n color #666\n }\n .date{\n margin-left 10px\n font-size 13px\n color #999\n }\n i{\n font-style normal\n font-size 13px\n position absolute\n right 10px\n top 0\n height: 20px;\n bottom 0\n margin auto 0\n }\n }\n}\n.floting{\n width 30px;\n height 30px;\n border-radius 100%;\n background #26a2ff url(\"../assets/send.png\") center center no-repeat\n background-size 15px\n position fixed\n bottom 30px\n right 10px\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!./workorder.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!./workorder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./workorder.vue?vue&type=template&id=6ca82fb2&scoped=true&\"\nimport script from \"./workorder.vue?vue&type=script&lang=js&\"\nexport * from \"./workorder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./workorder.vue?vue&type=style&index=0&id=6ca82fb2&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 \"6ca82fb2\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-4d07cf27"],{"64ba":function(t,e,A){},"7d02":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAEMklEQVR4Xu2dbXbaMBBFFVZWnyysYWEcJRtzetzQpglftuaJ8jSXv8jD6M3Vk4SFeSq8UivwlLr3dL4AQHIIAAAAkiuQvPs4AAAkVyB593EAAEiuQPLu4wAAkFyB5N3HAQDAR4Fa67tDttM02Qwsm0SXwgOAHn8A0GtacIAOouIAfUTFATroigN0EPWKA7x2+ri1YX98bwgAa6Xb2O7CIvB1mqZpYyhJ81prLaUAgETNFUEAYIVIG5tI1gC11mUULKPhf7wezgHuIcI8z/vn5+eX6GcBQEDBS1NAIOTqSwHgUyocYDU2pw1xgIB4O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kFyB5N3HAQAguQLJu48DJAfgF+1bWNtJgJDcAAAAAElFTkSuQmCC"},d72e:function(t,e,A){"use strict";var r=A("64ba"),o=A.n(r);o.a},fb09:function(t,e,A){"use strict";A.r(e);var r=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"container"},[t.isShowHeader?r("mt-header",{attrs:{fixed:"",title:"我的工单"}},[r("div",{attrs:{slot:"left"},slot:"left"},[r("mt-button",{attrs:{icon:"back"},on:{click:function(e){return t.$router.go(-1)}}})],1),r("mt-button",{attrs:{slot:"right"},on:{click:function(e){return t.$router.push("/workorder/create")}},slot:"right"},[r("span",[t._v("创建工单")])])],1):t._e(),r("div",{staticClass:"list",class:{"hide-header":!t.isShowHeader}},[t.workorders.length<=0?r("div",{staticClass:"no-data"},[r("img",{attrs:{src:A("7d02"),alt:""}}),r("div",[t._v("没有相关记录~")])]):r("ul",[t._l(t.workorders,(function(e,A){return[r("li",{key:A,on:{click:function(A){return t.$router.push("/workorder/detail/"+e.id)}}},[r("div",{staticClass:"title"},[t._v(t._s(e.title))]),r("div",[r("span",{staticClass:"type"},[t._v(t._s(t.getTypeName(e.tid)))]),r("span",{staticClass:"date"},[t._v(t._s(t.$formatDate(e.create_at)))])]),1==e.status?r("i",{staticStyle:{color:"#8bc34a"}},[t._v("已回复")]):t._e(),3==e.status?r("i",{staticStyle:{color:"#ccc"}},[t._v("已结束")]):t._e(),0==e.status?r("i",{staticStyle:{color:"#FF9800"}},[t._v("待处理")]):t._e(),2==e.status?r("i",{staticStyle:{color:"#FF9800"}},[t._v("待回复")]):t._e()])]}))],2)])],1)},o=[],n=(A("8e6e"),A("ac6a"),A("456d"),A("bd86")),s=A("2f62");function i(t,e){var A=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),A.push.apply(A,r)}return A}function a(t){for(var e=1;e<arguments.length;e++){var A=null!=arguments[e]?arguments[e]:{};e%2?i(Object(A),!0).forEach((function(e){Object(n["a"])(t,e,A[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(A)):i(Object(A)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(A,e))}))}return t}var c={name:"workorder",components:{},data:function(){return{}},created:function(){document.title="我的工单"},computed:a({},Object(s["b"])(["isShowHeader","workorders","workorderTypes"])),mounted:function(){this.$store.dispatch("onGetWorkorderTypes"),this.$store.dispatch("onGetWorkorders")},methods:{getTypeName:function(t){try{return this.workorderTypes.filter((function(e){return e.id==t}))[0].title}catch(e){return console.log(e),""}}}},u=c,d=(A("d72e"),A("2877")),g=Object(d["a"])(u,r,o,!1,null,"7e3638ea",null);e["default"]=g.exports}}]);
//# sourceMappingURL=chunk-4d07cf27.b29c1461.js.map
\ No newline at end of file
{"version":3,"sources":["webpack:///./src/assets/workorder.png","webpack:///./src/views/workorder.vue?b4e4","webpack:///./src/views/workorder.vue?15e6","webpack:///src/views/workorder.vue","webpack:///./src/views/workorder.vue?206b","webpack:///./src/views/workorder.vue"],"names":["module","exports","render","_vm","this","_h","$createElement","_c","_self","staticClass","attrs","slot","on","$event","$router","go","push","_v","_e","class","isShowHeader","workorders","length","_l","item","index","key","id","_s","title","getTypeName","tid","$formatDate","create_at","status","staticStyle","staticRenderFns","name","components","data","created","document","computed","mounted","$store","dispatch","methods","console","log","e","component"],"mappings":"4HAAAA,EAAOC,QAAU,8/C,kCCAjB,yBAAwiB,EAAG,G,yCCA3iB,IAAIC,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,aAAa,CAAEN,EAAgB,aAAEI,EAAG,YAAY,CAACG,MAAM,CAAC,MAAQ,GAAG,MAAQ,SAAS,CAACH,EAAG,MAAM,CAACG,MAAM,CAAC,KAAO,QAAQC,KAAK,QAAQ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,MAAQ,SAAS,CAAChC,EAAIc,GAAG,SAASd,EAAIe,KAAqB,GAAfM,EAAKU,OAAa3B,EAAG,IAAI,CAAC4B,YAAY,CAAC,MAAQ,YAAY,CAAChC,EAAIc,GAAG,SAASd,EAAIe,KAAqB,GAAfM,EAAKU,OAAa3B,EAAG,IAAI,CAAC4B,YAAY,CAAC,MAAQ,YAAY,CAAChC,EAAIc,GAAG,SAASd,EAAIe,YAAW,MAAM,IACp+CkB,EAAkB,G,ooBCoCtB,OACEC,KAAM,YACNC,WAAY,GACZC,KAHF,WAII,MAAO,IAETC,QANF,WAOIC,SAASZ,MAAQ,QAEnBa,SAAU,EAAZ,GACA,gBACA,eACA,aACA,oBAGEC,QAhBF,WAkBIvC,KAAKwC,OAAOC,SAAS,uBAErBzC,KAAKwC,OAAOC,SAAS,oBAEvBC,QAAS,CACPhB,YADJ,SACA,GACM,IACN,0EACA,SAEQ,OADAiB,QAAQC,IAAIC,GACL,OCjEuW,I,wBCQlXC,EAAY,eACd,EACAhD,EACAkC,GACA,EACA,KACA,WACA,MAIa,aAAAc,E","file":"js/chunk-4d07cf27.b29c1461.js","sourcesContent":["module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAEMklEQVR4Xu2dbXbaMBBFFVZWnyysYWEcJRtzetzQpglftuaJ8jSXv8jD6M3Vk4SFeSq8UivwlLr3dL4AQHIIAAAAkiuQvPs4AAAkVyB593EAAEiuQPLu4wAAkFyB5N3HAQDAR4Fa67tDttM02Qwsm0SXwgOAHn8A0GtacIAOouIAfUTFATroigN0EPWKA7x2+ri1YX98bwgAa6Xb2O7CIvB1mqZpYyhJ81prLaUAgETNFUEAYIVIG5tI1gC11mUULKPhf7wezgHuIcI8z/vn5+eX6GcBQEDBS1NAIOTqSwHgUyocYDU2pw1xgIB4OMBRPNYAAYoaL3WZAtR79JMtVynlEaeA7v22AECV5J9B4rINLGW5HTBJIKi1/iylnKz2Vdp2XQOokrwFQ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-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!./workorder.vue?vue&type=style&index=0&id=7e3638ea&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!./workorder.vue?vue&type=style&index=0&id=7e3638ea&lang=stylus&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"container\"},[(_vm.isShowHeader)?_c('mt-header',{attrs:{\"fixed\":\"\",\"title\":\"我的工单\"}},[_c('div',{attrs:{\"slot\":\"left\"},slot:\"left\"},[_c('mt-button',{attrs:{\"icon\":\"back\"},on:{\"click\":function($event){return _vm.$router.go(-1)}}})],1),_c('mt-button',{attrs:{\"slot\":\"right\"},on:{\"click\":function($event){return _vm.$router.push('/workorder/create')}},slot:\"right\"},[_c('span',[_vm._v(\"创建工单\")])])],1):_vm._e(),_c('div',{staticClass:\"list\",class:{'hide-header': !_vm.isShowHeader}},[(_vm.workorders.length <= 0)?_c('div',{staticClass:\"no-data\"},[_c('img',{attrs:{\"src\":require(\"../assets/workorder.png\"),\"alt\":\"\"}}),_c('div',[_vm._v(\"没有相关记录~\")])]):_c('ul',[_vm._l((_vm.workorders),function(item,index){return [_c('li',{key:index,on:{\"click\":function($event){return _vm.$router.push('/workorder/detail/'+item.id)}}},[_c('div',{staticClass:\"title\"},[_vm._v(_vm._s(item.title))]),_c('div',[_c('span',{staticClass:\"type\"},[_vm._v(_vm._s(_vm.getTypeName(item.tid)))]),_c('span',{staticClass:\"date\"},[_vm._v(_vm._s(_vm.$formatDate(item.create_at)))])]),(item.status == 1)?_c('i',{staticStyle:{\"color\":\"#8bc34a\"}},[_vm._v(\"已回复\")]):_vm._e(),(item.status == 3)?_c('i',{staticStyle:{\"color\":\"#ccc\"}},[_vm._v(\"已结束\")]):_vm._e(),(item.status == 0)?_c('i',{staticStyle:{\"color\":\"#FF9800\"}},[_vm._v(\"待处理\")]):_vm._e(),(item.status == 2)?_c('i',{staticStyle:{\"color\":\"#FF9800\"}},[_vm._v(\"待回复\")]):_vm._e()])]})],2)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <div class=\"container\">\n \n <mt-header v-if=\"isShowHeader\" fixed title=\"我的工单\">\n <div slot=\"left\">\n <mt-button @click=\"$router.go(-1)\" icon=\"back\"></mt-button>\n </div>\n <mt-button @click=\"$router.push('/workorder/create')\" slot=\"right\">\n <span>创建工单</span>\n </mt-button>\n </mt-header>\n <div class=\"list\" :class=\"{'hide-header': !isShowHeader}\">\n <div class=\"no-data\" v-if=\"workorders.length <= 0\">\n <img src=\"../assets/workorder.png\" alt=\"\">\n <div>没有相关记录~</div>\n </div>\n <ul v-else>\n <template v-for=\"(item,index) in workorders\">\n <li :key=\"index\" @click=\"$router.push('/workorder/detail/'+item.id)\">\n <div class=\"title\">{{item.title}}</div>\n <div>\n <span class=\"type\">{{getTypeName(item.tid)}}</span>\n <span class=\"date\">{{$formatDate(item.create_at)}}</span>\n </div>\n <i v-if=\"item.status == 1\" style=\"color:#8bc34a;\">已回复</i>\n <i v-if=\"item.status == 3\" style=\"color:#ccc\">已结束</i>\n <i v-if=\"item.status == 0\" style=\"color:#FF9800\">待处理</i>\n <i v-if=\"item.status == 2\" style=\"color:#FF9800\">待回复</i>\n </li>\n </template>\n </ul> \n </div>\n\n </div>\n</template>\n<script>\nimport { mapGetters } from 'vuex'\nexport default {\n name: \"workorder\",\n components: {},\n data() {\n return {};\n },\n created() {\n document.title = \"我的工单\"\n },\n computed: {\n ...mapGetters([\n 'isShowHeader',\n 'workorders',\n 'workorderTypes',\n ])\n },\n mounted() {\n // 获取工单类型\n this.$store.dispatch(\"onGetWorkorderTypes\");\n // 获取工单列表\n this.$store.dispatch(\"onGetWorkorders\");\n },\n methods: {\n getTypeName(tid){\n try{\n return this.workorderTypes.filter((i)=>i.id == tid)[0].title\n }catch(e){\n console.log(e)\n return \"\"\n }\n }\n }\n};\n</script>\n<style lang=\"stylus\" scoped>\n.no-data{\n text-align center\n padding-top 50px\n img{\n width 50px\n height 50px\n }\n div{\n color #666\n font-size 14px\n }\n}\n.list{\n padding-top 50px\n &.hide-header{\n padding-top 0\n }\n li{\n padding 10px 20px\n background url('../assets/workorder.png') 10px center no-repeat \n background-size 25px\n padding-left 40px\n padding-right 70px\n border-bottom 1px solid #ddd\n position relative\n height 40px\n .title{\n font-size 15px\n color #333\n text-overflow: ellipsis;\n overflow: hidden;\n white-space: nowrap;\n }\n .type{\n font-size 13px\n color #666\n }\n .date{\n margin-left 10px\n font-size 13px\n color #999\n }\n i{\n font-style normal\n font-size 13px\n position absolute\n right 10px\n top 0\n height: 20px;\n bottom 0\n margin auto 0\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!./workorder.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!./workorder.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./workorder.vue?vue&type=template&id=7e3638ea&scoped=true&\"\nimport script from \"./workorder.vue?vue&type=script&lang=js&\"\nexport * from \"./workorder.vue?vue&type=script&lang=js&\"\nimport style0 from \"./workorder.vue?vue&type=style&index=0&id=7e3638ea&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 \"7e3638ea\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}
\ 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.
...@@ -120,7 +120,7 @@ func (r *KnowledgeBaseRepository) GetKnowledgeBases(request *models.KnowledgePag ...@@ -120,7 +120,7 @@ func (r *KnowledgeBaseRepository) GetKnowledgeBases(request *models.KnowledgePag
if k != "" { if k != "" {
like = ("sub_title LIKE '%" + k + "%' OR title LIKE '%" + k + "%' OR content LIKE '%" + k + "%' AND") like = ("sub_title LIKE '%" + k + "%' OR title LIKE '%" + k + "%' OR content LIKE '%" + k + "%' AND")
} }
total, err := r.o.Raw("SELECT * FROM knowledge_base WHERE "+like+" `platform` = ? ORDER BY create_at DESC LIMIT ? OFFSET ?", request.Platform, request.PageSize, (request.PageOn-1)*request.PageSize).QueryRows(&lists) _, err := r.o.Raw("SELECT * FROM knowledge_base WHERE "+like+" `platform` = ? ORDER BY create_at DESC LIMIT ? OFFSET ?", request.Platform, request.PageSize, (request.PageOn-1)*request.PageSize).QueryRows(&lists)
if err != nil { if err != nil {
logs.Warn("GetKnowledgeBases get one KnowledgeBases------------", err) logs.Warn("GetKnowledgeBases get one KnowledgeBases------------", err)
return nil, err return nil, err
...@@ -136,7 +136,13 @@ func (r *KnowledgeBaseRepository) GetKnowledgeBases(request *models.KnowledgePag ...@@ -136,7 +136,13 @@ func (r *KnowledgeBaseRepository) GetKnowledgeBases(request *models.KnowledgePag
for index := range lists { for index := range lists {
lists[index].SubTitle = strings.Trim(lists[index].SubTitle, "|") lists[index].SubTitle = strings.Trim(lists[index].SubTitle, "|")
} }
request.Total = total type KnowledgeBaseCount struct {
Count int64
}
var knowledgeBaseCount KnowledgeBaseCount
r.o.Raw("SELECT COUNT(*) AS `count` FROM knowledge_base WHERE "+like+" `platform` = ?", request.Platform).QueryRow(&knowledgeBaseCount)
request.Total = knowledgeBaseCount.Count
request.List = &lists request.List = &lists
return request, nil return request, nil
......
...@@ -23,11 +23,11 @@ func appTask() { ...@@ -23,11 +23,11 @@ func appTask() {
// user // user
userOfflineCount := services.GetUserRepositoryInstance().CheckUsersLoginTimeOutAndSetOffline(userOffLineUnixTimer) userOfflineCount := services.GetUserRepositoryInstance().CheckUsersLoginTimeOutAndSetOffline(userOffLineUnixTimer)
logs.Info("清理登录超时user", userOfflineCount, "个被强制下线") logs.Error("清理登录超时user", userOfflineCount, "个被强制下线")
// admin // admin
adminOfflineCount := services.GetAdminRepositoryInstance().CheckAdminsLoginTimeOutAndSetOffline(adminOffLineUnixTimer) adminOfflineCount := services.GetAdminRepositoryInstance().CheckAdminsLoginTimeOutAndSetOffline(adminOffLineUnixTimer)
logs.Info("清理登录超时admin", adminOfflineCount, "个被强制下线") logs.Error("清理登录超时admin", adminOfflineCount, "个被强制下线")
// get offline all robots // get offline all robots
robots, _ := services.GetRobotRepositoryInstance().GetRobotOnlineAll() robots, _ := services.GetRobotRepositoryInstance().GetRobotOnlineAll()
...@@ -36,7 +36,7 @@ func appTask() { ...@@ -36,7 +36,7 @@ func appTask() {
} }
contacts := services.GetContactRepositoryInstance().GetTimeOutList(lastMessageUnixTimer) contacts := services.GetContactRepositoryInstance().GetTimeOutList(lastMessageUnixTimer)
logs.Info("清理会话超时用户,有", len(contacts), "个被结束对话") logs.Error("清理会话超时用户,有", len(contacts), "个被结束对话")
for _, contact := range contacts { for _, contact := range contacts {
// set end is session end // set end is session end
......
...@@ -15,7 +15,7 @@ func clearUser() { ...@@ -15,7 +15,7 @@ func clearUser() {
clearUserTk := toolbox.NewTask("clearUser", "0 0 03 * * * ", func() error { clearUserTk := toolbox.NewTask("clearUser", "0 0 03 * * * ", func() error {
ids := services.GetUserRepositoryInstance().ClearWhiteUser() ids := services.GetUserRepositoryInstance().ClearWhiteUser()
services.GetMessageRepositoryInstance().DeleteWhiteMessage(ids) services.GetMessageRepositoryInstance().DeleteWhiteMessage(ids)
logs.Info("定时清理了", len(ids), "个没有服务记录的用户~") logs.Error("定时清理了", len(ids), "个没有服务记录的用户~")
return nil return nil
}) })
toolbox.AddTask("clearUser", clearUserTk) toolbox.AddTask("clearUser", clearUserTk)
......
...@@ -13,7 +13,7 @@ func moveMessage() { ...@@ -13,7 +13,7 @@ func moveMessage() {
// moveMessage day at 5 am // moveMessage day at 5 am
moveMessageTk := toolbox.NewTask("moveMessage", "0 0 05 * * * ", func() error { moveMessageTk := toolbox.NewTask("moveMessage", "0 0 05 * * * ", func() error {
length := services.GetMessageRepositoryInstance().MoveMessageToHistory() length := services.GetMessageRepositoryInstance().MoveMessageToHistory()
logs.Info("定时迁移了", length, "条消息记录到历史表~") logs.Error("定时迁移了", length, "条消息记录到历史表~")
return nil return nil
}) })
toolbox.AddTask("moveMessage", moveMessageTk) toolbox.AddTask("moveMessage", moveMessageTk)
......
...@@ -4,7 +4,7 @@ const dialog = electron.dialog; ...@@ -4,7 +4,7 @@ const dialog = electron.dialog;
const BrowserWindow = electron.BrowserWindow const BrowserWindow = electron.BrowserWindow
const Menu = electron.Menu const Menu = electron.Menu
const path = require('path') const path = require('path')
if (process.mas) app.setName('客服系统') if (process.mas) app.setName('玩车客服系统')
let mainWindow let mainWindow
function createWindow () { function createWindow () {
...@@ -123,12 +123,7 @@ let template = [ ...@@ -123,12 +123,7 @@ let template = [
{ {
label: '关于', label: '关于',
role: 'help', role: 'help',
submenu: [{ submenu: []
label: '客服',
click: function () {
electron.shell.openExternal('http://kf.aissz.com:666')
}
}]
} }
] ]
......
{ {
"name": "kefu_admin", "name": "kefu_admin",
"version": "0.0.1", "version": "2.0.0",
"private": true, "private": true,
"main": "main.js", "main": "main.js",
"scripts": { "scripts": {
......
...@@ -588,7 +588,6 @@ export default { ...@@ -588,7 +588,6 @@ export default {
}, },
// 接收消息 // 接收消息
receiveP2PMsg(message){ receiveP2PMsg(message){
console.log(message)
var nowTime = parseInt((new Date().getTime() +"").substr(0, 10)) var nowTime = parseInt((new Date().getTime() +"").substr(0, 10))
message.timestamp = parseInt((message.timestamp +"").substr(0, 10)) message.timestamp = parseInt((message.timestamp +"").substr(0, 10))
if(message.from_account == this.adminInfo.id && message.biz_type == "pong") return; if(message.from_account == this.adminInfo.id && message.biz_type == "pong") return;
......
...@@ -2,6 +2,6 @@ module.exports = { ...@@ -2,6 +2,6 @@ module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? './' : '/', publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
outputDir: '../../public/admin/', outputDir: '../../public/admin/',
devServer: { devServer: {
proxy: 'http://localhost:8080', proxy: 'http://im.cmp520.com',
} }
} }
...@@ -12,7 +12,7 @@ export default { ...@@ -12,7 +12,7 @@ export default {
messages: [], // 消息列表 messages: [], // 消息列表
isLoadMorEnd: false, // 是否已经到末尾 isLoadMorEnd: false, // 是否已经到末尾
userLocal: "", // 用户地理位置 userLocal: "", // 用户地理位置
AmapAPPKey: "", // 高德地图web appkey (请自行去高德地图申请) AmapAPPKey: "73ef1dc5c5ea086e7330b95aede42953", // 高德地图web appkey
isLoadMorLoading: false, // 是否在加装更多消息loading isLoadMorLoading: false, // 是否在加装更多消息loading
userInfo: {}, // 用户信息 userInfo: {}, // 用户信息
companyInfo: null, // 公司信息 companyInfo: null, // 公司信息
......
...@@ -124,7 +124,6 @@ export default { ...@@ -124,7 +124,6 @@ export default {
} }
} }
} }
.floting{ .floting{
width 30px; width 30px;
height 30px; height 30px;
...@@ -136,6 +135,5 @@ export default { ...@@ -136,6 +135,5 @@ export default {
right 10px right 10px
} }
</style> </style>
...@@ -2,6 +2,6 @@ module.exports = { ...@@ -2,6 +2,6 @@ module.exports = {
publicPath: process.env.NODE_ENV === 'production' ? './' : '/', publicPath: process.env.NODE_ENV === 'production' ? './' : '/',
outputDir: '../../public/client/', outputDir: '../../public/client/',
devServer: { devServer: {
proxy: 'http://localhost:8080', proxy: 'http://im.cmp520.com',
} }
} }
\ No newline at end of file
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