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
f91fd789
Commit
f91fd789
authored
Mar 27, 2020
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
66b004a9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
85 deletions
+51
-85
customerInfoBox.vue
src/components/guestManagement/customerInfoBox.vue
+5
-1
brithday.vue
src/components/sellevent/brithday.vue
+44
-82
login.vue
src/views/login.vue
+2
-2
No files found.
src/components/guestManagement/customerInfoBox.vue
View file @
f91fd789
...
...
@@ -68,7 +68,7 @@
<img
src=
"../../assets/img/cust/kehu2.png"
alt=
""
>
<p>
{{
detailsData
.
SurName
+
detailsData
.
Name
}}
</p>
</div>
<div
class=
"right"
>
<div
class=
"right"
v-if=
"!hiddenMenu"
>
<el-button
class=
"crm-btn query-btn"
@
click=
"editCust"
>
编辑
</el-button>
<el-dropdown
@
command=
"handleCommand"
style=
"top: 1px;"
>
<el-button
class=
"crm-btn crm-btn-more easy-btn margin-right0"
>
...
...
@@ -150,6 +150,10 @@ export default {
CustomerId
:
{
type
:
Number
,
default
:
0
},
hiddenMenu
:
{
type
:
Boolean
,
default
:
false
}
},
data
()
{
...
...
src/components/sellevent/brithday.vue
View file @
f91fd789
...
...
@@ -254,14 +254,14 @@
:total=
"total"
>
</el-pagination>
</div>
<
!-- <
el-drawer
<el-drawer
:with-header=
"false"
size=
'70%'
:visible
.
sync=
"drawer"
direction=
"rtl"
:before-close=
"handleClose"
>
<customerInfoBox :CustomerId="CustomerId"
@transferS="transfer" @editCustS="editCust
"/>
</el-drawer>
-->
<customerInfoBox
:CustomerId=
"CustomerId"
:hiddenMenu=
"true
"
/>
</el-drawer>
<!-- <div v-if="dialogTableVisible">
<customerDialogBox @getList="getList" :name="dialogTableVisibleName" :CustomerId="CustomerId"/>
</div> -->
...
...
@@ -270,23 +270,23 @@
<p><span></span>
发送生日祝福涵
</p>
<span
icon=
"el-icon-close"
></span>
</div>
<el-form
:model=
"
transfer
Msg"
ref=
"form"
class=
"MyEditForm"
>
<el-form
:model=
"
addSend
Msg"
ref=
"form"
class=
"MyEditForm"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"计划标题"
class=
"label-pad-left"
>
<el-input
v-model=
"addSendMsg.
ti
tle"
placeholder=
"请输入计划标题,如果不填系统将自动生成"
></el-input>
<el-input
v-model=
"addSendMsg.
Tit
tle"
placeholder=
"请输入计划标题,如果不填系统将自动生成"
></el-input>
</el-form-item>
</div>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"发送方式"
class=
"label-pad-left"
>
<el-select
v-model=
"addSendMsg.
s
endType"
placeholder=
"请选择"
>
<el-option
label=
'同业助手'
value=
'
0
'
></el-option>
<el-select
v-model=
"addSendMsg.
S
endType"
placeholder=
"请选择"
>
<el-option
label=
'同业助手'
value=
'
2
'
></el-option>
<el-option
label=
'短信'
value=
'1'
></el-option>
</el-select>
</el-form-item>
</div>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"接收人员"
class=
"label-pad-left"
>
<el-input
readonly=
"true"
v-model=
"addSendMsg.sendObj"
></el-input>
<el-input
:
readonly=
"true"
v-model=
"addSendMsg.sendObj"
></el-input>
<div
style=
"font-size:12px;color:red;margin-left: 10px; margin-top: 2px;"
>
消息将发送给关联的同行,由同行转发给客人,暂不支持直接转发
</div>
</el-form-item>
</div>
...
...
@@ -294,7 +294,7 @@
<el-form-item
label=
"发送时间"
class=
"label-pad-left"
>
<el-date-picker
type=
"datetime"
v-model=
"addSendMsg.
s
endTime"
v-model=
"addSendMsg.
S
endTime"
placeholder=
"选择日期时间"
>
</el-date-picker>
</el-form-item>
...
...
@@ -310,12 +310,12 @@
</template>
<
script
>
import
mySelect
from
"../dialogModel/select"
;
// import customerInfoBox from ".
/customerInfoBox";
import
customerInfoBox
from
"../guestManagement
/customerInfoBox"
;
// import customerDialogBox from "./customerDialogBox";
export
default
{
components
:
{
mySelect
//
customerInfoBox,
mySelect
,
customerInfoBox
,
// customerDialogBox
},
data
()
{
...
...
@@ -435,13 +435,13 @@ export default {
sceneID
:
36
,
visible
:
false
,
addSendMsg
:{
title
:
""
,
sendType
:
"0"
,
sendObj
:
""
,
sendTime
:
""
,
Tittle
:
""
,
Type
:
1
,
SendType
:
'2'
,
Details
:
[],
SendTime
:
''
,
isAll
:
false
,
},
transferMsg
:
{}
}
};
},
mounted
()
{
...
...
@@ -501,73 +501,24 @@ export default {
this
.
getList
()
},
//锁定
locking
(){
console
.
log
(
'锁定'
)
},
//解锁
Unlock
(){
console
.
log
(
'解锁'
)
},
//删除团队成员
delCust
(){
console
.
log
(
'删除团队成员'
)
},
//删除
delete
(){
console
.
log
(
'删除'
)
},
//导出
export
(){
console
.
log
(
'导出'
)
},
// 更改状态
changeState
(){
console
.
log
(
'更改状态'
)
},
// 关注
CareforCustomer
(
scope
){
this
.
apipost
(
'/api/Customer/CareforGuesstCustomer'
,
{
ID
:
scope
.
row
.
ID
},
res
=>
{
// 转移
transfer
(){
this
.
apipost
(
'/api/SellEvent/AddBirthdayActivity'
,
this
.
addSendMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$message
.
success
(
'操作成功'
);
this
.
multipleSelection
=
[]
this
.
transferVisible
=
false
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
()
this
.
addSendMsg
=
{
Tittle
:
""
,
Type
:
1
,
SendType
:
'2'
,
Details
:
[],
isAll
:
false
,
}
}
})
},
// 转移
transfer
(
type
){
if
(
type
!==
2
)
{
if
(
type
===
3
)
{
this
.
multipleSelection
.
push
(
this
.
CustomerId
)
}
this
.
transferVisible
=
true
}
else
{
if
(
this
.
transferMsg
.
EmpId
===
''
)
{
return
this
.
$message
.
error
(
'请选择变更负责人!'
)
}
let
str
=
''
this
.
multipleSelection
.
map
((
x
,
i
)
=>
{
str
=
str
+
x
+
','
})
this
.
transferMsg
.
IDs
=
str
.
substring
(
0
,
str
.
length
-
1
)
this
.
apipost
(
'/api/Customer/TransferGuesstCustomer'
,
this
.
transferMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
multipleSelection
=
[]
this
.
transferVisible
=
false
if
(
type
===
3
)
{}
{
this
.
drawer
=
false
}
this
.
$message
.
success
(
res
.
data
.
message
);
this
.
getList
()
this
.
transferMsg
=
{
IDs
:
[],
EmpId
:
''
}
}
})
}
console
.
log
(
'转移'
)
},
showMessageFromChild
(
list
){
this
.
mySelectCtrl
=!
this
.
mySelectCtrl
if
(
list
)
{
...
...
@@ -581,8 +532,8 @@ export default {
},
openDetails
(
scope
){
this
.
drawer
=
true
this
.
CustomerId
=
scope
.
row
.
I
D
this
.
CustomerName
=
scope
.
row
.
Gu
se
tName
this
.
CustomerId
=
scope
.
row
.
I
d
this
.
CustomerName
=
scope
.
row
.
Gu
es
tName
},
handleSizeChange
(
val
)
{
this
.
msg
.
pageSize
=
val
...
...
@@ -610,6 +561,17 @@ export default {
this
.
multipleSelection
=
val
this
.
addSendMsg
.
isAll
=
false
if
(
val
&&
val
.
length
>
0
){
let
list
=
val
.
map
(
x
=>
{
return
{
GuestName
:
x
.
GuestName
,
GuestId
:
x
.
Id
,
CustomerName
:
x
.
CustomerName
,
CustomerId
:
x
.
CustomerId
,
GuestPhone
:
x
.
MobilePhone
,
SentId
:
x
.
CustomeMobile
,
}
})
this
.
addSendMsg
.
Details
=
list
this
.
addSendMsg
.
sendObj
=
val
.
length
==
1
?
val
[
0
].
GuestName
:
val
[
0
].
GuestName
+
"等"
+
val
.
length
+
"人"
}
else
{
this
.
addSendMsg
.
sendObj
=
""
...
...
src/views/login.vue
View file @
f91fd789
...
...
@@ -128,8 +128,8 @@ export default {
var
msg
=
{
EmAccount
:
this
.
account
,
EmPassword
:
this
.
pwd
,
//
Domain:'testerp.oytour.com'
Domain
:
'crmyx.oytour.com'
Domain
:
'testerp.oytour.com'
//
Domain: 'crmyx.oytour.com'
};
this
.
apipost
(
'/api/Login/UserLogin'
,
msg
,
res
=>
{
var
jsonData
=
res
.
data
;
...
...
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