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
ca4d9052
Commit
ca4d9052
authored
Oct 20, 2024
by
zhengyi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户类别多选展示bug修复
parent
56ce6a19
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
50 additions
and
36 deletions
+50
-36
index.vue
src/components/QuickCreateCustomer/index.vue
+2
-1
customerMerge.vue
src/views/ecw/customer/components/customerMerge.vue
+6
-5
index.vue
src/views/ecw/customer/index.vue
+6
-5
indirectCustomer.vue
src/views/ecw/customer/indirectCustomer.vue
+7
-3
index.vue
src/views/ecw/customerConfirm/index.vue
+6
-5
index.vue
src/views/ecw/customerToBeAssigned/index.vue
+6
-5
index.vue
src/views/ecw/myCustomerService/index.vue
+6
-5
index.vue
src/views/ecw/oceanCustomer/index.vue
+6
-5
index.vue
src/views/report/customer_analysis/index.vue
+5
-2
No files found.
src/components/QuickCreateCustomer/index.vue
View file @
ca4d9052
...
@@ -60,6 +60,7 @@
...
@@ -60,6 +60,7 @@
<
script
>
<
script
>
import
{
createCustomer
}
from
'
@/api/ecw/customer
'
import
{
createCustomer
}
from
'
@/api/ecw/customer
'
import
{
DICT_TYPE
}
from
"
@/utils/dict
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
import
{
listServiceUser
}
from
"
@/api/system/user
"
import
{
getCountryListAll
}
from
'
@/api/ecw/country
'
import
{
getCountryListAll
}
from
'
@/api/ecw/country
'
import
{
getCustomerContactsSelect
}
from
'
@/api/ecw/customerContacts
'
import
{
getCustomerContactsSelect
}
from
'
@/api/ecw/customerContacts
'
...
@@ -74,7 +75,7 @@ export default {
...
@@ -74,7 +75,7 @@ export default {
data
(){
data
(){
return
{
return
{
show
:
true
,
show
:
true
,
DICT_TYPE
,
// 表单参数
// 表单参数
form
:
{
form
:
{
customerContacts
:[{
isDefault
:
1
}]
customerContacts
:[{
isDefault
:
1
}]
...
...
src/views/ecw/customer/components/customerMerge.vue
View file @
ca4d9052
...
@@ -151,11 +151,12 @@
...
@@ -151,11 +151,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"{ row }"
>
<dict-tag
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
row
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
isChinese
?
e
.
label
:
e
.
labelEn
).
join
(
'
,
'
)
}}
:type=
"DICT_TYPE.CUSTOMER_TYPE"
<!--
<dict-tag-->
:value=
"scope.row.type"
<!-- :type="DICT_TYPE.CUSTOMER_TYPE"-->
/>
<!-- :value="scope.row.type"-->
<!-- />-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('角色')"
align=
"center"
>
<el-table-column
:label=
"$t('角色')"
align=
"center"
>
...
...
src/views/ecw/customer/index.vue
View file @
ca4d9052
...
@@ -644,11 +644,12 @@
...
@@ -644,11 +644,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"{ row }"
>
<dict-tag
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
row
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
isChinese
?
e
.
label
:
e
.
labelEn
).
join
(
'
,
'
)
}}
:type=
"DICT_TYPE.CUSTOMER_TYPE"
<!--
<dict-tag-->
:value=
"scope.row.type"
<!-- :type="DICT_TYPE.CUSTOMER_TYPE"-->
/>
<!-- :value="scope.row.type"-->
<!-- />-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
...
...
src/views/ecw/customer/indirectCustomer.vue
View file @
ca4d9052
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
clearable
clearable
v-model.number=
"queryParams.memberMobile"
v-model.number=
"queryParams.memberMobile"
:placeholder=
"$t('请输入会员电话')"
/>
:placeholder=
"$t('请输入会员电话')"
/>
</el-col>
</el-col>
</el-form-item>
</el-form-item>
<el-form-item
:label=
"$t('会员编号')"
prop=
"number"
>
<el-form-item
:label=
"$t('会员编号')"
prop=
"number"
>
<el-input
<el-input
...
@@ -101,7 +101,8 @@
...
@@ -101,7 +101,8 @@
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"sourse"
>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"sourse"
>
<
template
v-slot=
"{row}"
>
<
template
v-slot=
"{row}"
>
<dict-tag
:value=
"row.type"
:type=
"DICT_TYPE.CUSTOMER_TYPE"
/>
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
row
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
isChinese
?
e
.
label
:
e
.
labelEn
).
join
(
'
,
'
)
}}
<!--
<dict-tag
:value=
"row.type"
:type=
"DICT_TYPE.CUSTOMER_TYPE"
/>
-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('创建时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
<el-table-column
:label=
"$t('创建时间')"
align=
"center"
prop=
"createTime"
width=
"180"
>
...
@@ -130,16 +131,18 @@
...
@@ -130,16 +131,18 @@
<
script
>
<
script
>
import
{
updateCustomer
,
getCustomer
,
import
{
updateCustomer
,
getCustomer
,
getCustomerPage
,
exportCustomerExcel
}
from
"
@/api/ecw/indirectCustomer
"
;
getCustomerPage
,
exportCustomerExcel
}
from
"
@/api/ecw/indirectCustomer
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
getDictDatas
,
DICT_TYPE
,
getDictDatas2
}
from
'
@/utils/dict
'
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
exportCustomerComplaintExcel
}
from
"
@/api/ecw/customerComplaint
"
;
import
{
exportCustomerComplaintExcel
}
from
"
@/api/ecw/customerComplaint
"
;
import
{
indirectCustomerExportExcel
}
from
"
@/api/ecw/customer
"
;
import
{
indirectCustomerExportExcel
}
from
"
@/api/ecw/customer
"
;
import
AreaCodeSelector
from
"
@/components/AreaCodeSelector/index.vue
"
;
import
AreaCodeSelector
from
"
@/components/AreaCodeSelector/index.vue
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
export
default
{
export
default
{
name
:
"
EcwCustomerIndirectcustomer
"
,
name
:
"
EcwCustomerIndirectcustomer
"
,
components
:
{
components
:
{
Template
,
AreaCodeSelector
AreaCodeSelector
},
},
activated
()
{
activated
()
{
...
@@ -149,6 +152,7 @@ export default {
...
@@ -149,6 +152,7 @@ export default {
return
{
return
{
exportLoading
:
false
,
exportLoading
:
false
,
getDictDatas
,
getDictDatas
,
getDictDatas2
,
DICT_TYPE
,
DICT_TYPE
,
// 遮罩层
// 遮罩层
loading
:
true
,
loading
:
true
,
...
...
src/views/ecw/customerConfirm/index.vue
View file @
ca4d9052
...
@@ -454,11 +454,12 @@
...
@@ -454,11 +454,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"{ row }"
>
<dict-tag
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
row
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
isChinese
?
e
.
label
:
e
.
labelEn
).
join
(
'
,
'
)
}}
:type=
"DICT_TYPE.CUSTOMER_TYPE"
<!--
<dict-tag-->
:value=
"scope.row.type"
<!-- :type="DICT_TYPE.CUSTOMER_TYPE"-->
/>
<!-- :value="scope.row.type"-->
<!-- />-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
...
...
src/views/ecw/customerToBeAssigned/index.vue
View file @
ca4d9052
...
@@ -451,11 +451,12 @@
...
@@ -451,11 +451,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"{ row }"
>
<dict-tag
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
row
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
isChinese
?
e
.
label
:
e
.
labelEn
).
join
(
'
,
'
)
}}
:type=
"DICT_TYPE.CUSTOMER_TYPE"
<!--
<dict-tag-->
:value=
"scope.row.type"
<!-- :type="DICT_TYPE.CUSTOMER_TYPE"-->
/>
<!-- :value="scope.row.type"-->
<!-- />-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
...
...
src/views/ecw/myCustomerService/index.vue
View file @
ca4d9052
...
@@ -508,11 +508,12 @@
...
@@ -508,11 +508,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"{ row }"
>
<dict-tag
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
row
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
isChinese
?
e
.
label
:
e
.
labelEn
).
join
(
'
,
'
)
}}
:type=
"DICT_TYPE.CUSTOMER_TYPE"
<!--
<dict-tag-->
:value=
"scope.row.type"
<!-- :type="DICT_TYPE.CUSTOMER_TYPE"-->
/>
<!-- :value="scope.row.type"-->
<!-- />-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
ca4d9052
...
@@ -503,11 +503,12 @@
...
@@ -503,11 +503,12 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('客户类别')"
align=
"center"
prop=
"status"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"{ row }"
>
<dict-tag
{{
getDictDatas2
(
DICT_TYPE
.
CUSTOMER_TYPE
,
(
row
.
type
||
''
).
split
(
'
,
'
)).
map
(
e
=>
isChinese
?
e
.
label
:
e
.
labelEn
).
join
(
'
,
'
)
}}
:type=
"DICT_TYPE.CUSTOMER_TYPE"
<!--
<dict-tag-->
:value=
"scope.row.type"
<!-- :type="DICT_TYPE.CUSTOMER_TYPE"-->
/>
<!-- :value="scope.row.type"-->
<!-- />-->
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
<el-table-column
:label=
"$t('角色')"
align=
"center"
prop=
"status"
>
...
...
src/views/report/customer_analysis/index.vue
View file @
ca4d9052
...
@@ -397,10 +397,11 @@
...
@@ -397,10 +397,11 @@
/>
/>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
//国家列表接口
//国家列表接口
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
DICT_TYPE
,
getDictDatas
,
getDictDatas2
}
from
'
@/utils/dict
'
import
UserSelector
from
"
@/components/UserSelector
"
;
import
UserSelector
from
"
@/components/UserSelector
"
;
import
{
listServiceUser2
}
from
"
@/api/system/user
"
;
import
{
listServiceUser2
}
from
"
@/api/system/user
"
;
import
Treeselect
from
"
@riophae/vue-treeselect
"
;
import
Treeselect
from
"
@riophae/vue-treeselect
"
;
...
@@ -482,6 +483,9 @@ export default {
...
@@ -482,6 +483,9 @@ export default {
return
{
return
{
// 遮罩层
// 遮罩层
loading
:
true
,
loading
:
true
,
getDictDatas2
,
getDictDatas
,
DICT_TYPE
,
// 导出遮罩层
// 导出遮罩层
exportLoading
:
false
,
exportLoading
:
false
,
// 显示搜索条件
// 显示搜索条件
...
@@ -849,4 +853,3 @@ export default {
...
@@ -849,4 +853,3 @@ export default {
},
},
};
};
</
script
>
</
script
>
\ No newline at end of file
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