Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
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 c944cf11
authored
Dec 21, 2021
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
d765a70e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
24 deletions
src/views/customer/detail.vue
src/views/customer/information.vue
vue.config.js
src/views/customer/detail.vue
View file @
c944cf1
...
@@ -154,12 +154,16 @@ export default {
...
@@ -154,12 +154,16 @@ export default {
},
},
mounted
()
{
mounted
()
{
this
.
showLoading
()
this
.
showLoading
()
wxConfig
.
init
([
'getCurExternalContact'
]).
then
(()
=>
{
let
{
id
}
=
this
.
getQuery
()
wxConfig
.
getCurExternalContact
().
then
(
userId
=>
{
if
(
id
)
{
this
.
getCustomerDetail
(
userId
)
this
.
getCustomerDetail
(
id
)
}
else
{
wxConfig
.
init
([
'getCurExternalContact'
]).
then
(()
=>
{
wxConfig
.
getCurExternalContact
().
then
(
userId
=>
{
this
.
getCustomerDetail
(
userId
)
})
})
})
})
}
// this.getCustomerDetail('wm219ICgAARGgXJUmUdGxCgNfGxRCWDg')
},
},
methods
:
{
methods
:
{
moreInfo
()
{
moreInfo
()
{
...
@@ -216,7 +220,7 @@ export default {
...
@@ -216,7 +220,7 @@ export default {
margin-right
:
6px
;
margin-right
:
6px
;
}
}
.wechat
{
.wechat
{
color
:
#3975
C
6
;
color
:
#3975
c
6
;
}
}
div
{
div
{
font-size
:
14px
;
font-size
:
14px
;
...
@@ -283,8 +287,8 @@ export default {
...
@@ -283,8 +287,8 @@ export default {
width
:
108px
;
width
:
108px
;
height
:
21px
;
height
:
21px
;
border-radius
:
12px
;
border-radius
:
12px
;
border
:
1px
solid
#3975
C
6
;
border
:
1px
solid
#3975
c
6
;
color
:
#3975
C
6
;
color
:
#3975
c
6
;
font-size
:
12px
;
font-size
:
12px
;
.sprite-icon
{
.sprite-icon
{
margin-left
:
4px
;
margin-left
:
4px
;
...
@@ -316,7 +320,7 @@ export default {
...
@@ -316,7 +320,7 @@ export default {
.btn
{
.btn
{
width
:
60px
;
width
:
60px
;
height
:
20px
;
height
:
20px
;
background-color
:
#3975
C
6
;
background-color
:
#3975
c
6
;
color
:
#fff
;
color
:
#fff
;
font-size
:
12px
;
font-size
:
12px
;
text-align
:
center
;
text-align
:
center
;
...
@@ -341,7 +345,7 @@ export default {
...
@@ -341,7 +345,7 @@ export default {
border-radius
:
14px
;
border-radius
:
14px
;
background-color
:
rgba
(
57
,
117
,
198
,
0.15
);
background-color
:
rgba
(
57
,
117
,
198
,
0.15
);
font-size
:
14px
;
font-size
:
14px
;
color
:
#3975
C
6
;
color
:
#3975
c
6
;
padding
:
4px
12px
;
padding
:
4px
12px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
align-items
:
center
;
align-items
:
center
;
...
...
src/views/customer/information.vue
View file @
c944cf1
...
@@ -90,17 +90,12 @@ export default {
...
@@ -90,17 +90,12 @@ export default {
})
})
},
},
//打开个人信息页
//打开个人信息页
openUserProfile
(
data
)
{
openUserProfile
({
userid
})
{
// let obj = {
this
.
$router
.
replace
({
// customerId: data.customerId
name
:
'customer.detail'
,
// }
query
:
{
// groupCustomer.updateCustomerWork(obj).then(res => {})
id
:
userid
let
seach
=
{
}
userid
:
data
.
userid
,
//参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
type
:
2
}
window
.
$wx
.
openUserProfile
(
seach
).
then
(
res
=>
{
// console.log(res)
})
})
}
}
}
}
...
@@ -134,7 +129,7 @@ export default {
...
@@ -134,7 +129,7 @@ export default {
margin
:
0
4px
4px
0
;
margin
:
0
4px
4px
0
;
font-size
:
14px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#3975
C
6
;
color
:
#3975
c
6
;
width
:
64px
;
width
:
64px
;
white-space
:
nowrap
;
white-space
:
nowrap
;
overflow
:
hidden
;
overflow
:
hidden
;
...
...
vue.config.js
View file @
c944cf1
...
@@ -49,8 +49,8 @@ const spritesmithFunction = data => {
...
@@ -49,8 +49,8 @@ const spritesmithFunction = data => {
return
`
${
shared
}
\n
${
perSprite
}
`
return
`
${
shared
}
\n
${
perSprite
}
`
}
}
module
.
exports
=
{
module
.
exports
=
{
publicPath
:
IS_PROD
?
'./'
:
'/dj-scrm-wx-group-chat/'
,
// 署应用包时的基本 URL。 vue-router hash 模式使用
//
publicPath: IS_PROD ? './' : '/dj-scrm-wx-group-chat/', // 署应用包时的基本 URL。 vue-router hash 模式使用
//
publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-main/', // 署应用包时的基本 URL。 vue-router hash 模式使用
publicPath
:
IS_PROD
?
'./'
:
'/dj-scrm-wx-work-main/'
,
// 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: IS_PROD ? './' : '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router hash 模式使用
// publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用
// publicPath: '/dj-scrm-wx-work-attachment-customer/', // 署应用包时的基本 URL。 vue-router history模式使用
outputDir
:
'dist'
,
// 生产环境构建文件的目录
outputDir
:
'dist'
,
// 生产环境构建文件的目录
...
...
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