Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f6d45a2a
authored
Sep 13, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
配置与应用消息问题
1 parent
74d03eb2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
vue3-lw-pc/env.js
vue3-lw-pc/src/config.js
vue3-lw-pc/src/views/internalCollaborate/appManage/HistoryMsg.vue
vue3-lw-pc/src/views/internalCollaborate/components/MsgForm.vue
vue3-lw-pc/env.js
View file @
f6d45a2
...
...
@@ -7,7 +7,6 @@ const envs = {
DOMAIN
:
'https://dev.linkwechat.net'
,
// 接口域名(站点域名请使用:window.location.origin)
BASE_URL
:
'/'
,
// 页面路由基础路径
BASE_API
:
'https://dev.linkwechat.net/linkwechat-dev-api'
,
// 接口基础路径
VIEW_URL
:
'https://saas.pardigital.cn/file-view/onlinePreview?url='
,
// kkfileview,素材预览服务地址
_ISGZIP
:
true
,
_ISCDN
:
true
,
},
...
...
@@ -15,7 +14,6 @@ const envs = {
DOMAIN
:
'https://demo.linkwechat.net'
,
BASE_URL
:
'/'
,
// 路由基础路径
BASE_API
:
'https://demo.linkwechat.net/linkwechat-api'
,
VIEW_URL
:
'https://saas.pardigital.cn/file-view/onlinePreview?url='
,
_ISGZIP
:
true
,
_ISCDN
:
true
,
},
...
...
@@ -23,7 +21,6 @@ const envs = {
DOMAIN
:
'https://demo.linkwechat.net'
,
BASE_URL
:
'/'
,
// 路由基础路径
BASE_API
:
'https://demo.linkwechat.net/linkwechat-api'
,
VIEW_URL
:
'https://saas.pardigital.cn/file-view/onlinePreview?url='
,
_ISGZIP
:
true
,
_ISCDN
:
true
,
},
...
...
vue3-lw-pc/src/config.js
View file @
f6d45a2
...
...
@@ -29,11 +29,11 @@ const common = {
DEFAULT_H5_PDF
:
env
.
BASE_URL
+
'static/PDF.png'
,
// pdf默认封面
DEFAULT_H5_WORDE
:
env
.
BASE_URL
+
'static/WORD.png'
,
DEFAULT_H5_PPT
:
env
.
BASE_URL
+
'static/PPT.png'
,
PRIVIEW_URL
:
env
.
VIEW_URL
,
PRIVIEW_PATH
:
window
.
location
.
origin
+
'/mobile/#/metrialDetail?materiaId='
,
BAIDU_MAP_KEY
:
'6fZIymhpgfnAHUT1baHeEF922lPIThOG'
,
// 百度地图key
IS_PUBLISH_DIALOG
:
false
,
// 是否显示发布弹窗
IS_LINKWECHAT
:
true
,
// 是否显示linkwechat开源相关业务组件
PRIVIEW_URL
:
'https://saas.linkwechat.net/file-view/onlinePreview?url='
,
// kkfileview,素材预览服务地址
MICRO_APPS
:
{
store
:
{
...
...
vue3-lw-pc/src/views/internalCollaborate/appManage/HistoryMsg.vue
View file @
f6d45a2
...
...
@@ -107,7 +107,7 @@ export default {
<el-button
@
click=
"resetQuery"
>
重置
</el-button>
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table-column
label=
"消息标题"
align=
"center"
prop=
"
msgT
itle"
/>
<el-table-column
label=
"消息标题"
align=
"center"
prop=
"
t
itle"
/>
<el-table-column
prop=
"msgType"
label=
"类型"
align=
"center"
>
<template
#
default=
"
{ row }">
{{
typeDict
[
row
.
msgType
]
}}
</
template
>
</el-table-column>
...
...
vue3-lw-pc/src/views/internalCollaborate/components/MsgForm.vue
View file @
f6d45a2
...
...
@@ -62,10 +62,16 @@ export default {
if
(
!
this
.
form
.
toParty
)
{
this
.
form
.
toParty
=
[]
this
.
form
.
toPartyName
=
[]
}
else
if
(
typeof
this
.
form
.
toParty
===
'string'
)
{
this
.
form
.
toParty
=
this
.
form
.
toParty
.
split
(
','
)
this
.
form
.
toPartyName
=
this
.
form
.
toPartyName
.
split
(
','
)
}
if
(
!
this
.
form
.
toUser
)
{
this
.
form
.
toUser
=
[]
this
.
form
.
toUserName
=
[]
}
else
if
(
typeof
this
.
form
.
toUser
===
'string'
)
{
this
.
form
.
toUser
=
this
.
form
.
toUser
.
split
(
','
)
this
.
form
.
toUserName
=
this
.
form
.
toUserName
.
split
(
','
)
}
if
(
this
.
form
.
robotId
)
{
// 机器人消息没有视频类型
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment