|
@@ -275,13 +275,13 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
info = {
|
|
|
skip: that.skip,
|
|
|
limit: that.limit,
|
|
|
- user: user._id,
|
|
|
- status: status };_context3.next = 6;return (
|
|
|
+ user: user._id };
|
|
|
|
|
|
+ if (status != '-1') info.status = status;_context3.next = 7;return (
|
|
|
|
|
|
that.$api("/OrderDetail/queryInfo", 'GET', _objectSpread(_objectSpread({},
|
|
|
info),
|
|
|
- that.searchInfo)));case 6:res = _context3.sent;
|
|
|
+ that.searchInfo)));case 7:res = _context3.sent;
|
|
|
|
|
|
if (res.errcode == '0') {
|
|
|
list = [].concat(_toConsumableArray(that.list), _toConsumableArray(res.data));_iterator = _createForOfIteratorHelper(
|
|
@@ -295,7 +295,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
title: res.errmsg,
|
|
|
icon: 'none' });
|
|
|
|
|
|
- }case 8:case "end":return _context3.stop();}}}, _callee3);}))();
|
|
|
+ }case 9:case "end":return _context3.stop();}}}, _callee3);}))();
|
|
|
},
|
|
|
// 查询状态
|
|
|
searchStatus: function searchStatus(e) {
|
|
@@ -395,6 +395,10 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
active: item.value };
|
|
|
|
|
|
});
|
|
|
+ menu.unshift({
|
|
|
+ title: '全部',
|
|
|
+ active: '-1' });
|
|
|
+
|
|
|
that.$set(that.tabs, "menu", menu);
|
|
|
}case 5:case "end":return _context6.stop();}}}, _callee6);}))();
|
|
|
},
|