Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 b7494fc7
authored
Dec 09, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
3dbf2410
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
75 additions
and
30 deletions
src/components/glsx-dialog/index.vue
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/welcomeWords.vue
src/views/customerTransform/detaiCustomeGroup.vue
src/views/customerTransform/detailCustomer.vue
src/views/customerTransform/index.vue
src/components/glsx-dialog/index.vue
View file @
b7494fc
<!-- 弹窗 -->
<
template
>
<div>
<el-dialog
:title=
"title"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
:modal-append-to-body=
"false"
:width=
"width"
>
<el-scrollbar
v-if=
"hasScroll"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"isVisible"
:show-close=
"showClose"
:before-close=
"handleClose"
:close-on-click-modal=
"false"
:modal-append-to-body=
"false"
:width=
"width"
class=
"app-dialog"
>
<el-scrollbar
v-if=
"hasScroll"
>
<span
slot=
"title"
>
<span
class=
"main-title"
>
{{
title
}}
</span>
<span
class=
"main-title"
>
{{
title
}}
</span>
<span
class=
"dialog-sub-title"
>
<slot
name=
"sub-title"
></slot>
</span>
...
...
@@ -12,8 +21,8 @@
<slot></slot>
</el-scrollbar>
<template
v-if=
"!hasScroll"
>
<span
slot=
"title"
>
<span
class=
"main-title"
>
{{
title
}}
</span>
<span
slot=
"title"
>
<span
class=
"main-title"
>
{{
title
}}
</span>
<span
class=
"dialog-sub-title"
>
<slot
name=
"sub-title"
></slot>
</span>
...
...
@@ -23,9 +32,24 @@
<div
slot=
"footer"
>
<slot
name=
"btn-start"
></slot>
<el-button
:type=
"typeName"
v-if=
"!noClose"
:size=
"btnSize"
@
click=
"handleClose"
>
{{btnCloseLabel}}
</el-button>
<el-button
type=
"primary"
v-if=
"!noBtnOk"
:size=
"btnSize"
@
click=
"handleConfirm"
>
{{ btnOkLabel }}
</el-button>
<el-button
type=
"primary"
v-if=
"!noCancel"
:size=
"btnSize"
@
click=
"handleClose"
>
{{ btnCancelLabel }}
</el-button>
<el-button
:type=
"typeName"
v-if=
"!noClose"
:size=
"btnSize"
@
click=
"handleClose"
>
{{btnCloseLabel}}
</el-button>
<el-button
type=
"default"
v-if=
"!noCancel"
:size=
"btnSize"
@
click=
"handleClose"
>
{{ btnCancelLabel }}
</el-button>
<el-button
type=
"primary"
v-if=
"!noBtnOk"
:size=
"btnSize"
@
click=
"handleConfirm"
>
{{ btnOkLabel }}
</el-button>
<slot
name=
"btn-middle"
></slot>
</div>
</el-dialog>
...
...
@@ -39,7 +63,7 @@ export default {
return
{}
},
props
:
{
hasScroll
:{
hasScroll
:
{
type
:
Boolean
,
default
:
true
},
...
...
@@ -53,9 +77,9 @@ export default {
},
showClose
:
{
type
:
Boolean
,
default
:
tru
e
default
:
fals
e
},
btnCloseLabel
:{
btnCloseLabel
:
{
type
:
String
,
default
:
'关闭'
},
...
...
@@ -79,9 +103,9 @@ export default {
type
:
Boolean
,
default
:
true
},
typeName
:{
type
:
String
,
default
:
''
typeName
:
{
type
:
String
,
default
:
'default'
},
// modalAppendToBody:{
// type: Boolean,
...
...
@@ -93,7 +117,7 @@ export default {
},
btnSize
:
{
type
:
String
,
default
:
'
mini
'
default
:
'
small
'
}
},
...
...
@@ -107,7 +131,7 @@ export default {
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
>
.dialog-sub-title
{
font-size
:
12px
;
color
:
#666666
;
...
...
@@ -122,4 +146,21 @@ export default {
//
height
:
60vh
;
//
overflow
:
auto
;
//
}
//
.app-dialog
{
//
//
.el-dialog__header
{
//
//
padding
:
15px
;
//
//
}
//
.el-dialog__body
{
//
border-top
:
1px
solid
#eaeefb
;
//
border-bottom
:
1px
solid
#eaeefb
;
//
}
//
.el-dialog__footer
{
//
padding
:
15px
;
//
//
.el-button--small
{
//
//
padding
:
9px
21px
;
//
//
font-size
:
14px
;
//
//
border-radius
:
4px
;
//
//
}
//
}
//
}
</
style
>
src/views/customerTransform/addCustomer.vue
View file @
b7494fc
...
...
@@ -137,7 +137,7 @@
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"120px"
>
<el-form-item
prop=
"attachmentList"
>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<WelcomeWords
ref=
"welcome"
:eventBus=
"eventBus"
></WelcomeWords>
<WelcomeWords
ref=
"welcome"
:
form=
"'customer'"
:
eventBus=
"eventBus"
></WelcomeWords>
</el-form-item>
<el-form-item
label=
"发送时间"
prop=
"sendType"
>
<el-radio-group
v-model=
"basicForm.sendType"
>
...
...
@@ -189,7 +189,7 @@
}"
>
<el-button
type=
"primary"
v-loading=
"addLoading"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
</div>
<SelectLabel
ref=
"selectLabel"
@
tagSelected=
"handleSelect"
:dialogVisible=
"dialogVisible"
></SelectLabel>
</div>
...
...
@@ -308,8 +308,8 @@ export default {
this
.
membersVisible
=
!
this
.
membersVisible
},
handleCancel
()
{
//
this.$router.push('/customerTransform/index')
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
(
'/customerTransform/index'
)
//
this.$router.go(-1)
},
// 成员弹窗
handleConfirm
()
{
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
b7494fc
...
...
@@ -38,7 +38,7 @@
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"120px"
>
<el-form-item
prop=
"attachmentList"
>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<WelcomeWords
ref=
"welcome"
:eventBus=
"eventBus"
></WelcomeWords>
<WelcomeWords
ref=
"welcome"
:
form=
"'customerGroup'"
:
eventBus=
"eventBus"
></WelcomeWords>
</el-form-item>
<el-form-item
label=
"发送时间"
prop=
"sendType"
>
<el-radio-group
v-model=
"basicForm.sendType"
>
...
...
@@ -81,7 +81,7 @@
}"
>
<el-button
type=
"primary"
v-loading=
"addLoading"
@
click=
"handleSubmit"
>
确定
</el-button>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
</div>
<glsx-dialog
:title=
"'选择成员'"
...
...
@@ -197,7 +197,8 @@ export default {
this
.
membersVisible
=
!
this
.
membersVisible
},
handleCancel
()
{
this
.
$router
.
go
(
-
1
)
// this.$router.go(-1)
this
.
$router
.
push
(
'/customerTransform/index'
)
},
// 成员弹窗
handleConfirm
()
{
...
...
src/views/customerTransform/components/welcomeWords.vue
View file @
b7494fc
...
...
@@ -81,7 +81,8 @@
</div>
<div
class=
"tips-text"
>
<img
src=
"../../../assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<span>
客户每个月最多接收来自同一企业的管理员的 4 条群发消息,4条消息可在同一天发送,达到上限后,无法再接收管理员的群发消息。
</span>
<span
v-if=
"form == 'customer'"
>
每位客户每天可接收1条群发消息,超过接收上限的客户将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customerGroup'"
>
每位客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。
</span>
</div>
</div>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
...
...
@@ -107,7 +108,7 @@ export default {
ActivityModel
,
wTextarea
},
props
:
{
eventBus
:
Object
}
,
props
:
[
'eventBus'
,
'form'
]
,
data
()
{
return
{
loading
:
false
,
...
...
src/views/customerTransform/detaiCustomeGroup.vue
View file @
b7494fc
...
...
@@ -39,7 +39,7 @@
}"
>
<!--
<el-button
type=
"primary"
@
click=
"handleNext"
>
确定
</el-button>
-->
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
</
template
>
...
...
@@ -161,7 +161,8 @@ export default {
},
methods
:
{
handleCancel
()
{
this
.
$router
.
go
(
-
1
)
// this.$router.go(-1)
this
.
$router
.
push
(
'/customerTransform/index'
)
},
remind
(
data
)
{
this
.
$apis
.
customerTransform
...
...
src/views/customerTransform/detailCustomer.vue
View file @
b7494fc
...
...
@@ -101,7 +101,7 @@
>
<!--
<el-button
type=
"primary"
@
click=
"handle
Next"
>
确定
</el-button>
-->
<el-button
type=
"primary"
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
</
template
>
...
...
@@ -140,7 +140,8 @@ export default {
this
.
getCustomerList
(
val
)
},
handleCancel
()
{
this
.
$router
.
go
(
-
1
)
// this.$router.go(-1)
this
.
$router
.
push
(
'/customerTransform/index'
)
},
remind
(
data
,
index
)
{
if
(
!
data
.
remindStatus
)
{
...
...
src/views/customerTransform/index.vue
View file @
b7494fc
...
...
@@ -274,7 +274,7 @@ export default {
<
style
lang=
"scss"
scope
>
.send-assistant
{
margin-top
:
26px
;
//
margin-top
:
26px
;
.menu-sub
{
.menu-sub-item
{
display
:
inline-block
;
...
...
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