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
e5cb05f3
Commit
e5cb05f3
authored
Oct 18, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
潜在客户 ,添加客户
parent
9ac9873c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
3 deletions
+25
-3
addPotentialCustom.vue
src/views/ecw/customer/addPotentialCustom.vue
+23
-2
index.vue
src/views/ecw/customer/index.vue
+2
-1
No files found.
src/views/ecw/customer/addPotentialCustom.vue
View file @
e5cb05f3
...
...
@@ -19,6 +19,26 @@
</el-col>
</el-row>
</el-form-item>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"社交软件"
>
<el-select
v-model=
"form.customerContacts[0].social"
:placeholder=
"$t('请选择社交软件')"
size=
"mini"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.SOCIAL)"
:key=
"dict.value"
:label=
" $l(dict,'label')"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"社交软件号码"
>
<el-input
v-model=
"form.customerContacts[0].socialNumber"
:placeholder=
"$t('请输入社交软件号码')"
size=
"mini"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"邮箱"
>
<el-input
v-model=
"form.customerContacts[0].email"
:placeholder=
"$t('请输入邮箱')"
size=
"mini"
/>
</el-form-item>
</el-col>
</el-row>
<el-form-item
prop=
"source"
:label=
"$t('客户来源')"
>
<el-select
v-model=
"form.source"
:placeholder=
"$t('请选择客户来源')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
...
...
@@ -93,8 +113,9 @@ export default {
},
reset
(){
this
.
form
=
{
name
:
undefined
,
customerContacts
:[{
areaCode
:
undefined
,
phoneNew
:
undefined
,
name
:
undefined
,
isDefault
:
1
}],
customerContacts
:[{
areaCode
:
undefined
,
phoneNew
:
undefined
,
name
:
undefined
,
isDefault
:
1
,
social
:
undefined
,
socialNumber
:
undefined
,
email
:
undefined
,
}],
source
:
undefined
,
type
:[],
customerService
:
undefined
,
...
...
@@ -103,7 +124,7 @@ export default {
inquiry
:
undefined
,
productType
:
undefined
,
productId
:
undefined
,
picture
:
undefined
picture
:
undefined
,
}
},
submit
(){
...
...
src/views/ecw/customer/index.vue
View file @
e5cb05f3
...
...
@@ -815,7 +815,8 @@ export default {
},
/** 修改按钮操作 */
handleUpdate
(
row
)
{
this
.
$router
.
push
(
'
/customer/edit/
'
+
row
.
id
)
console
.
log
(
row
.
id
)
this
.
$router
.
push
(
'
/customer/add-edit/
'
+
row
.
id
)
// this.reset();
// const id = row.id;
// getCustomer(id).then(response => {
...
...
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