|
@@ -96,7 +96,7 @@ export default {
|
|
|
// 查询
|
|
|
async search({ skip = 0, limit = this.$limit, ...info } = {}) {
|
|
|
if (this.$route.query.id) {
|
|
|
- let data = { data: { id: this.$route.query.id } };
|
|
|
+ let data = { data: { _id: this.$route.query.id } };
|
|
|
this.toExam(data);
|
|
|
} else {
|
|
|
info.shop = this.user.shop.id;
|
|
@@ -112,6 +112,7 @@ export default {
|
|
|
this.loadings = false;
|
|
|
},
|
|
|
toExam({ data }) {
|
|
|
+ console.log(data);
|
|
|
this.$set(this, `id`, data._id);
|
|
|
this.$set(this, `view`, 'order');
|
|
|
},
|