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 b565d415
authored
May 03, 2021
by
王玉曼
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
20210503
1 parent
2aedd429
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
15 deletions
linkwe-mobile/.env.production
linkwe-mobile/src/router/index.js
linkwe-mobile/src/views/portrait/detail.vue → linkwe-mobile/src/views/portrait/customerDetail.vue
linkwe-mobile/src/views/portrait/index.vue
linkwe-mobile/.env.production
View file @
b565d41
# 生产环境配置
# 生产环境配置
ENV = 'production'
ENV = 'production'
# 塬微管理系统/生产环境api
# 塬微管理系统/生产环境api
VUE_APP_BASE_API = 'http://106.13.201.219'
VUE_APP_BASE_API = 'http://106.13.201.219'
# 生产环境IP
# 生产环境IP
VUE_APP_BASE_URL = 'http://106.13.201.219'
VUE_APP_BASE_URL = 'http://106.13.201.219'
linkwe-mobile/src/router/index.js
View file @
b565d41
...
@@ -38,12 +38,12 @@ const routes = [
...
@@ -38,12 +38,12 @@ const routes = [
},
},
// 用户画像详情
// 用户画像详情
{
{
path
:
'/
d
etail'
,
path
:
'/
customerD
etail'
,
name
:
'
d
etail'
,
name
:
'
customerD
etail'
,
// route level code-splitting
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
// which is lazy-loaded when the route is visited.
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'../views/portrait/
d
etail.vue'
),
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'../views/portrait/
customerD
etail.vue'
),
hidden
:
true
,
hidden
:
true
,
meta
:
{
meta
:
{
title
:
''
,
title
:
''
,
...
...
linkwe-mobile/src/views/portrait/
d
etail.vue
→
linkwe-mobile/src/views/portrait/
customerD
etail.vue
View file @
b565d41
...
@@ -18,11 +18,13 @@
...
@@ -18,11 +18,13 @@
<div
class=
"details"
>
<div
class=
"details"
>
<div
class=
"detail"
>
<div
class=
"detail"
>
<div
class=
"left"
>
<div
class=
"left"
>
<div
class=
"img"
><img
src=
"
"
alt=
""
/></div>
<div
class=
"img"
><img
:src=
"form.avatar
"
alt=
""
/></div>
<div
class=
"right"
>
<div
class=
"right"
>
<div>
<div>
<span>
张三
</span
<span>
{{
form
.
remark
?
form
.
remark
:
form
.
name
+
"_"
+
form
.
remarkCorpName
}}
</span
><van-icon
name=
"manager"
color=
"#9c9c9c"
/>
><span
class=
"icon iconfont icon-man"
v-if=
"form.gender == 1"
></span>
<span
class=
"icon iconfont icon-xingbie"
v-else-if=
"form.gender ==2"
></span>
<van-icon
name=
"manager"
color=
"#9c9c9c"
v-else
/>
</div>
</div>
<div
class=
"c9"
>
<div
class=
"c9"
>
<span>
昵称:
</span><span>
{{
form
.
name
}}
</span>
<span>
昵称:
</span><span>
{{
form
.
name
}}
</span>
...
@@ -165,6 +167,13 @@ export default {
...
@@ -165,6 +167,13 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.iconfont
{
color
:
#2c8cf0
;
}
.icon-xingbie
{
color
:
pink
;
}
.header
{
.header
{
margin
:
20px
10px
10px
;
margin
:
20px
10px
10px
;
vertical-align
:
center
;
vertical-align
:
center
;
...
...
linkwe-mobile/src/views/portrait/index.vue
View file @
b565d41
...
@@ -15,12 +15,13 @@
...
@@ -15,12 +15,13 @@
<div
class=
"details"
>
<div
class=
"details"
>
<div
class=
"detail"
>
<div
class=
"detail"
>
<div
class=
"left"
>
<div
class=
"left"
>
<div
class=
"img"
><img
src=
"
"
alt=
""
/></div>
<div
class=
"img"
><img
:src=
"form.avatar
"
alt=
""
/></div>
<div
class=
"right"
>
<div
class=
"right"
>
<div>
<div>
<span>
张三
</span
<span>
{{
form
.
remark
?
form
.
remark
:
form
.
name
+
"_"
+
form
.
remarkCorpName
}}
</span
><span
class=
"icon iconfont icon-man"
></span>
><span
class=
"icon iconfont icon-man"
v-if=
"form.gender == 1"
></span>
<span
class=
"icon iconfont icon-xingbie"
></span>
<span
class=
"icon iconfont icon-xingbie"
v-else-if=
"form.gender ==2"
></span>
<van-icon
name=
"manager"
color=
"#9c9c9c"
v-else
/>
</div>
</div>
<div
class=
"c9"
>
<div
class=
"c9"
>
<span>
昵称:
</span><span>
{{
form
.
name
}}
</span>
<span>
昵称:
</span><span>
{{
form
.
name
}}
</span>
...
@@ -388,7 +389,7 @@ export default {
...
@@ -388,7 +389,7 @@ export default {
// externalUserid: "wm2H-nDQAACG5x4XjsM1OoW8UVfpbn3A", // 客户Id
// externalUserid: "wm2H-nDQAACG5x4XjsM1OoW8UVfpbn3A", // 客户Id
// externalUserid: "wmiGuBCgAAgeijfvvpJ62cBfwrB-c4kw",
// externalUserid: "wmiGuBCgAAgeijfvvpJ62cBfwrB-c4kw",
externalUserid
:
''
,
externalUserid
:
''
,
user
i
d
:
this
.
$store
.
state
.
userId
,
// 员工Id
user
I
d
:
this
.
$store
.
state
.
userId
,
// 员工Id
form
:
{
form
:
{
name
:
''
,
// 昵称
name
:
''
,
// 昵称
remarkMobiles
:
''
,
// 手机号
remarkMobiles
:
''
,
// 手机号
...
@@ -727,7 +728,7 @@ export default {
...
@@ -727,7 +728,7 @@ export default {
getCustomerInfo
()
{
getCustomerInfo
()
{
getCustomerInfo
({
getCustomerInfo
({
externalUserid
:
this
.
externalUserid
,
externalUserid
:
this
.
externalUserid
,
user
id
:
this
.
useri
d
,
user
Id
:
this
.
userI
d
,
})
})
.
then
(({
data
})
=>
{
.
then
(({
data
})
=>
{
// console.log(data);
// console.log(data);
...
@@ -932,4 +933,7 @@ export default {
...
@@ -932,4 +933,7 @@ export default {
.iconfont
{
.iconfont
{
color
:
#2c8cf0
;
color
:
#2c8cf0
;
}
}
.icon-xingbie
{
color
:
pink
;
}
</
style
>
</
style
>
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