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
13b683f2
Commit
13b683f2
authored
Jul 24, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
d4e25bdf
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
128 additions
and
10 deletions
+128
-10
addBusinessBox.vue
src/components/businessManagement/addBusinessBox.vue
+2
-2
allList.vue
src/components/myOrdersAllType/components/allList.vue
+1
-1
orderList.vue
src/components/myOrdersAllType/components/orderList.vue
+125
-7
No files found.
src/components/businessManagement/addBusinessBox.vue
View file @
13b683f2
...
@@ -259,8 +259,8 @@
...
@@ -259,8 +259,8 @@
</el-form>
</el-form>
</div>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
class=
"add-box-btn"
@
click=
"submitForm('form')"
>
确 定
</el-button>
<el-button
type=
"primary"
class=
"add-box-btn"
@
click=
"submitForm('
get
form')"
>
确 定
</el-button>
<el-button
class=
"add-box-btn add-box-cancel"
@
click=
"dialogTableVisible = false, resetForm('form')"
>
取 消
<el-button
class=
"add-box-btn add-box-cancel"
@
click=
"dialogTableVisible = false, resetForm('
get
form')"
>
取 消
</el-button>
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
...
...
src/components/myOrdersAllType/components/allList.vue
View file @
13b683f2
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</div>
</div>
<div
class=
"query-box status-box"
></div>
<div
class=
"query-box status-box"
></div>
<orderList
:dataList=
"dataList"
:pagesTitle=
"title"
:loading=
"loading"
@
emptyMore=
"emptyMore"
></orderList>
<orderList
:dataList=
"dataList"
:pagesTitle=
"title"
:loading=
"loading"
@
emptyMore=
"emptyMore"
@
success=
"getList()"
></orderList>
<div>
<div>
<el-pagination
class=
"Mypagination"
background
@
current-change=
"handleCurrentChange"
<el-pagination
class=
"Mypagination"
background
@
current-change=
"handleCurrentChange"
:page-sizes=
"[15, 30, 60, 90, 100]"
:page-size=
"msg.pageSize"
layout=
"total, sizes, prev, pager, next"
:page-sizes=
"[15, 30, 60, 90, 100]"
:page-size=
"msg.pageSize"
layout=
"total, sizes, prev, pager, next"
...
...
src/components/myOrdersAllType/components/orderList.vue
View file @
13b683f2
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
width=
"200"
width=
"200"
prop=
"CreateTimeStr"
prop=
"CreateTimeStr"
label=
"订单Id"
label=
"订单Id"
show-overflow-tooltip
>
show-overflow-tooltip
fixed=
"left"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
@
click=
"goDetails(scope.row)"
>
<div
@
click=
"goDetails(scope.row)"
>
<p
style=
"font-size: 18px;display: flex;align-items: center;"
>
<p
style=
"font-size: 18px;display: flex;align-items: center;"
>
...
@@ -145,14 +145,14 @@
...
@@ -145,14 +145,14 @@
<span>
{{
scope
.
row
.
StateName
}}
</span>
<span>
{{
scope
.
row
.
StateName
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
<!-- <el-table-column
label=
"操作"
label=
"操作"
show-overflow-tooltip>
show-overflow-tooltip
fixed=
"right"
v-if=
"isPermission"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button size="mini" type="primary" @click="goDetails(scope.row)">查看</el-button>
<!--
<el-button
size=
"mini"
type=
"primary"
@
click=
"goDetails(scope.row)"
>
查看
</el-button>
-->
<el-button
size=
"mini"
type=
"primary"
@
click=
"goTurn(scope.row)"
>
转交
</el-button>
</
template
>
</
template
>
</el-table-column>
-->
</el-table-column>
</el-table>
</el-table>
<el-drawer
:with-header=
"false"
size=
'70%'
:visible
.
sync=
"drawer"
direction=
"rtl"
:before-close=
"handleClose"
>
<el-drawer
:with-header=
"false"
size=
'70%'
:visible
.
sync=
"drawer"
direction=
"rtl"
:before-close=
"handleClose"
>
<customerInfoBox
:CustomerId=
"CustomerId"
:activeNameNum=
"activeNameNum"
:receiptType=
"receiptType"
/>
<customerInfoBox
:CustomerId=
"CustomerId"
:activeNameNum=
"activeNameNum"
:receiptType=
"receiptType"
/>
...
@@ -163,6 +163,43 @@
...
@@ -163,6 +163,43 @@
</el-drawer>
</el-drawer>
<!-- 提成详情 -->
<!-- 提成详情 -->
<commissionPopUp
v-if=
"commissionPopUpVisible"
:parameters=
"parameters"
></commissionPopUp>
<commissionPopUp
v-if=
"commissionPopUpVisible"
:parameters=
"parameters"
></commissionPopUp>
<!-- 转交引流人 -->
<el-dialog
:visible
.
sync=
"dialogTableVisible"
:close-on-click-modal=
"false"
width=
"400px"
>
<div
class=
"add-tit"
slot=
"title"
>
<p><span></span>
引流人转交
</p>
<span
icon=
"el-icon-close"
></span>
</div>
<el-form>
<el-row
:model=
"form"
ref=
"form"
class=
"MyEditForm"
:rules=
"rules"
>
<el-col>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
""
prop=
"LureEmpId"
>
<el-select
size=
"mini"
filterable
v-model=
"form.LureEmpId"
clearable
placeholder=
"请选择引流人"
>
<el-option
v-for=
"item in EmployeeList"
:label=
'item.EmName'
:value=
'item.EmployeeId'
:key=
'item.EmployeeId'
>
</el-option>
</el-select>
</el-form-item>
</div>
</el-col>
</el-row>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
class=
"add-box-btn"
@
click=
"submitForm('form')"
:loading=
"clickShow"
>
确 定
</el-button>
<el-button
class=
"add-box-btn add-box-cancel"
@
click=
"resetForm('form')"
>
取 消
</el-button>
</div>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -204,6 +241,21 @@ export default {
...
@@ -204,6 +241,21 @@ export default {
orderDrawer
:
false
,
orderDrawer
:
false
,
commissionPopUpVisible
:
false
,
commissionPopUpVisible
:
false
,
activeNameNum
:
"1"
,
activeNameNum
:
"1"
,
form
:
{
OrderId
:
null
,
LureEmpId
:
null
,
OrderType
:
null
},
dialogTableVisible
:
false
,
rules
:
{
LureEmpId
:
[{
required
:
true
,
message
:
"请选择转交引流人"
,
trigger
:
"change"
},],},
EmployeeList
:
[],
clickShow
:
false
,
isPermission
:
false
};
};
},
},
created
()
{},
created
()
{},
...
@@ -223,13 +275,79 @@ export default {
...
@@ -223,13 +275,79 @@ export default {
},
},
mounted
()
{
mounted
()
{
let
$this
=
this
;
let
$this
=
this
;
this
.
userInfo
=
this
.
getLocalStorage
();
let
userInfo
=
this
.
getLocalStorage
();
if
(
userInfo
.
PostName
==
'总经理'
||
userInfo
.
PostName
==
'副总经理'
||
userInfo
.
PostName
==
'技术开发'
||
userInfo
.
PostName
==
'开发经理'
||
userInfo
.
PostName
==
'票务经理'
){
this
.
isPermission
=
true
}
else
{
this
.
isPermission
=
false
}
this
.
MsgBus
.
$on
(
"closeaddContacts"
,
function
()
{
this
.
MsgBus
.
$on
(
"closeaddContacts"
,
function
()
{
$this
.
commissionPopUpVisible
=
false
;
$this
.
commissionPopUpVisible
=
false
;
$this
.
emptyMore
()
$this
.
emptyMore
()
});
});
},
},
methods
:
{
methods
:
{
// 获取业务员
Employee
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
msg
=
{
RB_Group_id
:
userInfo
.
RB_Group_id
,
BranchId
:
-
1
,
DepartmentId
:
0
,
PostId
:
0
,
IsLeave
:
0
,
};
this
.
apipost2
(
"admin_get_EmployeeGetList"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
EmployeeList
=
res
.
data
.
data
;
}
else
{}
},
(
err
)
=>
{}
);
},
submitForm
(
form
)
{
if
(
!
this
.
form
.
LureEmpId
){
this
.
Error
(
'请选择需要转交的引流人!'
)
return
}
let
msg
=
{
OrderId
:
this
.
form
.
OrderId
,
LureEmpId
:
this
.
form
.
LureEmpId
,
OrderType
:
this
.
form
.
OrderType
}
this
.
clickShow
=
true
this
.
apipost2
(
'CarSingle_post_UpdateLureEmpId'
,
msg
,
res
=>
{
this
.
clickShow
=
false
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dialogTableVisible
=
false
this
.
Success
(
'操作成功!'
)
this
.
$emit
(
'success'
)
}
else
{
this
.
Error
(
res
.
data
.
message
)
}
});
},
goTurn
(
row
){
this
.
Employee
()
this
.
form
=
{
OrderId
:
row
.
OrderId
,
LureEmpId
:
null
,
OrderType
:
row
.
OrderType
}
this
.
dialogTableVisible
=
true
},
resetForm
(
form
)
{
this
.
clickShow
=
false
this
.
dialogTableVisible
=
false
;
},
goDetails
(
row
){
goDetails
(
row
){
let
data
=
[{
let
data
=
[{
path
:
""
,
path
:
""
,
...
...
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