|
|
@ -227,6 +227,13 @@ export default { |
|
|
|
fileList1: [], |
|
|
|
fileList2: [], |
|
|
|
}; |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
// 每当 message 改变时,这个函数就会执行 |
|
|
|
dfrwId(newVal, oldVal) { |
|
|
|
console.log('message changed:', oldVal, '→', newVal) |
|
|
|
this.getList(); |
|
|
|
} |
|
|
|
}, |
|
|
|
created() { |
|
|
|
this.getList(); |
|
|
@ -260,7 +267,10 @@ export default { |
|
|
|
if (this.form.calculationResults) { |
|
|
|
this.fileList2 = JSON.parse(this.form.calculationResults); |
|
|
|
} |
|
|
|
}else{ |
|
|
|
this.reset(); |
|
|
|
} |
|
|
|
|
|
|
|
// this.total = response.total; |
|
|
|
// this.loading = false; |
|
|
|
}); |
|
|
|