Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-message
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-message
Commits
2d2ccc1a
提交
2d2ccc1a
authored
2月 25, 2021
作者:
lihuihui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改bug
上级
14f93824
显示空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
30 行增加
和
15 行删除
+30
-15
common.js
src/api/common.js
+2
-2
index.html
src/index.html
+1
-1
sendContent.vue
src/pages/msgTemplate/components/sendContent.vue
+2
-2
targetUser.vue
src/pages/msgTemplate/components/targetUser.vue
+1
-1
detail.vue
src/pages/msgTemplate/detail.vue
+1
-1
index.vue
src/pages/msgView/index.vue
+23
-8
没有找到文件。
src/api/common.js
浏览文件 @
2d2ccc1a
...
...
@@ -3,8 +3,8 @@ import httpRequest from '@/utils/axios'
/**
* 消息看板
*/
export
function
getStatisticsData
()
{
return
httpRequest
.
get
(
'/api/message/v1/messages/statistics'
)
export
function
getStatisticsData
(
params
)
{
return
httpRequest
.
get
(
'/api/message/v1/messages/statistics'
,
{
params
}
)
}
/**
* 消息模板列表
...
...
src/index.html
浏览文件 @
2d2ccc1a
...
...
@@ -7,7 +7,7 @@
<meta
http-equiv=
"Cache-Control"
content=
"no-cache, no-store, must-revalidate"
/>
<meta
http-equiv=
"Pragma"
content=
"no-cache"
/>
<meta
http-equiv=
"Expires"
content=
"0"
/>
<title>
金融数字化营销实操
系统
</title>
<title>
紫荆消息总线
系统
</title>
<meta
name=
"viewport"
id=
"viewport"
...
...
src/pages/msgTemplate/components/sendContent.vue
浏览文件 @
2d2ccc1a
...
...
@@ -55,10 +55,10 @@
</div>
<div
class=
"right-content"
>
<ul
class=
"tab-btn"
>
<li
v-if=
"form.step3.find(id =>
{ return id == 1 })" :class="tabIndex == 3
&&
'active'" @click="tabChange(3)">
<div>
邮件
</div></li>
<li
v-if=
"form.step3.find(id =>
{ return id == 2 })" :class="tabIndex == 0
&&
'active'" @click="tabChange(0)">
<div>
短信
</div></li>
<li
v-if=
"form.step3.find(id =>
{ return id == 4 })" :class="tabIndex == 1
&&
'active'" @click="tabChange(1)">
<div>
公众号
</div></li>
<li
v-if=
"form.step3.find(id =>
{ return id == 3 })" :class="tabIndex == 2
&&
'active'" @click="tabChange(2)">
<div>
钉钉
</div></li>
<li
v-if=
"form.step3.find(id =>
{ return id == 1 })" :class="tabIndex == 3
&&
'active'" @click="tabChange(3)">
<div>
邮件
</div></li>
</ul>
<ul
class=
"tab-content"
>
<li
v-show=
"tabIndex == 0"
>
...
...
@@ -147,10 +147,10 @@
</li>
</ul>
<ul
class=
"tab-btn"
>
<li
v-if=
"form.step3.find(id =>
{ return id == 1 })" :class="tabIndex == 3
&&
'active'" @click="tabChange(3)">
<div>
邮件
</div></li>
<li
v-if=
"form.step3.find(id =>
{ return id == 2 })" :class="tabIndex == 0
&&
'active'" @click="tabChange(0)">
<div>
短信
</div></li>
<li
v-if=
"form.step3.find(id =>
{ return id == 4 })" :class="tabIndex == 1
&&
'active'" @click="tabChange(1)">
<div>
公众号
</div></li>
<li
v-if=
"form.step3.find(id =>
{ return id == 3 })" :class="tabIndex == 2
&&
'active'" @click="tabChange(2)">
<div>
钉钉
</div></li>
<li
v-if=
"form.step3.find(id =>
{ return id == 1 })" :class="tabIndex == 3
&&
'active'" @click="tabChange(3)">
<div>
邮件
</div></li>
</ul>
</div>
<div
class=
"left-content"
>
...
...
src/pages/msgTemplate/components/targetUser.vue
浏览文件 @
2d2ccc1a
...
...
@@ -52,7 +52,7 @@ export default {
})
})
this
.
allData
=
response
.
data
.
data
// this.totalUser = response.data.
total
this
.
totalUser
=
response
.
data
.
data
.
find
(
item
=>
{
return
item
.
id
===
this
.
form
.
step2
}).
user_
total
})
.
finally
(()
=>
{
})
...
...
src/pages/msgTemplate/detail.vue
浏览文件 @
2d2ccc1a
...
...
@@ -17,7 +17,7 @@
<activity
:form=
"form"
v-show=
"active === 0"
></activity>
<target-user
:form=
"form"
v-show=
"active === 1"
></target-user>
<trigger
:form=
"form"
v-show=
"active === 2"
></trigger>
<send-content
:form=
"form"
@
clickPrev=
"clickPrev"
@
clickNext=
"clickNext"
v-
show
=
"active === 3 || active === 4"
></send-content>
<send-content
:form=
"form"
@
clickPrev=
"clickPrev"
@
clickNext=
"clickNext"
v-
if
=
"active === 3 || active === 4"
></send-content>
</div>
<div
class=
"foot-btn-box"
v-show=
"active != 3 && active != 4"
>
<div
class=
"content"
>
...
...
src/pages/msgView/index.vue
浏览文件 @
2d2ccc1a
...
...
@@ -15,8 +15,8 @@
<div
class=
"num"
>
{{
data
.
message_read_total
}}
</div>
</div>
</div>
<div
class=
"select-box"
v-if=
"false"
>
<el-select
v-model=
"value"
placeholder=
"请选择"
>
<div
class=
"select-box"
>
<el-select
v-model=
"value"
placeholder=
"请选择"
@
change=
"selectChange"
>
<el-option
v-for=
"item in options"
:key=
"item.value"
...
...
@@ -53,16 +53,28 @@ export default {
data
:
{},
chartList
:
[],
options
:
[{
value
:
'
1
'
,
value
:
'
0
'
,
label
:
'全部'
},
{
value
:
'1'
,
label
:
'一年'
},
{
value
:
'2'
,
label
:
'
未读数
'
label
:
'
半年
'
},
{
value
:
'3'
,
label
:
'已读数'
label
:
'30天'
},
{
value
:
'4'
,
label
:
'明天'
},
{
value
:
'5'
,
label
:
'今天'
},
{
value
:
'6'
,
label
:
'昨天'
}],
value
:
''
value
:
'
0
'
}
},
mounted
()
{
...
...
@@ -70,9 +82,12 @@ export default {
this
.
getStatisticsData
()
},
methods
:
{
selectChange
()
{
this
.
getStatisticsData
()
},
getStatisticsData
()
{
api
.
getStatisticsData
({
level
:
this
.
$store
.
state
.
level
})
.
getStatisticsData
({
date_type
:
parseInt
(
this
.
value
)
})
.
then
(
response
=>
{
this
.
data
=
response
.
data
this
.
chartList
=
this
.
filterData
(
response
.
data
.
statistics_detail
)
...
...
@@ -132,7 +147,7 @@ export default {
}
]
}
myChart
.
setOption
(
option
)
myChart
.
setOption
(
option
,
true
)
},
getName
(
n
)
{
const
name
=
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论