Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-scene
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b0770cf3
authored
Jan 03, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
bac1cf59
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
39 additions
and
12 deletions
src/api/modules/journeyConfig.js
src/views/journeyConfig/components/statDialog.vue
src/api/modules/journeyConfig.js
View file @
b0770cf
...
@@ -139,5 +139,15 @@ const getStaffList = params => {
...
@@ -139,5 +139,15 @@ const getStaffList = params => {
sign
:
true
sign
:
true
})
})
}
}
// 查询任务详情
const
getTaskList
=
params
=>
{
return
http_sop
({
url
:
`/process/sop/api/sopInsts/getTaskList`
,
method
:
'post'
,
data
:
params
,
noSessionId
:
true
,
sign
:
false
})
}
// entmicro.api.staff.listFollowerStaffByPage 跟进专员类型查询员工
// entmicro.api.staff.listFollowerStaffByPage 跟进专员类型查询员工
export
default
{
updateParam
,
getStaffList
,
getFollowListType
,
querylabeltree
,
activityPage
,
byGroupIdSop
,
getInstIdDetail
,
setSopInsts
,
concatActivity
,
findMarketingTask
,
getActivityDetailApi
,
activityRelInfo
,
listDepartmentTree
}
export
default
{
getTaskList
,
updateParam
,
getStaffList
,
getFollowListType
,
querylabeltree
,
activityPage
,
byGroupIdSop
,
getInstIdDetail
,
setSopInsts
,
concatActivity
,
findMarketingTask
,
getActivityDetailApi
,
activityRelInfo
,
listDepartmentTree
}
src/views/journeyConfig/components/statDialog.vue
View file @
b0770cf
<
template
>
<
template
>
<GLDialog
title=
"SOP执行统计"
:visible
.
sync=
"statVisible"
width=
"70%"
:before-close=
"handleClose"
:hasFooter=
"false"
>
<GLDialog
title=
"SOP执行统计"
:visible
.
sync=
"statVisible"
width=
"70%"
:before-close=
"handleClose"
:hasFooter=
"false"
>
<div
class=
"dialog-body"
>
<div
class=
"dialog-body"
>
<GLTable
v-loading=
"loading"
:
hasNum=
"true"
@
setTableHeightEvent=
"setTableHeightEvent"
@
setTableFinishFun=
"setTableFinishFun"
ref=
"leadManage"
:getListApi=
"getListApi"
:searchForm=
"searchForm
"
:pageConf=
"pageConf"
:noDataImg=
"url"
:tableParams=
"tableParams"
></GLTable>
<GLTable
v-loading=
"loading"
:
searchForm=
"tableSearchForm"
:hasNum=
"true"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
ref=
"leadManage"
:getListApi=
"getListApi
"
:pageConf=
"pageConf"
:noDataImg=
"url"
:tableParams=
"tableParams"
></GLTable>
</div>
</div>
</GLDialog>
</GLDialog>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
getTableList
}
from
'@/api/modules/leadManage'
export
default
{
export
default
{
props
:
{
props
:
{
statVisible
:
Boolean
statVisible
:
Boolean
},
},
data
()
{
data
()
{
return
{
return
{
getListApi
:
getTableList
,
loading
:
false
,
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'total'
},
tableSearchForm
:{},
getListApi
:
this
.
$apis
.
journeyConfig
.
getTaskList
,
pageConf
:
{
pageSize
:
'pageNumber'
,
pageNum
:
'pageNumber'
,
totalCount
:
'total'
},
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'营销计划'
,
label
:
'营销计划'
,
prop
:
'
orderNo
'
prop
:
'
plan
'
},
},
{
{
label
:
'触达方式'
,
label
:
'触达方式'
,
prop
:
'
nam
e'
prop
:
'
taskTyp
e'
},
},
{
{
label
:
'今日营销客户数'
,
label
:
'今日营销客户数'
,
prop
:
'
phone
'
prop
:
'
todayCusCount
'
},
},
{
{
label
:
'今日下发任务数'
,
label
:
'今日下发任务数'
,
prop
:
'type'
,
prop
:
'todayTaskCount'
addHtml
:
'type'
},
},
{
{
label
:
'累计营销客户数'
,
label
:
'累计营销客户数'
,
prop
:
'
status
'
prop
:
'
totalCusCount
'
},
},
{
{
label
:
'累计下发任务数'
,
label
:
'累计下发任务数'
,
prop
:
'
userName
'
prop
:
'
totalTaskCount
'
}
}
]
]
}
}
}
}
},
},
created
()
{
const
query
=
this
.
$route
.
query
this
.
query
=
query
},
methods
:
{
methods
:
{
beforeSearchFn
()
{
return
new
Promise
(
resolve
=>
{
this
.
loading
=
true
console
.
log
(
1111111111
)
this
.
tableSearchForm
=
{
instId
:
this
.
query
.
instId
}
resolve
()
})
},
setTableFinishFun
()
{
this
.
loading
=
false
},
handleClose
()
{
handleClose
()
{
this
.
$parent
.
statVisible
=
false
this
.
$parent
.
statVisible
=
false
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment