|
@@ -97,14 +97,11 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
var components
|
|
|
try {
|
|
|
components = {
|
|
|
- uniSearchBar: function() {
|
|
|
- return Promise.all([__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uni-search-bar/components/uni-search-bar/uni-search-bar")]).then(__webpack_require__.bind(null, 259))
|
|
|
- },
|
|
|
uniGrid: function() {
|
|
|
- return __webpack_require__.e( "uni_modules/uni-grid/components/uni-grid/uni-grid").then(__webpack_require__.bind(null, 270))
|
|
|
+ return __webpack_require__.e( "uni_modules/uni-grid/components/uni-grid/uni-grid").then(__webpack_require__.bind(null, 268))
|
|
|
},
|
|
|
uniGridItem: function() {
|
|
|
- return __webpack_require__.e( "uni_modules/uni-grid/components/uni-grid-item/uni-grid-item").then(__webpack_require__.bind(null, 277))
|
|
|
+ return __webpack_require__.e( "uni_modules/uni-grid/components/uni-grid-item/uni-grid-item").then(__webpack_require__.bind(null, 275))
|
|
|
}
|
|
|
}
|
|
|
} catch (e) {
|
|
@@ -202,6 +199,7 @@ var _default =
|
|
|
data: function data() {
|
|
|
return {
|
|
|
config: {},
|
|
|
+ searchInfo: {},
|
|
|
moduleList: [],
|
|
|
list: [],
|
|
|
total: 0,
|
|
@@ -302,15 +300,17 @@ var _default =
|
|
|
|
|
|
}case 10:case "end":return _context6.stop();}}}, _callee6);}))();
|
|
|
},
|
|
|
- toSearch: function toSearch(res) {return _asyncToGenerator( _regenerator.default.mark(function _callee7() {return _regenerator.default.wrap(function _callee7$(_context7) {while (1) {switch (_context7.prev = _context7.next) {case 0:
|
|
|
- console.log(res);case 1:case "end":return _context7.stop();}}}, _callee7);}))();
|
|
|
- },
|
|
|
- input: function input(res) {return _asyncToGenerator( _regenerator.default.mark(function _callee8() {return _regenerator.default.wrap(function _callee8$(_context8) {while (1) {switch (_context8.prev = _context8.next) {case 0:
|
|
|
- console.log(res);case 1:case "end":return _context8.stop();}}}, _callee8);}))();
|
|
|
+
|
|
|
+ toInput: function toInput(e) {
|
|
|
+ var that = this;
|
|
|
+ if (that.searchInfo.name) that.$set(that.searchInfo, "name", e.detail.value);else
|
|
|
+ that.$set(that, "searchInfo", {});
|
|
|
+ that.clearPage();
|
|
|
+ that.search();
|
|
|
},
|
|
|
- change: function change(e) {return _asyncToGenerator( _regenerator.default.mark(function _callee9() {return _regenerator.default.wrap(function _callee9$(_context9) {while (1) {switch (_context9.prev = _context9.next) {case 0:
|
|
|
+ change: function change(e) {return _asyncToGenerator( _regenerator.default.mark(function _callee7() {return _regenerator.default.wrap(function _callee7$(_context7) {while (1) {switch (_context7.prev = _context7.next) {case 0:
|
|
|
uni.navigateTo({
|
|
|
- url: "".concat(e.route, "?type=").concat(e.type) });case 1:case "end":return _context9.stop();}}}, _callee9);}))();
|
|
|
+ url: "".concat(e.route, "?type=").concat(e.type) });case 1:case "end":return _context7.stop();}}}, _callee7);}))();
|
|
|
|
|
|
},
|
|
|
|