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
eaceb565
Commit
eaceb565
authored
Mar 26, 2020
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e7c86e1e
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
94 additions
and
66 deletions
+94
-66
Activity.vue
src/components/assembly/Activity.vue
+13
-10
Business.vue
src/components/assembly/Business.vue
+1
-1
Activity.vue
src/components/businessManagement/Activity.vue
+13
-10
addBusinessBox.vue
src/components/businessManagement/addBusinessBox.vue
+7
-7
businessInfoBox.vue
src/components/businessManagement/businessInfoBox.vue
+14
-4
Activity.vue
src/components/contactsManagement/Activity.vue
+13
-10
Activity.vue
src/components/contractManagement/Activity.vue
+6
-4
Activity.vue
src/components/guestManagement/Activity.vue
+14
-10
Business.vue
src/components/guestManagement/Business.vue
+1
-1
customerInfoBox.vue
src/components/guestManagement/customerInfoBox.vue
+1
-1
Activity.vue
src/components/watersManagement/Activity.vue
+6
-4
index.js
src/plugins/index.js
+1
-1
index.vue
src/views/index.vue
+4
-3
No files found.
src/components/assembly/Activity.vue
View file @
eaceb565
...
...
@@ -502,22 +502,25 @@ export default {
{
id
:
1
,
name
:
'写跟进'
,
},{
id
:
2
,
name
:
'创建任务'
,
},{
},
// {
// id: 2,
// name: '创建任务',
// },
{
id
:
3
,
name
:
'创建联系人'
,
},{
id
:
4
,
name
:
'创建商机'
,
},{
id
:
5
,
name
:
'创建合同'
,
},{
id
:
6
,
name
:
'创建回款'
,
},
// {
// id: 5,
// name: '创建合同',
// },{
// id: 6,
// name: '创建回款',
// },
],
gjImgList
:
[],
fjList
:
[],
...
...
src/components/assembly/Business.vue
View file @
eaceb565
...
...
@@ -58,7 +58,7 @@ export default {
methods
:
{
openDetails
(
scope
){
console
.
log
(
scope
.
row
.
ID
)
this
.
MsgBus
.
$emit
(
'busnessDrawerShow'
,
scope
.
row
.
ID
)
this
.
MsgBus
.
$emit
(
'busnessDrawerShow'
,
scope
.
row
.
ID
,
0
)
},
GetBusinessList
(){
this
.
apipost
(
'/api/Customer/GetBusinessList'
,
{
CustomerId
:
this
.
ID
},
res
=>
{
...
...
src/components/businessManagement/Activity.vue
View file @
eaceb565
...
...
@@ -494,19 +494,22 @@ export default {
{
id
:
1
,
name
:
'写跟进'
,
},{
id
:
2
,
name
:
'创建任务'
,
},{
},
// {
// id: 2,
// name: '创建任务',
// },
{
id
:
3
,
name
:
'创建联系人'
,
},{
id
:
5
,
name
:
'创建合同'
,
},{
id
:
6
,
name
:
'创建回款'
,
},
// {
// id: 5,
// name: '创建合同',
// },{
// id: 6,
// name: '创建回款',
// },
],
gjImgList
:
[],
fjList
:
[],
...
...
src/components/businessManagement/addBusinessBox.vue
View file @
eaceb565
...
...
@@ -202,9 +202,10 @@
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"系列"
prop=
"LineteamId"
>
<el-select
v-model=
"form.LineteamId"
filterable
placeholder=
"请选择系列"
>
<el-option
label=
'不限'
value=
'0'
key=
'0'
></el-option>
<el-option
v-for=
"item in LineTeamList"
:label=
'item.
LtName'
:value=
'item.LtID'
:key=
'item.LtID
'
>
:label=
'item.
name'
:value=
'item.id'
:key=
'item.id
'
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -268,10 +269,10 @@ export default {
ID
:
0
,
CustomerId
:
''
,
BudgetPrice
:
''
,
LineId
:
10
,
LineId
:
''
,
BusinessName
:
''
,
BusinessStatus
:
''
,
LineteamId
:
14
,
LineteamId
:
''
,
DepartTime
:
''
,
PeopleNumber
:
1
,
Remark
:
''
,
...
...
@@ -362,9 +363,8 @@ export default {
if
(
!
type
)
{
this
.
form
.
LineteamId
=
''
}
this
.
apipost2
(
"team_post_GetList"
,
{
lineID
:
lineId
,
isTOOP
:
1
this
.
apipost2
(
"b2b_get_GetLineTeam"
,
{
lineId
:
lineId
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineTeamList
=
res
.
data
.
data
;
...
...
@@ -372,7 +372,7 @@ export default {
});
},
getLineList
()
{
this
.
apipost2
(
"line_post_GetAllList
_V2"
,
{
LineDirection
:
14
},
res
=>
{
this
.
apipost2
(
"line_post_GetAllList
"
,
{
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
}
...
...
src/components/businessManagement/businessInfoBox.vue
View file @
eaceb565
...
...
@@ -210,7 +210,7 @@
</el-row>
</div>
<div
class=
"content"
>
<div
class=
"state-box"
>
<div
class=
"state-box"
v-show=
"false"
>
<div
class=
"busi-state"
>
<el-popover
placement=
"bottom"
...
...
@@ -287,9 +287,9 @@
<el-tab-pane
label=
"团队成员"
name=
"4"
>
<TeamMembers
v-if=
"activeName === '4'"
:BusinessId=
"BusinessId"
:IsRead=
"detailsData.IsRead"
/>
</el-tab-pane>
<el-tab-pane
label=
"回款"
name=
"7"
>
<
!--
<
el-tab-pane
label=
"回款"
name=
"7"
>
<MoneyBack
/>
</el-tab-pane>
</el-tab-pane>
-->
<el-tab-pane
label=
"附件"
name=
"8"
>
<Enclosure
v-if=
"activeName === '8'"
:ID=
'BusinessId'
:type=
'2'
:IsRead=
"detailsData.IsRead"
/>
</el-tab-pane>
...
...
@@ -329,6 +329,10 @@ export default {
BusinessIdCustomerId
:
{
type
:
Number
,
default
:
0
},
CustomerType
:
{
type
:
Number
,
default
:
0
}
},
data
()
{
...
...
@@ -344,6 +348,12 @@ export default {
this
.
activeName
=
'1'
},
deep
:
true
},
CustomerType
:
{
handler
(
val
,
oldVal
){
},
deep
:
true
}
},
mounted
()
{
...
...
@@ -359,7 +369,7 @@ export default {
},
init
(){
this
.
apipost
(
'/api/Customer/GetAllBusinessModel'
,
{
BusinessId
:
this
.
BusinessId
},
res
=>
{
this
.
apipost
(
'/api/Customer/GetAllBusinessModel'
,
{
BusinessId
:
this
.
BusinessId
,
CustomerType
:
this
.
CustomerType
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
detailsData
=
res
.
data
.
data
}
...
...
src/components/contactsManagement/Activity.vue
View file @
eaceb565
...
...
@@ -476,19 +476,22 @@ export default {
{
id
:
1
,
name
:
'写跟进'
,
},{
id
:
2
,
name
:
'创建任务'
,
},{
},
// {
// id: 2,
// name: '创建任务',
// },
{
id
:
4
,
name
:
'创建商机'
,
},{
id
:
5
,
name
:
'创建合同'
,
},{
id
:
6
,
name
:
'创建回款'
,
},
// {
// id: 5,
// name: '创建合同',
// },{
// id: 6,
// name: '创建回款',
// },
],
gjImgList
:
[],
fjList
:
[],
...
...
src/components/contractManagement/Activity.vue
View file @
eaceb565
...
...
@@ -471,10 +471,12 @@ export default {
{
id
:
1
,
name
:
'写跟进'
,
},{
id
:
2
,
name
:
'创建任务'
,
},{
},
// {
// id: 2,
// name: '创建任务',
// },
{
id
:
4
,
name
:
'创建商机'
,
},{
...
...
src/components/guestManagement/Activity.vue
View file @
eaceb565
...
...
@@ -518,19 +518,23 @@ export default {
{
id
:
1
,
name
:
'写跟进'
,
},{
id
:
2
,
name
:
'创建任务'
,
},{
}
// ,{
// id: 2,
// name: '创建任务',
// }
,
{
id
:
4
,
name
:
'创建商机'
,
},{
id
:
5
,
name
:
'创建合同'
,
},{
id
:
6
,
name
:
'创建回款'
,
},
// {
// id: 5,
// name: '创建合同',
// },{
// id: 6,
// name: '创建回款',
// },
],
gjImgList
:
[],
fjList
:
[],
...
...
src/components/guestManagement/Business.vue
View file @
eaceb565
...
...
@@ -58,7 +58,7 @@ export default {
methods
:
{
openDetails
(
scope
){
console
.
log
(
scope
.
row
.
ID
)
this
.
MsgBus
.
$emit
(
'busnessDrawerShow'
,
scope
.
row
.
ID
)
this
.
MsgBus
.
$emit
(
'busnessDrawerShow'
,
scope
.
row
.
ID
,
1
)
},
GetBusinessList
(){
this
.
apipost
(
'/api/Customer/GetBusinessList'
,
{
CustomerId
:
this
.
ID
,
CustomerType
:
1
},
res
=>
{
...
...
src/components/guestManagement/customerInfoBox.vue
View file @
eaceb565
...
...
@@ -103,7 +103,7 @@
<div
class=
"content"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"活动"
name=
"1"
>
<Activity
v-if=
"activeName === '1'"
:CustomerId=
"CustomerId"
/>
<Activity
v-if=
"activeName === '1'"
:CustomerId=
"CustomerId"
:showType=
"2"
/>
</el-tab-pane>
<el-tab-pane
label=
"详细资料"
name=
"2"
>
<Details
v-if=
"activeName === '2'"
:detailsData=
"detailsData"
/>
...
...
src/components/watersManagement/Activity.vue
View file @
eaceb565
...
...
@@ -498,10 +498,12 @@ export default {
{
id
:
1
,
name
:
'写跟进'
,
},{
id
:
2
,
name
:
'创建任务'
,
},{
},
// {
// id: 2,
// name: '创建任务',
// },
{
id
:
3
,
name
:
'创建联系人'
,
},{
...
...
src/plugins/index.js
View file @
eaceb565
...
...
@@ -11,7 +11,7 @@ export default {
},
//域名管理对象
Vue
.
prototype
.
domainManager
=
function
()
{
let
domainUrl
=
"http
s://localhost:5001
"
let
domainUrl
=
"http
://testcrm.oytour.com
"
let
locationName
=
window
.
location
.
hostname
;
let
domainPostUrl
=
"http://testapi.oytour.com"
if
(
this
.
isOnline
())
{
...
...
src/views/index.vue
View file @
eaceb565
...
...
@@ -171,7 +171,7 @@
:visible
.
sync=
"busnessDrawer"
direction=
"rtl"
:before-close=
"handleClose"
>
<businessInfoBox
:BusinessId=
"BusinessId"
:BusinessIdCustomerId=
"BusinessIdCustomerId"
@
transferS=
"busTransfer"
@
watersS=
"busWaters"
@
editCustbusiness=
"editCustbusiness"
/>
<businessInfoBox
:BusinessId=
"BusinessId"
:
CustomerType=
"CustomerType"
:
BusinessIdCustomerId=
"BusinessIdCustomerId"
@
transferS=
"busTransfer"
@
watersS=
"busWaters"
@
editCustbusiness=
"editCustbusiness"
/>
</el-drawer>
<!-- 高级筛选 -->
<el-dialog
:visible
.
sync=
"sceneShow"
:close-on-click-modal=
"false"
width=
"800px"
custom-class=
"transfer-box add-box add-box2 add-scene"
>
...
...
@@ -220,6 +220,7 @@ export default {
BusinessIdCustomerId
:
0
,
busnessDrawer
:
false
,
contractDrawer
:
false
,
CustomerType
:
0
,
contractID
:
0
,
url
:
''
,
showViewer
:
false
,
...
...
@@ -324,10 +325,10 @@ export default {
$this
.
contractID
=
ID
$this
.
contractDrawer
=
true
})
this
.
MsgBus
.
$on
(
'busnessDrawerShow'
,
function
(
ID
,
BusinessIdCustomerId
){
this
.
MsgBus
.
$on
(
'busnessDrawerShow'
,
function
(
ID
,
CustomerType
){
$this
.
busnessDrawer
=
true
$this
.
BusinessId
=
ID
$this
.
BusinessIdCustomerId
=
BusinessIdCustomerId
$this
.
CustomerType
=
CustomerType
})
this
.
MsgBus
.
$on
(
'sceneBoxShow'
,
function
(
type
,
sceneType
,
sceneDataList
){
$this
.
LableType
=
type
...
...
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