Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica-admin-consultation
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jingqi.liu
pica-admin-consultation
提交
fe202ab6
提交
fe202ab6
编写于
1月 18, 2021
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
对接接口
上级
5ec5ba6f
变更
6
展开全部
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
562 行增加
和
381 行删除
+562
-381
user-info.vue
src/components/IM/user-info.vue
+2
-1
common.scss
src/style/common.scss
+16
-1
env-config.js
src/utils/env-config.js
+10
-5
index.js
src/utils/index.js
+5
-0
index.scss
src/views/IM/current-session/index.scss
+303
-0
index.vue
src/views/IM/current-session/index.vue
+226
-374
未找到文件。
src/components/IM/user-info.vue
浏览文件 @
fe202ab6
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
multiple
multiple
v-model=
"stickerIdList"
v-model=
"stickerIdList"
size=
"mini"
size=
"mini"
placeholder=
"请选择问题
分
类"
placeholder=
"请选择问题
归
类"
@
visible-change=
"stickerSave"
@
visible-change=
"stickerSave"
>
>
<el-option
<el-option
...
@@ -109,6 +109,7 @@ export default {
...
@@ -109,6 +109,7 @@ export default {
// 保存用户问题分类
// 保存用户问题分类
stickerSave
(
status
)
{
stickerSave
(
status
)
{
// 下拉框出现或者选项为空时,直接退出
if
(
status
||
!
this
.
stickerIdList
.
length
)
return
;
if
(
status
||
!
this
.
stickerIdList
.
length
)
return
;
let
params
=
{
let
params
=
{
stickerIdList
:
this
.
stickerIdList
,
stickerIdList
:
this
.
stickerIdList
,
...
...
src/style/common.scss
浏览文件 @
fe202ab6
...
@@ -231,4 +231,19 @@ html,body{
...
@@ -231,4 +231,19 @@ html,body{
}
}
.el-breadcrumb__inner.is-link
:hover
{
.el-breadcrumb__inner.is-link
:hover
{
color
:
#449284
!
important
;
color
:
#449284
!
important
;
}
}
\ No newline at end of file
.current-session-wrap
{
.c-bottom
.el-input__inner
{
height
:
44px
;
line-height
:
44px
;
padding-right
:
100px
;
}
.el-input.is-active
.el-input__inner
,
.el-input__inner
:focus
{
border-color
:
#eff5f7
;
}
.link-form
.el-form-item
{
margin-bottom
:
10px
;
}
}
\ No newline at end of file
src/utils/env-config.js
浏览文件 @
fe202ab6
...
@@ -16,7 +16,8 @@ export const envConfig = {
...
@@ -16,7 +16,8 @@ export const envConfig = {
loginUrl
:
'https://dev-saas.yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://dev-saas.yunqueyi.com/pica-login/work_station.html'
,
//innerLoginUrl: 'http://localhost:8090/PICA_SSO_FE/html/pica_index.html',
//innerLoginUrl: 'http://localhost:8090/PICA_SSO_FE/html/pica_index.html',
innerLoginUrl
:
'https://dev-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
innerLoginUrl
:
'https://dev-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
,
picakfAccId
:
'picakf_dev'
,
},
},
dev
:
{
dev
:
{
baseUrl
:
'https://dev-sc.yunqueyi.com'
,
baseUrl
:
'https://dev-sc.yunqueyi.com'
,
...
@@ -25,7 +26,8 @@ export const envConfig = {
...
@@ -25,7 +26,8 @@ export const envConfig = {
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
loginUrl
:
'https://dev-saas.yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://dev-saas.yunqueyi.com/pica-login/work_station.html'
,
innerLoginUrl
:
'https://dev-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
innerLoginUrl
:
'https://dev-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://dev-saas.yunqueyi.com/pica_index.html'
,
picakfAccId
:
'picakf_dev'
,
},
},
test
:
{
test
:
{
baseUrl
:
'https://test1-sc.yunqueyi.com'
,
baseUrl
:
'https://test1-sc.yunqueyi.com'
,
...
@@ -34,7 +36,8 @@ export const envConfig = {
...
@@ -34,7 +36,8 @@ export const envConfig = {
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
qiniuImgUrl
:
"https://test1-file.yunqueyi.com"
,
loginUrl
:
'https://test1.yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://test1.yunqueyi.com/pica-login/work_station.html'
,
innerLoginUrl
:
'https://test1-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
innerLoginUrl
:
'https://test1-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
yuequeyiIndexUrl
:
'https://test1.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://test1.yunqueyi.com/pica_index.html'
,
picakfAccId
:
'picakf_test'
,
},
},
uat
:
{
uat
:
{
baseUrl
:
'https://uat-sc.yunqueyi.com'
,
baseUrl
:
'https://uat-sc.yunqueyi.com'
,
...
@@ -45,7 +48,8 @@ export const envConfig = {
...
@@ -45,7 +48,8 @@ export const envConfig = {
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
qiniuResourceUrl
:
"https://test1-videos.yunqueyi.com"
,
loginUrl
:
'https://uat.yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://uat.yunqueyi.com/pica-login/work_station.html'
,
innerLoginUrl
:
'https://uat-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
innerLoginUrl
:
'https://uat-sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
yuequeyiIndexUrl
:
'https://uat.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://uat.yunqueyi.com/pica_index.html'
,
picakfAccId
:
'picakf_uat'
,
},
},
pro
:
{
pro
:
{
baseUrl
:
'https://sc.yunqueyi.com'
,
baseUrl
:
'https://sc.yunqueyi.com'
,
...
@@ -54,6 +58,7 @@ export const envConfig = {
...
@@ -54,6 +58,7 @@ export const envConfig = {
qiniuImgUrl
:
"https://files.yunqueyi.com"
,
qiniuImgUrl
:
"https://files.yunqueyi.com"
,
loginUrl
:
'https://yunqueyi.com/pica-login/work_station.html'
,
loginUrl
:
'https://yunqueyi.com/pica-login/work_station.html'
,
innerLoginUrl
:
'https://sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
innerLoginUrl
:
'https://sso.yunqueyi.com/PICA_SSO_FE/html/pica_index.html'
,
yuequeyiIndexUrl
:
'https://www.yunqueyi.com/pica_index.html'
yuequeyiIndexUrl
:
'https://www.yunqueyi.com/pica_index.html'
,
picakfAccId
:
'picakf'
,
}
}
}
}
src/utils/index.js
浏览文件 @
fe202ab6
...
@@ -168,6 +168,7 @@ export function getYunQueYiUrl() {
...
@@ -168,6 +168,7 @@ export function getYunQueYiUrl() {
export
function
uploadVideo
()
{
export
function
uploadVideo
()
{
return
getConfigByEnvType
(
'qiniuResourceUrl'
)
return
getConfigByEnvType
(
'qiniuResourceUrl'
)
}
}
export
function
uploadImg
()
{
export
function
uploadImg
()
{
return
getConfigByEnvType
(
'qiniuImgUrl'
)
return
getConfigByEnvType
(
'qiniuImgUrl'
)
}
}
...
@@ -177,3 +178,7 @@ function getConfigByEnvType(urlType) {
...
@@ -177,3 +178,7 @@ function getConfigByEnvType(urlType) {
return
envConfig
[
process
.
env
.
BUILD_ENV
][
urlType
]
return
envConfig
[
process
.
env
.
BUILD_ENV
][
urlType
]
}
}
// 获取客服的云信ID
export
function
getPicaKFAccid
()
{
return
getConfigByEnvType
(
'picakfAccId'
)
}
src/views/IM/current-session/index.scss
0 → 100644
浏览文件 @
fe202ab6
.current-session-wrap
{
.component-content
{
display
:
flex
;
flex-direction
:
row
;
min-height
:
600px
;
min-width
:
1200px
;
font-size
:
14px
;
.left
{
width
:
270px
;
// padding: 0 25px 15px;
border-right
:
2px
solid
#f5f5f5
;
.l-header
{
display
:
flex
;
flex-direction
:
row
;
height
:
52px
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
0
25px
;
&
>
span
:first-child
{
font-size
:
16px
;
}
&
>
span
:last-child
{
color
:
#0d9078
;
cursor
:
pointer
;
}
}
.c-num
{
padding
:
0
25px
;
height
:
40px
;
line-height
:
40px
;
background
:
#fffbe6
;
}
.session-list
{
width
:
100%
;
height
:
100%
;
overflow
:
scroll
;
&
>
.item
{
width
:
100%
;
display
:
flex
;
height
:
72px
;
flex-direction
:
row
;
align-items
:
center
;
padding
:
0
25px
;
cursor
:
pointer
;
.img-wrapper
{
// position: relative;
// top: 0;
// left: 0;
width
:
40px
;
height
:
40px
;
margin-right
:
10px
;
img
{
width
:
100%
;
height
:
100%
;
border-radius
:
20px
;
}
}
&
>
.desc
{
flex
:
1
;
.top
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
.name
{
}
}
.bottom
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
font-size
:
12px
;
color
:
#999999
;
.num
{
display
:
inline-block
;
min-width
:
16px
;
padding
:
2px
4px
;
border-radius
:
8px
;
text-align
:
center
;
color
:
#ffffff
;
background
:
#ff4d4f
;
}
&
>
img
{
display
:
block
;
width
:
15px
;
height
:
15px
;
padding
:
2px
0
2px
4px
;
}
}
}
&
.current
{
background
:
#f8f9fa
;
}
}
}
}
.center
{
flex
:
1
;
.c-header
{
padding
:
0
25px
;
height
:
56px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
border-bottom
:
2px
solid
#f5f5f5
;
&
>
.c-header-l
{
flex
:
1
;
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
&
>
img
{
display
:
inline-block
;
width
:
24px
;
height
:
24px
;
border-radius
:
12px
;
margin-right
:
8px
;
}
&
>
.name
{
margin-right
:
25px
;
color
:
#333333
;
}
&
>
.time-tip
{
font-size
:
12px
;
color
:
#999999
;
}
}
.close-btn
{
width
:
100px
;
color
:
#c7c8c9
;
cursor
:
pointer
;
}
}
.msg-content
{
// width: 100%;
// height: 650px;
overflow
:
scroll
;
display
:
flex
;
flex-direction
:
column
;
margin
:
10px
20px
;
.msg-item
{
display
:
flex
;
flex-direction
:
row
;
margin
:
12px
0
;
.msg-item-img
{
width
:
44px
;
height
:
44px
;
margin-right
:
8px
;
&
>
img
{
width
:
100%
;
height
:
100%
;
border-radius
:
22px
;
}
}
.msg-item-detail
{
display
:
flex
;
flex-direction
:
column
;
text-align
:
left
;
font-size
:
13px
;
&
>
:first-child
{
color
:
#999999
;
margin-bottom
:
8px
;
}
.mid-text-wrapper
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
&
>
img
{
width
:
18px
;
height
:
18px
;
margin-right
:
8px
;
cursor
:
pointer
;
}
}
.mid-text
{
padding
:
12px
24px
;
display
:
inline-block
;
max-width
:
520px
;
border-radius
:
8px
;
background
:
#ebf5fc
;
text-align
:
justify
;
color
:
#333333
;
&
.no-support
{
display
:
flex
;
align-items
:
center
;
&
>
img
{
width
:
14px
;
height
:
14px
;
margin-right
:
3px
;
}
}
}
.link
{
color
:
#2f86f6
;
}
&
>
.mid-pdf
{
max-width
:
260px
;
display
:
flex
;
flex-direction
:
row
;
text-align
:
left
;
padding
:
10px
15px
;
background
:
#f0f1f2
;
border-radius
:
8px
;
min-height
:
80px
;
cursor
:
pointer
;
.midp-left
{
display
:
flex
;
flex-direction
:
column
;
justify-content
:
space-around
;
.name
{
font-size
:
13px
;
color
:
#333333
;
}
.size
{
font-size
:
12px
;
color
:
#999999
;
}
}
.midp-icon
{
width
:
36px
;
height
:
44px
;
&
>
img
{
width
:
36px
;
height
:
100%
;
border-radius
:
3px
;
}
}
}
&
>
.mid-img
{
width
:
170px
;
height
:
108px
;
cursor
:
pointer
;
&
>
img
{
width
:
100%
;
height
:
100%
;
border-radius
:
8px
;
}
}
}
&
.cr
{
flex-direction
:
row-reverse
;
.msg-item-img
{
margin-right
:
0
;
margin-left
:
8px
;
}
.msg-item-detail
{
text-align
:
right
;
&
>
.mid-text
{
background
:
#f0f1f2
;
}
}
}
}
}
.c-bottom
{
display
:
flex
;
flex-direction
:
row
;
margin
:
16px
12px
16px
25px
;
.cb-icon-wrapper
{
display
:
flex
;
align-items
:
center
;
height
:
44px
;
img
{
width
:
20px
;
height
:
20px
;
margin-right
:
16px
;
cursor
:
pointer
;
}
}
.send-btn
{
display
:
flex
;
flex-direction
:
row
;
justify-content
:
center
;
align-items
:
center
;
width
:
60px
;
height
:
44px
;
background
:
#f3f6f7
;
margin-left
:
12px
;
border-radius
:
8px
;
cursor
:
pointer
;
&
>
img
{
width
:
24px
;
height
:
24px
;
}
&
.active
{
background
:
#0d9078
;
}
}
}
}
.right
{
width
:
240px
;
border-left
:
2px
solid
#f5f5f5
;
}
background
:
#fff
;
.time
{
color
:
#999999
;
}
.small
{
font-size
:
12px
;
}
}
}
\ No newline at end of file
src/views/IM/current-session/index.vue
浏览文件 @
fe202ab6
此差异已折叠。
点击以展开。
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录