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