|
|
@@ -104,6 +104,12 @@ export default window.$crudCommon({
|
|
|
this.params.xmId = this.projectId;
|
|
|
this.option.height = window.innerHeight - 340;
|
|
|
},
|
|
|
+ watch: {
|
|
|
+ "params.xmId"() {
|
|
|
+ this.page.currentPage = 1;
|
|
|
+ this.getList(this.page);
|
|
|
+ }
|
|
|
+ },
|
|
|
methods: {
|
|
|
handleBeforeOpen(done, type) {
|
|
|
if (!this.params.xmId) {
|
|
|
@@ -131,8 +137,6 @@ export default window.$crudCommon({
|
|
|
},
|
|
|
handleProjectChange(data) {
|
|
|
this.selProject = data;
|
|
|
- this.page.currentPage = 1;
|
|
|
- this.getList(this.page);
|
|
|
},
|
|
|
handleImport() {
|
|
|
let excelParams = { yearAndMonth: this.params.yearAndMonth };
|