Commit 859346a5 authored by Facius's avatar Facius

订单列表点击按钮和点击cell

parent bf168d02
...@@ -288,14 +288,14 @@ ...@@ -288,14 +288,14 @@
if (this.isWaitFinish || this.isException) { // 不是待完工、不是异常单点按钮算点cell if (this.isWaitFinish || this.isException) { // 不是待完工、不是异常单点按钮算点cell
func = 'action' func = 'action'
} }
this.$emit('action', this.orderData, this.type, this.showCountTime ? 'show' : '') this.$emit(func, this.orderData, this.type, this.showCountTime ? 'show' : '')
}, },
handleClickCell() { handleClickCell() {
var func = 'click' var func = 'click'
if (this.isException) { // 异常单点cell算点按钮 if (this.isException) { // 异常单点cell算点按钮
func = 'action' func = 'action'
} }
this.$emit('click', this.orderData, this.type, this.showCountTime ? 'show' : '') this.$emit(func, this.orderData, this.type, this.showCountTime ? 'show' : '')
}, },
handleChange(timestamp) { handleChange(timestamp) {
if (this.timeout) this.$refs['order-count-down'].seconds += 2 if (this.timeout) this.$refs['order-count-down'].seconds += 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment