Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 ffff7c82
authored
Apr 02, 2022
by
xuyl
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新建线索管理页面
1 parent
c77b3a97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
130 additions
and
20 deletions
src/router/routes.js
src/views/leadManage/index.vue
src/router/routes.js
View file @
ffff7c8
...
...
@@ -12,25 +12,25 @@ const staticRoutes = Object.freeze([{
},
{
name
:
'clientDataOverview'
,
path
:
"/clientDataOverview/index"
,
path
:
'/clientDataOverview/index'
,
component
:
resolve
=>
require
([
`@/views/clientDataOverview/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'clientDataOverview'
,
path
:
"/clientDataOverview/group/:id"
,
path
:
'/clientDataOverview/group/:id'
,
component
:
resolve
=>
require
([
`@/views/clientDataOverview/group.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'clientManage'
,
path
:
"/clientManage/index"
,
path
:
'/clientManage/index'
,
component
:
resolve
=>
require
([
`@/views/clientManage/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'clientDetail'
,
path
:
"/clientManage/clientDetail"
,
path
:
'/clientManage/clientDetail'
,
component
:
resolve
=>
require
([
`@/views/clientManage/clientDetail.vue`
],
resolve
),
meta
:
{}
},
...
...
@@ -38,92 +38,98 @@ const staticRoutes = Object.freeze([{
// name: 'clientDemo',
// path: "/clientManage/clientDemo",
// component: resolve => require([`@/views/clientManage/demo.vue`], resolve),
// meta: {}
// meta: {}
// },
{
name
:
'clientGroupManage'
,
path
:
"/clientGroupManage/index"
,
path
:
'/clientGroupManage/index'
,
component
:
resolve
=>
require
([
`@/views/clientGroupManage/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'clientGroupDetail'
,
path
:
"/clientGroupManage/clientGroupDetail"
,
path
:
'/clientGroupManage/clientGroupDetail'
,
component
:
resolve
=>
require
([
`@/views/clientGroupManage/clientGroupDetail.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'tagsManage'
,
path
:
"/tagsManage/index"
,
path
:
'/tagsManage/index'
,
component
:
resolve
=>
require
([
`@/views/tagsManage/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'viewCustomers'
,
path
:
"/tagsManage/viewCustomers/:info/:type"
,
path
:
'/tagsManage/viewCustomers/:info/:type'
,
component
:
resolve
=>
require
([
`@/views/tagsManage/viewCustomers.vue`
],
resolve
),
meta
:
{}
,
meta
:
{}
},
{
name
:
'expand'
,
path
:
"/expand/index"
,
path
:
'/expand/index'
,
component
:
resolve
=>
require
([
`@/views/expand/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'employee'
,
path
:
"/employee/index"
,
path
:
'/employee/index'
,
component
:
resolve
=>
require
([
`@/views/employee/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'employee'
,
path
:
"/employee/detail"
,
path
:
'/employee/detail'
,
component
:
resolve
=>
require
([
`@/views/employee/detail.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'employee'
,
path
:
"/employee/add"
,
path
:
'/employee/add'
,
component
:
resolve
=>
require
([
`@/views/employee/add.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'guestGuest'
,
path
:
"/guestGroup/index"
,
path
:
'/guestGroup/index'
,
component
:
resolve
=>
require
([
`@/views/guestGroup/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'guestAdd'
,
path
:
"/guestGroup/add/:id"
,
path
:
'/guestGroup/add/:id'
,
component
:
resolve
=>
require
([
`@/views/guestGroup/add.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'guestDetail'
,
path
:
"/guestGroup/detail/:id"
,
path
:
'/guestGroup/detail/:id'
,
component
:
resolve
=>
require
([
`@/views/guestGroup/detail.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'crowdManage'
,
path
:
"/crowdManage/index"
,
path
:
'/crowdManage/index'
,
component
:
resolve
=>
require
([
`@/views/crowdManage/index.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'crowdAdd'
,
path
:
"/crowdManage/crowdAdd"
,
path
:
'/crowdManage/crowdAdd'
,
component
:
resolve
=>
require
([
`@/views/crowdManage/crowdAdd.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'crowdDetail'
,
path
:
"/crowdManage/crowdDetail:id"
,
path
:
'/crowdManage/crowdDetail:id'
,
component
:
resolve
=>
require
([
`@/views/crowdManage/crowdDetail.vue`
],
resolve
),
meta
:
{}
},
{
name
:
'leadManage'
,
path
:
'/leadManage/index'
,
component
:
resolve
=>
require
([
`@/views/leadManage/index.vue`
],
resolve
),
meta
:
{}
},
])
export
default
staticRoutes
// {
...
...
src/views/leadManage/index.vue
0 → 100644
View file @
ffff7c8
<
template
>
<div>
<div
class=
"scrm-sub-client-container"
>
<div
class=
"pageContent"
>
<GLCombiForm
:formObj=
"searchForm"
:formData=
"leadManageFormList"
@
handleOk=
"searchTable"
@
handleRest=
"resetTable"
>
</GLCombiForm>
</div>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'leadManage'
,
data
()
{
return
{
searchForm
:
{},
leadManageFormList
:
[
{
type
:
'input'
,
inputType
:
'text'
,
name
:
'groupNickName'
,
label
:
'关键字'
},
{
type
:
'select'
,
name
:
'customerSex'
,
label
:
'线索状态'
,
optionLabel
:
'label'
,
optionId
:
'value'
,
optionList
:
[
{
label
:
'全部'
,
value
:
null
},
{
label
:
'跟进中'
,
value
:
1
},
{
label
:
'已完成'
,
value
:
2
}
]
},
{
type
:
'input'
,
inputType
:
'text'
,
name
:
'groupNickName'
,
label
:
'跟进人'
},
{
type
:
'select'
,
name
:
'customerSex'
,
label
:
'线索类型'
,
optionLabel
:
'label'
,
optionId
:
'value'
,
optionList
:
[
{
label
:
'全部'
,
value
:
null
},
{
label
:
'新车询价'
,
value
:
1
},
{
label
:
'试驾预约'
,
value
:
2
},
{
label
:
'维保预约'
,
value
:
3
},
{
label
:
'救援服务'
,
value
:
4
}
]
}
],
pageConf
:
{
pageSize
:
'pageSize'
,
pageNum
:
'pageNum'
,
totalCount
:
'count'
}
}
},
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
//运行在qiankun容器中
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.scrm-sub-client-container
{
.pageContent
{
padding
:
6px
20px
30px
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
//
min-width
:
1300px
;
background-color
:
#fff
;
}
}
</
style
>
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