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
2a49d5a2
Commit
2a49d5a2
authored
Aug 07, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
国际化调整
parent
62d151be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
18 deletions
+18
-18
addPotentialCustom.vue
src/views/ecw/customer/addPotentialCustom.vue
+18
-18
No files found.
src/views/ecw/customer/addPotentialCustom.vue
View file @
2a49d5a2
<
template
>
<
template
>
<div>
<div>
<el-dialog
title=
"新建客户信息
"
:visible.sync=
"dialogTableVisible"
>
<el-dialog
:title=
"$t('新建潜在客户信息')
"
:visible.sync=
"dialogTableVisible"
>
<el-form
ref=
"form"
:rules=
"rules"
:model=
"form"
label-width=
"100px"
style=
"padding: 0 20px;"
>
<el-form
ref=
"form"
:rules=
"rules"
:model=
"form"
label-width=
"100px"
style=
"padding: 0 20px;"
>
<el-form-item
prop=
"name"
label=
"客户姓名
"
>
<el-form-item
prop=
"name"
:label=
"$t('客户姓名')
"
>
<el-input
v-model=
"form.name"
placeholder=
"placeholder
"
></el-input>
<el-input
v-model=
"form.name"
:placeholder=
"$t('请输入客户姓名')
"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
required
label=
"联系方式
"
>
<el-form-item
required
:label=
"$t('联系方式')
"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"4"
>
<el-col
:span=
"4"
>
<el-form-item
prop=
"customerContacts[0].areaCode"
>
<el-form-item
prop=
"customerContacts[0].areaCode"
>
...
@@ -19,25 +19,25 @@
...
@@ -19,25 +19,25 @@
</el-col>
</el-col>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
<el-form-item
prop=
"source"
label=
"客户来源
"
>
<el-form-item
prop=
"source"
:label=
"$t('客户来源')
"
>
<el-select
v-model=
"form.source"
:placeholder=
"$t('请选择客户来源')"
>
<el-select
v-model=
"form.source"
:placeholder=
"$t('请选择客户来源')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
:key=
"dict.value"
:label=
"dict.label"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"dict.label"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户类别
"
prop=
"type"
>
<el-form-item
:label=
"$t('客户类别')
"
prop=
"type"
>
<dict-selector
v-model=
"form.type"
:type=
"DICT_TYPE.CUSTOMER_TYPE"
form-type=
"checkbox"
multiple
></dict-selector>
<dict-selector
v-model=
"form.type"
:type=
"DICT_TYPE.CUSTOMER_TYPE"
form-type=
"checkbox"
multiple
></dict-selector>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户经理
"
>
<el-form-item
:label=
"$t('客户经理')
"
>
<el-select
v-model=
"form.customerService"
:placeholder=
"$t('请选择客户经理')"
>
<el-select
v-model=
"form.customerService"
:placeholder=
"$t('请选择客户经理')"
>
<el-option
v-for=
"item in serviceUserList"
<el-option
v-for=
"item in serviceUserList"
:key=
"item.id"
:label=
"item.nickname"
:value=
"item.id"
/>
:key=
"item.id"
:label=
"item.nickname"
:value=
"item.id"
/>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"公司名称
"
>
<el-form-item
:label=
"$t('公司名称')
"
>
<el-input
v-model=
"form.company"
></el-input>
<el-input
v-model=
"form.company"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"公司英文名称
"
>
<el-form-item
:label=
"$t('公司英文名称')
"
>
<el-input
v-model=
"form.companyEn"
></el-input>
<el-input
v-model=
"form.companyEn"
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('主营类别')"
prop=
"productType"
>
<el-form-item
:label=
"$t('主营类别')"
prop=
"productType"
>
...
@@ -54,18 +54,18 @@
...
@@ -54,18 +54,18 @@
</el-col>
</el-col>
</el-row>
</el-row>
</el-form-item>
</el-form-item>
<el-form-item
label=
"询盘信息
"
>
<el-form-item
:label=
"$t('询盘信息')
"
>
<el-input
<el-input
v-model=
"form.inquiry"
v-model=
"form.inquiry"
type=
"textarea"
type=
"textarea"
:rows=
"3"
:rows=
"3"
placeholder=
"请输入内容
"
>
:placeholder=
"$t('请输入内容')
"
>
</el-input>
</el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogTableVisible = false"
>
取 消
</el-button>
<el-button
@
click=
"dialogTableVisible = false"
>
{{
$t
(
'
取 消
'
)
}}
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"submit"
>
{{
$t
(
'
确 定
'
)
}}
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -112,7 +112,7 @@ export default {
...
@@ -112,7 +112,7 @@ export default {
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
$emit
(
'
change
'
);
this
.
$emit
(
'
change
'
);
this
.
dialogTableVisible
=
false
;
this
.
dialogTableVisible
=
false
;
this
.
$message
(
'
创建成功
'
);
this
.
$message
(
this
.
$t
(
'
创建成功
'
)
);
}
}
})
})
}
}
...
@@ -138,10 +138,10 @@ export default {
...
@@ -138,10 +138,10 @@ export default {
},
},
rules
(){
rules
(){
return
{
return
{
name
:{
required
:
true
,
message
:
'
请输入名称
'
,
target
:
'
blur
'
},
name
:{
required
:
true
,
message
:
this
.
$t
(
'
请输入名称
'
)
,
target
:
'
blur
'
},
customerContacts
:[{
areaCode
:{
required
:
true
,
message
:
'
请输入区号。
'
,
target
:
'
blur
'
},
phoneNew
:{
required
:
true
,
message
:
'
请输入电话号码。
'
,
target
:
'
blur
'
}
},],
customerContacts
:[{
areaCode
:{
required
:
true
,
message
:
this
.
$t
(
'
请输入区号。
'
),
target
:
'
blur
'
},
phoneNew
:{
required
:
true
,
message
:
this
.
$t
(
'
请输入电话号码。
'
)
,
target
:
'
blur
'
}
},],
type
:{
type
:
'
array
'
,
message
:
'
请输入客户类别。
'
,
required
:
true
,
target
:[
'
blur
'
,
'
change
'
]},
type
:{
type
:
'
array
'
,
message
:
this
.
$t
(
'
请输入客户类别。
'
)
,
required
:
true
,
target
:[
'
blur
'
,
'
change
'
]},
source
:{
message
:
'
前请输入客户来源
'
,
required
:
true
,
target
:
'
change
'
,
type
:
'
number
'
}
source
:{
message
:
this
.
$t
(
'
前请输入客户来源
'
)
,
required
:
true
,
target
:
'
change
'
,
type
:
'
number
'
}
}
}
}
}
},
},
...
...
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