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 65cc830f
authored
Jul 15, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改bug
1 parent
42134635
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
12 deletions
linkwe-ui/src/views/application/taskGroup.vue
linkwe-ui/src/views/groupMessage/add.vue
linkwe-ui/src/views/groupMessage/detail.vue
linkwe-ui/src/views/application/taskGroup.vue
View file @
65cc830
...
@@ -98,7 +98,7 @@ export default {
...
@@ -98,7 +98,7 @@ export default {
>
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-table
:data=
"tableData"
border
style=
"width: 100%"
>
<el-table
:data=
"tableData"
>
<el-table-column
prop=
"taskName"
label=
"任务活动名称"
>
</el-table-column>
<el-table-column
prop=
"taskName"
label=
"任务活动名称"
>
</el-table-column>
<el-table-column
prop=
"fissNum"
label=
"裂变客户数量"
>
</el-table-column>
<el-table-column
prop=
"fissNum"
label=
"裂变客户数量"
>
</el-table-column>
<el-table-column
prop=
"fissStatus"
label=
"活动状态"
>
<el-table-column
prop=
"fissStatus"
label=
"活动状态"
>
...
@@ -111,7 +111,7 @@ export default {
...
@@ -111,7 +111,7 @@ export default {
<p>
{{
scope
.
row
.
startTime
}}
-
{{
scope
.
row
.
overTime
}}
</p>
<p>
{{
scope
.
row
.
startTime
}}
-
{{
scope
.
row
.
overTime
}}
</p>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"operation"
label=
"操作"
>
<el-table-column
prop=
"operation"
label=
"操作"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
<el-button
@
click=
"toDetail(scope.row)"
@
click=
"toDetail(scope.row)"
...
...
linkwe-ui/src/views/groupMessage/add.vue
View file @
65cc830
...
@@ -143,10 +143,9 @@ export default {
...
@@ -143,10 +143,9 @@ export default {
submit
()
{
submit
()
{
this
.
loading
=
true
this
.
loading
=
true
let
form
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
let
form
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
form
))
form
.
messageType
=
this
.
activeName
Promise
.
resolve
()
Promise
.
resolve
()
.
then
(()
=>
{
.
then
(()
=>
{
if
(
form
.
messageType
==
1
)
{
if
(
form
.
imageMessage
.
pic_url
)
{
// debugger
// debugger
let
dataMediaId
=
{
let
dataMediaId
=
{
url
:
form
.
imageMessage
.
pic_url
,
url
:
form
.
imageMessage
.
pic_url
,
...
@@ -160,6 +159,13 @@ export default {
...
@@ -160,6 +159,13 @@ export default {
}
}
})
})
.
then
(()
=>
{
.
then
(()
=>
{
if
(
form
.
imageMessage
.
pic_url
&&
form
.
textMessage
.
content
)
{
form
.
messageType
=
'4'
}
else
if
(
form
.
imageMessage
.
pic_url
)
{
form
.
messageType
=
'1'
}
else
if
(
form
.
textMessage
.
content
)
{
form
.
messageType
=
'0'
}
// debugger
// debugger
form
.
tag
=
form
.
tag
.
map
((
d
)
=>
d
.
tagId
)
+
''
form
.
tag
=
form
.
tag
.
map
((
d
)
=>
d
.
tagId
)
+
''
form
.
department
+=
''
form
.
department
+=
''
...
...
linkwe-ui/src/views/groupMessage/detail.vue
View file @
65cc830
...
@@ -4,7 +4,7 @@ import TabContent from './TabContent'
...
@@ -4,7 +4,7 @@ import TabContent from './TabContent'
export
default
{
export
default
{
components
:
{
components
:
{
TabContent
,
TabContent
},
},
props
:
{},
props
:
{},
data
()
{
data
()
{
...
@@ -12,7 +12,7 @@ export default {
...
@@ -12,7 +12,7 @@ export default {
data
:
{},
data
:
{},
activeName
:
'0'
,
activeName
:
'0'
,
total1
:
0
,
total1
:
0
,
total0
:
0
,
total0
:
0
}
}
},
},
watch
:
{},
watch
:
{},
...
@@ -24,17 +24,27 @@ export default {
...
@@ -24,17 +24,27 @@ export default {
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
notice
()
{}
,
notice
()
{}
}
,
}
}
}
</
script
>
</
script
>
<
template
>
<
template
>
<div>
<div>
<div>
<el-card
shadow=
"hover"
class=
"mb10"
>
创建人:
{{
data
.
sender
}}
<span
class=
"label"
>
创建人:
</span>
<div>
消息内容:
{{
data
.
content
}}
</div>
{{
data
.
sender
}}
<div
class=
"mt10 flex aic"
>
<span
class=
"label"
>
消息内容:
</span>
<el-image
v-if=
"/^http.*\.(png|jpeg|jpg|gif)$/gi.test(data.content)"
style=
"width: 80px; height: 80px;border-radius:6px"
:src=
"data.content"
fit=
"fit"
></el-image>
<span
v-else
>
{{
data
.
content
}}
</span>
</div>
</div>
</el-card>
<!--
<el-button
class=
"notice"
type=
"primary"
@
click=
"notice"
<!--
<el-button
class=
"notice"
type=
"primary"
@
click=
"notice"
>
通知员工发送
</el-button
>
通知员工发送
</el-button
>
-->
>
-->
...
@@ -49,4 +59,10 @@ export default {
...
@@ -49,4 +59,10 @@ export default {
</div>
</div>
</
template
>
</
template
>
<
style
lang=
"less"
scoped
></
style
>
<
style
lang=
"scss"
scoped
>
.label
{
width
:
70px
;
display
:
inline-block
;
text-align
:
right
;
}
</
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