Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-services
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 06cf3148
authored
May 13, 2022
by
张权
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
ac1bb77a
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
47 additions
and
23 deletions
src/setup/qiankun.js
src/views/expert/components/selectMember.vue
src/views/expert/detail.vue
src/views/expert/index.vue
src/setup/qiankun.js
View file @
06cf314
...
@@ -15,8 +15,8 @@ Vue.use(GLTable)
...
@@ -15,8 +15,8 @@ Vue.use(GLTable)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
request_brand
,
sign
,
secret
}
=
await
fetchConfig
()
const
{
response
,
request
,
request_brand
,
sign
,
secret
}
=
await
fetchConfig
()
// 本地切换域名,不需要Mock上面改动 const => let
// 本地切换域名,不需要Mock上面改动 const => let
request
.
baseURL
=
'https://scrm.test.glsx.com.cn'
//
request.baseURL = 'https://scrm.test.glsx.com.cn'
request_brand
.
baseURL
=
'https://scrm.test.glsx.com.cn'
//
request_brand.baseURL = 'https://scrm.test.glsx.com.cn'
// request.baseURL = 'http://192.168.1.78:8064'
// request.baseURL = 'http://192.168.1.78:8064'
// request_brand.baseURL = 'http://192.168.1.78:8064'
// request_brand.baseURL = 'http://192.168.1.78:8064'
Vue
.
prototype
.
$history
=
history
Vue
.
prototype
.
$history
=
history
...
...
src/views/expert/components/selectMember.vue
View file @
06cf314
<
template
>
<
template
>
<div
class=
"member-wrapper"
>
<div
class=
"member-wrapper"
>
<div
class=
"member-left"
>
<div
class=
"member-left"
>
<div
class=
"member-title"
>
<
!--
<
div
class=
"member-title"
>
预选
预选
<span>
仅筛选有外部客户联系人的成员
</span>
<span>
仅筛选有外部客户联系人的成员
</span>
</div>
</div>
-->
<div
class=
"member-content"
>
<div
class=
"member-content"
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"所在门店/部门"
style=
"margin-bottom: 0;"
>
<el-form-item
label=
"所在门店/部门"
style=
"margin-bottom: 0;"
>
...
@@ -36,7 +36,10 @@
...
@@ -36,7 +36,10 @@
</div>
</div>
</div>
</div>
<div
class=
"member-checked"
>
<div
class=
"member-checked"
>
<span
class=
"name"
>
已选择:
{{
selectPerson
&&
selectPerson
.
staffName
}}{{
selectPerson
&&
selectPerson
.
staffTitle
}}
</span>
<span
class=
"name"
>
已选择:
{{
selectPerson
&&
selectPerson
.
staffName
}}
<span
style=
"font-size:12px;"
>
|
{{
selectPerson
&&
selectPerson
.
staffTitle
}}
</span>
</span>
<el-checkbox
v-model=
"checked"
@
change=
"checkChange"
>
仅看跟进专员
</el-checkbox>
<el-checkbox
v-model=
"checked"
@
change=
"checkChange"
>
仅看跟进专员
</el-checkbox>
</div>
</div>
</div>
</div>
...
@@ -298,9 +301,14 @@ export default {
...
@@ -298,9 +301,14 @@ export default {
width
:
800px
;
width
:
800px
;
.member-content
{
.member-content
{
border
:
1px
solid
#eee
;
.member-form
{
.member-form
{
padding
:
10px
20px
;
padding
:
16px
0
;
/deep/
.el-input__inner
{
height
:
32px
;
}
/
deep
/
.el-button--primary
{
padding
:
9px
20px
;
}
}
}
.table-content
{
.table-content
{
max-height
:
456px
;
max-height
:
456px
;
...
@@ -312,6 +320,7 @@ export default {
...
@@ -312,6 +320,7 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
space-between
;
justify-content
:
space-between
;
font-size
:
14px
;
font-size
:
14px
;
margin-top
:
12px
;
.name
{
.name
{
color
:
#5850ff
;
color
:
#5850ff
;
}
}
...
...
src/views/expert/detail.vue
View file @
06cf314
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<glsx-dialog
:title=
"'选择成员'"
:width=
"'1142
px'"
:isVisible=
"membersVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"membersVisible = !membersVisible"
>
<glsx-dialog
:title=
"'选择成员'"
btnSize=
"small"
:width=
"'850
px'"
:isVisible=
"membersVisible"
@
confirmDialog=
"handleConfirm"
@
closeDialog=
"membersVisible = !membersVisible"
>
<SelectMember
ref=
"membersForm"
v-if=
"membersVisible"
:selectData=
"selectData"
></SelectMember>
<SelectMember
ref=
"membersForm"
v-if=
"membersVisible"
:selectData=
"selectData"
></SelectMember>
</glsx-dialog>
</glsx-dialog>
<div
class=
"my-footer btn-box box"
>
<div
class=
"my-footer btn-box box"
>
...
@@ -144,6 +144,25 @@ export default {
...
@@ -144,6 +144,25 @@ export default {
.expert-detail
{
.expert-detail
{
background-color
:
#fff
;
background-color
:
#fff
;
height
:
calc
(
100%
-
80px
);
height
:
calc
(
100%
-
80px
);
/deep/
.el-dialog__header
{
height
:
56px
;
padding
:
0
24px
;
line-height
:
56px
;
font-size
:
18px
;
font-weight
:
600
;
color
:
#000000
;
}
/
deep
/
.el-dialog__body
{
padding-top
:
0
;
}
/
deep
/
.el-dialog__footer
>
div
{
display
:
flex
;
flex-direction
:
row-reverse
;
.
el-button
:
first-child
{
margin-left
:
16px
;
}
}
.header
{
.header
{
height
:
56px
;
height
:
56px
;
font-size
:
16px
;
font-size
:
16px
;
...
...
src/views/expert/index.vue
View file @
06cf314
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
<div
class=
"expert-wrap"
>
<div
class=
"expert-wrap"
>
<glsx-combi-form
ref=
"expertRef"
labelWidth=
"72px"
defaultWidth=
"215px"
:formObj=
"batchListSearch"
:formData=
"expertForm"
>
<glsx-combi-form
ref=
"expertRef"
labelWidth=
"72px"
defaultWidth=
"215px"
:formObj=
"batchListSearch"
:formData=
"expertForm"
>
<div
slot=
"department"
>
<div
slot=
"department"
>
<el-cascader
popper-class=
"expert-cascader"
ref=
"cascaderRef1"
placeholder=
"请选择商户/门店"
@
change=
"getCurMerchant"
:show-all-levels=
"false"
v-model=
"batchListSearch.departmentId"
:props=
"mypropParam1"
:options=
"shopList"
size=
"small"
style=
"width: 215px"
separator=
" "
filterable
>
<el-cascader
clearable
popper-class=
"expert-cascader"
ref=
"cascaderRef1"
placeholder=
"请选择商户/门店"
@
change=
"getCurMerchant"
:show-all-levels=
"false"
v-model=
"batchListSearch.departmentId"
:props=
"mypropParam1"
:options=
"shopList"
size=
"small"
style=
"width: 215px"
separator=
" "
filterable
>
<template
slot-scope=
"
{ data }">
<template
slot-scope=
"
{ data }">
<el-tooltip
popper-class=
"myToolTipClass"
style=
"border: none"
:disabled=
"data.label.length > 12 ? false : true"
class=
"item"
effect=
"light"
:content=
"data.label"
placement=
"top-end"
>
<el-tooltip
popper-class=
"myToolTipClass"
style=
"border: none"
:disabled=
"data.label.length > 12 ? false : true"
class=
"item"
effect=
"light"
:content=
"data.label"
placement=
"top-end"
>
<div
class=
"limitText"
style=
"width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis"
>
{{
data
.
label
}}
</div>
<div
class=
"limitText"
style=
"width: 200px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis"
>
{{
data
.
label
}}
</div>
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
<el-button
:size=
"size"
class=
"resetBtn"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
class=
"resetBtn"
@
click=
"handleReset"
>
重置
</el-button>
</span>
</span>
</glsx-combi-form>
</glsx-combi-form>
<GLTable
ref=
"expertTable"
@
hook:mounted=
"setTabelHeight"
:hasNum=
"false"
:pageConf=
"batchPageConf"
:searchForm=
"batchListSearch"
:tableParams=
"batchTableParams"
:getListApi=
"getListApi"
>
<GLTable
ref=
"expertTable"
:hasNum=
"false"
:pageConf=
"batchPageConf"
:searchForm=
"batchListSearch"
:tableParams=
"batchTableParams"
:getListApi=
"getListApi"
>
<span
slot=
"status"
slot-scope=
"scope"
>
<span
slot=
"status"
slot-scope=
"scope"
>
<el-switch
:value=
"scope.scope.status == 0"
active-color=
"#5850ff"
inactive-color=
"#eee"
@
change=
"changStatus(scope.scope.status, scope.scope.id)"
></el-switch>
<el-switch
:value=
"scope.scope.status == 0"
active-color=
"#5850ff"
inactive-color=
"#eee"
@
change=
"changStatus(scope.scope.status, scope.scope.id)"
></el-switch>
{{ scope.scope.status == 1 ? '禁用' : '启用' }}
{{ scope.scope.status == 1 ? '禁用' : '启用' }}
...
@@ -84,7 +84,8 @@ export default {
...
@@ -84,7 +84,8 @@ export default {
label
:
'员工'
,
label
:
'员工'
,
name
:
'staffName'
,
name
:
'staffName'
,
type
:
'input'
,
type
:
'input'
,
maxlength
:
15
maxlength
:
15
,
isClear
:
true
},
},
{
{
label
:
'客户类型'
,
label
:
'客户类型'
,
...
@@ -96,12 +97,12 @@ export default {
...
@@ -96,12 +97,12 @@ export default {
memberName
:
'全部'
memberName
:
'全部'
},
},
{
{
memberId
:
1
,
memberId
:
0
,
memberName
:
'
正式会员
'
memberName
:
'
升级
'
},
},
{
{
memberId
:
2
,
memberId
:
-
1
,
memberName
:
'
试用会员
'
memberName
:
'
战败
'
}
}
],
],
optionId
:
'memberId'
,
optionId
:
'memberId'
,
...
@@ -238,9 +239,6 @@ export default {
...
@@ -238,9 +239,6 @@ export default {
addConfig
()
{
addConfig
()
{
this
.
showClientType
=
true
this
.
showClientType
=
true
},
},
setTabelHeight
()
{
this
.
$refs
.
expertTable
.
tableHeightValues
=
'455'
},
goDetail
()
{
goDetail
()
{
this
.
$router
.
push
({
path
:
'/expert/detail/5'
})
this
.
$router
.
push
({
path
:
'/expert/detail/5'
})
},
},
...
@@ -270,16 +268,14 @@ export default {
...
@@ -270,16 +268,14 @@ export default {
this
.
$refs
.
expertTable
.
refreshTable
()
this
.
$refs
.
expertTable
.
refreshTable
()
},
},
handleReset
(
type
)
{
handleReset
(
type
)
{
console
.
log
(
this
.
$refs
.
expertTable
)
this
.
batchListSearch
=
{
this
.
batchListSearch
=
{
searchText
:
''
,
departmentId
:
''
,
activeTime
:
[]
staffName
:
''
,
businessType
:
''
}
}
if
(
type
===
'reset'
)
{
this
.
handleSearch
()
this
.
handleSearch
()
}
}
}
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
...
...
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