|
@@ -112,7 +112,6 @@ export default {
|
|
this.loadings = false;
|
|
this.loadings = false;
|
|
},
|
|
},
|
|
toExam({ data }) {
|
|
toExam({ data }) {
|
|
- console.log(data);
|
|
|
|
this.$set(this, `id`, data._id);
|
|
this.$set(this, `id`, data._id);
|
|
this.$set(this, `view`, 'order');
|
|
this.$set(this, `view`, 'order');
|
|
},
|
|
},
|
|
@@ -122,9 +121,7 @@ export default {
|
|
toBack() {
|
|
toBack() {
|
|
this.view = 'list';
|
|
this.view = 'list';
|
|
this.loadings = true;
|
|
this.loadings = true;
|
|
- if (this.sales_id) {
|
|
|
|
- delete this.$route.query.id;
|
|
|
|
- }
|
|
|
|
|
|
+ if (this.sales_id) delete this.$route.query.id;
|
|
this.search(this.searchQuery);
|
|
this.search(this.searchQuery);
|
|
},
|
|
},
|
|
toClose() {
|
|
toClose() {
|