Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 933aee2b
authored
Dec 03, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
tijiao
1 parent
8701252c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
3 deletions
src/assets/guestCustom/default-avatar.png
src/setup/single.js
src/views/customerTransform/detailCustomer.vue
src/assets/guestCustom/default-avatar.png
0 → 100644
View file @
933aee2
1.12 KB
src/setup/single.js
View file @
933aee2
...
...
@@ -24,7 +24,7 @@ export async function start() {
// .forEach(item => {
// urlParams[item.split('=')[0]] = item.split('=')[1]
// })
var
token
=
Object
.
keys
(
urlParams
).
includes
(
'sessionId'
)
?
urlParams
.
sessionId
:
'mini-
983e626d-4250-42b0-be9c-a9845552ae2
0-rop'
var
token
=
Object
.
keys
(
urlParams
).
includes
(
'sessionId'
)
?
urlParams
.
sessionId
:
'mini-
53e870b5-80d5-483e-8277-cdc4dec0ad8
0-rop'
Vue
.
prototype
.
$http
=
new
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
token
}
})
Vue
.
use
(
GLButton
,
{
permissions
:
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
render
(
'/'
,
routes
)
...
...
src/views/customerTransform/detailCustomer.vue
View file @
933aee2
...
...
@@ -19,7 +19,11 @@
<div
class=
"detail-total"
>
共
{{
employeelist
.
length
||
0
}}
人
</div>
<div
v-if=
"employeelist.length != 0"
class=
"info-list"
>
<div
class=
"info-item"
v-for=
"(item, index) in employeelist"
:key=
"item.id"
>
<img
class=
"info-avatar"
:src=
"item.avatar"
alt
/>
<img
class=
"info-avatar"
:src=
"item.avatar ? item.avatar : require('@/assets/guestCustom/default-avatar.png')"
alt
/>
<div
class=
"info-content"
>
<div
class=
"info-text"
>
<div
class=
"info-name"
>
...
...
@@ -62,7 +66,11 @@
<div
class=
"detail-total"
>
共
{{
customerlist
.
length
||
0
}}
人
</div>
<div
v-if=
"customerlist.length != 0"
class=
"info-list"
>
<div
class=
"info-item"
v-for=
"item in customerlist"
:key=
"item.id"
>
<img
class=
"info-avatar"
:src=
"item.avatar"
alt
/>
<img
class=
"info-avatar"
:src=
"item.avatar ? item.avatar : require('@/assets/guestCustom/default-avatar.png')"
alt
/>
<div
class=
"info-content info-custom"
>
<div
class=
"info-text"
>
<div
class=
"info-name"
>
...
...
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