diff --git a/src/views/enm_base/settings/calculate.vue b/src/views/enm_base/settings/calculate.vue index 92788481..0741ddb6 100644 --- a/src/views/enm_base/settings/calculate.vue +++ b/src/views/enm_base/settings/calculate.vue @@ -34,11 +34,18 @@ export default { }, }; }, - mounted() {}, + mounted() { + this.getSysConfig(); + }, methods: { + getSysConfig() { + this.$API.system.config.getInfo.req().then((res) => { + this.form = res.enm; + }); + }, submitForm() { this.saveLoading = true; - this.$API.system.config.update + this.$API.system.config.updateInfo .req(this.form) .then((res) => { this.saveLoading = false;