Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
华国豪
CRM
Commits
96932cf2
Commit
96932cf2
authored
Apr 22, 2022
by
罗超
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/crm
into master
parents
9eb4ebe6
04ad4222
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1225 additions
and
1212 deletions
+1225
-1212
Home.vue
src/components/Home.vue
+1
-1
clueManagement.vue
src/components/clueManagement/clueManagement.vue
+492
-547
customerDialogBox.vue
src/components/clueManagement/customerDialogBox.vue
+1
-1
guestDialogBox.vue
src/components/clueManagement/guestDialogBox.vue
+25
-2
Details.vue
src/components/guestManagement/Details.vue
+217
-69
customerDialogBox.vue
src/components/guestManagement/customerDialogBox.vue
+12
-38
guestManagement.vue
src/components/guestManagement/guestManagement.vue
+477
-554
No files found.
src/components/Home.vue
View file @
96932cf2
...
@@ -473,7 +473,7 @@ export default {
...
@@ -473,7 +473,7 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
color
:
#333333
;
color
:
#333333
;
width
:
80px
;
width
:
80px
;
padding-top
:
18px
;
/* padding-top: 18px; */
font-weight
:
bold
;
font-weight
:
bold
;
font-family
:
perfectFont
;
font-family
:
perfectFont
;
}
}
...
...
src/components/clueManagement/clueManagement.vue
View file @
96932cf2
<
style
>
<
style
>
@import
'../../assets/css/customerManage.css'
;
@import
'../../assets/css/customerManage.css'
;
/* .tools{
/* .tools{
padding-bottom: 0
padding-bottom: 0
}
}
.tools-item{
.tools-item{
...
@@ -20,9 +20,10 @@
...
@@ -20,9 +20,10 @@
color: rgb(35, 98, 251);
color: rgb(35, 98, 251);
border-color: rgb(35, 98, 251);
border-color: rgb(35, 98, 251);
} */
} */
.el-table__fixed-body-wrapper
table
{
.el-table__fixed-body-wrapper
table
{
padding-bottom
:
8px
!important
;
padding-bottom
:
8px
!important
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"customerManage"
>
<div
class=
"customerManage"
>
...
@@ -140,83 +141,43 @@
...
@@ -140,83 +141,43 @@
@
selection-change=
"handleSelectionChange"
>
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
fixed
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
<el-table-column
prop=
"C
ustomer
Name"
prop=
"C
lue
Name"
label=
"线索名称"
label=
"线索名称"
v-if=
"queryType[0].show"
v-if=
"queryType[0].show"
show-overflow-tooltip
>
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<p
@
click=
"openDetails(scope)"
class=
"font-color-link cp"
>
{{
scope
.
row
.
C
ustomer
Name
}}
</p>
<p
@
click=
"openDetails(scope)"
class=
"font-color-link cp"
>
{{
scope
.
row
.
C
lue
Name
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"CustomerSourceTypeStr"
label=
"线索来源"
v-if=
"queryType[1].show"
show-overflow-tooltip
>
prop=
"CustomerSourceTypeStr"
</el-table-column>
label=
"线索来源"
<el-table-column
prop=
"CustomerSource"
label=
"来源细分"
v-if=
"queryType[2].show && msg.CustomerType === 1"
show-overflow-tooltip
>
v-if=
"queryType[1].show"
</el-table-column>
show-overflow-tooltip
>
<el-table-column
prop=
"ClueDemand"
label=
"需求"
v-if=
"queryType[3].show && msg.CustomerType === 1"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"CustomerLevelStr"
label=
"客户级别"
sortable
width=
"100"
v-if=
"queryType[4].show && msg.CustomerType === 0"
show-overflow-tooltip
>
prop=
"CustomerLevelStr"
</el-table-column>
label=
"客户级别"
<el-table-column
prop=
"CustomerName"
label=
"联系人"
v-if=
"queryType[5].show"
show-overflow-tooltip
>
sortable
</el-table-column>
width=
"100"
<el-table-column
prop=
"MobilePhone"
label=
"联系电话"
sortable
v-if=
"queryType[6].show"
show-overflow-tooltip
>
v-if=
"queryType[5].show && msg.CustomerType === 0"
</el-table-column>
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"WeChatNo"
label=
"微信号"
sortable
v-if=
"queryType[7].show && msg.CustomerType === 1"
show-overflow-tooltip
>
<el-table-column
</el-table-column>
prop=
"Contact"
<!-- <el-table-column prop="Address" label="地址" v-if="queryType[4].show" show-overflow-tooltip>
label=
"联系人"
</el-table-column> -->
v-if=
"queryType[2].show"
<el-table-column
prop=
"PersonChargeStr"
label=
"负责人"
sortable
v-if=
"queryType[8].show && msg.CustomerType === 1"
show-overflow-tooltip
>
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"CreateByStr"
label=
"创建人"
sortable
v-if=
"queryType[9].show"
show-overflow-tooltip
>
<el-table-column
</el-table-column>
prop=
"ContactNumber"
<el-table-column
prop=
"UpdateTime"
label=
"上次更新时间"
sortable
v-if=
"queryType[10].show"
show-overflow-tooltip
>
label=
"联系电话"
sortable
v-if=
"queryType[3].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"Address"
label=
"地址"
v-if=
"queryType[4].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"PersonChargeStr"
label=
"负责人"
sortable
v-if=
"queryType[9].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"CreateByStr"
label=
"创建人"
sortable
v-if=
"queryType[6].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"UpdateTime"
label=
"上次更新时间"
sortable
v-if=
"queryType[7].show"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
UpdateTime
}}
</span>
<span>
{{
scope
.
row
.
UpdateTime
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"CreateTimestr"
label=
"创建时间"
sortable
v-if=
"queryType[11].show"
show-overflow-tooltip
>
prop=
"CreateTimestr"
</el-table-column>
label=
"创建时间"
<el-table-column
prop=
"IsCarefor"
fixed=
"right"
width=
"50"
label=
"关注"
>
sortable
v-if=
"queryType[8].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"IsCarefor"
fixed=
"right"
width=
"50"
label=
"关注"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<p>
<p>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"关注"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"关注"
placement=
"top"
>
...
@@ -227,10 +188,8 @@
...
@@ -227,10 +188,8 @@
</el-tooltip>
</el-tooltip>
</p>
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
width=
"40"
fixed=
"right"
>
width=
"40"
fixed=
"right"
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<
template
slot=
"header"
slot-scope=
"scope"
>
<el-popover
<el-popover
placement=
"bottom"
placement=
"bottom"
...
@@ -239,59 +198,35 @@
...
@@ -239,59 +198,35 @@
<i
class=
"el-icon-s-operation cp"
slot=
"reference"
></i>
<i
class=
"el-icon-s-operation cp"
slot=
"reference"
></i>
</el-popover>
</el-popover>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<div>
<div>
<el-pagination
<el-pagination
class=
"Mypagination"
background
@
current-change=
"handleCurrentChange"
:page-sizes=
"[30, 60, 90, 100]"
:page-size=
"msg.pageSize"
layout=
"sizes, prev, pager, next"
@
size-change=
"handleSizeChange"
:total=
"total"
>
class=
"Mypagination"
background
@
current-change=
"handleCurrentChange"
:page-sizes=
"[30, 60, 90, 100]"
:page-size=
"msg.pageSize"
layout=
"sizes, prev, pager, next"
@
size-change=
"handleSizeChange"
:total=
"total"
>
</el-pagination>
</el-pagination>
</div>
</div>
<el-drawer
<el-drawer
:with-header=
"false"
size=
'70%'
:visible
.
sync=
"drawer"
direction=
"rtl"
:before-close=
"handleClose"
>
:with-header=
"false"
<customerInfoBox
:CustomerId=
"CustomerId"
@
transferS=
"transfer"
@
deleteClue=
"deleteClue"
@
watersS=
"waters"
@
editCustS=
"editCust"
/>
size=
'70%'
</el-drawer>
:visible
.
sync=
"drawer"
<el-drawer
:with-header=
"false"
size=
'70%'
:visible
.
sync=
"drawer2"
direction=
"rtl"
:before-close=
"handleClose"
>
direction=
"rtl"
<guestInfoBox
:CustomerId=
"CustomerId"
@
transferS=
"transfer"
@
deleteClue=
"deleteClue"
@
watersS=
"waters"
@
editCustS=
"editCust"
/>
:before-close=
"handleClose"
>
</el-drawer>
<customerInfoBox
:CustomerId=
"CustomerId"
@
transferS=
"transfer"
@
deleteClue=
"deleteClue"
@
watersS=
"waters"
@
editCustS=
"editCust"
/>
<div
v-if=
"dialogTableVisible"
>
</el-drawer>
<customerDialogBox
@
getList=
"getList"
:name=
"dialogTableVisibleName"
:CustomerId=
"CustomerId"
/>
<el-drawer
</div>
:with-header=
"false"
<div
v-if=
"guestDialogBoxShow"
>
size=
'70%'
<guestDialogBox
@
getList=
"getList"
:name=
"dialogTableVisibleName"
:CustomerId=
"CustomerId"
/>
:visible
.
sync=
"drawer2"
</div>
direction=
"rtl"
<el-dialog
:visible
.
sync=
"transferVisible"
:close-on-click-modal=
"false"
width=
"450px"
custom-class=
"transfer-box add-box add-box2"
>
:before-close=
"handleClose"
>
<guestInfoBox
:CustomerId=
"CustomerId"
@
transferS=
"transfer"
@
deleteClue=
"deleteClue"
@
watersS=
"waters"
@
editCustS=
"editCust"
/>
</el-drawer>
<div
v-if=
"dialogTableVisible"
>
<customerDialogBox
@
getList=
"getList"
:name=
"dialogTableVisibleName"
:CustomerId=
"CustomerId"
/>
</div>
<div
v-if=
"guestDialogBoxShow"
>
<guestDialogBox
@
getList=
"getList"
:name=
"dialogTableVisibleName"
:CustomerId=
"CustomerId"
/>
</div>
<el-dialog
:visible
.
sync=
"transferVisible"
:close-on-click-modal=
"false"
width=
"450px"
custom-class=
"transfer-box add-box add-box2"
>
<div
class=
"add-tit"
slot=
"title"
>
<div
class=
"add-tit"
slot=
"title"
>
<p><span></span>
线索转移
</p>
<p><span></span>
线索转移
</p>
<span
icon=
"el-icon-close"
></span>
<span
icon=
"el-icon-close"
></span>
</div>
</div>
<el-form
:model=
"transferMsg"
ref=
"form"
class=
"MyEditForm"
>
<el-form
:model=
"transferMsg"
ref=
"form"
class=
"MyEditForm"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"变更负责人为"
class=
"label-pad-left"
>
<el-form-item
label=
"变更负责人为"
class=
"label-pad-left"
>
<el-select
<el-select
filterable
v-model=
"transferMsg.EmpId"
placeholder=
"请选择"
>
filterable
<el-option
v-for=
"item in EmployeeList"
:label=
'item.EmName'
:value=
'item.EmployeeId'
:key=
'item.EmployeeId'
>
v-model=
"transferMsg.EmpId"
placeholder=
"请选择"
>
<el-option
v-for=
"item in EmployeeList"
:label=
'item.EmName'
:value=
'item.EmployeeId'
:key=
'item.EmployeeId'
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -301,16 +236,16 @@
...
@@ -301,16 +236,16 @@
<el-button
type=
"primary"
class=
"add-box-btn"
@
click=
"transfer(2)"
>
确 定
</el-button>
<el-button
type=
"primary"
class=
"add-box-btn"
@
click=
"transfer(2)"
>
确 定
</el-button>
<el-button
class=
"add-box-btn add-box-cancel"
@
click=
"transferVisible = false"
>
取 消
</el-button>
<el-button
class=
"add-box-btn add-box-cancel"
@
click=
"transferVisible = false"
>
取 消
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
mySelect
from
"../dialogModel/select"
;
import
mySelect
from
"../dialogModel/select"
;
import
customerInfoBox
from
"./customerInfoBox"
;
import
customerInfoBox
from
"./customerInfoBox"
;
import
customerDialogBox
from
"./customerDialogBox"
;
import
customerDialogBox
from
"./customerDialogBox"
;
import
guestDialogBox
from
"./guestDialogBox"
;
import
guestDialogBox
from
"./guestDialogBox"
;
import
guestInfoBox
from
"./guestInfoBox"
;
import
guestInfoBox
from
"./guestInfoBox"
;
export
default
{
export
default
{
components
:
{
components
:
{
mySelect
,
mySelect
,
customerInfoBox
,
customerInfoBox
,
...
@@ -323,72 +258,80 @@ export default {
...
@@ -323,72 +258,80 @@ export default {
guestDialogBoxShow
:
false
,
guestDialogBoxShow
:
false
,
drawer2
:
false
,
drawer2
:
false
,
activeMenu
:
1
,
activeMenu
:
1
,
queryType2
:
[
queryType2
:
[{
{
label
:
'线索名称'
,
label
:
'线索名称'
,
show
:
true
,
show
:
true
,
},
{
},
{
label
:
'线索来源'
,
label
:
'线索来源'
,
show
:
true
,
show
:
true
,
},{
},
{
label
:
'来源细分'
,
show
:
true
,
},
{
label
:
'需求'
,
show
:
true
,
},
{
label
:
'客户级别'
,
show
:
true
,
},
{
label
:
'联系人'
,
label
:
'联系人'
,
show
:
true
,
show
:
true
,
},
{
},
{
label
:
'联系电话'
,
label
:
'联系电话'
,
show
:
true
,
show
:
true
,
},{
},
{
label
:
'地址'
,
label
:
'微信'
,
show
:
true
,
},{
label
:
'客户级别'
,
show
:
true
,
show
:
true
,
},
{
},
{
label
:
'负责人'
,
label
:
'负责人'
,
show
:
true
,
show
:
true
,
},{
},
{
label
:
'创建人'
,
show
:
true
,
},
{
label
:
'上次更新时间'
,
label
:
'上次更新时间'
,
show
:
true
,
show
:
true
,
},
{
},
{
label
:
'创建时间'
,
label
:
'创建时间'
,
show
:
true
,
show
:
true
,
},{
}],
label
:
'创建人'
,
queryType
:
[{
show
:
true
,
}
],
queryType
:
[
{
label
:
'线索名称'
,
label
:
'线索名称'
,
show
:
true
,
show
:
true
,
},
{
},
{
label
:
'线索来源'
,
label
:
'线索来源'
,
show
:
true
,
show
:
true
,
},{
},
{
label
:
'来源细分'
,
show
:
true
,
},
{
label
:
'需求'
,
show
:
true
,
},
{
label
:
'客户级别'
,
show
:
true
,
},
{
label
:
'联系人'
,
label
:
'联系人'
,
show
:
true
,
show
:
true
,
},
{
},
{
label
:
'联系电话'
,
label
:
'联系电话'
,
show
:
true
,
show
:
true
,
},{
},
{
label
:
'地址'
,
label
:
'微信'
,
show
:
true
,
},{
label
:
'客户级别'
,
show
:
true
,
show
:
true
,
},
{
},
{
label
:
'负责人'
,
label
:
'负责人'
,
show
:
true
,
show
:
true
,
},{
},
{
label
:
'创建人'
,
show
:
true
,
},
{
label
:
'上次更新时间'
,
label
:
'上次更新时间'
,
show
:
true
,
show
:
true
,
},
{
},
{
label
:
'创建时间'
,
label
:
'创建时间'
,
show
:
true
,
show
:
true
,
},{
}],
label
:
'创建人'
,
show
:
true
,
}
],
CustomerId
:
0
,
CustomerId
:
0
,
CustomerIdStr
:
''
,
CustomerIdStr
:
''
,
transferVisible
:
false
,
transferVisible
:
false
,
...
@@ -414,43 +357,39 @@ export default {
...
@@ -414,43 +357,39 @@ export default {
ContactNumber
:
''
,
ContactNumber
:
''
,
WhereType
:
-
1
,
WhereType
:
-
1
,
OrderBy
:
''
,
OrderBy
:
''
,
CustomerType
:
0
,
CustomerType
:
1
,
ID
:
29
,
ID
:
29
,
},
},
total
:
0
,
total
:
0
,
WhereTypeList
:
[
WhereTypeList
:
[{
{
id
:
-
1
,
id
:
-
1
,
name
:
'全部'
name
:
'全部'
},
{
},
{
id
:
1
,
id
:
1
,
name
:
'我负责的'
name
:
'我负责的'
},
{
},
{
id
:
2
,
id
:
2
,
name
:
'下属的'
name
:
'下属的'
},
{
},
{
id
:
3
,
id
:
3
,
name
:
'我参与的'
name
:
'我参与的'
},
{
},
{
id
:
4
,
id
:
4
,
name
:
'我关注的'
name
:
'我关注的'
},
},
],
],
selectionList
:
[{
selectionList
:
[
{
name
:
'转移'
,
name
:
'转移'
,
class
:
'iconfont iconplus-transfer'
,
class
:
'iconfont iconplus-transfer'
,
myFun
:
this
.
transfer
myFun
:
this
.
transfer
},
{
},
{
name
:
'转化为客户'
,
name
:
'转化为客户'
,
class
:
'iconfont iconplus-transfer'
,
class
:
'iconfont iconplus-transfer'
,
myFun
:
this
.
waters
myFun
:
this
.
waters
},
{
},
{
name
:
'删除'
,
name
:
'删除'
,
class
:
'iconfont icondelete'
,
class
:
'iconfont icondelete'
,
myFun
:
this
.
deleteClue
myFun
:
this
.
deleteClue
}
}],
],
sceneList
:
[],
sceneList
:
[],
SceneEmployeeList
:
[],
SceneEmployeeList
:
[],
sceneID
:
29
,
sceneID
:
29
,
...
@@ -462,12 +401,12 @@ export default {
...
@@ -462,12 +401,12 @@ export default {
this
.
getList
()
this
.
getList
()
this
.
Employee
()
this
.
Employee
()
let
$this
=
this
let
$this
=
this
this
.
MsgBus
.
$on
(
'closeCustomerDialogBox'
,
function
()
{
this
.
MsgBus
.
$on
(
'closeCustomerDialogBox'
,
function
()
{
$this
.
dialogTableVisible
=
false
$this
.
dialogTableVisible
=
false
$this
.
guestDialogBoxShow
=
false
$this
.
guestDialogBoxShow
=
false
})
})
this
.
GetSceneEmployeeList
()
this
.
GetSceneEmployeeList
()
this
.
MsgBus
.
$on
(
'sceneSave'
,
function
(
msg
)
{
this
.
MsgBus
.
$on
(
'sceneSave'
,
function
(
msg
)
{
$this
.
sceneList
=
[...
msg
]
$this
.
sceneList
=
[...
msg
]
$this
.
GetSceneEmployeeList
()
$this
.
GetSceneEmployeeList
()
let
obj
=
{}
let
obj
=
{}
...
@@ -477,15 +416,16 @@ export default {
...
@@ -477,15 +416,16 @@ export default {
$this
.
msg
.
Data
=
obj
$this
.
msg
.
Data
=
obj
$this
.
getList
()
$this
.
getList
()
})
})
this
.
MsgBus
.
$on
(
'editScene'
,
function
()
{
this
.
MsgBus
.
$on
(
'editScene'
,
function
()
{
$this
.
GetSceneEmployeeList
()
$this
.
GetSceneEmployeeList
()
})
})
},
beforeDestroy
()
{
},
beforeDestroy
()
{
this
.
MsgBus
.
$off
(
'sceneSave'
);
this
.
MsgBus
.
$off
(
'sceneSave'
);
this
.
MsgBus
.
$off
(
'editScene'
);
this
.
MsgBus
.
$off
(
'editScene'
);
},
},
methods
:
{
methods
:
{
changeWhere
(
item
)
{
changeWhere
(
item
)
{
this
.
msg
.
ID
=
item
.
ID
this
.
msg
.
ID
=
item
.
ID
this
.
sceneID
=
item
.
ID
this
.
sceneID
=
item
.
ID
this
.
msg
.
Data
=
item
.
WhereData
?
JSON
.
parse
(
item
.
WhereData
)
:
{}
this
.
msg
.
Data
=
item
.
WhereData
?
JSON
.
parse
(
item
.
WhereData
)
:
{}
...
@@ -493,14 +433,16 @@ export default {
...
@@ -493,14 +433,16 @@ export default {
this
.
visible
=
false
this
.
visible
=
false
this
.
getList
()
this
.
getList
()
},
},
GetSceneEmployeeList
(){
GetSceneEmployeeList
()
{
this
.
apipost
(
'/api/Scene/GetSceneEmployeeList'
,
{
LableType
:
4
},
res
=>
{
this
.
apipost
(
'/api/Scene/GetSceneEmployeeList'
,
{
LableType
:
4
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
SceneEmployeeList
=
res
.
data
.
data
this
.
SceneEmployeeList
=
res
.
data
.
data
}
}
})
})
},
},
deleteScene
(
index
)
{
deleteScene
(
index
)
{
this
.
sceneList
.
splice
(
index
,
1
)
this
.
sceneList
.
splice
(
index
,
1
)
let
obj
=
{}
let
obj
=
{}
this
.
sceneList
.
forEach
(
element
=>
{
this
.
sceneList
.
forEach
(
element
=>
{
...
@@ -509,7 +451,7 @@ export default {
...
@@ -509,7 +451,7 @@ export default {
this
.
msg
.
Data
=
obj
this
.
msg
.
Data
=
obj
this
.
getList
()
this
.
getList
()
},
},
handleCommand
(
command
)
{
handleCommand
(
command
)
{
this
.
CustomerId
=
0
this
.
CustomerId
=
0
if
(
command
===
'1'
)
{
if
(
command
===
'1'
)
{
this
.
dialogTableVisibleName
=
'新建线索'
this
.
dialogTableVisibleName
=
'新建线索'
...
@@ -520,13 +462,13 @@ export default {
...
@@ -520,13 +462,13 @@ export default {
this
.
$message
.
warning
(
'功能正在开发中~'
);
this
.
$message
.
warning
(
'功能正在开发中~'
);
}
}
},
},
Employee
()
{
Employee
()
{
let
msg
=
{
let
msg
=
{
RB_Group_id
:
this
.
userInfo
.
RB_Group_id
,
RB_Group_id
:
this
.
userInfo
.
RB_Group_id
,
BranchId
:
-
1
,
BranchId
:
-
1
,
DepartmentId
:
0
,
DepartmentId
:
0
,
PostId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
IsLeave
:
0
,
}
}
this
.
apipost2
(
this
.
apipost2
(
"admin_get_EmployeeGetList"
,
"admin_get_EmployeeGetList"
,
...
@@ -534,19 +476,18 @@ export default {
...
@@ -534,19 +476,18 @@ export default {
res
=>
{
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
this
.
EmployeeList
=
res
.
data
.
data
;
}
else
{
}
else
{}
}
},
},
err
=>
{}
err
=>
{}
);
);
},
},
//删除
//删除
deleteClue
(
type
)
{
deleteClue
(
type
)
{
console
.
log
(
'删除'
)
console
.
log
(
'删除'
)
let
tips
=
'确定将这些线索删除?'
let
tips
=
'确定将这些线索删除?'
if
(
type
===
1
)
{
if
(
type
===
1
)
{
tips
=
'是否把线索“'
+
this
.
CustomerName
+
'”删除?'
tips
=
'是否把线索“'
+
this
.
CustomerName
+
'”删除?'
this
.
multipleSelection
.
push
(
this
.
CustomerId
)
this
.
multipleSelection
.
push
(
this
.
CustomerId
)
}
}
this
.
$confirm
(
tips
,
'提示'
,
{
this
.
$confirm
(
tips
,
'提示'
,
{
...
@@ -555,10 +496,12 @@ export default {
...
@@ -555,10 +496,12 @@ export default {
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
let
str
=
''
let
str
=
''
this
.
multipleSelection
.
map
((
x
,
i
)
=>
{
this
.
multipleSelection
.
map
((
x
,
i
)
=>
{
str
=
str
+
x
+
','
str
=
str
+
x
+
','
})
})
this
.
apipost
(
'/api/Customer/DelCustomerClue'
,
{
CustomerIds
:
str
.
substring
(
0
,
str
.
length
-
1
)},
res
=>
{
this
.
apipost
(
'/api/Customer/DelCustomerClue'
,
{
CustomerIds
:
str
.
substring
(
0
,
str
.
length
-
1
)
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
type
===
1
)
{}
{
if
(
type
===
1
)
{}
{
this
.
drawer
=
false
this
.
drawer
=
false
...
@@ -577,18 +520,18 @@ export default {
...
@@ -577,18 +520,18 @@ export default {
});
});
},
},
//导出
//导出
export
()
{
export
()
{
console
.
log
(
'导出'
)
console
.
log
(
'导出'
)
},
},
// 更改状态
// 更改状态
changeState
()
{
changeState
()
{
console
.
log
(
'更改状态'
)
console
.
log
(
'更改状态'
)
},
},
// 转换为客户
// 转换为客户
waters
(
type
)
{
waters
(
type
)
{
let
tips
=
'确定将这些线索转换为客户吗?'
let
tips
=
'确定将这些线索转换为客户吗?'
if
(
type
===
1
)
{
if
(
type
===
1
)
{
tips
=
'是否把线索“'
+
this
.
CustomerName
+
'”转换为客户吗?'
tips
=
'是否把线索“'
+
this
.
CustomerName
+
'”转换为客户吗?'
this
.
multipleSelection
.
push
(
this
.
CustomerId
)
this
.
multipleSelection
.
push
(
this
.
CustomerId
)
}
}
this
.
$confirm
(
tips
,
'提示'
,
{
this
.
$confirm
(
tips
,
'提示'
,
{
...
@@ -597,14 +540,14 @@ export default {
...
@@ -597,14 +540,14 @@ export default {
type
:
'warning'
type
:
'warning'
}).
then
(()
=>
{
}).
then
(()
=>
{
let
str
=
''
let
str
=
''
this
.
multipleSelection
.
map
((
x
,
i
)
=>
{
this
.
multipleSelection
.
map
((
x
,
i
)
=>
{
str
=
str
+
x
+
','
str
=
str
+
x
+
','
})
})
let
msg
=
{
let
msg
=
{
CustomerIds
:
str
.
substring
(
0
,
str
.
length
-
1
),
CustomerIds
:
str
.
substring
(
0
,
str
.
length
-
1
),
CustomerType
:
this
.
msg
.
CustomerType
CustomerType
:
this
.
msg
.
CustomerType
}
}
this
.
apipost
(
'/api/Customer/UpdateCustomerClue'
,
msg
,
res
=>
{
this
.
apipost
(
'/api/Customer/UpdateCustomerClue'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
type
===
1
)
{}
{
if
(
type
===
1
)
{}
{
this
.
drawer
=
false
this
.
drawer
=
false
...
@@ -623,8 +566,10 @@ export default {
...
@@ -623,8 +566,10 @@ export default {
});
});
},
},
// 关注
// 关注
CareforCustomer
(
scope
){
CareforCustomer
(
scope
)
{
this
.
apipost
(
'/api/Customer/CareforCustomer'
,
{
CustomerCreateId
:
scope
.
row
.
CustomerCreateId
},
res
=>
{
this
.
apipost
(
'/api/Customer/CareforCustomer'
,
{
CustomerCreateId
:
scope
.
row
.
CustomerCreateId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
'操作成功'
);
this
.
$message
.
success
(
'操作成功'
);
this
.
getList
()
this
.
getList
()
...
@@ -632,7 +577,7 @@ export default {
...
@@ -632,7 +577,7 @@ export default {
})
})
},
},
// 转移
// 转移
transfer
(
type
)
{
transfer
(
type
)
{
if
(
type
!==
2
)
{
if
(
type
!==
2
)
{
if
(
type
===
3
)
{
if
(
type
===
3
)
{
this
.
multipleSelection
.
push
(
this
.
CustomerId
)
this
.
multipleSelection
.
push
(
this
.
CustomerId
)
...
@@ -643,11 +588,11 @@ export default {
...
@@ -643,11 +588,11 @@ export default {
return
this
.
$message
.
error
(
'请选择变更负责人!'
)
return
this
.
$message
.
error
(
'请选择变更负责人!'
)
}
}
let
str
=
''
let
str
=
''
this
.
multipleSelection
.
map
((
x
,
i
)
=>
{
this
.
multipleSelection
.
map
((
x
,
i
)
=>
{
str
=
str
+
x
+
','
str
=
str
+
x
+
','
})
})
this
.
transferMsg
.
CustomerIds
=
str
.
substring
(
0
,
str
.
length
-
1
)
this
.
transferMsg
.
CustomerIds
=
str
.
substring
(
0
,
str
.
length
-
1
)
this
.
apipost
(
'/api/Customer/TransferCustomerClue'
,
this
.
transferMsg
,
res
=>
{
this
.
apipost
(
'/api/Customer/TransferCustomerClue'
,
this
.
transferMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
multipleSelection
=
[]
this
.
multipleSelection
=
[]
this
.
transferVisible
=
false
this
.
transferVisible
=
false
...
@@ -666,14 +611,14 @@ export default {
...
@@ -666,14 +611,14 @@ export default {
}
}
console
.
log
(
'转移'
)
console
.
log
(
'转移'
)
},
},
showMessageFromChild
(
list
)
{
showMessageFromChild
(
list
)
{
this
.
mySelectCtrl
=
!
this
.
mySelectCtrl
this
.
mySelectCtrl
=
!
this
.
mySelectCtrl
if
(
list
)
{
if
(
list
)
{
this
.
queryType
=
list
this
.
queryType
=
list
this
.
getList
()
this
.
getList
()
}
}
},
},
editCust
(
type
)
{
editCust
(
type
)
{
this
.
dialogTableVisibleName
=
'修改线索'
this
.
dialogTableVisibleName
=
'修改线索'
if
(
type
===
1
)
{
if
(
type
===
1
)
{
this
.
dialogTableVisible
=
true
this
.
dialogTableVisible
=
true
...
@@ -681,7 +626,7 @@ export default {
...
@@ -681,7 +626,7 @@ export default {
this
.
guestDialogBoxShow
=
true
this
.
guestDialogBoxShow
=
true
}
}
},
},
openDetails
(
scope
)
{
openDetails
(
scope
)
{
this
.
CustomerId
=
scope
.
row
.
CustomerId
this
.
CustomerId
=
scope
.
row
.
CustomerId
this
.
CustomerName
=
scope
.
row
.
CustomerName
this
.
CustomerName
=
scope
.
row
.
CustomerName
if
(
this
.
msg
.
CustomerType
===
0
)
{
if
(
this
.
msg
.
CustomerType
===
0
)
{
...
@@ -701,10 +646,10 @@ export default {
...
@@ -701,10 +646,10 @@ export default {
handleClose
(
done
)
{
handleClose
(
done
)
{
done
();
done
();
},
},
getList
:
function
()
{
getList
:
function
()
{
this
.
tableData
=
[]
this
.
tableData
=
[]
this
.
loading
=
true
this
.
loading
=
true
this
.
apipost
(
'/api/Customer/GetCustomerCluePage'
,
this
.
msg
,
res
=>
{
this
.
apipost
(
'/api/Customer/GetCustomerCluePage'
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
res
.
data
.
data
.
pageData
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
...
@@ -713,10 +658,10 @@ export default {
...
@@ -713,10 +658,10 @@ export default {
})
})
},
},
handleSelectionChange
(
val
)
{
handleSelectionChange
(
val
)
{
this
.
multipleSelection
=
val
.
map
(
x
=>
this
.
multipleSelection
=
val
.
map
(
x
=>
x
.
CustomerId
x
.
CustomerId
)
)
}
}
}
}
};
};
</
script
>
</
script
>
\ No newline at end of file
src/components/clueManagement/customerDialogBox.vue
View file @
96932cf2
...
@@ -489,7 +489,7 @@ export default {
...
@@ -489,7 +489,7 @@ export default {
watch
:
{
watch
:
{
CustomerId
:
{
CustomerId
:
{
handler
(
val
,
oldVal
)
{
handler
(
val
,
oldVal
)
{
console
.
log
(
val
);
//
console.log(val);
},
},
deep
:
true
,
deep
:
true
,
},
},
...
...
src/components/clueManagement/guestDialogBox.vue
View file @
96932cf2
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
v-
if=
"form.CustomerSourceType === 7
"
>
<el-col
:span=
"8"
v-
else=
"SourceEnum.ID === SourceSegmentList.ID
"
>
<div
class=
"MyEditForm-item label-pad-left"
>
<div
class=
"MyEditForm-item label-pad-left"
>
<el-form-item
label=
"来源细分"
prop=
"SourceAccount"
>
<el-form-item
label=
"来源细分"
prop=
"SourceAccount"
>
<el-select
placeholder=
"请选择来源途径"
v-model=
"form.SourceAccount"
>
<el-select
placeholder=
"请选择来源途径"
v-model=
"form.SourceAccount"
>
...
@@ -721,7 +721,7 @@
...
@@ -721,7 +721,7 @@
/* /api/Customer/GetGuestSourceAccountList */
/* /api/Customer/GetGuestSourceAccountList */
methods
:
{
methods
:
{
handleChange
(
val
)
{
handleChange
(
val
)
{
console
.
log
(
val
);
//
console.log(val);
},
},
Transformation
(
val
,
type
)
{
Transformation
(
val
,
type
)
{
let
text
=
this
.
pinyin
(
val
,
{
let
text
=
this
.
pinyin
(
val
,
{
...
@@ -984,16 +984,39 @@
...
@@ -984,16 +984,39 @@
})
})
},
},
GetCustomerSourceEnum
()
{
GetCustomerSourceEnum
()
{
this
.
SourceEnum
=
[]
this
.
apipost
(
'/api/Customer/GetCustomerSourceEnum'
,
{},
res
=>
{
this
.
apipost
(
'/api/Customer/GetCustomerSourceEnum'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
SourceEnum
=
res
.
data
.
data
this
.
SourceEnum
=
res
.
data
.
data
}
}
/* if (res.data.resultCode == 1) {
let data = res.data.data
let addList = function(arr) {
arr.forEach(item => {
item.SourceSegmentList = []
});
};
addList(data);
this.SourceEnum = res.data.data;
this.getSourceSegmentList();
} */
})
})
},
},
//来源细分
getSourceSegmentList
()
{
getSourceSegmentList
()
{
this
.
apipost
(
'/api/Customer/GetGuestSourceAccountList'
,
{},
res
=>
{
this
.
apipost
(
'/api/Customer/GetGuestSourceAccountList'
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
SourceSegmentList
=
res
.
data
.
data
this
.
SourceSegmentList
=
res
.
data
.
data
for
(
let
i
=
0
;
i
<
this
.
SourceEnum
.
length
;
i
++
)
{
for
(
let
j
=
0
;
j
<
this
.
SourceSegmentList
.
length
;
j
++
)
{
if
(
this
.
SourceEnum
[
i
].
ID
==
this
.
SourceSegmentList
[
j
].
ID
)
{
let
obj
=
{
ID
:
this
.
SourceSegmentList
[
j
].
ID
,
}
this
.
SourceEnum
[
i
].
SourceSegmentList
.
push
(
obj
);
}
}
}
}
}
})
})
},
},
...
...
src/components/guestManagement/Details.vue
View file @
96932cf2
<
style
>
<
style
>
.Details
{
.Details
{
padding
:
17px
20px
;
padding
:
17px
20px
;
margin-top
:
20px
;
margin-top
:
20px
;
background-color
:
white
;
background-color
:
white
;
height
:
calc
(
100%
-
54px
);
height
:
calc
(
100%
-
54px
);
overflow-y
:
auto
;
overflow-y
:
auto
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.Details
.Details_box
.tit
{
.Details
.Details_box
.tit
{
border
:
4px
solid
#409efe
;
border
:
4px
solid
#409efe
;
border-top
:
0
;
border-top
:
0
;
border-bottom
:
0
;
border-bottom
:
0
;
...
@@ -16,80 +17,85 @@
...
@@ -16,80 +17,85 @@
font-size
:
14px
;
font-size
:
14px
;
color
:
#111
;
color
:
#111
;
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.Details_box_row
{
.Details_box_row
{
margin-top
:
30px
;
margin-top
:
30px
;
}
}
.Details_box_lable
{
.Details_box_lable
{
color
:
#999999
;
color
:
#999999
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"Details"
>
<div
class=
"Details"
>
<div
class=
"Details_box"
>
<div
class=
"Details_box"
>
<p
class=
"tit"
>
基本信息
</p>
<p
class=
"tit"
>
基本信息
</p>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
客户
名称:
名称:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
SurName
+
detailsData
.
Name
}}
{{
detailsData
.
Clue
Name
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
手机
:
需求
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
MobilePhone
}}
{{
detailsData
.
ClueDemand
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
性别
:
微信号
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
Sex
===
0
?
'保密'
:
detailsData
.
Sex
===
1
?
'男'
:
'女'
}}
{{
detailsData
.
WeChatNo
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
生日
:
手机号码
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
Birthday
}}
{{
detailsData
.
MobilePhone
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
国籍
:
来源
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
Nationality
}}
{{
detailsData
.
CustomerSourceType
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
身份证号
:
来源细分
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
IdCard
}}
{{
detailsData
.
SourceAccountName
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -98,24 +104,26 @@
...
@@ -98,24 +104,26 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
性别
:
客户中文名称
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
S
ex
}}
{{
detailsData
.
S
urName
+
detailsData
.
Name
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
手机号
:
客户英文名称
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
MobilePhon
e
}}
{{
detailsData
.
ESurName
+
detailsData
.
ENam
e
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
...
@@ -130,22 +138,23 @@
...
@@ -130,22 +138,23 @@
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
护照
签发日期
:
护照
号签发地
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
Passport
Issued
}}
{{
detailsData
.
Passport
Address
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
职务
:
护照签发日期
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
Passport
Expiry
}}
{{
detailsData
.
Passport
Issued
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
...
@@ -160,29 +169,93 @@
...
@@ -160,29 +169,93 @@
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
<el-divider><i
class=
"el-icon-s-promotion"
></i></el-divider>
<div
class=
"Details_box"
>
<p
class=
"tit"
style=
"margin-top: 30px;"
>
系统信息
</p>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
单位类型
:
性别
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
UnitTypeStr
}}
{{
detailsData
.
Sex
===
0
?
'保密'
:
detailsData
.
Sex
===
1
?
'男'
:
'女'
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
出游类型
:
生日
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
TravelTypeStr
}}
{{
detailsData
.
Birthday
}}
</el-col>
</el-row>
</el-col>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
国籍:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
Nationality
}}
</el-col>
</el-row>
</el-col>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
身份证号:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
IdCard
}}
</el-col>
</el-row>
</el-col>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
性别:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
Sex
}}
</el-col>
</el-row>
</el-col>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
电话:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
Tel
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
职务:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
PassportExpiry
}}
</el-col>
</el-row>
</el-col>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
...
@@ -193,20 +266,29 @@
...
@@ -193,20 +266,29 @@
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
备注
:
单位类型
:
</el-col>
</el-col>
<el-col
:span=
"14"
>
<el-col
:span=
"14"
>
{{
detailsData
.
Remarks
}}
{{
detailsData
.
UnitTypeStr
}}
</el-col>
</el-row>
</el-col>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
出游类型:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
TravelTypeStr
}}
</el-col>
</el-col>
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
<div
class=
"Details_box"
>
<p
class=
"tit"
style=
"margin-top: 30px;"
>
系统信息
</p>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-row>
<el-row>
...
@@ -251,11 +333,77 @@
...
@@ -251,11 +333,77 @@
</el-row>
</el-row>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
出生地:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
BirthdayAddress
}}
</el-col>
</el-row>
</el-col>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
婚姻状况:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
Marriage
}}
</el-col>
</el-row>
</el-col>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
家庭居住地址:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
Address
}}
</el-col>
</el-row>
</el-col>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
家庭详情地址:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
AddressDetail
}}
</el-col>
</el-row>
</el-col>
</el-row>
<el-row
:gutter=
"40"
class=
"Details_box_row"
>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
出境记录:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
HistoryRecord
}}
</el-col>
</el-row>
</el-col>
<el-col
:span=
"12"
>
<el-row>
<el-col
:span=
"6"
class=
"Details_box_lable"
>
备注:
</el-col>
<el-col
:span=
"14"
>
{{
detailsData
.
Remarks
}}
</el-col>
</el-row>
</el-col>
</el-row>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
props
:
{
props
:
{
detailsData
:
{
detailsData
:
{
type
:
Object
,
type
:
Object
,
...
@@ -268,5 +416,5 @@ export default {
...
@@ -268,5 +416,5 @@ export default {
watch
:
{},
watch
:
{},
mounted
()
{},
mounted
()
{},
methods
:
{},
methods
:
{},
};
};
</
script
>
</
script
>
\ No newline at end of file
src/components/guestManagement/customerDialogBox.vue
View file @
96932cf2
...
@@ -516,7 +516,7 @@
...
@@ -516,7 +516,7 @@
<el-form
:model=
"form"
ref=
"form"
class=
"MyEditForm"
>
<el-form
:model=
"form"
ref=
"form"
class=
"MyEditForm"
>
<el-row
:gutter=
"30"
>
<el-row
:gutter=
"30"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"身份证号码"
prop=
"IdCard"
>
<el-form-item
label=
"身份证号码"
prop=
"IdCard"
>
<el-input
placeholder=
"请输入客户身份证号码"
v-model=
"form.IdCard"
></el-input>
<el-input
placeholder=
"请输入客户身份证号码"
v-model=
"form.IdCard"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -524,7 +524,7 @@
...
@@ -524,7 +524,7 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"性别"
prop=
"Sex"
>
<el-form-item
label=
"性别"
prop=
"Sex"
>
<el-select
v-model=
"form.Sex"
>
<el-select
v-model=
"form.Sex"
>
<el-option
:key=
"0"
label=
"保密"
:value=
"0"
></el-option>
<el-option
:key=
"0"
label=
"保密"
:value=
"0"
></el-option>
...
@@ -534,16 +534,8 @@
...
@@ -534,16 +534,8 @@
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"手机号码"
prop=
"MobilePhone"
>
<el-input
placeholder=
"请输入手机号码"
v-model=
"form.MobilePhone"
></el-input>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"生日"
prop=
"Birthday"
>
<el-form-item
label=
"生日"
prop=
"Birthday"
>
<el-date-picker
:clearable=
"false"
value-format=
"yyyy-MM-dd HH:mm:ss"
v-model=
"form.Birthday"
type=
"date"
placeholder=
"选择日期"
>
<el-date-picker
:clearable=
"false"
value-format=
"yyyy-MM-dd HH:mm:ss"
v-model=
"form.Birthday"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-date-picker>
...
@@ -551,7 +543,7 @@
...
@@ -551,7 +543,7 @@
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"出生地"
prop=
"BirthdayAddress"
>
<el-form-item
label=
"出生地"
prop=
"BirthdayAddress"
>
<el-input
placeholder=
"请输入出生地"
v-model=
"form.BirthdayAddress"
></el-input>
<el-input
placeholder=
"请输入出生地"
v-model=
"form.BirthdayAddress"
></el-input>
</el-form-item>
</el-form-item>
...
@@ -580,21 +572,21 @@
...
@@ -580,21 +572,21 @@
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"家庭居住地"
prop=
"Address"
>
<el-form-item
label=
"家庭居住地"
prop=
"Address"
>
<el-input
placeholder=
"请输入家庭居住地"
v-model=
"form.Address"
></el-input>
<el-input
placeholder=
"请输入家庭居住地"
v-model=
"form.Address"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"家庭详细地址"
prop=
"AddressDetail"
>
<el-form-item
label=
"家庭详细地址"
prop=
"AddressDetail"
>
<el-input
placeholder=
"请输入详细地址"
v-model=
"form.AddressDetail"
></el-input>
<el-input
placeholder=
"请输入详细地址"
v-model=
"form.AddressDetail"
></el-input>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"身份确认"
prop=
"IdentityType"
>
<el-form-item
label=
"身份确认"
prop=
"IdentityType"
>
<el-select
v-model=
"form.IdentityType"
>
<el-select
v-model=
"form.IdentityType"
>
<el-option
v-for=
"item in VisaIdentityTypeEnum"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Name"
></el-option>
<el-option
v-for=
"item in VisaIdentityTypeEnum"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Name"
></el-option>
...
@@ -603,7 +595,7 @@
...
@@ -603,7 +595,7 @@
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item MyEditForm-item-checkd"
>
<div
class=
"MyEditForm-item MyEditForm-item-checkd
label-pad-left
"
>
<el-form-item
label=
"出境记录"
prop=
"HistoryRecord"
>
<el-form-item
label=
"出境记录"
prop=
"HistoryRecord"
>
<el-select
v-model=
"form.HistoryRecord"
filterable
>
<el-select
v-model=
"form.HistoryRecord"
filterable
>
<el-option
v-for=
"item in VisaDeparturesType"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Name"
>
<el-option
v-for=
"item in VisaDeparturesType"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Name"
>
...
@@ -615,7 +607,7 @@
...
@@ -615,7 +607,7 @@
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"出游类型"
prop=
"TravelType"
>
<el-form-item
label=
"出游类型"
prop=
"TravelType"
>
<el-select
v-model=
"form.TravelType"
filterable
>
<el-select
v-model=
"form.TravelType"
filterable
>
<el-option
v-for=
"item in TravelTypeList"
:key=
"item.Code"
:label=
"item.Content"
:value=
"item.Code"
></el-option>
<el-option
v-for=
"item in TravelTypeList"
:key=
"item.Code"
:label=
"item.Content"
:value=
"item.Code"
></el-option>
...
@@ -624,7 +616,7 @@
...
@@ -624,7 +616,7 @@
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"单位类型"
prop=
"UnitType"
>
<el-form-item
label=
"单位类型"
prop=
"UnitType"
>
<el-select
v-model=
"form.UnitType"
filterable
>
<el-select
v-model=
"form.UnitType"
filterable
>
<el-option
v-for=
"item in UnitTypeList"
:key=
"item.Code"
:label=
"item.Content"
:value=
"item.Code"
></el-option>
<el-option
v-for=
"item in UnitTypeList"
:key=
"item.Code"
:label=
"item.Content"
:value=
"item.Code"
></el-option>
...
@@ -633,7 +625,7 @@
...
@@ -633,7 +625,7 @@
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"职务类型"
prop=
"DutyType"
>
<el-form-item
label=
"职务类型"
prop=
"DutyType"
>
<el-select
v-model=
"form.DutyType"
filterable
>
<el-select
v-model=
"form.DutyType"
filterable
>
<el-option
v-for=
"item in DutyTypeList"
:key=
"item.Code"
:label=
"item.Content"
:value=
"item.Code"
></el-option>
<el-option
v-for=
"item in DutyTypeList"
:key=
"item.Code"
:label=
"item.Content"
:value=
"item.Code"
></el-option>
...
@@ -642,7 +634,7 @@
...
@@ -642,7 +634,7 @@
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item
label-pad-left
"
>
<el-form-item
label=
"高校学生"
>
<el-form-item
label=
"高校学生"
>
<el-select
v-model=
"form.IsHightSchool"
>
<el-select
v-model=
"form.IsHightSchool"
>
<el-option
:key=
"1"
label=
"是"
:value=
"1"
></el-option>
<el-option
:key=
"1"
label=
"是"
:value=
"1"
></el-option>
...
@@ -651,24 +643,6 @@
...
@@ -651,24 +643,6 @@
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"客户来源"
prop=
"CustomerSourceType"
>
<el-select
v-model=
"form.CustomerSourceType"
placeholder=
"请选择客户来源"
>
<el-option
v-for=
"item in SourceEnum"
:key=
"item.ID"
:label=
"item.Name"
:value=
"item.ID"
>
</el-option>
</el-select>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"16"
v-if=
"form.CustomerSourceType === 6"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"客户来源信息"
prop=
"CustomerSource"
>
<el-input
type=
"textarea"
placeholder=
"请输入客户来源信息"
v-model=
"form.CustomerSource"
>
</el-input>
</el-form-item>
</div>
</el-col>
<
template
v-for=
'(item,index) in EconomicCapabilityS'
>
<
template
v-for=
'(item,index) in EconomicCapabilityS'
>
<el-col
:span=
"8"
:key=
"index"
v-if=
'item.isShow'
>
<el-col
:span=
"8"
:key=
"index"
v-if=
'item.isShow'
>
<div
class=
"MyEditForm-item"
>
<div
class=
"MyEditForm-item"
>
...
...
src/components/guestManagement/guestManagement.vue
View file @
96932cf2
<
style
>
<
style
>
@import
"../../assets/css/customerManage.css"
;
@import
"../../assets/css/customerManage.css"
;
.el-table__fixed-body-wrapper
table
{
.el-table__fixed-body-wrapper
table
{
padding-bottom
:
8px
!important
;
padding-bottom
:
8px
!important
;
}
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"customerManage"
>
<div
class=
"customerManage"
>
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
v-if=
"queryType[0].show"
v-if=
"queryType[0].show"
show-overflow-tooltip
>
show-overflow-tooltip
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
style=
"width:100%;min-height:38px"
class=
"cp"
@
click=
"openDetails(scope)"
>
<div
style=
"width:100%;min-height:38px
;line-height:38px;
"
class=
"cp"
@
click=
"openDetails(scope)"
>
<p
class=
"font-color-link cp"
>
{{
scope
.
row
.
GusetName
}}
</p>
<p
class=
"font-color-link cp"
>
{{
scope
.
row
.
GusetName
}}
</p>
</div>
</div>
</
template
>
</
template
>
...
@@ -245,10 +245,10 @@
...
@@ -245,10 +245,10 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
mySelect
from
"../dialogModel/select"
;
import
mySelect
from
"../dialogModel/select"
;
import
customerInfoBox
from
"./customerInfoBox"
;
import
customerInfoBox
from
"./customerInfoBox"
;
import
customerDialogBox
from
"./customerDialogBox"
;
import
customerDialogBox
from
"./customerDialogBox"
;
export
default
{
export
default
{
components
:
{
components
:
{
mySelect
,
mySelect
,
customerInfoBox
,
customerInfoBox
,
...
@@ -256,258 +256,194 @@ export default {
...
@@ -256,258 +256,194 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
queryType2
:
[
queryType2
:
[{
{
label
:
"客户名称"
,
label
:
"客户名称"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"手机号码"
,
label
:
"手机号码"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"地址"
,
label
:
"地址"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"客户来源"
,
label
:
"客户来源"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"参团数"
,
label
:
"参团数"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"商机数"
,
label
:
"商机数"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"总评分"
,
label
:
"总评分"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"客户等级"
,
label
:
"客户等级"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"余额"
,
label
:
"余额"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"最后更新时间"
,
label
:
"最后更新时间"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"负责人"
,
label
:
"负责人"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"创建时间"
,
label
:
"创建时间"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"创建人"
,
label
:
"创建人"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"生日"
,
label
:
"生日"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"是否结婚"
,
label
:
"是否结婚"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"职务"
,
label
:
"职务"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"是否高中生"
,
label
:
"是否高中生"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"身份证"
,
label
:
"身份证"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"护照号"
,
label
:
"护照号"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"护照签发地"
,
label
:
"护照签发地"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"护照签发日期"
,
label
:
"护照签发日期"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"护照过期时间"
,
label
:
"护照过期时间"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"签发机关"
,
label
:
"签发机关"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"备注"
,
label
:
"备注"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"订单交易数"
,
label
:
"订单交易数"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"订单金额"
,
label
:
"订单金额"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"出境记录"
,
label
:
"出境记录"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"家庭详细地址 "
,
label
:
"家庭详细地址 "
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"出生地点"
,
label
:
"出生地点"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"经济能力确认"
,
label
:
"经济能力确认"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"是否推存"
,
label
:
"是否推存"
,
show
:
true
,
show
:
true
,
},
},
],
],
queryType
:
[{
queryType
:
[
{
label
:
"客户名称"
,
label
:
"客户名称"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"手机号码"
,
label
:
"手机号码"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"地址"
,
label
:
"地址"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"客户来源"
,
label
:
"客户来源"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"参团数"
,
label
:
"参团数"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"商机数"
,
label
:
"商机数"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"总评分"
,
label
:
"总评分"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"客户等级"
,
label
:
"客户等级"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"余额"
,
label
:
"余额"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"最后更新时间"
,
label
:
"最后更新时间"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"负责人"
,
label
:
"负责人"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"创建时间"
,
label
:
"创建时间"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"创建人"
,
label
:
"创建人"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"生日"
,
label
:
"生日"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"是否结婚"
,
label
:
"是否结婚"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"职务"
,
label
:
"职务"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"是否高中生"
,
label
:
"是否高中生"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"身份证"
,
label
:
"身份证"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"护照号"
,
label
:
"护照号"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"护照签发地"
,
label
:
"护照签发地"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"护照签发日期"
,
label
:
"护照签发日期"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"护照过期时间"
,
label
:
"护照过期时间"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"签发机关"
,
label
:
"签发机关"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"备注"
,
label
:
"备注"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"订单交易数"
,
label
:
"订单交易数"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"订单金额"
,
label
:
"订单金额"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"出境记录"
,
label
:
"出境记录"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"家庭详细地址 "
,
label
:
"家庭详细地址 "
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"出生地点"
,
label
:
"出生地点"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"经济能力确认"
,
label
:
"经济能力确认"
,
show
:
true
,
show
:
true
,
},
},
{
{
label
:
"是否推存"
,
label
:
"是否推存"
,
show
:
true
,
show
:
true
,
},
},
],
],
CustomerId
:
0
,
CustomerId
:
0
,
CustomerIdStr
:
""
,
CustomerIdStr
:
""
,
transferVisible
:
false
,
transferVisible
:
false
,
...
@@ -535,36 +471,28 @@ export default {
...
@@ -535,36 +471,28 @@ export default {
ID
:
36
,
ID
:
36
,
},
},
total
:
0
,
total
:
0
,
WhereTypeList
:
[
WhereTypeList
:
[{
{
id
:
-
1
,
id
:
-
1
,
name
:
"全部"
,
name
:
"全部"
,
},
},
{
{
id
:
1
,
id
:
1
,
name
:
"我负责的"
,
name
:
"我负责的"
,
},
},
{
{
id
:
2
,
id
:
2
,
name
:
"下属的"
,
name
:
"下属的"
,
},
},
{
{
id
:
3
,
id
:
3
,
name
:
"我关注的"
,
name
:
"我关注的"
,
},
},
],
],
selectionList
:
[{
selectionList
:
[
{
name
:
"转移"
,
name
:
"转移"
,
class
:
"iconfont iconplus-transfer"
,
class
:
"iconfont iconplus-transfer"
,
myFun
:
this
.
transfer
,
myFun
:
this
.
transfer
,
},
},
{
{
name
:
"删除"
,
name
:
"删除"
,
class
:
"iconfont icondelete"
,
class
:
"iconfont icondelete"
,
myFun
:
this
.
delete
,
myFun
:
this
.
delete
,
},
},
],
],
sceneList
:
[],
sceneList
:
[],
SceneEmployeeList
:
[],
SceneEmployeeList
:
[],
sceneID
:
36
,
sceneID
:
36
,
...
@@ -614,8 +542,7 @@ export default {
...
@@ -614,8 +542,7 @@ export default {
},
},
GetSceneEmployeeList
()
{
GetSceneEmployeeList
()
{
this
.
apipost
(
this
.
apipost
(
"/api/Scene/GetSceneEmployeeList"
,
"/api/Scene/GetSceneEmployeeList"
,
{
{
LableType
:
5
,
LableType
:
5
,
},
},
(
res
)
=>
{
(
res
)
=>
{
...
@@ -656,8 +583,7 @@ export default {
...
@@ -656,8 +583,7 @@ export default {
(
res
)
=>
{
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
this
.
EmployeeList
=
res
.
data
.
data
;
}
else
{
}
else
{}
}
},
},
(
err
)
=>
{}
(
err
)
=>
{}
);
);
...
@@ -680,7 +606,7 @@ export default {
...
@@ -680,7 +606,7 @@ export default {
console
.
log
(
"删除"
);
console
.
log
(
"删除"
);
},
},
//导出
//导出
export
()
{
export
()
{
console
.
log
(
"导出"
);
console
.
log
(
"导出"
);
},
},
// 更改状态
// 更改状态
...
@@ -690,8 +616,7 @@ export default {
...
@@ -690,8 +616,7 @@ export default {
// 关注
// 关注
CareforCustomer
(
scope
)
{
CareforCustomer
(
scope
)
{
this
.
apipost
(
this
.
apipost
(
"/api/Customer/CareforGuesstCustomer"
,
"/api/Customer/CareforGuesstCustomer"
,
{
{
ID
:
scope
.
row
.
ID
,
ID
:
scope
.
row
.
ID
,
},
},
(
res
)
=>
{
(
res
)
=>
{
...
@@ -725,9 +650,7 @@ export default {
...
@@ -725,9 +650,7 @@ export default {
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
multipleSelection
=
[];
this
.
multipleSelection
=
[];
this
.
transferVisible
=
false
;
this
.
transferVisible
=
false
;
if
(
type
===
3
)
{
if
(
type
===
3
)
{}
{
}
{
this
.
drawer
=
false
;
this
.
drawer
=
false
;
}
}
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
$message
.
success
(
res
.
data
.
message
);
...
@@ -795,5 +718,5 @@ export default {
...
@@ -795,5 +718,5 @@ export default {
this
.
multipleSelection
=
val
.
map
((
x
)
=>
x
.
ID
);
this
.
multipleSelection
=
val
.
map
((
x
)
=>
x
.
ID
);
},
},
},
},
};
};
</
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