Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-psd
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 cdf2ee76
authored
May 18, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
112122e4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
8 deletions
src/components/Tab.vue
src/config/index.js
src/views/Chat/library.vue
src/views/Chat/paper.vue
src/components/Tab.vue
View file @
cdf2ee7
...
...
@@ -59,6 +59,7 @@ export default {
}
},
mounted
()
{
this
.
data
=
this
.
list
||
[]
},
methods
:
{
click
(
tabIndex
)
{
...
...
src/config/index.js
View file @
cdf2ee7
...
...
@@ -7,7 +7,7 @@
* @LastEditTime: 2021-06-30 11:23:25
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
import
{
utils
}
from
'glsx-common'
import
{
utils
,
Http
}
from
'glsx-common'
let
config
=
require
(
'./conf.js'
)
let
timeout
=
30000
//超时时间
export
const
fetchConfig
=
function
(
isEnv
=
true
)
{
...
...
@@ -16,8 +16,9 @@ export const fetchConfig = function (isEnv = true) {
// Object.assign(request, { timeout })
// return Promise.resolve(config)
// }
let
params
=
{
moduleName
:
'scrm-wx-work-psd-config'
,
mockUrl
:
'https://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config'
,
httpOptions
:
{
Headers
:
{
refererurl
:
location
.
href
},
request
:
{
timeout
:
30000
}
}
}
return
utils
.
getConfig
(
params
)
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config'
)
// let params = { moduleName: 'scrm-wx-work-psd-config', mockUrl: 'https://oss-config.test.glsx.com.cn/mock/617918601072f92988f05a11/base/scrm-wx-work-psd-config', httpOptions: { Headers: { refererurl: location.href }, request: { timeout: 30000 } } }
// return utils.getConfig(params)
}
export
const
cfg
=
{
install
(
vue
,
config
)
{
...
...
src/views/Chat/library.vue
View file @
cdf2ee7
...
...
@@ -9,7 +9,6 @@
<template
v-if=
"groupList.length"
>
<tab
:list=
"groupList"
:updata=
"updata"
@
change=
"change"
>
</tab>
...
...
@@ -71,7 +70,6 @@ export default {
data
()
{
return
{
groupList
:
[],
updata
:
Date
.
now
(),
flag
:
false
,
list
:
[],
pageNum
:
1
,
...
...
@@ -139,7 +137,6 @@ export default {
const
res
=
await
marketingApi
.
getChatGroupList
()
console
.
log
(
res
)
this
.
groupList
=
[
'全部'
,
...
res
]
this
.
updata
=
Date
.
now
()
},
/**话术 */
async
getChatLibraryList
()
{
...
...
src/views/Chat/paper.vue
View file @
cdf2ee7
...
...
@@ -190,8 +190,8 @@ export default {
this
.
params
.
pushType
=
index
==
0
?
''
:
index
this
.
clearData
()
},
confirmDate
(
e
)
{
let
{
params
}
=
this
confirmDate
(
e
)
{
let
{
params
}
=
this
this
.
params
=
{
...
params
,
...
e
...
...
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