|
@@ -85,8 +85,6 @@ export default defineComponent({
|
|
|
},
|
|
|
methods: {
|
|
|
async toSearch({ ...condition } = {}) {
|
|
|
- console.log('in function:');
|
|
|
- console.log(this.project);
|
|
|
await this.query({ ...condition, project: _.get(this.project, 'id') });
|
|
|
},
|
|
|
async toEdit(id) {
|
|
@@ -128,6 +126,7 @@ export default defineComponent({
|
|
|
this.view = 'table';
|
|
|
await this.toSearch();
|
|
|
}
|
|
|
+ this.toReturn();
|
|
|
} else {
|
|
|
console.log('error submit!!');
|
|
|
return false;
|