Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 47843ddf
authored
Jun 10, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
9c3c3306
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
126 additions
and
120 deletions
vue3-lw-pc/src/styles/element-ui.scss
vue3-lw-pc/src/views/application/groupFission/detail.vue
vue3-lw-pc/src/views/application/shortLinkPopularize/components/SelectPosterSingle.vue
vue3-lw-pc/src/views/application/shortLinkPopularize/components/ShowShortLink.vue
vue3-lw-pc/src/views/application/shortLinkPopularize/components/Step3Type1.vue
vue3-lw-pc/src/views/application/shortLinkPopularize/components/Step3Type2.vue
vue3-lw-pc/src/views/conversation/quality/chatList.vue
vue3-lw-pc/src/styles/element-ui.scss
View file @
47843dd
...
@@ -410,6 +410,10 @@
...
@@ -410,6 +410,10 @@
.el-pagination.is-background
.el-pager
li
:disabled
{
.el-pagination.is-background
.el-pager
li
:disabled
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
// 分页大小选择框
.el-pagination
.el-select
.el-input
{
width
:
115px
;
}
// to fixed https://github.com/ElemeFE/element/issues/2461
// to fixed https://github.com/ElemeFE/element/issues/2461
// .el-dialog {
// .el-dialog {
// transform: none;
// transform: none;
...
...
vue3-lw-pc/src/views/application/groupFission/detail.vue
View file @
47843dd
...
@@ -35,7 +35,10 @@
...
@@ -35,7 +35,10 @@
</el-col>
</el-col>
<el-col
style=
"flex-basis: 370px"
>
<el-col
style=
"flex-basis: 370px"
>
<div
class=
"g-card"
>
<div
class=
"g-card"
>
<PreviewInPhone
name=
"客群"
:list=
"[form.wematerial]"
:templateInfo=
"form.content"
></PreviewInPhone>
<PreviewInPhone
name=
"客群"
:list=
"form.wematerial && [form.wematerial]"
:templateInfo=
"form.content"
></PreviewInPhone>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
...
vue3-lw-pc/src/views/application/shortLinkPopularize/components/SelectPosterSingle.vue
View file @
47843dd
<
template
>
<
template
>
<div>
<div>
<el-dialog
:title=
"title"
v-model
:visible
=
"Pvisible"
width=
"800px"
append-to-body
:close-on-click-modal=
"false"
>
<el-dialog
:title=
"title"
v-model=
"Pvisible"
width=
"800px"
append-to-body
:close-on-click-modal=
"false"
>
<el-row
v-if=
"list.length || !isInit"
type=
"flex"
justify=
"space-between"
style=
"max-height: 500px"
>
<el-row
v-if=
"list.length || !isInit"
type=
"flex"
justify=
"space-between"
style=
"max-height: 500px"
>
<el-col
style=
"margin-top: 0px"
>
<el-col
style=
"margin-top: 0px"
>
<div>
<div>
...
...
vue3-lw-pc/src/views/application/shortLinkPopularize/components/ShowShortLink.vue
View file @
47843dd
...
@@ -50,6 +50,9 @@ export default {
...
@@ -50,6 +50,9 @@ export default {
mounted
()
{
mounted
()
{
this
.
clipboard
=
new
this
.
ClipboardJS
(
'.copy-btn'
)
this
.
clipboard
=
new
this
.
ClipboardJS
(
'.copy-btn'
)
},
},
unmounted
()
{
this
.
clipboard
.
destroy
()
},
methods
:
{},
methods
:
{},
}
}
</
script
>
</
script
>
...
...
vue3-lw-pc/src/views/application/shortLinkPopularize/components/Step3Type1.vue
View file @
47843dd
...
@@ -104,7 +104,7 @@ export default {
...
@@ -104,7 +104,7 @@ export default {
this
.
$emit
(
'preview'
,
{
this
.
$emit
(
'preview'
,
{
previewData
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
attachmentsData
.
attachments
)),
previewData
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
attachmentsData
.
attachments
)),
})
})
this
.
$emit
(
'previewText'
,
{
templateInfo
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
attachmentsData
.
templateInfo
))
})
this
.
$emit
(
'previewText'
,
{
templateInfo
:
this
.
attachmentsData
.
templateInfo
})
}
}
if
(
!
this
.
form
.
client
)
{
if
(
!
this
.
form
.
client
)
{
this
.
form
.
client
=
{
this
.
form
.
client
=
{
...
...
vue3-lw-pc/src/views/application/shortLinkPopularize/components/Step3Type2.vue
View file @
47843dd
...
@@ -5,152 +5,148 @@
...
@@ -5,152 +5,148 @@
:isDetail=
"isDetail"
:isDetail=
"isDetail"
ref=
"selectCustomer"
ref=
"selectCustomer"
:dataObj=
"form.group"
:dataObj=
"form.group"
@
update=
"getUpdateCustomer"
@
update=
"getUpdateCustomer"
></SelectGroupVue>
></SelectGroupVue>
<IdentityAttachmentVue
<IdentityAttachmentVue
:isDetail=
"isDetail"
:isDetail=
"isDetail"
ref=
"selectAttachment"
ref=
"selectAttachment"
@
phoneData=
"getPhoneData"
@
phoneData=
"getPhoneData"
@
success=
"getAttentment"
@
success=
"getAttentment"
@
changeInfo=
"changeInfo"
@
changeInfo=
"changeInfo"
:baseData=
"attachmentsData"
:baseData=
"attachmentsData"
></IdentityAttachmentVue>
></IdentityAttachmentVue>
<SelectSendTypeVue
<SelectSendTypeVue
:isDetail=
"isDetail"
:isDetail=
"isDetail"
ref=
"selectSendType"
ref=
"selectSendType"
:data=
"form.group"
:data=
"form.group"
@
update=
"getSendType"
@
update=
"getSendType"
></SelectSendTypeVue>
></SelectSendTypeVue>
<SelectEndDateVue
<SelectEndDateVue
:isDetail=
"isDetail"
:isDetail=
"isDetail"
ref=
"selectEndDate"
ref=
"selectEndDate"
:data=
"form.group"
:data=
"form.group"
@
update=
"getEndDate"
@
update=
"getEndDate"
></SelectEndDateVue>
></SelectEndDateVue>
</el-form>
</el-form>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
dateFormat
,
setAttachments
}
from
'@/utils/index'
import
{
dateFormat
,
setAttachments
}
from
'@/utils/index'
import
IdentityAttachmentVue
from
'./IdentityAttachment.vue'
import
IdentityAttachmentVue
from
'./IdentityAttachment.vue'
import
SelectGroupVue
from
'./SelectGroup.vue'
import
SelectGroupVue
from
'./SelectGroup.vue'
import
SelectEndDateVue
from
'./SelectEndDate.vue'
import
SelectEndDateVue
from
'./SelectEndDate.vue'
import
SelectSendTypeVue
from
'./SelectSendType.vue'
import
SelectSendTypeVue
from
'./SelectSendType.vue'
export
default
{
export
default
{
name
:
'step3-type-2'
,
name
:
'step3-type-2'
,
components
:
{
components
:
{
SelectGroupVue
,
SelectGroupVue
,
IdentityAttachmentVue
,
IdentityAttachmentVue
,
SelectSendTypeVue
,
SelectSendTypeVue
,
SelectEndDateVue
SelectEndDateVue
,
},
props
:
{
data
:
{
type
:
Object
,
default
:
{},
},
},
props
:
{
isDetail
:
{
data
:
{
type
:
Boolean
,
type
:
Object
,
default
:
false
,
default
:
{}
},
isDetail
:
{
type
:
Boolean
,
default
:
false
}
},
},
watch
:
{
},
data
:
{
watch
:
{
handler
(
val
,
old
)
{
data
:
{
if
(
val
)
{
handler
(
val
,
old
)
{
this
.
form
=
val
if
(
val
)
{
this
.
setData
()
this
.
form
=
val
}
this
.
setData
()
}
,
}
deep
:
true
,
}
,
immediate
:
true
deep
:
true
,
}
immediate
:
true
,
},
},
data
()
{
},
return
{
data
()
{
attachmentsData
:
{
return
{
templateInfo
:
''
,
attachmentsData
:
{
attachments
:
[]
templateInfo
:
''
,
attachments
:
[],
},
previewData
:
[],
form
:
{
type
:
0
,
group
:
{
content
:
''
,
type
:
0
,
userIds
:
''
,
sendType
:
0
,
taskSendTime
:
''
,
taskEndTime
:
''
,
},
},
previewData
:
[],
attachmentsList
:
[],
form
:
{
senderList
:
[],
},
}
},
methods
:
{
setData
()
{
if
(
!
this
.
form
.
group
)
{
this
.
form
.
group
=
{
type
:
0
,
type
:
0
,
group
:
{
content
:
''
,
content
:
''
,
userIds
:
''
,
type
:
0
,
sendType
:
0
,
userIds
:
''
,
taskSendTime
:
''
,
sendType
:
0
,
taskEndTime
:
''
,
taskSendTime
:
''
,
taskEndTime
:
''
},
attachmentsList
:
[],
senderList
:
[]
}
}
}
}
},
if
(
!
this
.
form
.
attachments
)
{
methods
:
{
this
.
form
.
attachments
=
[]
setData
()
{
}
if
(
!
this
.
form
.
group
)
{
if
(
this
.
form
.
attachments
)
{
this
.
form
.
group
=
{
let
arr
=
[]
type
:
0
,
this
.
form
.
attachments
.
forEach
((
dd
)
=>
{
content
:
''
,
if
(
dd
.
msgType
!==
'text'
)
{
userIds
:
''
,
arr
.
push
(
dd
)
sendType
:
0
,
taskSendTime
:
''
,
taskEndTime
:
''
}
}
}
})
if
(
!
this
.
form
.
attachments
)
{
this
.
attachmentsData
.
templateInfo
=
this
.
form
.
group
.
content
this
.
form
.
attachments
=
[]
let
data
=
setAttachments
(
arr
)
}
this
.
attachmentsData
.
attachments
=
data
if
(
this
.
form
.
attachments
)
{
let
arr
=
[]
this
.
form
.
attachments
.
forEach
((
dd
)
=>
{
if
(
dd
.
msgType
!==
'text'
)
{
arr
.
push
(
dd
)
}
})
this
.
attachmentsData
.
templateInfo
=
this
.
form
.
group
.
content
let
data
=
setAttachments
(
arr
)
this
.
attachmentsData
.
attachments
=
data
this
.
$emit
(
'preview'
,
{
previewData
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
attachmentsData
.
attachments
))
})
this
.
$emit
(
'previewText'
,
{
templateInfo
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
attachmentsData
.
templateInfo
))
})
}
},
changeInfo
(
data
)
{
this
.
form
.
group
.
content
=
data
this
.
$emit
(
'update'
,
this
.
form
)
this
.
$emit
(
'previewText'
,
{
templateInfo
:
data
})
},
getPhoneData
(
data
)
{
this
.
previewData
=
data
this
.
$emit
(
'preview'
,
{
this
.
$emit
(
'preview'
,
{
templateInfo
:
this
.
attachmentsData
.
templateInfo
,
previewData
:
JSON
.
parse
(
JSON
.
stringify
(
this
.
attachmentsData
.
attachments
)),
previewData
:
JSON
.
parse
(
JSON
.
stringify
(
data
))
})
})
},
this
.
$emit
(
'previewText'
,
{
templateInfo
:
this
.
attachmentsData
.
templateInfo
})
getAttentment
(
data
)
{
this
.
form
.
attachments
=
data
this
.
$emit
(
'update'
,
this
.
form
)
},
getSendType
(
data
)
{
this
.
form
.
group
.
sendType
=
data
.
sendType
this
.
form
.
group
.
taskSendTime
=
dateFormat
(
data
.
taskSendTime
)
this
.
$emit
(
'update'
,
this
.
form
)
},
getEndDate
(
data
)
{
this
.
form
.
group
.
taskEndTime
=
dateFormat
(
data
.
taskEndTime
)
this
.
$emit
(
'update'
,
this
.
form
)
},
getUpdateCustomer
(
data
)
{
this
.
form
.
group
=
data
this
.
$emit
(
'update'
,
this
.
form
)
}
}
}
},
}
changeInfo
(
data
)
{
this
.
form
.
group
.
content
=
data
this
.
$emit
(
'update'
,
this
.
form
)
this
.
$emit
(
'previewText'
,
{
templateInfo
:
data
})
},
getPhoneData
(
data
)
{
this
.
previewData
=
data
this
.
$emit
(
'preview'
,
{
templateInfo
:
this
.
attachmentsData
.
templateInfo
,
previewData
:
JSON
.
parse
(
JSON
.
stringify
(
data
)),
})
},
getAttentment
(
data
)
{
this
.
form
.
attachments
=
data
this
.
$emit
(
'update'
,
this
.
form
)
},
getSendType
(
data
)
{
this
.
form
.
group
.
sendType
=
data
.
sendType
this
.
form
.
group
.
taskSendTime
=
dateFormat
(
data
.
taskSendTime
)
this
.
$emit
(
'update'
,
this
.
form
)
},
getEndDate
(
data
)
{
this
.
form
.
group
.
taskEndTime
=
dateFormat
(
data
.
taskEndTime
)
this
.
$emit
(
'update'
,
this
.
form
)
},
getUpdateCustomer
(
data
)
{
this
.
form
.
group
=
data
this
.
$emit
(
'update'
,
this
.
form
)
},
},
}
</
script
>
</
script
>
<
style
scoped
></
style
>
<
style
scoped
></
style
>
vue3-lw-pc/src/views/conversation/quality/chatList.vue
View file @
47843dd
<
template
>
<
template
>
<div>
<div>
<el-dialog
title=
"查看详情"
:close-on-click-modal=
"false"
:show-close=
"false"
v-model
:visible
=
"Pvisible"
>
<el-dialog
title=
"查看详情"
:close-on-click-modal=
"false"
:show-close=
"false"
v-model=
"Pvisible"
>
<el-tabs
v-model=
"activeTab"
@
tab-click=
"(v) => opened.includes(v.name) || opened.push(v.name)"
>
<el-tabs
v-model=
"activeTab"
@
tab-click=
"(v) => opened.includes(v.name) || opened.push(v.name)"
>
<el-tab-pane
v-for=
"(item, index) of list"
:key=
"index"
:label=
"item.label"
:name=
"item.type"
>
<el-tab-pane
v-for=
"(item, index) of list"
:key=
"index"
:label=
"item.label"
:name=
"item.type"
>
<chatListClassTab
<chatListClassTab
...
...
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