Commit 2f6cddb5 by chenwq

朋友圈营销ui改版

1 parent b401ef3d
...@@ -40,9 +40,6 @@ ...@@ -40,9 +40,6 @@
<span v-if="scope.scope.sendType == 1">立即发送</span> <span v-if="scope.scope.sendType == 1">立即发送</span>
</div> </div>
<div class="table-btns" slot="auth-button" slot-scope="scope"> <div class="table-btns" slot="auth-button" slot-scope="scope">
<!-- <el-popover placement="top" width="230" trigger="click" content="未到朋友圈发送时间,无法查看详情">
<el-button slot="reference" type="text" style="color: #999999">详情</el-button>
</el-popover> -->
<!-- <el-button type="text" disabled v-if="scope.scope.status == 2 || scope.scope.status == 1">创建中</el-button> <!-- <el-button type="text" disabled v-if="scope.scope.status == 2 || scope.scope.status == 1">创建中</el-button>
<el-button type="text" disabled v-if="scope.scope.status == -1">创建失败</el-button> <el-button type="text" disabled v-if="scope.scope.status == -1">创建失败</el-button>
<el-button type="text" disabled v-if="scope.scope.status == 4">取消发送</el-button> <el-button type="text" disabled v-if="scope.scope.status == 4">取消发送</el-button>
...@@ -186,18 +183,19 @@ export default { ...@@ -186,18 +183,19 @@ export default {
} }
}, },
{ {
type: '', type: 'el-button',
// name: '详情',
name: row => { name: row => {
return '<el-popover placement="top" width="230" trigger="click" content="未到朋友圈发送时间,无法查看详情"><el-button slot="reference" type="text" style="color: #999999">详情</el-button></el-popover>' return '<span style="color: #999999">详情</span>'
}, },
attrs: { attrs: {
type: 'text' type: 'text'
}, },
// condition: row => { condition: row => {
// return row.status == 0 return row.status == 0
// }, },
listeners: { listeners: {
click: () => { } click: this.handleDetailTips
} }
}, },
{ {
...@@ -409,6 +407,9 @@ export default { ...@@ -409,6 +407,9 @@ export default {
return false return false
} }
}, },
handleDetailTips() {
this.$message.error('未到朋友圈发送时间,无法查看详情')
},
handleCancel(row) { handleCancel(row) {
const time = new Date().getTime() const time = new Date().getTime()
const sendTime = new Date(row.sendTime).getTime() const sendTime = new Date(row.sendTime).getTime()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!