宣发统计

This commit is contained in:
liuye
2022-07-25 17:51:59 +08:00
parent 5da0f4b651
commit 28bba07f22

View File

@@ -36,15 +36,17 @@
<p class="item-title">{{item.taskTitle}}</p> <p class="item-title">{{item.taskTitle}}</p>
<span class="item-time" v-if="item.createTime">{{item.createTime.substring(10, 16)}}</span> <span class="item-time" v-if="item.createTime">{{item.createTime.substring(10, 16)}}</span>
</div> </div>
<div class="item-info item-created">创建人 <div class="item-info item-created">
<span class="label">创建人</span>
<ai-open-data type="userName" :openid="item.createUserId" class="name"></ai-open-data> <ai-open-data type="userName" :openid="item.createUserId" class="name"></ai-open-data>
</div> </div>
<div class="item-info">创建部门 <div class="item-info item-dept">
<ai-open-data type="departmentName" :openid="item.createUserDept"></ai-open-data> <span class="label">创建部门</span>
<ai-open-data type="departmentName" :openid="item.createUserDept" class="name"></ai-open-data>
</div> </div>
<div class="flex-between"> <div class="flex-between">
<!-- <div class="item-info">群发类型<span>{{$dict.getLabel('mstSendType', item.sendType) || ''}}</span></div> --> <div class="item-info">群发类型<span>{{$dict.getLabel('mstSendType', item.sendType) || ''}}</span></div>
<span class="item-btn">详情</span> <span class="item-btn">详情{{item.sendType}}</span>
</div> </div>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
@@ -210,7 +212,7 @@
this.getCalendarList(year, month) this.getCalendarList(year, month)
this.getEffect() this.getEffect()
this.getDepart() this.getDepart()
this.dict.load(['mstSendType']) this.dict.load('mstSendType')
}, },
methods: { methods: {
...mapActions(['initOpenData', 'transCanvas']), ...mapActions(['initOpenData', 'transCanvas']),
@@ -531,12 +533,30 @@
color: #888; color: #888;
line-height: 22px; line-height: 22px;
span{ span{
display: inline-block;
color: #222; color: #222;
word-break: break-all;
vertical-align: text-top;
} }
} }
.item-created{ .item-created{
width: 152px; width: 152px;
margin-bottom: 4px; margin-bottom: 4px;
.label{
width: 56px;
}
.name{
width: calc(100% - 56px);
}
}
.item-dept{
width: calc(100% - 152px);
.label{
width: 70px;
}
.name{
width: calc(100% - 70px);
}
} }
.item-btn{ .item-btn{
color: #26f; color: #26f;