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
f934a0db
Commit
f934a0db
authored
Jan 11, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户模块国际化优化2
parent
31f6a7eb
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
56 additions
and
47 deletions
+56
-47
index.vue
src/views/ecw/customer/index.vue
+14
-13
indirectCustomer.vue
src/views/ecw/customer/indirectCustomer.vue
+6
-1
index.vue
src/views/ecw/customerCommission/index.vue
+8
-5
index.vue
src/views/ecw/customerComplaint/index.vue
+1
-1
index.vue
src/views/ecw/customerConfirm/index.vue
+11
-11
index.vue
src/views/ecw/customerToBeAssigned/index.vue
+5
-5
index.vue
src/views/ecw/messageLeave/index.vue
+1
-1
index.vue
src/views/ecw/myCustomerService/index.vue
+5
-5
index.vue
src/views/ecw/oceanCustomer/index.vue
+5
-5
No files found.
src/views/ecw/customer/index.vue
View file @
f934a0db
...
...
@@ -12,7 +12,7 @@
<el-form-item
:label=
"$t('客户等级')"
prop=
"level"
>
<el-select
clearable
v-model=
"queryParams.level"
:placeholder=
"$t('请选择客户等级')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_LEVEL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('联系方式')"
>
...
...
@@ -30,19 +30,19 @@
<el-form-item
:label=
"$t('客户来源')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.source"
:placeholder=
"$t('请选择客户来源')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('国家')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.country"
:placeholder=
"$t('请选择国家')"
>
<el-option
v-for=
"dict in countryList"
:key=
"dict.id"
:label=
"
dict.nameZh
"
:value=
"parseInt(dict.id)"
/>
:key=
"dict.id"
:label=
"
isChinese ? dict.nameZh : dict.nameEn
"
:value=
"parseInt(dict.id)"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('客户状态')"
prop=
"status"
>
<el-select
clearable
v-model=
"queryParams.status"
:placeholder=
"$t('请选择客户状态')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
...
...
@@ -51,7 +51,7 @@
</el-form-item>
<el-form-item
:label=
"$t('信用等级')"
prop=
"department"
>
<el-select
clearable
v-model=
"queryParams.creditLevel"
>
<el-option
v-for=
"(item,index) in creditList"
:label=
"i
tem.nameZh
"
:key=
"index"
:value=
"item.id"
></el-option>
<el-option
v-for=
"(item,index) in creditList"
:label=
"i
sChinese ? item.nameZh : item.nameEn
"
:key=
"index"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
@@ -164,7 +164,7 @@
<el-form-item
:label=
"$t('国家')"
prop=
"country"
>
<el-select
v-model=
"form.country"
:placeholder=
"$t('请选择国家')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.COUNTRY)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -172,7 +172,7 @@
<el-form-item
:label=
"$t('客户等级')"
prop=
"level"
>
<el-select
v-model=
"form.level"
:placeholder=
"$t('请选择客户等级')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_LEVEL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -185,7 +185,7 @@
<el-form-item
:label=
"$t('客户类别')"
prop=
"type"
>
<el-select
v-model=
"form.type"
:placeholder=
"$t('请选择客户类别')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_TYPE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -242,7 +242,7 @@
<el-form-item
:label=
"$t('客户来源')"
prop=
"source"
>
<el-select
v-model=
"form.source"
:placeholder=
"$t('请选择客户来源')"
>
<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=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -250,7 +250,7 @@
<el-form-item
:label=
"$t('结算方式')"
prop=
"balance"
>
<el-select
v-model=
"form.balance"
:placeholder=
"$t('请选择结算方式')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_BALANCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -270,9 +270,10 @@
</el-col>
<el-col
:span=
"12"
>
<el-form-item
:label=
"$t('客户状态')"
prop=
"status"
>
<el-select
v-model=
"form.status"
:placeholder=
"$t('请选择客户状态')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -378,7 +379,7 @@
<
template
v-slot=
"{row}"
>
<el-select
v-model=
"row.areaCode"
:placeholder=
"$t('请选择区号')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.AREA_CODE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</
template
>
</el-table-column>
...
...
@@ -404,7 +405,7 @@
<
template
v-slot=
"{row}"
>
<el-select
v-model=
"row.social"
:placeholder=
"$t('请选择社交软件')"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.SOCIAL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</
template
>
</el-table-column>
...
...
src/views/ecw/customer/indirectCustomer.vue
View file @
f934a0db
...
...
@@ -18,7 +18,7 @@
<el-form-item
:label=
"$t('客户来源')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.source"
:placeholder=
"$t('请选择客户来源')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
...
...
@@ -137,6 +137,11 @@ export default {
this
.
customerServiceList
=
r
.
data
;
})
},
computed
:{
isChinese
(){
return
this
.
$i18n
.
locale
===
'
zh_CN
'
},
},
methods
:
{
// 导出
handleExport
()
{
...
...
src/views/ecw/customerCommission/index.vue
View file @
f934a0db
...
...
@@ -27,19 +27,19 @@
<el-form-item
:label=
"$t('佣金类型')"
prop=
"transportId"
>
<el-select
v-model=
"queryParams.type"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.COMMISSION_TYPE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('运输方式')"
prop=
"departureId"
>
<el-select
v-model=
"queryParams.departureId"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.ECW_TRANSPORT_TYPE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('始发地')"
prop=
"objectiveId"
>
<el-select
v-model=
"queryParams.objectiveId"
clearable
size=
"small"
>
<el-option
v-for=
"dict in exportCityList"
:key=
"dict.id"
:label=
"
dict.titleZh
"
:value=
"dict.id"
/>
:key=
"dict.id"
:label=
"
isChinese ? dict.titleZh : dict.titleEn
"
:value=
"dict.id"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('目的地')"
prop=
"customsType"
>
...
...
@@ -51,13 +51,13 @@
<el-form-item
:label=
"$t('报关方式')"
prop=
"approval"
>
<el-select
v-model=
"queryParams.approval"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.SHIPPING_DECLARATION_TYPE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('备案')"
prop=
"darkReturnType"
>
<el-select
v-model=
"queryParams.darkReturnType"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.COMMISSION_PRODUCT_APPROVAL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<div
style=
"width:100%;display: flex;justify-content: space-between;margin-bottom: 50px;"
>
...
...
@@ -195,6 +195,9 @@ export default {
};
},
computed
:{
isChinese
(){
return
this
.
$i18n
.
locale
===
'
zh_CN
'
},
//目的地
importCityList
(){
return
this
.
tradeCityList
.
filter
(
item
=>
item
.
type
==
1
)
...
...
src/views/ecw/customerComplaint/index.vue
View file @
f934a0db
...
...
@@ -21,7 +21,7 @@
<el-form-item
:label=
"$t('处理状态')"
prop=
"status"
>
<el-select
v-model=
"queryParams.status"
:placeholder=
"$t('请选择处理状态')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.CUSTOMER_COMPLAINT_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('投诉编号')"
prop=
"code"
>
...
...
src/views/ecw/customerConfirm/index.vue
View file @
f934a0db
...
...
@@ -12,7 +12,7 @@
<el-form-item
:label=
"$t('客户等级')"
prop=
"level"
>
<el-select
clearable
v-model=
"queryParams.level"
:placeholder=
"$t('请选择客户等级')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_LEVEL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('联系方式')"
>
...
...
@@ -30,19 +30,19 @@
<el-form-item
:label=
"$t('客户来源')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.source"
:placeholder=
"$t('请选择客户来源')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('国家')"
prop=
"source"
>
<el-select
clearable
v-model=
"form.country"
:placeholder=
"$t('请选择国家')"
>
<el-option
v-for=
"dict in countryList"
:key=
"dict.id"
:label=
"
dict.nameZh
"
:value=
"parseInt(dict.id)"
/>
:key=
"dict.id"
:label=
"
isChinese ? dict.nameZh : dict.nameEn
"
:value=
"parseInt(dict.id)"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('客户状态')"
prop=
"status"
>
<el-select
clearable
v-model=
"queryParams.status"
:placeholder=
"$t('请选择客户状态')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
...
...
@@ -51,7 +51,7 @@
</el-form-item>
<el-form-item
:label=
"$t('信用等级')"
prop=
"department"
>
<el-select
clearable
v-model=
"queryParams.creditLevel"
>
<el-option
v-for=
"(item,index) in creditList"
:label=
"
item.nameZh
"
:key=
"index"
:value=
"item.id"
></el-option>
<el-option
v-for=
"(item,index) in creditList"
:label=
"
isChinese ? item.nameZh : item.nameEn
"
:key=
"index"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
@@ -152,7 +152,7 @@
<el-form-item
:label=
"$t('客户等级')"
prop=
"level"
>
<el-select
v-model=
"form.level"
:placeholder=
"$t('请选择客户等级')"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.CUSTOMER_LEVEL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -160,7 +160,7 @@
<el-form-item
:label=
"$t('所属代理')"
prop=
"agentId"
>
<el-select
v-model=
"form.agentId"
:placeholder=
"$t('请选择所属代理')"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.COMMON_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -173,7 +173,7 @@
<el-form-item
:label=
"$t('客户类别')"
prop=
"type"
>
<el-select
v-model=
"form.type"
:placeholder=
"$t('请选择客户类别')"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.CUSTOMER_TYPE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -211,7 +211,7 @@
<el-form-item
:label=
"$t('客户来源')"
prop=
"source"
>
<el-select
v-model=
"form.source"
:placeholder=
"$t('请选择客户来源')"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -220,7 +220,7 @@
<el-form-item
:label=
"$t('结算方式')"
prop=
"balance"
>
<el-select
v-model=
"form.balance"
:placeholder=
"$t('请选择结算方式')"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.CUSTOMER_BALANCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -244,7 +244,7 @@
<el-form-item
:label=
"$t('客户状态')"
prop=
"status"
>
<el-select
v-model=
"form.status"
:placeholder=
"$t('请选择客户状态')"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.CUSTOMER_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"parseInt(dict.value)"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"parseInt(dict.value)"
/>
</el-select>
</el-form-item>
</el-col>
...
...
src/views/ecw/customerToBeAssigned/index.vue
View file @
f934a0db
...
...
@@ -13,7 +13,7 @@
<el-form-item
:label=
"$t('客户等级')"
prop=
"level"
>
<el-select
clearable
v-model=
"queryParams.level"
:placeholder=
"$t('请选择客户等级')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_LEVEL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('联系方式')"
>
...
...
@@ -31,19 +31,19 @@
<el-form-item
:label=
"$t('客户来源')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.source"
:placeholder=
"$t('请选择客户来源')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('国家')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.country"
:placeholder=
"$t('请选择国家')"
>
<el-option
v-for=
"dict in countryList"
:key=
"dict.id"
:label=
"
dict.nameZh
"
:value=
"parseInt(dict.id)"
/>
:key=
"dict.id"
:label=
"
isChinese ? dict.nameZh : dict.nameEn
"
:value=
"parseInt(dict.id)"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('客户状态')"
prop=
"status"
>
<el-select
clearable
v-model=
"queryParams.status"
:placeholder=
"$t('请选择客户状态')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
...
...
@@ -52,7 +52,7 @@
</el-form-item>
<el-form-item
:label=
"$t('信用等级')"
prop=
"department"
>
<el-select
clearable
v-model=
"queryParams.creditLevel"
>
<el-option
v-for=
"(item,index) in creditList"
:label=
"i
tem.nameZh
"
:key=
"index"
:value=
"item.id"
></el-option>
<el-option
v-for=
"(item,index) in creditList"
:label=
"i
sChinese ? item.nameZh : item.nameEn
"
:key=
"index"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
src/views/ecw/messageLeave/index.vue
View file @
f934a0db
...
...
@@ -15,7 +15,7 @@
<el-form-item
:label=
"$t('状态')"
prop=
"status"
>
<el-select
v-model=
"queryParams.status"
:placeholder=
"$t('请选择状态')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in this.getDictDatas(DICT_TYPE.ECW_MESSAGE_LEAVE_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
...
...
src/views/ecw/myCustomerService/index.vue
View file @
f934a0db
...
...
@@ -13,7 +13,7 @@
<el-form-item
:label=
"$t('客户等级')"
prop=
"level"
>
<el-select
clearable
v-model=
"queryParams.level"
:placeholder=
"$t('请选择客户等级')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_LEVEL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('联系方式')"
>
...
...
@@ -25,19 +25,19 @@
<el-form-item
:label=
"$t('客户来源')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.source"
:placeholder=
"$t('请选择客户来源')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('国家')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.country"
:placeholder=
"$t('请选择国家')"
>
<el-option
v-for=
"dict in countryList"
:key=
"dict.id"
:label=
"
dict.nameZh
"
:value=
"parseInt(dict.id)"
/>
:key=
"dict.id"
:label=
"
isChinese ? dict.nameZh : dict.nameEn
"
:value=
"parseInt(dict.id)"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('客户状态')"
prop=
"status"
>
<el-select
clearable
v-model=
"queryParams.status"
:placeholder=
"$t('请选择客户状态')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
...
...
@@ -47,7 +47,7 @@
<el-form-item
:label=
"$t('信用等级')"
prop=
"department"
>
<el-select
clearable
v-model=
"queryParams.creditLevel"
>
<el-option
v-for=
"(item,index) in creditList"
:label=
"i
tem.nameZh
"
:key=
"index"
:value=
"item.id"
></el-option>
<el-option
v-for=
"(item,index) in creditList"
:label=
"i
sChinese ? item.nameZh : item.nameEn
"
:key=
"index"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
f934a0db
...
...
@@ -13,7 +13,7 @@
<el-form-item
:label=
"$t('客户等级')"
prop=
"level"
>
<el-select
clearable
v-model=
"queryParams.level"
:placeholder=
"$t('请选择客户等级')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_LEVEL)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('联系方式')"
>
...
...
@@ -31,19 +31,19 @@
<el-form-item
:label=
"$t('客户来源')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.source"
:placeholder=
"$t('请选择客户来源')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_SOURCE)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('国家')"
prop=
"source"
>
<el-select
clearable
v-model=
"queryParams.country"
:placeholder=
"$t('请选择国家')"
>
<el-option
v-for=
"dict in countryList"
:key=
"dict.id"
:label=
"
dict.nameZh
"
:value=
"parseInt(dict.id)"
/>
:key=
"dict.id"
:label=
"
isChinese ? dict.nameZh : dict.nameEn
"
:value=
"parseInt(dict.id)"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('客户状态')"
prop=
"status"
>
<el-select
clearable
v-model=
"queryParams.status"
:placeholder=
"$t('请选择客户状态')"
clearable
size=
"small"
>
<el-option
v-for=
"dict in getDictDatas(DICT_TYPE.CUSTOMER_STATUS)"
:key=
"dict.value"
:label=
"
dict.label
"
:value=
"dict.value"
/>
:key=
"dict.value"
:label=
"
isChinese ? dict.label : dict.labelEn
"
:value=
"dict.value"
/>
</el-select>
</el-form-item>
<el-form-item
:label=
"$t('创建时间')"
>
...
...
@@ -52,7 +52,7 @@
</el-form-item>
<el-form-item
:label=
"$t('信用等级')"
prop=
"department"
>
<el-select
clearable
v-model=
"queryParams.creditLevel"
>
<el-option
v-for=
"(item,index) in creditList"
:label=
"i
tem.nameZh
"
:key=
"index"
:value=
"item.id"
></el-option>
<el-option
v-for=
"(item,index) in creditList"
:label=
"i
sChinese ? item.nameZh : item.nameEn
"
:key=
"index"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<el-form-item>
...
...
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