Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
aixianling
2022-07-27 10:25:00 +08:00
2 changed files with 10 additions and 4 deletions

View File

@@ -35,7 +35,13 @@
}, },
mounted () { mounted () {
console.log(this.$route)
if (this.$route.params.id) {
this.component = 'Detail'
this.params = {
id: this.$route.params.id
}
}
}, },
methods: { methods: {

View File

@@ -46,7 +46,7 @@
</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">详情{{item.sendType}}</span> <span class="item-btn" @click="$router.push({name: '357e228ba8e64008ace90d095a7a0dd7', params: { id: item.id }})">详情{{item.sendType}}</span>
</div> </div>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
@@ -212,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']),
@@ -555,7 +555,7 @@
width: 70px; width: 70px;
} }
.name{ .name{
width: calc(100% - 70px); width: calc(100% - 70px);
} }
} }
.item-btn{ .item-btn{