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 6d514371
authored
Oct 09, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
流失提醒改为新接口
1 parent
418ca54c
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
11 deletions
linkwe-ui/src/views/customerManage/lossRemind.vue
linkwe-ui/src/views/material/components/MaPage.vue
linkwe-ui/src/views/customerManage/lossRemind.vue
View file @
6d51437
...
@@ -232,27 +232,29 @@ export default {
...
@@ -232,27 +232,29 @@ export default {
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
></el-table-column>
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
></el-table-column>
<el-table-column
label=
"客户"
prop=
"name"
align=
"center"
>
<el-table-column
label=
"客户"
prop=
"name"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
n
ame
}}
{{
scope
.
row
.
customerN
ame
}}
<span
:style=
"
{ color: scope.row.type === 1 ? '#4bde03' : '#f9a90b' }">
{{
<
!--
<
span
:style=
"
{ color: scope.row.type === 1 ? '#4bde03' : '#f9a90b' }">
{{
{
1
:
'@微信'
,
2
:
'@企业微信'
}
[
scope
.
row
.
type
]
{
1
:
'@微信'
,
2
:
'@企业微信'
}
[
scope
.
row
.
type
]
}}
<
/span
>
}}
<
/span
>
<
i
:
class
=
"
[
'el-icon-s-custom'
,
{
1
:
'man'
,
2
:
'woman'
}
[
scope
.
row
.
gender
]]
"></i>
<
i
:
class
=
"
[
'el-icon-s-custom'
,
{
1
:
'man'
,
2
:
'woman'
}
[
scope
.
row
.
gender
]]
"></i>
-->
</template>
</template>
</el-table-column>
</el-table-column>
<
el-table-column prop="
corpName
" label="
公司名称
" align="
center
"></el-table-column
>
<
!-- <el-table-column prop="
corpName
" label="
公司名称
" align="
center
"></el-table-column> --
>
<el-table-column prop="
userName
" label="
添加人(首位)
" align="
center
">
<el-table-column prop="
userName
" label="
添加人(首位)
" align="
center
">
<
template slot-scope="
scope
"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
].
userName
}}
<
/template
>
<
!-- <template slot-scope="
scope
"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
].
userName
}}
<
/template> --
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"
create
Time"
label
=
"添加时间"
align
=
"center"
>
<
el
-
table
-
column
prop
=
"
firstAdd
Time"
label
=
"添加时间"
align
=
"center"
>
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
].
createTime
}}
<
/template
>
<
!--
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
].
createTime
}}
<
/template> --
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
prop
=
"address"
label
=
"标签"
align
=
"center"
>
<
el
-
table
-
column
prop
=
"address"
label
=
"标签"
align
=
"center"
>
<
template
slot
-
scope
=
"scope"
>
<
template
slot
-
scope
=
"
{
row
}
" v-if="
row
.
tagNames
">
<
div
v
-
for
=
"(item, index) in scope.row.weFlowerCustomerRels"
:
key
=
"index"
>
<el-tag type="
info
" v-for="
(
unit
,
unique
)
in
row
.
tagNames
.
split
(
','
)
" :key="
unique
"
>
{{
unit
}}
<
/el-tag
>
<!--
<
div
v
-
for
=
"(item, index) in row.weFlowerCustomerRels"
:
key
=
"index"
>
<
el
-
tag
type
=
"info"
v
-
for
=
"(unit, unique) in item.weFlowerCustomerTagRels"
:
key
=
"unique"
>
{{
<
el
-
tag
type
=
"info"
v
-
for
=
"(unit, unique) in item.weFlowerCustomerTagRels"
:
key
=
"unique"
>
{{
unit
.
tagName
unit
.
tagName
}}
<
/el-tag
>
}}
<
/el-tag
>
<
/div
>
<
/div>
--
>
<
/template
>
<
/template
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"操作"
width
=
"100"
>
<
el
-
table
-
column
label
=
"操作"
width
=
"100"
>
...
...
linkwe-ui/src/views/material/components/MaPage.vue
View file @
6d51437
...
@@ -45,7 +45,7 @@ export default {
...
@@ -45,7 +45,7 @@ export default {
},
},
list
:
[],
// 列表
list
:
[],
// 列表
total
:
0
,
// 总条数
total
:
0
,
// 总条数
treeData
:
[],
// 树
treeData
:
[
{}
],
// 树
// 树props
// 树props
treeProps
:
{
treeProps
:
{
children
:
'children'
,
children
:
'children'
,
...
...
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