Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
a0be8085
Commit
a0be8085
authored
Oct 22, 2023
by
zhoutong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
f5c9317d
9d0cb54b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
46 additions
and
4 deletions
+46
-4
showContacts.vue
...iews/ecw/productBrank/Empower/components/showContacts.vue
+37
-0
index.vue
src/views/ecw/productBrank/Empower/index.vue
+9
-4
No files found.
src/views/ecw/productBrank/Empower/components/showContacts.vue
0 → 100644
View file @
a0be8085
<
script
>
export
default
{
name
:
"
showContacts
"
,
props
:{
phoneString
:[
String
]
},
data
(){
return
{
phoneList
:[],
}
},
mounted
()
{
let
phone
=
this
.
phoneString
this
.
phoneList
=
phone
.
split
(
'
(;)
'
);
console
.
log
(
this
.
phoneList
)
}
}
</
script
>
<
template
>
<div>
<div
v-for=
"(item, index) in phoneList"
:key=
"index"
>
<div>
<span>
联系人
{{
index
+
1
}}
:
</span>
<span>
{{
item
.
split
(
'
(@)
'
)[
1
]
}}
</span>
</div>
<div>
<span>
联系电话
{{
index
+
1
}}
:
</span>
<span>
+
{{
item
.
split
(
'
(@)
'
)[
0
]
}}
</span>
</div>
</div>
</div>
</
template
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/ecw/productBrank/Empower/index.vue
View file @
a0be8085
...
...
@@ -43,9 +43,10 @@
:label=
"$t('客户名称')"
>
</el-table-column>
<el-table-column
prop=
"phone"
:formatter=
"(row, column, cellValue) => '+' + cellValue"
:label=
"$t('客户号码')"
>
<template
v-slot=
"
{row}">
<show-contacts
:phone-string=
"row.phone"
></show-contacts>
</
template
>
</el-table-column>
<el-table-column
prop=
"feeScale"
...
...
@@ -78,9 +79,11 @@
:label=
"$t('客户名称')"
>
</el-table-column>
<el-table-column
prop=
"phone"
:formatter=
"(row, column, cellValue) => '+' + cellValue"
width=
"210"
:label=
"$t('客户号码')"
>
<
template
v-slot=
"{row}"
>
<show-contacts
:phone-string=
"row.phone"
></show-contacts>
</
template
>
</el-table-column>
<el-table-column
prop=
"fileUrl"
...
...
@@ -211,10 +214,12 @@ import DictSelector from "@/components/DictSelector"
import
{
DICT_TYPE
,
getDictDataLabel
}
from
'
@/utils/dict
'
import
FileUpload
from
'
@/components/FileUpload
'
import
{
parseTime
}
from
'
@/utils/ruoyi
'
import
ShowContacts
from
"
@/views/ecw/productBrank/Empower/components/showContacts.vue
"
;
export
default
{
name
:
"
Empower
"
,
components
:
{
ShowContacts
,
DictSelector
,
FileUpload
}
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment