diff --git a/src/lang/en.js b/src/lang/en.js index 59ade19..4c12898 100644 --- a/src/lang/en.js +++ b/src/lang/en.js @@ -80,7 +80,7 @@ export default { close: 'Close', operate: 'Action', delete: 'Delete', - detail: 'View', + detail: 'Dtail', placeholderInput: 'Please Input', placeholderSelect: 'Please Select', confirmDelete: 'Confirm Delete?', diff --git a/src/views/business/study/comp/ytbd/Bj.vue b/src/views/business/study/comp/ytbd/Bj.vue index e58df45..71bf42f 100644 --- a/src/views/business/study/comp/ytbd/Bj.vue +++ b/src/views/business/study/comp/ytbd/Bj.vue @@ -196,6 +196,14 @@ export default { this.$refs["form"].validate(valid => { if (valid) { this.showIndex = 2 + this.$modal.loading() + studyFormPre_bc(this.form).then(response => { + this.form = response.data + this.templateData = deepClone(this.form) + this.showIndex = 2 + }).finally(() => { + this.$modal.closeLoading() + }) } }) }, @@ -236,7 +244,7 @@ export default { studyFormPre_info({ id: row.id }).then(response => { this.form = response.data this.templateData = deepClone(this.form) - this.form.qmyy = this.$t('page.business.study.studyFormPre.zztjyzbd') + this.form.qmyy = this.$t('page.business.study.studyFormPre.zztjyzbd') this.$modal.closeLoading() }).finally(() => { this.$modal.closeLoading() diff --git a/vue.config.js b/vue.config.js index bf3ddf1..0461fab 100644 --- a/vue.config.js +++ b/vue.config.js @@ -34,8 +34,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - // target: `http://localhost:8080`, - target: `http://39.99.251.173:8080`, + target: `http://localhost:8080`, + // target: `http://39.99.251.173:8080`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''