| @@ -406,6 +406,9 @@ | |||||
| templateList:[], | templateList:[], | ||||
| }; | }; | ||||
| }, | }, | ||||
| activated:function(){ | |||||
| this.getDictionaries(); | |||||
| }, | |||||
| created() { | created() { | ||||
| let queryParams={ | let queryParams={ | ||||
| pageNum: 1, | pageNum: 1, | ||||
| @@ -444,7 +447,6 @@ | |||||
| this.payerOptions[index].value = res.id; | this.payerOptions[index].value = res.id; | ||||
| }) | }) | ||||
| }); | }); | ||||
| this.getDictionaries(); | |||||
| this.getFileList(); | this.getFileList(); | ||||
| }, | }, | ||||
| methods: { | methods: { | ||||
| @@ -471,7 +473,6 @@ | |||||
| }, | }, | ||||
| getDictionaries(){ | getDictionaries(){ | ||||
| getTransfer(this.$route.query.id).then((response) => { | getTransfer(this.$route.query.id).then((response) => { | ||||
| this.getDicts("capital_expenditure_type").then((res) => { | this.getDicts("capital_expenditure_type").then((res) => { | ||||
| for (var i = 0; i < res.data.length; i++) { | for (var i = 0; i < res.data.length; i++) { | ||||
| this.capitalExpenditureTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | this.capitalExpenditureTypeOptions.push({text: res.data[i].dictLabel, value: res.data[i].dictValue}); | ||||