Commit 9c6d9ebb authored by Facius's avatar Facius

improve: 未通过原因统一写在cell里

parent 0d131b2b
...@@ -112,9 +112,9 @@ export default { ...@@ -112,9 +112,9 @@ export default {
showCountTime, showCountTime,
}) })
}, },
handleClickButton(item, type, showCountTime) { handleClickButton(item, type, showCountTime, auditResults) {
this.$emit('update:visible', false) this.$emit('update:visible', false)
this.$emit('click', item, type, showCountTime) this.$emit('click', item, type, showCountTime, auditResults)
// 去完工 // 去完工
uni.navigateTo({ uni.navigateTo({
url: url:
...@@ -135,7 +135,9 @@ export default { ...@@ -135,7 +135,9 @@ export default {
'&brandId=' + '&brandId=' +
item.lianbaoBrandId + item.lianbaoBrandId +
'&auditResults=' + '&auditResults=' +
(item.auditResults ? Object.keys(item.auditResults).join() : ''), (auditResults ? auditResults.join() : '') +
'&orderNumber=' +
item.orderNumber,
}) })
}, },
}, },
......
...@@ -104,7 +104,7 @@ export default { ...@@ -104,7 +104,7 @@ export default {
showCountTime, showCountTime,
}) })
}, },
handleClickButton(item, type, showCountTime) { handleClickButton(item, type, showCountTime, auditResults) {
uni.navigateTo({ uni.navigateTo({
url: url:
'pages/order/complete?orderId=' + 'pages/order/complete?orderId=' +
...@@ -124,7 +124,9 @@ export default { ...@@ -124,7 +124,9 @@ export default {
'&brandId=' + '&brandId=' +
item.lianbaoBrandId + item.lianbaoBrandId +
'&auditResults=' + '&auditResults=' +
(item.auditResults ? Object.keys(item.auditResults).join() : ''), (auditResults ? auditResults.join() : '') +
'&orderNumber=' +
item.orderNumber,
}) })
}, },
}, },
......
...@@ -155,7 +155,7 @@ export default { ...@@ -155,7 +155,7 @@ export default {
}) })
}, },
handleClickCellButton(item, type) { handleClickCellButton(item, type, showCountTime, auditResults) {
// 去完工 // 去完工
uni.navigateTo({ uni.navigateTo({
url: url:
...@@ -176,7 +176,9 @@ export default { ...@@ -176,7 +176,9 @@ export default {
'&brandId=' + '&brandId=' +
item.lianbaoBrandId + item.lianbaoBrandId +
'&auditResults=' + '&auditResults=' +
(item.auditResults ? Object.keys(item.auditResults).join() : ''), (auditResults ? auditResults.join() : '') +
'&orderNumber=' +
item.orderNumber,
}) })
}, },
handleClick(item, type, showCountTime) { handleClick(item, type, showCountTime) {
......
...@@ -947,7 +947,7 @@ export default { ...@@ -947,7 +947,7 @@ export default {
'&brandId=' + '&brandId=' +
this.order.lianbaoBrandId + this.order.lianbaoBrandId +
'&orderNumber=' + '&orderNumber=' +
this.order.orderNumber this.order.orderNumber,
}) })
}, },
rejectOrder() { rejectOrder() {
......
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