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 4f712c8f
authored
Jul 13, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Revert "fix:喜旺文档bug修复"
This reverts commit
31a2b3a5
.
1 parent
31a2b3a5
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
16 additions
and
22 deletions
linkwe-ui/.env.development
linkwe-ui/src/api/customer/index.js
linkwe-ui/src/api/customer/tag.js
linkwe-ui/src/views/contacts/organization.vue
linkwe-ui/src/views/customerManage/customer.vue
linkwe-ui/src/views/customerManage/group.vue
linkwe-ui/src/views/customerManage/tag.vue
linkwe-ui/src/views/index.vue
linkwe-ui/.env.development
View file @
4f712c8
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
ENV = 'development'
ENV = 'development'
# 仟微管理系统/开发环境
# 仟微管理系统/开发环境
VUE_APP_BASE_API = 'http://
demo.linkwechat.cn/api
'
VUE_APP_BASE_API = 'http://
119.45.28.29:8090
'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# VUE_APP_BASE_API = 'http://n3rpzt.natappfree.cc'
# 开发环境IP
# 开发环境IP
...
...
linkwe-ui/src/api/customer/index.js
View file @
4f712c8
...
@@ -103,7 +103,7 @@ export function exportCustomer(query) {
...
@@ -103,7 +103,7 @@ export function exportCustomer(query) {
*/
*/
export
function
getDetail
(
externalUserid
)
{
export
function
getDetail
(
externalUserid
)
{
return
request
({
return
request
({
url
:
service
+
'/external
UserId/'
+
externalUserid
,
url
:
service
+
'/getCustomersBy
UserId/'
+
externalUserid
,
})
})
}
}
...
...
linkwe-ui/src/api/customer/tag.js
View file @
4f712c8
/***
* @file:
* @author: qi.yeqing
* @Date: 2021-07-13 11:43:55
*/
import
request
from
'@/utils/request'
import
request
from
'@/utils/request'
const
service
=
window
.
CONFIG
.
services
.
wecom
+
'/group'
const
service
=
window
.
CONFIG
.
services
.
wecom
+
'/group'
const
service2
=
window
.
CONFIG
.
services
.
wecom
// 客户标签
// 客户标签
/**
/**
...
@@ -25,7 +20,7 @@ export function getList(params) {
...
@@ -25,7 +20,7 @@ export function getList(params) {
/**
/**
* 新增客户标签
* 新增客户标签
* @param {Object} data
* @param {Object} data
{
{
"gourpName": "标签组名称",
"gourpName": "标签组名称",
"weTags": [{
"weTags": [{
...
@@ -43,7 +38,7 @@ export function add(data) {
...
@@ -43,7 +38,7 @@ export function add(data) {
/**
/**
* 客户标签编辑
* 客户标签编辑
* @param {*} data
* @param {*} data
{
{
"id": "主键",
"id": "主键",
"gourpName": "标签分组名",
"gourpName": "标签分组名",
...
@@ -57,7 +52,7 @@ export function add(data) {
...
@@ -57,7 +52,7 @@ export function add(data) {
*/
*/
export
function
update
(
data
)
{
export
function
update
(
data
)
{
return
request
({
return
request
({
url
:
service
2
+
'/customer/edit'
,
url
:
service
,
method
:
'put'
,
method
:
'put'
,
data
,
data
,
})
})
...
@@ -69,8 +64,8 @@ export function update(data) {
...
@@ -69,8 +64,8 @@ export function update(data) {
*/
*/
export
function
remove
(
ids
)
{
export
function
remove
(
ids
)
{
return
request
({
return
request
({
url
:
service
2
+
'/customer
/'
+
ids
,
url
:
service
+
'
/'
+
ids
,
method
:
'
get
'
,
method
:
'
DELETE
'
,
})
})
}
}
...
...
linkwe-ui/src/views/contacts/organization.vue
View file @
4f712c8
...
@@ -12,7 +12,6 @@ export default {
...
@@ -12,7 +12,6 @@ export default {
pageSize
:
10
,
pageSize
:
10
,
isActivate
:
''
,
isActivate
:
''
,
department
:
''
,
department
:
''
,
deptId
:
''
,
},
},
dateRange
:
[],
dateRange
:
[],
treeData
:
[],
treeData
:
[],
...
@@ -109,8 +108,7 @@ export default {
...
@@ -109,8 +108,7 @@ export default {
})
})
},
},
handleNodeClick
(
data
)
{
handleNodeClick
(
data
)
{
this
.
query
.
department
=
data
.
id
==
1
?
''
:
data
.
id
;
this
.
query
.
department
=
data
.
id
==
1
?
''
:
data
.
id
this
.
query
.
deptId
=
data
.
deptId
this
.
getList
(
1
)
this
.
getList
(
1
)
},
},
edit
(
data
,
type
)
{
edit
(
data
,
type
)
{
...
...
linkwe-ui/src/views/customerManage/customer.vue
View file @
4f712c8
...
@@ -406,7 +406,8 @@ export default {
...
@@ -406,7 +406,8 @@ export default {
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"createTime"
label
=
"添加时间"
align
=
"center"
>
<
el
-
table
-
column
prop
=
"createTime"
label
=
"添加时间"
align
=
"center"
>
<
template
slot
-
scope
=
"scope"
>
{{
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
]
?
scope
.
row
.
weFlowerCustomerRels
[
0
].
addTime
scope
.
row
.
weFlowerCustomerRels
[
0
]
?
scope
.
row
.
weFlowerCustomerRels
[
0
].
createTime
:
''
:
''
}}
<
/template
>
}}
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -418,7 +419,7 @@ export default {
...
@@ -418,7 +419,7 @@ export default {
>
>
<
el
-
tag
<
el
-
tag
type
=
"info"
type
=
"info"
v
-
for
=
"(unit, unique) in item.we
Tag
s"
v
-
for
=
"(unit, unique) in item.we
FlowerCustomerTagRel
s"
:
key
=
"unique"
:
key
=
"unique"
>
{{
unit
.
tagName
}}
<
/el-ta
g
>
{{
unit
.
tagName
}}
<
/el-ta
g
>
>
...
...
linkwe-ui/src/views/customerManage/group.vue
View file @
4f712c8
...
@@ -184,7 +184,7 @@ export default {
...
@@ -184,7 +184,7 @@ export default {
<el-table-column
<el-table-column
label=
"创建时间"
label=
"创建时间"
align=
"center"
align=
"center"
prop=
"
add
Time"
prop=
"
create
Time"
width=
"180"
width=
"180"
></el-table-column>
></el-table-column>
<el-table-column
<el-table-column
...
...
linkwe-ui/src/views/customerManage/tag.vue
View file @
4f712c8
...
@@ -129,14 +129,14 @@ export default {
...
@@ -129,14 +129,14 @@ export default {
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
type=
"selection"
width=
"55"
align=
"center"
/>
<el-table-column
label=
"标签组"
align=
"center"
prop=
"grou
pName"
/>
<el-table-column
label=
"标签组"
align=
"center"
prop=
"gour
pName"
/>
<el-table-column
label=
"标签"
align=
"center"
prop=
"weTags"
>
<el-table-column
label=
"标签"
align=
"center"
prop=
"weTags"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-tag
<el-tag
type=
"info"
type=
"info"
v-for=
"(item, index) in scope.row.weTags"
v-for=
"(item, index) in scope.row.weTags"
:key=
"index"
:key=
"index"
>
{{
item
.
tagN
ame
}}
</el-tag
>
{{
item
.
n
ame
}}
</el-tag
>
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
linkwe-ui/src/views/index.vue
View file @
4f712c8
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
<el-col
:span=
"6"
>
{{
table
.
customerCount
}}
</el-col>
<el-col
:span=
"6"
>
{{
table
.
customerCount
}}
</el-col>
<el-col
:span=
"6"
>
{{
table
.
groupMemberCount
}}
</el-col>
<el-col
:span=
"6"
>
{{
table
.
groupMemberCount
}}
</el-col>
<el-col
:span=
"6"
>
{{
table
.
groupCount
}}
</el-col>
<el-col
:span=
"6"
>
{{
table
.
groupCount
}}
</el-col>
<el-col
:span=
"6"
>
{{
table
.
groupMemberCount
}}
</el-col>
<el-col
:span=
"6"
>
{{
table
.
userCount
}}
</el-col>
</el-row>
</el-row>
</div>
</div>
</div>
</div>
...
...
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